tripleo-heat-templates/container_config_scripts
Oliver Walsh 908e6b9810 Avoid concurrent nova cell_v2 discovery instances
The nova_cell_v2_discover_hosts.py was moved to run on compute
nodes instead of controllers to allow adding computes without
touching controllers and in case multiple stacks are used to
manage compute nodes. In case the nova-manage command, run by
nova_cell_v2_discover_hosts.py, gets triggered at the same time
on compute nodes races.

With this change if this is _not_ an additional cell:
* in docker_config step4, on every compute, we start the nova-compute
  container and then start a (detach=false) container to wait for
  it's service to appear in the service list.
* in docker_config step5, on the bootstrap node only, we run the
  discovery.

Change-Id: I1a159a7c2ac286373df2b7c566426b37b7734961
Closes-bug: 1824445
Co-authored-by: mschuppert@redhat.com
2019-04-18 16:23:15 +02:00
..
tests Rename docker_config_scripts to container_config_scripts 2019-03-06 09:05:50 -05:00
__init__.py Rename docker_config_scripts to container_config_scripts 2019-03-06 09:05:50 -05:00
nova_cell_v2_discover_hosts.py Avoid concurrent nova cell_v2 discovery instances 2019-04-18 16:23:15 +02:00
nova_statedir_ownership.py Rename docker_config_scripts to container_config_scripts 2019-03-06 09:05:50 -05:00
nova_wait_for_compute_service.py Avoid concurrent nova cell_v2 discovery instances 2019-04-18 16:23:15 +02:00
nova_wait_for_placement_service.py Test the correct placement endpoint with multiple regions 2019-03-08 15:45:10 +01:00
pyshim.sh Rename docker_config_scripts to container_config_scripts 2019-03-06 09:05:50 -05:00