kolla-ansible/ansible
Mark Goddard 89df07e8ef Fix kolla-ansible stop with heterogeneous hosts
The 'kolla-ansible stop' command can be used to stop the services
running on hosts. However, if you run this command in an environment
with heterogeneous nodes (most real world scenarios have at least
control/compute), then it fails. This is because it only checks
whether a container is enabled, and not whether the host is in the
correct group. For example, it fails with nova-libvirt:

    No such container: nova_libvirt to stop.

This change fixes the issue by only attempting to stop containers on
hosts to which they are mapped.

Change-Id: Ibecac60d1417269bbe25a280996ca9de6e6d018f
Closes-Bug: #1868596
2020-03-23 17:21:53 +00:00
..
action_plugins Drop python 2 support from action plugins 2019-12-11 16:07:37 +00:00
filter_plugins Implement IPv6 support in the control plane 2019-10-16 10:24:35 +02:00
group_vars CentOS 8: Use master image tag by default 2020-03-16 15:58:55 +00:00
inventory Remove kolla-ceph 2020-02-11 11:42:06 +01:00
library Remove kolla-ceph 2020-02-11 11:42:06 +01:00
roles Fix kolla-ansible stop with heterogeneous hosts 2020-03-23 17:21:53 +00:00
bifrost.yml Update "openstack_release" variable to static brach name 2019-09-16 12:42:44 +00:00
certificates.yml Make the certificates role just run on deploy node 2018-03-20 19:57:30 +08:00
destroy.yml Give plays in the playbooks a name 2016-12-05 15:40:56 +00:00
gather-facts.yml Fix fact gathering with --limit 2018-12-07 14:49:27 +00:00
kolla-host.yml Merge "Support Docker CE in bootstrap-servers" 2018-12-28 12:21:26 +00:00
mariadb_backup.yml Use mariabackup for database backups 2019-11-01 18:44:10 +00:00
mariadb_recovery.yml Update "openstack_release" variable to static brach name 2019-09-16 12:42:44 +00:00
nova.yml Use "name:" instead of "role:" for *_role modules 2020-03-02 10:01:17 +01:00
post-deploy.yml Use correct variable for default certificate paths 2018-11-19 16:25:28 +00:00
prune-images.yml Adds Docker image pruning command 2020-01-27 13:44:01 +03:00
site.yml Use "name:" instead of "role:" for *_role modules 2020-03-02 10:01:17 +01:00