Uploaded image for project: 'OpenShift Windows Containers'
  1. OpenShift Windows Containers
  2. WINC-1148

Move on-instance cleanup steps to occur before reboot annotation is applied

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • 3
    • None
    • None
    • None

      Description

      Any steps that modify the underlying instance/VM in WICD cleanup should occur before WICD cleanup applies the reboot annotation. Otherwise WMCO's node controller might reboot the instance before the other cleanup steps finish.

      Engineering Details

      cleanupContainers() should be moved to occur earlier in WICD cleanup, as it is an on-instance operation. Also at minimum, a comment should be added in code calling out this ordering requirement.

      Acceptance Criteria

      All cleanup steps that modify the instance occur before the reboot annotation is applied. Removing version annotation should remain the last step in WICD cleanup.

       

      QE: Test case should be that no timing errors occur when deconfiguring nodes that have many running containers, specifically containers that cannot be drained from the node (i.e. DaemonSet managed workloads).

              Unassigned Unassigned
              mohashai Mohammad Shaikh (Inactive)
              None
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: