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

MicroShift should support featuregates with support exceptions

XMLWordPrintable

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

      None

      Show
      None
    • 0
    • Critical
    • None
    • None
    • None
    • uShift Sprint 282, uShift Sprint 283
    • 2
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      A MicroShift cluster with customized featuregates will refuse to boot after upgrading major/minor version. This (mostly) aligns with OpenShift but the policy does not leave room for customers granted support exceptions for specific features.
      
      Customers must be able to upgrade their clusters when those clusters have customized feature gates covered by that customer's support exception.

      How reproducible:

          100%

      Steps to Reproduce:

      Assumption: MicroShift rpm installation (ostree installs are also affected).
      
          1. Deploy and start MicroShift
          2. Set a custom feature gate:
      
      $ cat > /etc/microshift/config.d/featuregate.yaml <<'EOF'
      apiServer:
        featureGates:
          featureSet: CustomNoUpgrade
          customNoUpgrade:
            enabled: [ "ShinyFeature" ]
      
          3. Restart Microshift
      
      $ sudo systemctl restart microshift
      
          4. Upgrade MicroShift
      
      $ sudo dnf upgrade microshift
      
          5. Check microshift.service status and logs
      
      $ sudo systemctl status microshift
      $ sudo journalctl -fu microshift

      Actual results:

           MicroShift will fail to start and logging will indicate that an upgrade was detected after custom featuregates were set.

      Expected results:

          For customers with support exceptions, an upgraded microshift cluster should start.

       

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

                Created:
                Updated: