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
(cherry picked from commit efaf0c3bea
)
This commit is contained in:
parent
6f0e1fab4e
commit
ea6fc8f95d
@ -80,6 +80,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:
|
||||
|
||||
@ -194,6 +200,13 @@ outputs:
|
||||
- /var/lib/nova:/var/lib/nova:shared
|
||||
- /var/lib/docker-config-scripts/:/docker-config-scripts/
|
||||
command: "/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
Block a user