kolla-ansible/ansible/roles
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
..
aodh Merge "Add notify restart container when cert changed" 2020-03-10 12:12:55 +00:00
barbican Merge "Add notify restart container when cert changed" 2020-03-10 12:12:55 +00:00
baremetal Merge "Use more permissive regex to remove the offending 127.0.1.1" 2020-02-25 22:27:07 +00:00
bifrost Bifrost: Stop stopping RabbitMQ 2020-02-21 16:40:30 +00:00
blazar Merge "Add notify restart container when cert changed" 2020-03-10 12:12:55 +00:00
ceilometer Merge "Add notify restart container when cert changed" 2020-03-10 12:12:55 +00:00
certificates Generate self signed TLS certificates 2020-01-28 14:03:33 -08:00
chrony Use "name:" instead of "role:" for *_role modules 2020-03-02 10:01:17 +01:00
cinder Merge "Add notify restart container when cert changed" 2020-03-10 12:12:55 +00:00
cloudkitty Merge "Add notify restart container when cert changed" 2020-03-10 12:12:55 +00:00
collectd Use "name:" instead of "role:" for *_role modules 2020-03-02 10:01:17 +01:00
common Fix kolla-ansible stop with heterogeneous hosts 2020-03-23 17:21:53 +00:00
congress Merge "Add notify restart container when cert changed" 2020-03-10 12:12:55 +00:00
cyborg Merge "Add notify restart container when cert changed" 2020-03-10 12:12:55 +00:00
designate Merge "Add notify restart container when cert changed" 2020-03-10 12:12:55 +00:00
destroy Introduce influxdb_datadir_volume 2020-02-19 16:08:33 +00:00
elasticsearch Merge "Fix invalid JSON body in Elasticsearch API requests" 2020-03-18 10:47:57 +00:00
etcd Use "name:" instead of "role:" for *_role modules 2020-03-02 10:01:17 +01:00
freezer Merge "Add notify restart container when cert changed" 2020-03-10 12:12:55 +00:00
glance Merge "Add notify restart container when cert changed" 2020-03-10 12:12:55 +00:00
gnocchi Merge "Add notify restart container when cert changed" 2020-03-10 12:12:55 +00:00
grafana Merge "support ipv6 for grafana.ini.j2" 2020-03-11 02:29:54 +00:00
haproxy Merge "Fix HAProxy monitor VIP precheck" 2020-03-11 02:43:00 +00:00
haproxy-config Fix indentation of HAProxy internal http-request config 2019-11-05 14:31:09 +00:00
heat Merge "Add notify restart container when cert changed" 2020-03-10 12:12:55 +00:00
horizon Copy ca certificates also to horizon container 2020-03-12 16:59:53 +00:00
influxdb Merge "Use "name:" instead of "role:" for *_role modules" 2020-03-10 08:40:43 +00:00
ironic Merge "Add notify restart container when cert changed" 2020-03-10 12:12:55 +00:00
iscsi Use "name:" instead of "role:" for *_role modules 2020-03-02 10:01:17 +01:00
kafka Use "name:" instead of "role:" for *_role modules 2020-03-02 10:01:17 +01:00
karbor Merge "Add notify restart container when cert changed" 2020-03-10 12:12:55 +00:00
keystone Merge "Add notify restart container when cert changed" 2020-03-10 12:12:55 +00:00
kibana Merge "Fix invalid JSON body in Elasticsearch API requests" 2020-03-18 10:47:57 +00:00
kuryr Merge "Add notify restart container when cert changed" 2020-03-10 12:12:55 +00:00
magnum Merge "Add notify restart container when cert changed" 2020-03-10 12:12:55 +00:00
manila Merge "Add notify restart container when cert changed" 2020-03-10 12:12:55 +00:00
mariadb Use "name:" instead of "role:" for *_role modules 2020-03-02 10:01:17 +01:00
masakari Use "name:" instead of "role:" for *_role modules 2020-03-02 10:01:17 +01:00
memcached Use "name:" instead of "role:" for *_role modules 2020-03-02 10:01:17 +01:00
mistral Merge "Add notify restart container when cert changed" 2020-03-10 12:12:55 +00:00
module-load Rename main.yaml to main.yml in modules-load role 2020-01-25 21:47:04 +01:00
monasca Merge "Fix invalid JSON body in Elasticsearch API requests" 2020-03-18 10:47:57 +00:00
mongodb Use "name:" instead of "role:" for *_role modules 2020-03-02 10:01:17 +01:00
multipathd Use "name:" instead of "role:" for *_role modules 2020-03-02 10:01:17 +01:00
murano Merge "Add notify restart container when cert changed" 2020-03-10 12:12:55 +00:00
neutron Fix native openvswitch firewall driver in neutron-openvswitch-agent 2020-03-16 19:36:40 +00:00
nova Merge "Add notify restart container when cert changed" 2020-03-10 12:12:55 +00:00
nova-cell Merge "Add notify restart container when cert changed" 2020-03-10 12:12:55 +00:00
nova-hyperv Add deprecation note to nova-hyperv role 2020-03-05 12:13:46 +00:00
octavia Merge "Add notify restart container when cert changed" 2020-03-10 12:12:55 +00:00
openvswitch Use "name:" instead of "role:" for *_role modules 2020-03-02 10:01:17 +01:00
ovs-dpdk Use "name:" instead of "role:" for *_role modules 2020-03-02 10:01:17 +01:00
panko Merge "Add notify restart container when cert changed" 2020-03-10 12:12:55 +00:00
placement Merge "Add notify restart container when cert changed" 2020-03-10 12:12:55 +00:00
prechecks Host OS prechecks follow up 2020-03-11 17:08:17 +00:00
prometheus Merge "Add notify restart container when cert changed" 2020-03-10 12:12:55 +00:00
prune-images Adds Docker image pruning command 2020-01-27 13:44:01 +03:00
qdrouterd Use "name:" instead of "role:" for *_role modules 2020-03-02 10:01:17 +01:00
qinling Merge "Add notify restart container when cert changed" 2020-03-10 12:12:55 +00:00
rabbitmq Use "name:" instead of "role:" for *_role modules 2020-03-02 10:01:17 +01:00
rally Merge "Add notify restart container when cert changed" 2020-03-10 12:12:55 +00:00
redis Use "name:" instead of "role:" for *_role modules 2020-03-02 10:01:17 +01:00
sahara Merge "Add notify restart container when cert changed" 2020-03-10 12:12:55 +00:00
searchlight Merge "Add notify restart container when cert changed" 2020-03-10 12:12:55 +00:00
senlin Merge "Add notify restart container when cert changed" 2020-03-10 12:12:55 +00:00
service-ks-register Remove delegate_to from service-ks-register tasks 2019-09-26 10:38:35 +01:00
service-rabbitmq service-rabbitmq: do not log password (use no_log) 2020-03-03 09:20:37 +01:00
service-stop/tasks Fix kolla-ansible stop with heterogeneous hosts 2020-03-23 17:21:53 +00:00
skydive Merge "Add notify restart container when cert changed" 2020-03-10 12:12:55 +00:00
solum Merge "Add notify restart container when cert changed" 2020-03-10 12:12:55 +00:00
storm Use "name:" instead of "role:" for *_role modules 2020-03-02 10:01:17 +01:00
swift Merge "Add notify restart container when cert changed" 2020-03-10 12:12:55 +00:00
tacker Merge "Add notify restart container when cert changed" 2020-03-10 12:12:55 +00:00
telegraf Merge "Add notify restart container when cert changed" 2020-03-10 12:12:55 +00:00
tempest Merge "Add notify restart container when cert changed" 2020-03-10 12:12:55 +00:00
trove Merge "Add notify restart container when cert changed" 2020-03-10 12:12:55 +00:00
vitrage Merge "Add notify restart container when cert changed" 2020-03-10 12:12:55 +00:00
vmtp Use "name:" instead of "role:" for *_role modules 2020-03-02 10:01:17 +01:00
watcher Merge "Add notify restart container when cert changed" 2020-03-10 12:12:55 +00:00
zookeeper Use "name:" instead of "role:" for *_role modules 2020-03-02 10:01:17 +01:00
zun Merge "Add notify restart container when cert changed" 2020-03-10 12:12:55 +00:00