pcs status output does not clearly show when a resource group is disabled

Solution In Progress - Updated -

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)

Environment

  • Red Hat Enterprise Linux 7, 8 (with the High Availability Add-on)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In