Merge "Run gnocchi upgrade with sacks in docker template"
This commit is contained in:
commit
efad331d0d
@ -39,6 +39,10 @@ parameters:
|
||||
EnableInternalTLS:
|
||||
type: boolean
|
||||
default: false
|
||||
NumberOfStorageSacks:
|
||||
default: 128
|
||||
description: Number of storage sacks to create.
|
||||
type: number
|
||||
|
||||
conditions:
|
||||
|
||||
@ -110,7 +114,11 @@ outputs:
|
||||
-
|
||||
- /var/lib/config-data/gnocchi/etc/gnocchi/:/etc/gnocchi/:ro
|
||||
- /var/log/containers/gnocchi:/var/log/gnocchi
|
||||
command: "/usr/bin/bootstrap_host_exec gnocchi_api su gnocchi -s /bin/bash -c '/usr/bin/gnocchi-upgrade --skip-storage'"
|
||||
command:
|
||||
str_replace:
|
||||
template: "/usr/bin/bootstrap_host_exec gnocchi_api su gnocchi -s /bin/bash -c /usr/bin/gnocchi-upgrade --sacks-number=SACK_NUM"
|
||||
params:
|
||||
SACK_NUM: {get_param: NumberOfStorageSacks}
|
||||
step_4:
|
||||
gnocchi_api:
|
||||
image: *gnocchi_api_image
|
||||
|
Loading…
Reference in New Issue
Block a user