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

status: simplify worker status line

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • 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 258, OTA 259, OTA 260, OTA 261, OTA 262, OTA 263

      The current format of the worker status line is consistent with the original format of the operator status line. However, the operator status line is being reworked and simplified as part of the OTA-1155. The goal of this task is to make the worker status line somewhat consistent with the newly modified operator status line and simplified.

      The current worker status line (see the “Worker Status:  ...” line):

      = Worker Pool =
      Worker Pool:     worker
      Assessment:      Degraded
      Completion:      39%
      Worker Status:   59 Total, 46 Available, 5 Progressing, 36 Outdated, 12 Draining, 0 Excluded, 7 Degraded 

      The exact new format is not defined and is for the assignee to create.

      A relevant Slack discussion: https://redhat-internal.slack.com/archives/CEGKQ43CP/p1706727395851369 

       

      The main goal of this task is to:

      •  Make the worker status line consistent with the new operator status line.
      • Simplify the output information.
        • For example, we don’t have to display zero non-happy values such as “0 Degraded” or zero redundant values such as “0 Excluded”: 
          Worker Status: 4 Total, 4 Available, 0 Progressing, 3 Outdated, 0 Draining, 0 Excluded, 0 Degraded
        • For example, 1 Available and Updated, 2 Available and Outdated may be more clear than 3 Total, 3 Available, 2 Outdated
        • A possible solution:
          Worker Status: <Available and Updated>, <Available and Outdated> [from which X are paused], <Unavailable but Progressing (Progressing and thus Unavailable)>, <Unavailable AND NOT Progressing>

       

      Definition of Done:

      • A pull request of a modified worker status line is merged.
      • The new worker status line is somewhat consistent with the new operator status line (OTA-1155) and is simplified.
      • Update the “Omitted additional…” line (shown when a large number of nodes is present and –details=false) respectively as well.

              hongkliu Hongkai Liu
              dhurta@redhat.com David Hurta
              Evgeni Vakhonin Evgeni Vakhonin
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: