Merge "Wrap ceilometer-upgrade in boostrap_host_exec"
This commit is contained in:
commit
a34955d451
@ -105,13 +105,17 @@ outputs:
|
||||
net: host
|
||||
detach: false
|
||||
privileged: false
|
||||
user: root
|
||||
volumes:
|
||||
list_concat:
|
||||
- {get_attr: [ContainersCommon, volumes]}
|
||||
-
|
||||
- /var/lib/config-data/ceilometer/etc/ceilometer/:/etc/ceilometer/:ro
|
||||
- /var/log/containers/ceilometer:/var/log/ceilometer
|
||||
command: ["/usr/bin/ceilometer-upgrade", "--skip-metering-database"]
|
||||
command:
|
||||
- '/usr/bin/bootstrap_host_exec'
|
||||
- 'ceilometer_agent_central'
|
||||
- "su ceilometer -s /bin/bash -c '/usr/bin/ceilometer-upgrade --skip-metering-database'"
|
||||
upgrade_tasks:
|
||||
- name: Stop and disable ceilometer agent central service
|
||||
tags: step2
|
||||
|
Loading…
Reference in New Issue
Block a user