Bug 1174793
Summary: | Formatting of longdesc metadata of resource agent is destroyed when using "pcs resource describe" | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Frank Danapfel <fdanapfe> | ||||||||
Component: | pcs | Assignee: | Tomas Jelinek <tojeline> | ||||||||
Status: | CLOSED ERRATA | QA Contact: | cluster-qe <cluster-qe> | ||||||||
Severity: | medium | Docs Contact: | |||||||||
Priority: | medium | ||||||||||
Version: | 6.6 | CC: | cluster-maint, lmiccini, rsteiger, tojeline | ||||||||
Target Milestone: | rc | ||||||||||
Target Release: | 6.7 | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | pcs-0.9.139-1.el6 | Doc Type: | Bug Fix | ||||||||
Doc Text: |
* The "pcs resource describe" command displayed the resource agent description on one line, which made it difficult to read. Now, pcs displays the description as it is defined in the agent. (BZ#1174793)
|
Story Points: | --- | ||||||||
Clone Of: | |||||||||||
: | 1206214 (view as bug list) | Environment: | |||||||||
Last Closed: | 2015-07-22 06:15:54 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
Frank Danapfel
2014-12-16 13:54:49 UTC
Created attachment 977803 [details]
proposed fix
Before fix:
[root@rh70-node1:~]# pcs resource describe SysInfo
ocf:pacemaker:SysInfo - SysInfo resource agent
This is a SysInfo Resource Agent. It records (in the CIB) various attributes of
a node Sample Linux output: arch: i686 os: Linux-2.4.26-gentoo-r14 free_swap:
1999 cpu_info: Intel(R) Celeron(R) CPU 2.40GHz cpu_speed: 4771.02 cpu_cores: 1
cpu_load: 0.00 ram_total: 513 ram_free: 117 root_free: 2.4
...
After fix:
[root@rh70-node1:~]# pcs resource describe SysInfo
ocf:pacemaker:SysInfo - SysInfo resource agent
This is a SysInfo Resource Agent.
It records (in the CIB) various attributes of a node
Sample Linux output:
arch: i686
os: Linux-2.4.26-gentoo-r14
free_swap: 1999
cpu_info: Intel(R) Celeron(R) CPU 2.40GHz
cpu_speed: 4771.02
cpu_cores: 1
cpu_load: 0.00
ram_total: 513
ram_free: 117
root_free: 2.4
...
Created attachment 977815 [details]
proposed fix - test
Before Fix: [root@rh66-node1 ~]# rpm -q pcs pcs-0.9.123-9.el6.x86_64 [root@rh66-node1:~]# pcs resource describe SysInfo ocf:pacemaker:SysInfo - SysInfo resource agent This is a SysInfo Resource Agent. It records (in the CIB) various attributes of a node Sample Linux output: arch: i686 os: Linux-2.4.26-gentoo-r14 free_swap: 1999 cpu_info: Intel(R) Celeron(R) CPU 2.40GHz cpu_speed: 4771.02 cpu_cores: 1 cpu_load: 0.00 ram_total: 513 ram_free: 117 root_free: 2.4 Sample Darwin output: arch: i386 ... After Fix: [root@rh66-node1:~]# rpm -q pcs pcs-0.9.138-1.el6.x86_64 [root@rh66-node1:~]# pcs resource describe SysInfo ocf:pacemaker:SysInfo - SysInfo resource agent This is a SysInfo Resource Agent. It records (in the CIB) various attributes of a node Sample Linux output: arch: i686 os: Linux-2.4.26-gentoo-r14 free_swap: 1999 cpu_info: Intel(R) Celeron(R) CPU 2.40GHz cpu_speed: 4771.02 cpu_cores: 1 cpu_load: 0.00 ram_total: 513 ram_free: 117 root_free: 2.4 Sample Darwin output: arch: i386 ... Created attachment 985885 [details]
proposed fix - backward compatibility in gui
Before fix:
Resource agent / fence agent description visible by default when managing a cluster running pcs-0.9.138 remotely by pcs-0.9.137.
After fix:
Resource agent / fence agent description hidden by default.
Before Fix: [root@rh66-node1 ~]# rpm -q pcs pcs-0.9.138-1.el6.x86_64 Resource agent / fence agent description visible by default when managing a cluster remotely by pcs-0.9.137. After Fix: [root@rh66-node1:~]# rpm -q pcs pcs-0.9.139-1.el6.x86_64 Resource agent / fence agent description hidden by default when managing a cluster remotely by pcs-0.9.137. 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/RHBA-2015-1446.html |