Bug 1250720
Summary: | traceback when running 'pcs resource enable clvmd --wait' | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Corey Marthaler <cmarthal> | ||||
Component: | pcs | Assignee: | Chris Feist <cfeist> | ||||
Status: | CLOSED ERRATA | QA Contact: | cluster-qe <cluster-qe> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 7.2 | CC: | cfeist, cluster-maint, rsteiger, tojeline | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | pcs-0.9.143-1.el7 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2015-11-19 09:38:24 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: | |||||||
Attachments: |
|
Description
Corey Marthaler
2015-08-05 20:12:08 UTC
Created attachment 1059626 [details]
Patch to replace ra_id with resource
pcs is doing a traceback while attempting to print the error message. There is still an error starting clvmd that is not caused by pcs.
Patch to fix the problem is attached.
Before Fix: [root@rh71-node1 ~]# rpm -q pcs pcs-0.9.142-2.el7.x86_64 # apache is not installed on the node [root@rh71-node1:~]# pcs resource create apa apache --disabled [root@rh71-node1:~]# pcs resource enable apa --wait Traceback (most recent call last): File "/usr/sbin/pcs", line 215, in <module> main(sys.argv[1:]) File "/usr/sbin/pcs", line 159, in main cmd_map[command](argv) File "/usr/lib/python2.7/site-packages/pcs/resource.py", line 90, in resource_cmd resource_enable(argv) File "/usr/lib/python2.7/site-packages/pcs/resource.py", line 2163, in resource_enable % ra_id NameError: global name 'ra_id' is not defined After Fix: [root@rh71-node1:~]# rpm -q pcs pcs-0.9.143-1.el7.x86_64 # apache is not installed on the node [root@rh71-node1:~]# pcs resource create apa apache --disabled [root@rh71-node1:~]# pcs resource enable apa --wait Error: unable to start: 'apa', please check logs for failure information Resource 'apa' is not running on any node Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2015-2290.html |