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

Warn in case of non-existing filter resource or node ids in `pcs constraint location config`

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • rhel-10.0
    • pcs
    • None
    • No
    • Low
    • rhel-sst-high-availability
    • 2
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None

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

      pcs-0.12.0~a1-3.el10

      How reproducible is this bug?:

      always

      Steps to reproduce

      1. Try to use a resource or node id which is not configured in a cluster configuration when using resources or nodes filter in `pcs constraint location config` command

       

      # pcs resource
      NO resources configured
      
      
      # pcs status nodes
      Pacemaker Nodes:
       Online: r10-1.vm r10-2.vm
       Standby:
       Standby with resource(s) running:
       Maintenance:
       Offline:
      Pacemaker Remote Nodes:
       Online:
       Standby:
       Standby with resource(s) running:
       Maintenance:
       Offline:
      
      # pcs constraint location config resources missing-resource
      # pcs constraint location config nodes missing-node
      
      

       

      Expected results:

      Warnings about non-existing resources or nodes.

      Actual results:

      No warnings.

              tojeline@redhat.com Tomas Jelinek
              mlisik@redhat.com Miroslav Lisik
              Tomas Jelinek Tomas Jelinek
              Cluster QE Cluster QE
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: