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

CannotRetrieveUpdates should provide command-line next-step advice

    XMLWordPrintable

Details

    • Low
    • No
    • False
    • Hide

      None

      Show
      None
    • N/A
    • Release Note Not Required

    Description

       Description of problem:

      The CannotRetrieveUpdates alert currently provides a link to the web-console so the responding admin can find the RetrievedUpdates=False message. But some admins lack convenient console access (e.g. they're SSHing in to a restricted network or the cluster does not have the Console capability enabled. Those admins would benefit from oc ... command-line advice.

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

      The alert is new in 4.6:

      $ for Y in $(seq 5 12); do git --no-pager grep CannotRetrieveUpdates "origin/release-4.${Y}"; done | head -n1
      origin/release-4.6:docs/user/status.md:When CVO is unable to retrieve recommended updates the CannotRetrieveUpdates alert will fire containing the reason. This alert will not fire when the reason updates cannot be retrieved is NoChannel.
      

      and has never provided command-line advice.

      How reproducible:

      Consistently.

      Steps to Reproduce:

      1. Install a cluster.
      2. Set an impossible channel, such as oc adm upgrade channel testing.
      3. Wait an hour.
      4. Check firing alerts in /monitoring/alerts.
      5. Click through to CannotRetrieveUpdates.

      Actual results:

      Failure to retrieve updates means that cluster administrators...

      description does not provide oc ... advice.

      Expected results:

      Failure to retrieve updates means that cluster administrators...

      description does provide oc ... advice.

      Attachments

        Activity

          People

            lmohanty@redhat.com Lalatendu Mohanty
            trking W. Trevor King
            Yang Yang Yang Yang
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: