Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-61747

`pcs dr status` fails with Unknown command 'status.full_cluster_status_plaintext' [rhel-10]

    • pcs-0.12.0~b1-1.el10
    • Yes
    • Moderate
    • 4f382395155b633286016471024abbabcf68cf89
    • rhel-sst-high-availability
    • ssg_filesystems_storage_and_HA
    • 13
    • 26
    • 3
    • False
    • Hide

      None

      Show
      None
    • Yes
    • Red Hat Enterprise Linux
    • None
    • Bug Fix
    • Hide
      Cause (the user action or circumstances that trigger the bug):
      Setup Disaster Recovery cluster and execute command `pcs dr status`.

      Consequence (what the user experience is when the bug occurs):
      Error regarding unknown command is displayed instead of cluster status.

      Fix (what has changed to fix the bug; do not include overly technical details):
      Daemon's API endpoint for the cluster status was fixed.

      Result (what happens now that the patch is applied):
      Cluster status of the local and remote sites is displayed.
      Show
      Cause (the user action or circumstances that trigger the bug): Setup Disaster Recovery cluster and execute command `pcs dr status`. Consequence (what the user experience is when the bug occurs): Error regarding unknown command is displayed instead of cluster status. Fix (what has changed to fix the bug; do not include overly technical details): Daemon's API endpoint for the cluster status was fixed. Result (what happens now that the patch is applied): Cluster status of the local and remote sites is displayed.
    • Proposed
    • None

      This is a clone of issue RHEL-61738 to use for version rhel-10.0

      Original description:

      What were you trying to do that didn't work?

      Check the status of the primary cluster and the disaster recovery cluster from a node in the primary cluster, after a fresh installation following Red Hat official documentation:

      RHEL 9 - Configuring and managing high availability clusters - Chapter 32. Configuring disaster recovery clusters - 32.2. Displaying status of recovery clusters

      What is the impact of this issue to you?

      Customers can't create a disaster recovery cluster to be managed and monitor using the `pcs` cli from the primary site.

      Please provide the package NVR for which the bug is seen:

      pcs-0.11.7-2.el9_4.1.x86_64

      How reproducible is this bug?:

      Always.

      Steps to reproduce

      1. pcs host auth fastvm-rhel-9-4-21 fastvm-rhel-9-4-22 fastvm-rhel-9-4-23 fastvm-rhel-9-4-24
      1. pcs cluster setup PrimarySite fastvm-rhel-9-4-21 fastvm-rhel-9-4-22 --start
      1. pcs cluster setup DRSite fastvm-rhel-9-4-23 fastvm-rhel-9-4-24 --start
      1. pcs dr set-recovery-site fastvm-rhel-9-4-23
      1. pcs dr status

      Expected results

      An output similar to what we have in our official documentation (see link above); a combined output of `pcs status` as it was executed on each of the sites separately.

      Actual results

      [root@fastvm-rhel-9-4-21 ~]# pcs dr status
      Error: fastvm-rhel-9-4-21: Unknown command 'status.full_cluster_status_plaintext'
      Error: fastvm-rhel-9-4-22: Unknown command 'status.full_cluster_status_plaintext'
      Error: fastvm-rhel-9-4-23: Unknown command 'status.full_cluster_status_plaintext'
      Error: fastvm-rhel-9-4-24: Unknown command 'status.full_cluster_status_plaintext'
      — Local cluster - Primary site —
      Error: Unable to get status of the cluster from any node

      — Remote cluster - Recovery site —
      Error: Unable to get status of the cluster from any node
      Error: Unable to get status of all sites

              cluster-qe Cluster QE
              watson-automation Watson Automation
              Miroslav Lisik Miroslav Lisik
              Cluster QE Cluster QE
              Steven Levine Steven Levine
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated: