Uploaded image for project: 'OpenShift Logging'
  1. OpenShift Logging
  2. LOG-6592

storageClassName of StatefulSets are not updated when StorageClassName in LokiStack is updated

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • Logging 5.8.z, Logging 5.9.z, Logging 6.0.z, Logging 6.1.z
    • Log Storage
    • False
    • None
    • False
    • NEW
    • NEW
    • Bug Fix
    • 3

      Description of problem:

      If we create a LokiStack with a StorageClassName that doesn't exist in the cluster then the pods of all the StatefulSet components will stay in "pending", this is expected as the cluster will try to provision persistent volumes with a storage class that doesn't exist. However, if we update the StorageClassName to a correct one then the user has to both delete the StatefulSets and only then the PersistentVolumenClaim otherwise he will not be able to get a working stack.

      Version-Release number of selected component (if applicable): 6.1 and prior

      How reproducible: Always

      Steps to Reproduce:

      1. Create LokiStack with wrong storageClassName
      2. Update the LokiStack to a correct storageClassName
      3. Validate that both the StatefulSets & PersistentVolumenClaim still have the wrong StorageClassName

      Actual results:

      Expected results: If a StorageClass doesn't exist then we should be safe to deal with this issue for the user and not making him having to manually delete resources.

      Additional info:

              Unassigned Unassigned
              jmarcal@redhat.com Joao Marcal
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: