Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-35817

LVMCluster shows Ready although there is no VGs created

XMLWordPrintable

    • Moderate
    • No
    • 3
    • OCPEDGE Sprint 255
    • 1
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • Before this fix, LVMCluster CR was reporting Ready when there weren't any VGs created yet. Now, it reports Progressing instead to signal that VGs are not yet ready.
    • Bug Fix
    • In Progress

      Description of problem:

      LVMCluster is in Ready state although there is no VGs created because of a problematic node selector:

      Spec:
        Storage:
          Device Classes:
            Default:  true
            Fstype:   xfs
            Name:     vg1
            Node Selector:
              Node Selector Terms:
                Match Expressions:
                  Key:       kubernetes.io/hostname
                  Operator:  In
                  Values:
                    test
            Thin Pool Config:
              Chunk Size Calculation Policy:  Static
              Name:                           thin-pool-1
              Overprovision Ratio:            10
              Size Percent:                   90
      Status:
        Conditions:
          Last Transition Time:  2024-06-19T09:08:36Z
          Message:               Reconciliation is complete and all the resources are available
          Reason:                ResourcesAvailable
          Status:                True
          Type:                  ResourcesAvailable
          Last Transition Time:  2024-06-19T09:08:36Z
          Message:               All the VGs are ready
          Reason:                VGsReady
          Status:                True
          Type:                  VolumeGroupsReady
        Ready:                   true
        State:                   Ready 

            sakbas@redhat.com Suleyman Akbas
            sakbas@redhat.com Suleyman Akbas
            Rahul Deore Rahul Deore
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: