Merge "FFU: Introduce gnocchi fast-forward-upgrade tasks"
This commit is contained in:
commit
d8279a9d7d
docker/services
@ -243,3 +243,9 @@ outputs:
|
||||
service: name=httpd state=stopped enabled=no
|
||||
metadata_settings:
|
||||
get_attr: [GnocchiApiPuppetBase, role_data, metadata_settings]
|
||||
fast_forward_upgrade_tasks:
|
||||
- name: Stop gnocchi (under httpd)
|
||||
service: name=httpd state=stopped
|
||||
when:
|
||||
- step|int == 2
|
||||
- release == 'ocata'
|
||||
|
@ -160,3 +160,14 @@ outputs:
|
||||
- step|int == 2
|
||||
- gnocchi_metricd_enabled.rc == 0
|
||||
service: name=openstack-gnocchi-metricd.service state=stopped enabled=no
|
||||
fast_forward_upgrade_tasks:
|
||||
- name: FFU check if openstack-gnocchi-metricd is deployed
|
||||
command: systemctl is-enabled --quiet openstack-gnocchi-metricd
|
||||
ignore_errors: True
|
||||
register: gnocchi_metricd_enabled
|
||||
- name: FFU stop and disable openstack-gnocchi-metricd service
|
||||
service: name=openstack-gnocchi-metricd state=stopped enabled=no
|
||||
when:
|
||||
- step|int == 2
|
||||
- release == 'ocata'
|
||||
- gnocchi_metricd_enabled.rc == 0
|
||||
|
@ -160,3 +160,14 @@ outputs:
|
||||
- step|int == 2
|
||||
- gnocchi_statsd_enabled.rc == 0
|
||||
service: name=openstack-gnocchi-statsd.service state=stopped enabled=no
|
||||
fast_forward_upgrade_tasks:
|
||||
- name: FFU check if openstack-gnocchi-statsd is deployed
|
||||
command: systemctl is-enabled --quiet openstack-gnocchi-statsd
|
||||
ignore_errors: True
|
||||
register: gnocchi_statsd_enabled
|
||||
- name: FFU stop and disable openstack-gnocchi-statsd service
|
||||
service: name=openstack-gnocchi-statsd state=stopped enabled=no
|
||||
when:
|
||||
- step|int == 2
|
||||
- release == 'ocata'
|
||||
- gnocchi_statsd_enabled.rc == 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user