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

[IBU] StorageClass cannot be created in the extra-manifests

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • None
    • 4.16
    • LCA operator
    • None
    • Important
    • No
    • CNF Ran Sprint 253, CNF Ran Sprint 254
    • 2
    • Proposed
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      Having a storaClass policy in the extra-manifest to be applied automatically during IBU fails.
      
          

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

      LCA 4.16
      IBU from 4.14.20 to 4.16.0-ec6
      
          

      How reproducible:

      100%
      
          

      Steps to Reproduce:

          1. IBU upgrade using the following StorageClass:
          - fileName: StorageClass.yaml
            policyName: "config-policy"
            metadata:
              annotations:
                ran.openshift.io/ztp-deploy-wave: "100"
                storageclass.kubernetes.io/is-default-class: "true"
              name: general
              labels:
                lca.openshift.io/target-ocp-version: "4.16.0-ec.6"   
         
        
          

      Actual results:

      
          - lastTransitionTime: "2024-05-10T10:31:45Z"
            message: 'Rollback due to failure applying policy manifests: failed to apply
              manifest: failed to update manifest StorageClass called general: StorageClass.storage.k8s.io
              "general" is invalid: volumeBindingMode: Invalid value: "Immediate": field
              is immutable'
      
          

      Expected results:

      StorageClass created succesfully.
          

      Additional info:

      
      System impact: IBU cannot be completed with the target configuration.
      
          

            angwang@redhat.com Angie Wang
            rlopezma@redhat.com Rodrigo Lopez Manrique
            Rodrigo Lopez Manrique Rodrigo Lopez Manrique
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: