pcs status output does not clearly show when a resource group is disabled or unmanaged
Issue
- When I disable a resource group, the
pcs status
command prints a"(disabled)"
flag next to the individual resources within a group but not next to the group name.
# pcs cluster cib --config
...
<group id="test_grp">
<meta_attributes id="test_grp-meta_attributes">
<nvpair id="test_grp-meta_attributes-target-role" name="target-role" value="Stopped"/>
</meta_attributes>
<primitive class="ocf" id="test_rsc" provider="heartbeat" type="Dummy">
<operations>
...
</operations>
</primitive>
</group>
# pcs status
...
Resource Group: test_grp
test_rsc (ocf::heartbeat:Dummy): Stopped (disabled)
- Same as above, but with an unmanaged group.
Environment
- Red Hat Enterprise Linux 7 (with the High Availability Add-on)
- Red Hat Enterprise Linux 8 (with the High Availability Add-on)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.