FFU: Introduce gnocchi fast-forward-upgrade tasks
this upgrades the gnocchi services for gnocchi from N -> Q bp fast-forward-upgrades Change-Id: I3786f76172dfe3571a4893220ab97506aed1552a
This commit is contained in:
parent
69c0232a6f
commit
4be6bb155a
docker/services
@ -233,3 +233,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'
|
||||
|
@ -150,3 +150,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
|
||||
|
@ -150,3 +150,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