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

MicroShift test agent greenboot actions may not be executed on boot

XMLWordPrintable

    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • uShift Sprint 261

      Description of problem:

      The microshift-test-agent service needs to create greenboot scripts BEFORE greenboot-healthcheck is triggered. Otherwise, the latter "misses" the scripts and never executes them.

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

      main

      How reproducible:

      Rarely, mostly happens in bootc images

      Steps to Reproduce:

      1. Run el94-src@upgrade-fails-on-1st-boot-but-recovers-on-2nd run using bootc image
      2. The test may fail
      3. Log into the instance and check greenboot-healthcheck logs
      4. Note that /etc/greenboot/check/required.d/99_microshift_test_failure.sh is not executed even if it's present on the file system

      Actual results:

      microshift-test-agent creates scripts too late in the boot sequence

      Expected results:

      microshift-test-agent should create all the scripts before the dependent services start.

              ggiguash@redhat.com Gregory Giguashvili
              ggiguash@redhat.com Gregory Giguashvili
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: