magnum/playbooks
Spyros Trigazis 66ebe442c2 heat-agent: Check if scripts exists
When we start or restart the heat-agent, we run
configure_container_agent.sh which writes a few scripts. Make sure that
the scipts do not exist before writing to avoid overwriting any values
created on runtime.

When the heat-agent starts, /etc/os-collect-config.conf includes only
the reference to the os-refresh-config command. After the agent
bootstap, this file contains the credentials to check for software
deployments in the [heat] section. Before this patch, when the agent
restarted /etc/os-collect-config.conf was cleared resulting the agent to
stop working. I have the survive restarts, skiping only
os-collect-config.conf should be enough, but it is better to not touch
files on just service restart.

Additionally, fix file permissions for /etc/os-collect-config.conf.

Change heat-container-agent tag to ussuri-dev.

Change-Id: I3efd4e55e885b95721f13279b44dc1246e2fd2e4
Signed-off-by: Spyros Trigazis <spyridon.trigazis@cern.ch>
2019-10-23 09:57:44 +02:00
..
post Remove broken job magnum-non-functional-tox-migration 2018-01-30 14:26:09 +01:00
pre OpenDev Migration Patch 2019-04-19 19:44:16 +00:00
container-builder-copy-logs.yaml Changes in container builder 2018-12-15 22:28:49 +01:00
container-builder-setup-gate.yaml containers: clean-up build code 2018-12-18 19:47:56 -05:00
container-builder-vars.yaml heat-agent: Check if scripts exists 2019-10-23 09:57:44 +02:00
container-builder.yaml Build cluster autoscaler container images 2019-10-16 08:05:23 +00:00
container-publish.yaml Build cluster autoscaler container images 2019-10-16 08:05:23 +00:00
magnum-buildimages-base.yaml Disable broken image building 2019-04-30 15:26:02 +02:00
magnum-functional-base.yaml OpenDev Migration Patch 2019-04-19 19:44:16 +00:00