Merge "Run nova_cell_v2_discover_hosts.py on every deploy run"

This commit is contained in:
Zuul 2019-04-27 01:33:38 +00:00 committed by Gerrit Code Review
commit 2d50c070ef
2 changed files with 14 additions and 0 deletions

View File

@ -635,6 +635,13 @@ outputs:
- /var/lib/container-config-scripts/:/container-config-scripts/
user: root
command: "/usr/bin/bootstrap_host_exec nova_compute su nova -s /bin/bash -c '/container-config-scripts/pyshim.sh /container-config-scripts/nova_cell_v2_discover_hosts.py'"
environment:
# NOTE: this should force this container to re-run on each
# update (scale-out, etc.)
- list_join:
- ''
- - 'TRIPLEO_DEPLOY_IDENTIFIER='
- {get_param: DeployIdentifier}
- {}
host_prep_tasks:
list_concat:

View File

@ -0,0 +1,7 @@
---
fixes:
- |
Change-Id: I1a159a7c2ac286373df2b7c566426b37b7734961 moved the dicovery
to run on a single compute host to not race on simultanious nova-manage
commands. This change make sure we run the discover on every deploy run
which is required for scaling up events.