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

MicroShift's KAS and KCM are not shutting down

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • None
    • 4.14.0
    • MicroShift
    • None
    • No
    • uShift Sprint 241, uShift Sprint 242
    • 2
    • False
    • Hide

      None

      Show
      None
    • Fixed a problem that prevented MicroShift from shutting down cleanly in some circumstances.
    • Bug Fix

      This is a clone of issue OCPBUGS-18548. The following is the description of the original issue:

      Description of problem:

      Fixing OCPBUGS-14678 uncovered another issue: after fixing the shutdown order, it appears that KCM and KAS do not exit even though they get a cancellation signal (via context).
      

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

      https://github.com/openshift/microshift/pull/2287
      

      How reproducible:

      
      

      Steps to Reproduce:

      1.
      2.
      3.
      

      Actual results:

      All MicroShift components stop almost immediately, but KAS and KCM do not, so MicroShift uses its full "graceful shutdown timeout" (which is 60 second but Evgeny's change shortens that to 15s).
      

      Expected results:

      KAS and KCM shut down in timely manner and don't block MicroShift shutdown
      

      Additional info:

      
      

            pmatusza@redhat.com Patryk Matuszak
            openshift-crt-jira-prow OpenShift Prow Bot
            Douglas Hensel Douglas Hensel
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: