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

WICD best-effort cleanup if services ConfigMap is not found

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • None
    • None
    • 8
    • None
    • False
    • WINC - Sprint 259, WINC - Sprint 260

      Description

      WICD uses the services ConfigMap tied to the desired version annotation to deconfigure a node. If the expected services ConfigMap cannot be found for any reason, a best-effort cleanup should occur to remove:

      • Windows services with the OpenShift managed tag (and any dependent services)
      • all services in the latest-created services ConfigMap, if one exists

      Engineering Details

      • services in the latest-created ConfigMap should be stopped in reverse order of creation (using priority values)

      Acceptance Criteria

      • If the expected ConfigMap is missing, the WICD cleanup command will safely removes
        • any remaining Windows services with the `openshift-managed` string in their description
        • all services in the most recently retrievable services ConfigMap
      • When ran with the `--preserveNode` argument, the Node object will not be deleted
      • No change in behavior if the expected ConfigMap is found

              mohashai Mohammad Shaikh
              mohashai Mohammad Shaikh
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: