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

The example output in section Updating a cluster by using the CLI needs update

XMLWordPrintable

    • Low
    • None
    • 3
    • OSDOCS Sprint 243
    • 1
    • Unspecified
    • N/A
    • Release Note Not Required

      Document URL:
      https://docs.openshift.com/container-platform/4.10/updating/updating-cluster-cli.html#update-conditional-upgrade-pathupdating-cluster-cli

      Section Number and Name:
      Updating a cluster by using the CLI

      Describe the issue:
      The output of oc adm upgrade and oc get clusterversion -o json|jq ".items[0].status.history" is not proper.

      Suggestions for improvement:

      1) With 4.10 oc client, the output of oc adm upgrade is like:

      1. oc adm upgrade
        Cluster version is 4.9.23

      Upstream is unset, so the cluster will use an appropriate default.
      Channel: stable-4.10

      Recommended updates:

      VERSION IMAGE
      4.10.0 quay.io/openshift-release-dev/ocp-release@sha256:9c5f0df8b192a0d7b46cd5f6a4da2289c155fd5302dec7954f8f06c878160b8b

      2) The example output of oc get clusterversion -o json|jq ".items[0].status.history" needs update. The version 4.8.13 should be replaced with 4.9.23

      [

      { "completionTime": null, "image": "quay.io/openshift-release-dev/ocp-release@sha256:b8fa13e09d869089fc5957c32b02b7d3792a0b6f36693432acc0409615ab23b7", "startedTime": "2021-01-28T20:30:50Z", "state": "Partial", "verified": true, "version": "4.10.0" }

      ,

      { "completionTime": "2021-01-28T20:30:50Z", "image": "quay.io/openshift-release-dev/ocp-release@sha256:b8fa13e09d869089fc5957c32b02b7d3792a0b6f36693432acc0409615ab23b7", "startedTime": "2021-01-28T17:38:10Z", "state": "Completed", "verified": false, "version": "4.8.13" }

      ]

      Additional information:

              rhn-support-obrown Olivia Brown
              yanyang@redhat.com Yang Yang
              Yang Yang Yang Yang
              Latha Sreenivasa Murthy Latha Sreenivasa Murthy
              Red Hat Employee
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: