Run nova_statedir_owner on every run
So far nova_statedir_owner step is only run on initial deploy or when the image changes. This runs it on every deploy/scale/... run. Related-Bug: 1814260 Change-Id: I5eaaad9371183dff070d0eb72457fb76a6a60ebe
This commit is contained in:
parent
fce7eeca78
commit
efaf0c3bea
|
@ -76,6 +76,12 @@ parameters:
|
|||
This setup requires the Compute role to have the
|
||||
PacemakerRemote service added to it.
|
||||
type: boolean
|
||||
DeployIdentifier:
|
||||
default: ''
|
||||
type: string
|
||||
description: >
|
||||
Setting this to a unique value will re-run any deployment tasks which
|
||||
perform configuration on a Heat stack-update.
|
||||
|
||||
resources:
|
||||
|
||||
|
@ -191,6 +197,13 @@ outputs:
|
|||
- /var/lib/nova:/var/lib/nova:shared,z
|
||||
- /var/lib/docker-config-scripts/:/docker-config-scripts/:z
|
||||
command: "/docker-config-scripts/pyshim.sh /docker-config-scripts/nova_statedir_ownership.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}
|
||||
step_4:
|
||||
nova_wait_for_placement_service:
|
||||
start_order: 2
|
||||
|
|
Loading…
Reference in New Issue