afe63f6f19
A run_once task decides on a host without the context of conditionals related to the task. The filter is done prior to evaluating any conditionals. Also, only the neutron-server neutron.conf has the database connection credentials as a security measure, so it is not able to execute the database migrations. This patch ensures that the database migrations are only run once, but are also executed wherever neutron-server is. It also adds multiple instances of neutron-server and neutron-agents to better test against problems of this nature happening again. Additionally, the patch uses the handlers for the offline migrations to ensure that neutron-server is only restarted once when a new tag is deployed. Change-Id: I672ceb0848415c8f2653ebc8f7556db77f7f001c
91 lines
941 B
Plaintext
91 lines
941 B
Plaintext
[all]
|
|
localhost
|
|
infra1
|
|
server1
|
|
server2
|
|
agents1
|
|
agents2
|
|
|
|
[physical_host]
|
|
localhost
|
|
|
|
[all_containers]
|
|
infra1
|
|
server1
|
|
server2
|
|
agents1
|
|
agents2
|
|
|
|
[rabbitmq_all]
|
|
infra1
|
|
|
|
[galera_all]
|
|
infra1
|
|
|
|
[memcached_all]
|
|
infra1
|
|
|
|
[service_all:children]
|
|
rabbitmq_all
|
|
galera_all
|
|
memcached_all
|
|
|
|
[keystone_all]
|
|
infra1
|
|
|
|
[neutron_agent]
|
|
agents1
|
|
agents2
|
|
|
|
[neutron_dhcp_agent]
|
|
agents1
|
|
agents2
|
|
|
|
[neutron_linuxbridge_agent]
|
|
agents1
|
|
agents2
|
|
|
|
[neutron_openvswitch_agent]
|
|
|
|
[neutron_metering_agent]
|
|
agents1
|
|
agents2
|
|
|
|
[neutron_l3_agent]
|
|
agents1
|
|
agents2
|
|
|
|
[neutron_lbaas_agent]
|
|
agents1
|
|
agents2
|
|
|
|
[neutron_metadata_agent]
|
|
agents1
|
|
agents2
|
|
|
|
[neutron_server]
|
|
server1
|
|
server2
|
|
|
|
[neutron_calico_dhcp_agent]
|
|
|
|
[neutron_all:children]
|
|
neutron_agent
|
|
neutron_dhcp_agent
|
|
neutron_linuxbridge_agent
|
|
neutron_openvswitch_agent
|
|
neutron_metering_agent
|
|
neutron_l3_agent
|
|
neutron_lbaas_agent
|
|
neutron_metadata_agent
|
|
neutron_server
|
|
|
|
[utility_all]
|
|
infra1
|
|
|
|
[haproxy_all:children]
|
|
haproxy
|
|
|
|
[haproxy]
|
|
localhost
|