pcp
[Top] [All Lists]

Re: [pcp] EL6 repo missing pcp-pmda-infiniband and bintray issues

To: Nathan Scott <nathans@xxxxxxxxxx>
Subject: Re: [pcp] EL6 repo missing pcp-pmda-infiniband and bintray issues
From: Trey Dockendorf <treydock@xxxxxxxx>
Date: Mon, 4 Jan 2016 11:15:50 -0600
Cc: pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tamu-edu.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=a4FLcBwo4iQcwd3SKRD08ANgBzRZRAPzBAVWJCUzEn8=; b=ATOMt6nBe0U717KVIHsYIfxikg+7w7PDT9+1/RRJLjmFc/Y9Klv4xkMkZ+ACufWl/1 0SiiPm81+w0lOqeqjLyWmllQ7uxQcEIGvkUw4U0fLoz9khcVt7JBUpqo1GDETx9WSsQM 2KkXN36+Vf6kQlX3/NtZ3/QhYmyoZpquxTs9wl5ZelLkJgXHV8U79TKZkKpFFkcUXiUj 8uqIdO6K1FgGbJcmPZLYsH9NQEPgWxkvdmrMLSEZgjJEqe+7EDU8zfcfJUjTdcIB9JQJ yMFXbEUgodSbqrmxvGsX5tzfZAdTuts5+UWb9ePBMiuE0fHoj8cDLAABu5qu1C1Kwk4r x6gA==
In-reply-to: <166559955.3678323.1451871431168.JavaMail.zimbra@xxxxxxxxxx>
References: <CAJ=Tzi=aZs-rh39OnHA63ZWGCOC27ndaeR8dNXF+Hznck5Ehxw@xxxxxxxxxxxxxx> <166559955.3678323.1451871431168.JavaMail.zimbra@xxxxxxxxxx>
Nathan,

Thanks for the response.

On Sun, Jan 3, 2016 at 7:37 PM, Nathan Scott <nathans@xxxxxxxxxx> wrote:
Hi Trey,

----- Original Message -----
>
> Is it possible to get the pcp-pmda-infiniband package added to the bintray
> repo? I see there is a bintray-upload script in PCP source, but not yet
> clear to me if there already exists a mechanism in source to pre-install
> package dependencies for the builds.

I suspect it was an oversight on my part in setting up the build VM. There
is a qa/admin/check-vm script which verifies machine setup, so I'll get that
fixed up for the next release.


Thanks. Is the process used to build the PCP RPMs documented somewhere? I am building mine on VM using './Makepkgs --verbose'. I'd be happy to submit pull request if I'm able to test my changes using same steps that are used to build the official RPMs.

Â
> Also is it intentional that the perfevent package requires libpfm-devel? I
> noticed that in EL6 the papi package contains libpfm.so.3. Is the version is
> EL6 too low to support the perfevent PMDA?

Looking in build/rpm/pcp.spec.in theres a BuildRequires on libpfm-devel,
and a runtime Requires on libpfm4. Not sure if it works with libpfm.so.3 -
can you try it and let me know? (the configure.ac code just checks headers
so if those are present, maybe it will work with just a spec file tweak -
not sure).


When I run Makepkgs the configure output shows this:

checking for pfm_get_os_event_encoding in -lpfm... no
checking perfmon/pfmlib_perf_event.h usability... no
checking perfmon/pfmlib_perf_event.h presence... no
checking for perfmon/pfmlib_perf_event.h... no
checking if the perfevent PMDA should be included... no

The pfm_get_os_event_encoding symbol does not show up in EL6's libpfm.so, but I am seeing it in EL7's. So looks like EL6 libpfm is lacking needed symbols.
Â
> Lastly, I am having issues mirroring the bintray repo using Pulp. The issue
> may be a fault of bintray and not the PCP repo itself, but just in case
> something could be fixed I thought I'd mention the issue. I believe the
> issue comes down to repomd.xml for the repo not having a revision defined.

We use ./scripts/bintray-version to set the version info for all repos, so
its possible something is missing there. AFAICT from the bintray web UI all
version info does seem to be in place though.

It appears like the issue is lack of "<revision>" value. Looking at repo like EPEL I notice this "<revision>1451843961</revision>" while the bintray repo has "<revision />". My guess is the API calls to bintray trigger the repo creation in some non-standard way which is likely a bintray issue not specific to PCP.

Thanks,
- Trey
Â
<Prev in Thread] Current Thread [Next in Thread>