summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2018-01-13 12:13:08 -0500
committerGitHub <noreply@github.com>2018-01-13 12:13:08 -0500
commitc2344f09f50f13e2f1aa5dacf422da32ce7525a4 (patch)
tree60dc83c552fb8f26224fdb7f97a25838ead937b1
parent6753e23ce8e08d9143bee31e004ce4d8742a848c (diff)
parenta129a219fa98f0dc8650648ab211d3b16128a6a7 (diff)
downloadopenshift-c2344f09f50f13e2f1aa5dacf422da32ce7525a4.tar.gz
openshift-c2344f09f50f13e2f1aa5dacf422da32ce7525a4.tar.bz2
openshift-c2344f09f50f13e2f1aa5dacf422da32ce7525a4.tar.xz
openshift-c2344f09f50f13e2f1aa5dacf422da32ce7525a4.zip
Merge pull request #6426 from danwinship/cleanup-ipam
Clean up host-local IPAM data while nodes are drained
-rw-r--r--roles/openshift_node/tasks/upgrade/config_changes.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/openshift_node/tasks/upgrade/config_changes.yml b/roles/openshift_node/tasks/upgrade/config_changes.yml
index 721656117..dd9183382 100644
--- a/roles/openshift_node/tasks/upgrade/config_changes.yml
+++ b/roles/openshift_node/tasks/upgrade/config_changes.yml
@@ -21,6 +21,12 @@
path: "/var/lib/dockershim/sandbox/"
state: absent
+# https://bugzilla.redhat.com/show_bug.cgi?id=1518912
+- name: Clean up IPAM data
+ file:
+ path: "/var/lib/cni/networks/openshift-sdn/"
+ state: absent
+
# Disable Swap Block (pre)
- block:
- name: Remove swap entries from /etc/fstab