Modifies the script that cleans up the local environment between runs to
allow the removal of /var/lib/kubelet/pods. The previous script hung up
on volume-subpaths (in addition to io~secret and empty-dir, which were
explicitly handled). This just unmounts everything before the files are
removed in remove_files.
Change-Id: I52cbe7d0f493336c1362ca3d3988038a1a15bcef
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
Currently, the package, repository, and key lists are used by up.sh for
genesis and join. This is not desirable when using an in-cluster
mirroring service, as the service address may change after it has been
deployed.
This commit separates the sources for genesis and join to circumvent the
aforementioned pain point. A 'common' entry in the
'promenade/HostSystem/v1' document can be used if a common source for
genesis and join is desired.
Co-authored-by: Rick Bartra <rb560u@att.com>
Change-Id: Ieb2513da0cff587297cfcbf5629d908696349621