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

crm_mon should give some indication when CIB is invalid

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • Low
    • rhel-ha
    • 3
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Release Note Not Required
    • This is a self-evident change that does not need to be called out
    • All
    • 2.1.7
    • None
    • 57,005

      Description of problem:
      If a bundle resource is created without an IP address and a primitive resource is put inside the bundle, the bundle and the primitive is not shown in crm_mon and crm_mon --xml output. crm_verify shows why:

      1. crm_verify --live-check --verbose
        error: container_unpack: Cannot control http-bundle inside dummy1
        without either ip-range-start or control-port
        error: unpack_resources: Failed unpacking bundle http-bundle
        Errors found during check: config not valid

      It would be nice to see these resources in crm_mon output.

      Version-Release number of selected component (if applicable):
      pacemaker-1.1.16-8.el7.x86_64

      How reproducible:
      always, easily

      Steps to Reproduce:
      1. create a bundle without an IP
      2. put a primitive into the bundle

      Actual results:
      The bundle is missing in crm_mon and crm_mon --xml output.

      Expected results:
      The bundle is present in crm_mon --xml output. Failed actions are shown in crm_mon output.

      Additional info:
      Expected results seem to be consistent with a misconfigured primitive (tested with a primitive based on a nonexistent resource agent).

              rhn-support-clumens Christopher Lumens
              tojeline@redhat.com Tomas Jelinek
              Kenneth Gaillot Kenneth Gaillot (Inactive)
              Marketa Smazova Marketa Smazova
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated: