From ecefe86cf599c3cec928ab2ac6338763113d73ad Mon Sep 17 00:00:00 2001 From: "Egorov, Stanislav (se6518)" Date: Wed, 18 Sep 2019 11:25:04 -0700 Subject: [PATCH] Extended cleanup script Directory /etc/promenade has a permission issues when it's not removed before deploying new genesis on the same host. haproxy has been running under nobody user and has no access when /etc/promenade was already been updated by init container for haproxy anchor pod. It's a root cause for deployment stop and waiting before running haproxy service in the container on early stage. Appropriate cleanup should resolve this issue. Change-Id: I1fcadec9fce0ad50e24d6f8edb4600fb29bd9ce2 --- tools/cleanup.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/cleanup.sh b/tools/cleanup.sh index 0ea24105..d20d790e 100755 --- a/tools/cleanup.sh +++ b/tools/cleanup.sh @@ -19,6 +19,7 @@ TO_RM=( "/etc/genesis" "/etc/kubernetes" "/etc/logrotate.d/json-logrotate" + "/etc/promenade" "/etc/systemd/system/kubelet.service" "/etc/systemd/system/docker.service.d/http-proxy.conf" "/home/ceph"