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

status: show updating cluster operator names in the output

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • None
    • None
    • BU Product Work
    • 3
    • False
    • None
    • False
    • OCPSTRAT-1823 - [GA] 'oc adm upgrade status' command and status API
    • OTA 260, OTA 261, OTA 262, OTA 263

      One piece of information that we lost compared to oc adm upgrade command is which ClusterOperators are updated right now. Previously, we presented CVO's Progressing=True message that says:

      waiting on cloud-credential, cluster-autoscaler, console, csi-snapshot-controller, image-registry, ingress, insights, kube-storage-version-migrator, machine-approver, marketplace, monitoring, node-tuning, openshift-apiserver, openshift-controller-manager, operator-lifecycle-manager, service-ca, storage
      

      The oc adm upgrade status output presents counts of updated/updating/pending operators, but does not say which ones are in which state. We should show this information somehow.

       

      This is what we did for this card (for QE to verify): 
      - In the control plane section, we add a line of "Updating" to display the names of Cluster Operators that are being updated.

      • In the "detail" mode, we add a table for those Cluster Operators to show their details.
      • These 2 new parts will be hidden completely if there are no updating COs at the moment.

      The following is an example.

      = Control Plane =
      Assessment:      Progressing
      Target Version:  4.14.1 (from 4.14.0)
      Updating:        machine-config
      Completion:      97% (32 operators updated, 1 updating, 0 waiting)
      Duration:        14m (Est. Time Remaining: <10m)
      Operator Health: 32 Healthy, 1 Unavailable
      
      Updating Cluster Operators
      NAME             SINCE   REASON   MESSAGE
      machine-config   1m10s   -        Working towards 4.14.1
      

              hongkliu Hongkai Liu
              afri@afri.cz Petr Muller
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: