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

MicroShift should allow z-stream upgrades when custom featureGates are set

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 4.21.z
    • MicroShift
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • uShift Sprint 282
    • 1
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      MicroShift blocks all upgrade streams when custom feature-gates are set. OCP only blocks x and y stream upgrades for the same case.

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

          4.21.z

      How reproducible:

          100%

      Steps to Reproduce:

          1. Create config drop-in 
      
      $ cat > /etc/microshift/config.d/features.yaml <<'EOF'
      apiServer:
        featureGates:
          featureSet: "CustomNoUpgrade"
          customNoUpgrade:
            enabled: ["FakeFeatureGate"]
      EOF
      
          2. Restart microshift service
          3. Upgrade microshift

      Actual results:

          After upgrading, MicroShift detects /var/lib/microshift/no-upgrade file exists and will fail to start.

      Expected results:

          Upgrades on the z-stream should be permitted when custom featuregates are set.   

       

              jcope@redhat.com Jon Cope
              jcope@redhat.com Jon Cope
              None
              None
              John George John George
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: