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

Surface ClusterVersion RetrievedUpdates condition messages

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • 4.13, 4.12, 4.11, 4.10, 4.9, 4.8
    • Management Console
    • None
    • Low
    • None
    • False
    • Hide

      None

      Show
      None
    • Hide
      * Previously, the *Cluster settings* page only shows `RetrievedUpdates=False` and not all reasons. As a result, the reason listed on the cluster settings page may not reflect the actual reason `RetrievedUpdates=False`. With this update, the cluster setting page now shows all reasons `RetrievedUpdates=False` in a popover. (link:https://issues.redhat.com/browse/OCPBUGS-3458[*OCPBUGS-3458*])
      Show
      * Previously, the *Cluster settings* page only shows `RetrievedUpdates=False` and not all reasons. As a result, the reason listed on the cluster settings page may not reflect the actual reason `RetrievedUpdates=False`. With this update, the cluster setting page now shows all reasons `RetrievedUpdates=False` in a popover. (link: https://issues.redhat.com/browse/OCPBUGS-3458 [* OCPBUGS-3458 *])
    • Bug Fix
    • Done

      Description of problem:

      Since way back in 4.8, we've had a banner with To request update recommendations, configure a channel that supports your version when ClusterVersion has RetrievedUpdates=False . But that's only one of several reasons we could be RetrievedUpdates=False. Can we pivot to passing through the ClusterVersion condition message?

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

      4.8 and later.

      How reproducible:

      100%

      Steps to Reproduce:

      1. Launch a cluster-bot cluster like 4.11.12.
      2. Set a channel with oc adm upgrade channel stable-4.11.
      3. Scale down the CVO with oc scale --replicas 0 -n openshift-cluster-version deployments/cluster-version-operator.
      4. Patch in a RetrievedUpdates condition with:

      $ CONDITIONS="$(oc get -o json clusterversion version | jq -c '[.status.conditions[] | if .type == "RetrievedUpdates" then .status = "False" | .message = "Testing" else . end]')"
      $ oc patch --subresource status clusterversion version --type json -p "[{\"op\": \"add\", \"path\": \"/status/conditions\", \"value\": ${CONDITIONS}}]"
      

      5. View the admin console at /settings/cluster.

      Actual results:

      Advice about configuring the channel (but it's already configured).

      Expected results:

      See the message you patched into the RetrievedUpdates condition.

              rhn-engineering-rhamilto Robb Hamilton
              trking W. Trevor King
              Yanping Zhang Yanping Zhang
              Olivia Payne Olivia Payne
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: