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

Drop alert/accept feature gate environment variables from the 'recommend' subcommand

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 4.20
    • oc / update
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • Proposed
    • Feature
    • Hide
      'oc adm upgrade recommend' now retrieves and displays critical alerts and other alerts that might be interesting for cluster administrators considering cluster updates. And when used with --version, a new --accept option allows cluster administrators to accept specific issues they consider acceptable (the command will exit non-zero if unaccepted issues are detected).
      Show
      'oc adm upgrade recommend' now retrieves and displays critical alerts and other alerts that might be interesting for cluster administrators considering cluster updates. And when used with --version, a new --accept option allows cluster administrators to accept specific issues they consider acceptable (the command will exit non-zero if unaccepted issues are detected).
    • None
    • None
    • None
    • None

      This is a clone of issue OCPBUGS-61063. The following is the description of the original issue:

      Once we satisfy the Technical Release Team or other OCP decision-makers, drop the environment variables OC_ENABLE_CMD_UPGRADE_RECOMMEND_PRECHECK to and OC_ENABLE_CMD_UPGRADE_RECOMMEND_ACCEPT make that recommend subcommand functionality GA and available by default (the subcommand itself is already GA via OTA-1560).

      For folks running 4.20 and later oc looking for a workaround, you can set:

      $ export OC_ENABLE_CMD_UPGRADE_RECOMMEND_PRECHECK=true
      $ export OC_ENABLE_CMD_UPGRADE_RECOMMEND_ACCEPT=true
      

      although at the moment, those environment variables are technology preview. The features will only be generally available in the releases that contain the fix for this bug series.

       

              trking W. Trevor King
              trking W. Trevor King
              None
              None
              Jianwei Hou Jianwei Hou
              None
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: