Bug 1131779
Summary: | pmdumptext segfaults when using invalid host | ||
---|---|---|---|
Product: | [Fedora] Fedora EPEL | Reporter: | Marko Myllynen <myllynen> |
Component: | pcp | Assignee: | Nathan Scott <nathans> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | el6 | CC: | brolley, fche, kenj, mgoodwin, nathans, pcp, scox |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | pcp-3.10.2-2.el5 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-09-27 10:07:14 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Marko Myllynen
2014-08-20 04:49:52 UTC
When pmcd is not running on the remote host pmdumptext segfaults also then: localhost:~> ssh root@rhel-6-server service pmcd stop > /dev/null 2>&1 localhost:~> pmdumptext -i -l 'rhel-6-server:kernel.all.load[1]' zsh: segmentation fault pmdumptext -i -l 'rhel-6-server:kernel.all.load[1]' localhost:~> ssh root@rhel-6-server service pmcd start > /dev/null 2>&1 localhost:~> pmdumptext -i -l 'rhel-6-server:kernel.all.load[1]' Source rhel-6 Thu Aug 21 10:21:18 0.25 Thu Aug 21 10:21:19 0.25 ^C Error is in libpcp_qmc with the error reporting logic on these two error paths. Commit 01f8aea in my tree contains fixes for each of these. pcp-3.9.10-1.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/pcp-3.9.10-1.fc21 pcp-3.9.10-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/pcp-3.9.10-1.fc20 pcp-3.9.10-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/pcp-3.9.10-1.fc19 pcp-3.9.10-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/pcp-3.9.10-1.el6 pcp-3.9.10-1.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/pcp-3.9.10-1.el5 Package pcp-3.9.10-1.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing pcp-3.9.10-1.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-10197/pcp-3.9.10-1.fc21 then log in and leave karma (feedback). Err.. In 3.9.10 pmdumptext is no more: localhost:~> pmdumptext -s 1 'localhost:mem.util.used' zsh: command not found: pmdumptext zsh: exit 127 pmdumptext -s 1 'localhost:mem.util.used' localhost:~> rpm -q pcp pcp-3.9.10-1.el6.x86_64 Marko, where did your rpms come from and for what platform? I suspect the rpm build is bad, rather than a system PCP 3.9.10 issue. I have pmdumptext in 3.9.10 images for at least the following (there may be others, these are the QA VMs that are up at the moment) Date Run Pass Fail Nrun Host 2014-09-04 687 672 15 50|bozo PCP 3.9.10 x86_64 Ubuntu 14.04 2014-09-02 674 660 14 62|bozo-laptop PCP 3.9.10 i686 LinuxMint 15 Daily runs, but no QA |bozo-vm PCP 3.9.10 x86_64 Debian 7.5 2014-09-05 679 668 11 60|vm00 PCP 3.9.10 x86_64 Ubuntu 12.04 2014-09-05 671 662 9 68|vm01 PCP 3.9.10 i686 Ubuntu 12.10 2014-09-05 678 673 5 61|vm03 PCP 3.9.10 x86_64 Fedora 18 2014-09-07 673 663 10 66|vm14 PCP 3.9.10 x86_64 CentOS6.5 2014-09-07 660 646 14 79|vm22 PCP 3.9.10 x86_64 Fedora 19 2014-09-08 678 663 15 61|vm23 PCP 3.9.10 i686 Fedora 20 Hi Ken, I'm on 64-bit RHEL 6 using this EPEL build: http://koji.fedoraproject.org/koji/buildinfo?buildID=575413 Thanks. Looks like that build is bad. The closest thing I have is ... kenj@vm14:~$ cat /etc/redhat-release CentOS release 6.5 (Final) with rpms I made myself from Makepkgs kenj@vm14:~$ rpm -q -f /usr/bin/pmdumptext pcp-gui-3.9.10-3.x86_64 Ahh ... you need to install the pcp-gui rpm, not just pcp ... is that the problem? (In reply to Ken McDonell from comment #12) > > kenj@vm14:~$ rpm -q -f /usr/bin/pmdumptext > pcp-gui-3.9.10-3.x86_64 > > Ahh ... you need to install the pcp-gui rpm, not just pcp ... is that the > problem? Ah, thanks, that's it. I was testing on a system which had no pcp-gui, usually I have it installed and I didn't think pmdump*text* would be part of pcp-*gui* package :) Wrt the segfault, I'm happy to confirm it's fixed. Thanks. It is part of pcp-gui because is uses the same metrics class libraries that the gui tools (pmchart et al) use. Does not have to be this way, but it just "is". Package pcp-3.9.10-1.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing pcp-3.9.10-1.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-10376/pcp-3.9.10-1.fc20 then log in and leave karma (feedback). pcp-3.9.10-4.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/pcp-3.9.10-4.fc19 pcp-3.9.10-4.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/pcp-3.9.10-4.fc20 pcp-3.9.10-4.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/pcp-3.9.10-4.fc21 pcp-3.9.10-4.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. pcp-3.10.0-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/pcp-3.10.0-1.fc20 pcp-3.10.0-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/pcp-3.10.0-1.fc19 pcp-3.10.0-1.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. pcp-3.10.0-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. pcp-3.10.2-1.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/pcp-3.10.2-1.el5 pcp-3.10.2-2.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/pcp-3.10.2-2.el5 pcp-3.10.2-2.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report. |