The cleanup command in the external API is a misnomer and should
be called destroy.
Change-Id: I083e80699e09bb24266ce1bf549772a5de92a49e
Closes-Bug: 1610364
Docker engine is updated to 1.12. The docker.service in the rpm is
change. Use the /etc/systemd/system/docker.service.d/kolla.conf file to
overwrite the default parameters
TrivialFix
Change-Id: Ice56808f4a1ce1ee57bf5e48c779d033ea6c759c
In the current CI, we have no regitry service. when running pull action,
it will pull image form docker.io where has no such image too.
The right direction is set up a local regitry service, then push and
pull image from there.
TrivialFix
Change-Id: I3ebea5cdb539cb700487a2dbffa894fcce8f8723
If we have bug in contianer or it simplt somehow ended up in Exited
state, cleanup doesn't flush it. It also means it doesn't flush volumes
and that might cause an dirty env.
Closes-Bug: #1587344
Change-Id: Ib5705992500ce7efdc66509df61c381bd33d1954
Previously, when either setup_{RedHat,Debian}.sh was ran
multiple times a mess was created due to multiple loop
devices being setup.
This change now looks to see if '/docker' or '/swapfile'
already exist, and not re-create them if they do.
*However*, /var/lib/docker (/docker) is still wiped - but it
means that the script can run and bring the system into a
constant vanilla state.
Change-Id: I169662fa04c2bf644672ca75c3ee579795943727
Closes-Bug: #1586563
Signed-off-by: Dave Walker (Daviey) <email@daviey.com>
All files used by kolla-ansible do not have a file ending.
keyfile was added as an anomoly. I noticed this during a review
that coolsvap had underway where he did a similar thing. I think
--key is fine.
TrivialFix
Change-Id: I99867a1a04a4dd881dcb2af39946122ea6b7d8a3
this is a wordround fix for the rabbitmq failed when deploy on CentOS in
the CI gate. the ideal fix should set the hostname in setup_gate.sh
script. But it do not work as expect with unknown reason
Partial-Bug: #1581301
Change-Id: Ia692794aadf11d3ebe75e4e2bf6b42d9a5f3996f
In order for the ansible configuration to be consumable,
we need to be able to generate it without deploying anything.
Change-Id: I2bbdd74d62d00f509a4fa5e4100906ed658d3974
Implements: blueprint generate-config
* enable the openstack logging debug in the gate
* copy the /etc/kolla files out
* copy the /var/log files out
TrivialFix
Change-Id: I9cf5fa773ec5f41c6ea93325076a64dd24ce22da
Make cleanup-containers works dynamically. The script
removes the containers and its volumes dynamically based
on label contained in each kolla container, this way is not
needed create a big container and volume lists to be deleted.
http://paste.openstack.org/show/496357/
Closes-Bug: #1579044
Change-Id: Ie0d8a38ba2cf77c8d5da655958407145f4105bec
rax-iad node has two Ethernets, but others not. Detect the private
Ethernet by using script.
Closes-Bug: #1561563
Change-Id: I7c5d241f2b1a21f97512e52c487d875dd270011b
Sed and check the length of the IP addresses in the private list.
If none found, copy the public to the private.
Change-Id: I05e4798aa301e022de7d5097d503d8213f2b66a8
Closes-Bug: #1571275