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

Pcs should run crm_verify upon failed 'pcs cluster cib-push' to provide more details [rhel-9]

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Normal Normal
    • rhel-9.7
    • None
    • pcs
    • None
    • FutureFeature
    • rhel-sst-high-availability
    • 13
    • 19
    • 0
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Enhancement
    • Hide
      Feature, enhancement:
      When pushing new CIB in `pcs cluster edit` or `pcs cluster cib-push` commands fails, get more information about the failure from pacemaker.

      Reason:
      Previously, on the failed push, pcs merely printed an error comming from pacemaker. This only contains a generic error message and the rejected CIB, which is not helpful in finding out what's wrong with the CIB.

      Result:
      Upon failed CIB push, pcs validates the rejected CIB via pacemaker to get more details about why it was rejected.
      Show
      Feature, enhancement: When pushing new CIB in `pcs cluster edit` or `pcs cluster cib-push` commands fails, get more information about the failure from pacemaker. Reason: Previously, on the failed push, pcs merely printed an error comming from pacemaker. This only contains a generic error message and the rejected CIB, which is not helpful in finding out what's wrong with the CIB. Result: Upon failed CIB push, pcs validates the rejected CIB via pacemaker to get more details about why it was rejected.
    • Proposed
    • None

      This is a clone of issue RHEL-63186 to use for version rhel-9.7
      –
      Original description:

      Goal

      As a user, I want to get an explanation of why cib push failed. Currently, pcs only says cib is not valid and dumps the cib.

      Acceptance criteria

      When cib-push fails, pcs runs crm_verify to get a detailed information about the reason of the cib not being accepted by pacemaker. This would only apply to 'pcs cluster cib-push' and 'pcs cluster edit' commands.

      Even though users can run crm_verify on their own, integrating it to pcs cib-push would improve user experience. Also various automation tools running cib-push would benefit from this.

              mpospisi@redhat.com Michal Pospisil
              watson-automation Watson Automation
              Tomas Jelinek Tomas Jelinek
              Cluster QE Cluster QE
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: