Fix neutron upgrade using host limit without controllers

When running kolla-ansible upgrade with a host limit that does not
include controllers, the neutron upgrade fails.

Change-Id: I7125a6ef1f180db6997026ff27e84feb04ee239d
Closes-Bug: #1939691
This commit is contained in:
Pierre Riteau 2021-09-10 22:22:40 +02:00
parent c7bec2f30a
commit 72e0673989

View File

@ -56,8 +56,8 @@
common_options: "{{ docker_common_options }}"
name: "{{ neutron_server.container_name }}"
when:
- is_stop_neutron_server|length > 0
- neutron_server.host_in_groups | bool
- is_stop_neutron_server|length > 0
notify:
- "Restart neutron-server container"