summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node/tasks
diff options
context:
space:
mode:
authorDan Winship <danw@redhat.com>2017-12-11 11:12:50 -0500
committerDan Winship <danw@redhat.com>2017-12-14 08:28:13 -0500
commita129a219fa98f0dc8650648ab211d3b16128a6a7 (patch)
treed13fabcaddfd93bd9c7a82f8d46cc9b88295c952 /roles/openshift_node/tasks
parente22ebadf60fe24f30924809cbe713a89f7f5c2d5 (diff)
downloadopenshift-a129a219fa98f0dc8650648ab211d3b16128a6a7.tar.gz
openshift-a129a219fa98f0dc8650648ab211d3b16128a6a7.tar.bz2
openshift-a129a219fa98f0dc8650648ab211d3b16128a6a7.tar.xz
openshift-a129a219fa98f0dc8650648ab211d3b16128a6a7.zip
Clean up host-local IPAM data while nodes are drained
Diffstat (limited to 'roles/openshift_node/tasks')
-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 e22018e6d..e9e61eac2 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