Uploaded image for project: 'MicroShift'
  1. MicroShift
  2. USHIFT-1389

greenboot healthcheck script reports what it checks but not why it fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • openshift-4.14
    • None
    • None
    • None
    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • uShift Sprint 239, uShift Sprint 240

      Description of problem:

      The health check script reports things like:
      
      Checking pod restart count in the 'foo' namespace
      
      But when it fails, it just returns 1 without actually declaring why.

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

      4.14

      How reproducible:

      Pretty reliably on upgrade from 4.13 to 4.14

      Steps to Reproduce:

      1. Boot 4.13
      2. Rebase to a 4.14 image
      3. Rebase fails
      4. Look at the health check logs on the 4.13 image after the reboot.

      Actual results:

      Messages about what is being checked, but no messages about which check fails.

      Expected results:

      A message clearly indicating why the system is not healthy. Something like "Found N pod restarts in 'foo' namespace, only M are allowed."

      Additional info:

       

       

            ggiguash@redhat.com Gregory Giguashvili
            dhellman@redhat.com Doug Hellmann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: