openstack-ansible/playbooks/common-tasks
Kevin Carter b6119e6d2f
common-tasks: Container Start/Stop conditions
The container start/stop conditions for lxc can fail if a container is
slow to start/stop which may result in an retry and fail due to the
confused state. This change checks the stdout of the command which will
report if the container is already started or stopped which should
ensure we're not failing a playbook run simply because of a container
is slow to respond to a command or in an otherwise confused state.

This issue is often seen on the cent gates:
http://logs.openstack.org/47/552047/23/check/openstack-ansible-deploy-aio_basekit-centos-7/222e1b2/job-output.txt.gz#_2018-03-15_01_45_14_559041

Change-Id: Ic52c1d00592fb194889a3aef695075c3e102fc4c
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018-03-21 10:45:51 -05:00
..
dynamic-address-fact.yml Avoid retrieving IP from a missing bridge 2017-12-01 22:43:13 +01:00
dynamic-grouping.yml Move dynamic grouping conditional 2017-10-22 03:09:26 +00:00
haproxy-endpoint-manage.yml Added a common tag to the common tasks 2017-03-02 10:19:19 -06:00
mysql-db-user.yml Added a common tag to the common tasks 2017-03-02 10:19:19 -06:00
os-log-dir-setup.yml Added a common tag to the common tasks 2017-03-02 10:19:19 -06:00
os-lxc-container-setup.yml common-tasks: Container Start/Stop conditions 2018-03-21 10:45:51 -05:00
os-nspawn-container-setup.yml Add nspawn container driver 2018-02-11 19:02:24 -06:00
package-cache-proxy.yml Ensure package cache is updated appropriately 2018-03-15 18:56:18 +00:00
rabbitmq-vhost-user.yml Added a common tag to the common tasks 2017-03-02 10:19:19 -06:00
restart-service.yml Workaround ansible lint failure 2017-12-12 08:03:16 +00:00
set-pip-upstream-url.yml Set timeouts on uri tasks 2018-03-04 15:48:20 -05:00
set-upper-constraints.yml Set timeouts on uri tasks 2018-03-04 15:48:20 -05:00
unbound-clients.yml Move resolvconf JIT execution to common tasks 2017-09-21 08:08:59 -05:00