Uploaded image for project: 'OpenShift Over the Air'
  1. OpenShift Over the Air
  2. OTA-1202

Reword "Supported but not recommended updates" in oc output

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • None
    • OTA 250, OTA 251, OTA 252

      oc adm upgrade {}include-not-recommended{-} today includes a Supported but not recommended updates: header when introducing those updates. It also renders the Recommended condition. OTA-1191 is about what to do with the -include-not-recommended flag. This ticket is about addressing the header and possibly about adjusting/contextualizing/something the Recommended condition type.

       

      Here is a current output

       

      $ oc adm upgrade --include-not-recommended
      Cluster version is 4.10.0-0.nightly-2021-12-23-153012
      
      Upstream: https://raw.githubusercontent.com/wking/cincinnati-graph-data/cincinnati-graph-for-targeted-edge-blocking-demo/cincinnati-graph.json
      Channel: stable-4.10
      
      Recommended updates:
      
        VERSION                   IMAGE
        4.10.0-always-recommended quay.io/openshift-release-dev/ocp-release@sha256:0000000000000000000000000000000000000000000000000000000000000000
      
      Supported but not recommended updates:
      
        Version: 4.10.0-conditionally-recommended
        Image: quay.io/openshift-release-dev/ocp-release@sha256:1111111111111111111111111111111111111111111111111111111111111111
        Recommended: Unknown
        Reason: EvaluationFailed
        Message: Exposure to SomeChannelThing is unknown due to an evaluation failure: client-side throttling: only 16.3µs has elapsed since the last match call completed for this cluster condition backend; this cached cluster condition request has been queued for later execution
        On clusters with the channel set to 'buggy', this imaginary bug can happen. https://bug.example.com/b
      
        Version: 4.10.0-fc.2
        Image: quay.io/openshift-release-dev/ocp-    release@sha256:85c6ce1cffe205089c06efe363acb0d369f8df7ad48886f8c309f474007e4faf
        Recommended: False
        Reason: ModifiedAWSLoadBalancerServiceTags
        Message: On AWS clusters for Services in the openshift-ingress namespace… This will not cause issues updating between 4.10 releases.  This conditional update is just a demonstration of the conditional update system. https://bugzilla.redhat.com/show_bug.cgi?id=2039339

       

       

      Definition of done:

      After this change the output will look similar to below

       

      $ oc adm upgrade --include-not-recommended
      Cluster version is 4.10.0-0.nightly-2021-12-23-153012
      
      Upstream: https://raw.githubusercontent.com/wking/cincinnati-graph-data/cincinnati-graph-for-targeted-edge-blocking-demo/cincinnati-graph.json
      Channel: stable-4.10
      
      Recommended updates:
      
        VERSION                   IMAGE
        4.10.0-always-recommended quay.io/openshift-release-dev/ocp-release@sha256:0000000000000000000000000000000000000000000000000000000000000000
      
      
      Updates with known issues:
      
        Version: 4.10.0-conditionally-recommended
        Image: quay.io/openshift-release-dev/ocp-release@sha256:1111111111111111111111111111111111111111111111111111111111111111
        Recommended: Unknown
        Reason: EvaluationFailed
        Message: Exposure to SomeChannelThing is unknown due to an evaluation failure: client-side throttling: only 16.3µs has elapsed since the last match call completed for this cluster condition backend; this cached cluster condition request has been queued for later execution
        On clusters with the channel set to 'buggy', this imaginary bug can happen. https://bug.example.com/b
      
      Version: 4.10.0-fc.2
        Image: quay.io/openshift-release-dev/ocp-release@sha256:85c6ce1cffe205089c06efe363acb0d369f8df7ad48886f8c309f474007e4faf
        Recommended: False
        Reason: ModifiedAWSLoadBalancerServiceTags
        Message: On AWS clusters for Services in the openshift-ingress namespace… This will not cause issues updating between 4.10 releases.  This conditional update is just a demonstration of the conditional update system. https://bugzilla.redhat.com/show_bug.cgi?id=2039339

       

       

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

              Created:
              Updated:
              Resolved: