[Rocky/Queens Only] Remove pre-upgrade validation tasks in cont services.
The pre-upgrade validation tasks in the containerized services made
sense when upgrading from non-containerized to containerized overcloud
(ocata to pike), however we kept them for queens and rocky
release thinking about using them during the undercloud upgrade from
non-containerized to containerized (queens to rocky) but they
were skipped there too [0]. It's beeing observed in the current
upgrades taken place by operators, that these validations are
causing more issues than it was thought, so let's get rid of
them from all the containerized services in Queens and Rocky.
Closes-Bug: #1829858
[0] - https://github.com/openstack/python-tripleoclient/blob/stable/rocky/tripleoclient/v1/tripleo_deploy.py#L833
Change-Id: If99ea62b6cefb140a9c918b8f6a774658c52d54b
(cherry picked from commit 7e0a4d0e52
)
This commit is contained in:
parent
c5c3533996
commit
40467b0f3f
|
@ -191,12 +191,6 @@ outputs:
|
|||
set_fact:
|
||||
httpd_running: "{{ httpd_running_result.rc == 0 }}"
|
||||
when: httpd_running is undefined
|
||||
- name: "PreUpgrade step0,validation: Check if aodh api is running"
|
||||
shell: systemctl status 'httpd' | grep -q aodh
|
||||
tags: validation
|
||||
when:
|
||||
- aodh_httpd_enabled|bool
|
||||
- httpd_running|bool
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable aodh service (running under httpd)
|
||||
|
|
|
@ -137,10 +137,6 @@ outputs:
|
|||
- name: Set fact aodh_evaluator_enabled
|
||||
set_fact:
|
||||
aodh_evaluator_enabled: "{{ aodh_evaluator_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check service openstack-aodh-evaluator is running"
|
||||
command: systemctl is-active --quiet openstack-aodh-evaluator
|
||||
tags: validation
|
||||
when: aodh_evaluator_enabled|bool
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable openstack-aodh-evaluator service
|
||||
|
|
|
@ -144,10 +144,6 @@ outputs:
|
|||
- name: Set fact aodh_listener_enabled
|
||||
set_fact:
|
||||
aodh_listener_enabled: "{{ aodh_listener_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check service openstack-aodh-listener is running"
|
||||
command: systemctl is-active --quiet openstack-aodh-listener
|
||||
when: aodh_listener_enabled|bool
|
||||
tags: validation
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable openstack-aodh-listener service
|
||||
|
|
|
@ -144,10 +144,6 @@ outputs:
|
|||
- name: Set fact aodh_notifier_enabled
|
||||
set_fact:
|
||||
aodh_notifier_enabled: "{{ aodh_notifier_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check service openstack-aodh-notifier is running"
|
||||
command: systemctl is-active --quiet openstack-aodh-notifier
|
||||
when: aodh_notifier_enabled|bool
|
||||
tags: validation
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable openstack-aodh-notifier service
|
||||
|
|
|
@ -255,9 +255,6 @@ outputs:
|
|||
- name: Set fact barbican_enabled
|
||||
set_fact:
|
||||
barbican_enabled: "{{ barbican_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check service barbican-api is running"
|
||||
command: systemctl is-active --quiet openstack-barbican-api
|
||||
when: barbican_enabled|bool
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable barbican_api service
|
||||
|
|
|
@ -153,10 +153,6 @@ outputs:
|
|||
- name: Set fact ceilometer_agent_central_enabled
|
||||
set_fact:
|
||||
ceilometer_agent_central_enabled: "{{ ceilometer_agent_central_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check service openstack-ceilometer-central is running"
|
||||
command: systemctl is-active --quiet openstack-ceilometer-central
|
||||
when: ceilometer_agent_central_enabled|bool
|
||||
tags: validation
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable ceilometer agent central service
|
||||
|
|
|
@ -131,14 +131,6 @@ outputs:
|
|||
- name: Set fact openstack_ceilometer_polling_enabled
|
||||
set_fact:
|
||||
openstack_ceilometer_polling_enabled: "{{ openstack_ceilometer_polling_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check service openstack-ceilometer-compute is running"
|
||||
command: systemctl is-active --quiet openstack-ceilometer-compute
|
||||
when: openstack_ceilometer_compute_enabled|bool
|
||||
tags: validation
|
||||
- name: "PreUpgrade step0,validation: Check service openstack-ceilometer-polling is running"
|
||||
command: systemctl is-active --quiet openstack-ceilometer-polling
|
||||
when: openstack_ceilometer_polling_enabled|bool
|
||||
tags: validation
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable ceilometer compute agent
|
||||
|
|
|
@ -132,10 +132,6 @@ outputs:
|
|||
- name: Set fact ceilometer_ipmi_enabled
|
||||
set_fact:
|
||||
ceilometer_ipmi_enabled: "{{ ceilometer_ipmi_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check if openstack-ceilometer-ipmi is running"
|
||||
command: systemctl is-active --quiet openstack-ceilometer-ipmi
|
||||
when: ceilometer_ipmi_enabled|bool
|
||||
tags: validation
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable ceilometer agent ipmi service
|
||||
|
|
|
@ -159,10 +159,6 @@ outputs:
|
|||
- name: Set fact ceilometer_agent_notification_enabled
|
||||
set_fact:
|
||||
ceilometer_agent_notification_enabled: "{{ ceilometer_agent_notification_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check service openstack-ceilometer-notification is running"
|
||||
command: systemctl is-active --quiet openstack-ceilometer-notification
|
||||
when: ceilometer_agent_notification_enabled|bool
|
||||
tags: validation
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable ceilometer agent notification service
|
||||
|
|
|
@ -252,10 +252,6 @@ outputs:
|
|||
- name: Set fact cinder_api_enabled
|
||||
set_fact:
|
||||
cinder_api_enabled: "{{ cinder_api_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check service openstack-cinder-api is running"
|
||||
shell: systemctl is-active --quiet openstack-cinder-api
|
||||
when: cinder_api_enabled|bool
|
||||
tags: validation
|
||||
# NOTE: In puppet service variant, we ran release N online
|
||||
# migrations before upgrade to release N+1. In docker
|
||||
# service variant, we run release N online migrations
|
||||
|
|
|
@ -183,10 +183,6 @@ outputs:
|
|||
- name: Set fact cinder_backup_enabled
|
||||
set_fact:
|
||||
cinder_backup_enabled: "{{ cinder_backup_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check service openstack-cinder-backup is running"
|
||||
shell: systemctl is-active --quiet openstack-cinder-backup
|
||||
when: cinder_backup_enabled|bool
|
||||
tags: validation
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable cinder_backup service
|
||||
|
|
|
@ -150,10 +150,6 @@ outputs:
|
|||
- name: Set fact cinder_scheduler_enabled
|
||||
set_fact:
|
||||
cinder_scheduler_enabled: "{{ cinder_scheduler_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check service openstack-cinder-scheduler is running"
|
||||
shell: systemctl is-active --quiet openstack-cinder-scheduler
|
||||
when: cinder_scheduler_enabled|bool
|
||||
tags: validation
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable cinder_scheduler service
|
||||
|
|
|
@ -170,10 +170,6 @@ outputs:
|
|||
- name: Set fact cinder_volume_enabled
|
||||
set_fact:
|
||||
cinder_volume_enabled: "{{ cinder_volume_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check service openstack-cinder-volume is running"
|
||||
shell: systemctl is-active --quiet openstack-cinder-volume
|
||||
when: cinder_volume_enabled|bool
|
||||
tags: validation
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable cinder_volume service
|
||||
|
|
|
@ -142,10 +142,6 @@ outputs:
|
|||
- name: Set fact collectd_enabled
|
||||
set_fact:
|
||||
collectd_enabled: "{{ collectd_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check service collectd service is running"
|
||||
command: systemctl is-active --quiet collectd
|
||||
when: collectd_enabled|bool
|
||||
tags: validation
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable collectd service
|
||||
|
|
|
@ -162,10 +162,6 @@ outputs:
|
|||
- name: Set fact congress_enabled
|
||||
set_fact:
|
||||
congress_enabled: "{{ congress_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check service openstack-congress-server is running"
|
||||
command: systemctl is-active --quiet openstack-congress-server
|
||||
when: congress_enabled|bool
|
||||
tags: validation
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable congress_api service
|
||||
|
|
|
@ -177,10 +177,6 @@ outputs:
|
|||
- name: Set fact mongod_enabled
|
||||
set_fact:
|
||||
mongod_enabled: "{{ mongod_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check if mongod is running"
|
||||
command: systemctl is-active --quiet mongod
|
||||
when: mongod_enabled|bool
|
||||
tags: validation
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable mongodb service
|
||||
|
|
|
@ -256,10 +256,6 @@ outputs:
|
|||
- name: Set fact mariadb_enabled
|
||||
set_fact:
|
||||
mariadb_enabled: "{{ mariadb_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check if mysql service is running"
|
||||
command: systemctl is-active --quiet mariadb
|
||||
when: mariadb_enabled|bool
|
||||
tags: validation
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable mysql service
|
||||
|
|
|
@ -199,10 +199,6 @@ outputs:
|
|||
- name: Set fact redis_enabled
|
||||
set_fact:
|
||||
redis_enabled: "{{ redis_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check if redis is running"
|
||||
command: systemctl is-active --quiet redis
|
||||
when: redis_enabled|bool
|
||||
tags: validation
|
||||
- when:
|
||||
- step|int == 2
|
||||
- redis_enabled|bool
|
||||
|
|
|
@ -225,14 +225,6 @@ outputs:
|
|||
- name: Set fact ec2_api_metadata_enabled
|
||||
set_fact:
|
||||
ec2_api_metadata_enabled: "{{ ec2_api_metadata_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check if openstack-ec2-api is running"
|
||||
command: systemctl is-active --quiet openstack-ec2-api
|
||||
when: ec2_api_enabled|bool
|
||||
tags: validation
|
||||
- name: "PreUpgrade step0,validation: Check if openstack-ec2-metadata-api is running"
|
||||
command: systemctl is-active --quiet openstack-ec2-api-metadata
|
||||
when: ec2_api_metadata_enabled|bool
|
||||
tags: validation
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable EC2-API service
|
||||
|
|
|
@ -127,10 +127,6 @@ outputs:
|
|||
- name: Set fact etcd_enabled
|
||||
set_fact:
|
||||
etcd_enabled: "{{ etcd_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check if etcd is running"
|
||||
command: systemctl is-active --quiet etcd
|
||||
when: etcd_enabled|bool
|
||||
tags: validation
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable etcd service
|
||||
|
|
|
@ -262,10 +262,6 @@ outputs:
|
|||
- name: Set fact glance_api_enabled
|
||||
set_fact:
|
||||
glance_api_enabled: "{{ glance_api_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check service openstack-glance-api is running"
|
||||
command: systemctl is-active --quiet openstack-glance-api
|
||||
tags: validation
|
||||
when: glance_api_enabled|bool
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable glance_api service
|
||||
|
|
|
@ -239,11 +239,6 @@ outputs:
|
|||
- name: Set fact gnocchi_api_enabled
|
||||
set_fact:
|
||||
gnocchi_api_enabled: "{{ gnocchi_api_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check service openstack-gnocchi-api is running"
|
||||
command: systemctl is-active --quiet openstack-gnocchi-api
|
||||
when:
|
||||
- gnocchi_api_enabled|bool
|
||||
tags: validation
|
||||
- name: Check if httpd service is running
|
||||
command: systemctl is-active --quiet httpd
|
||||
ignore_errors: True
|
||||
|
@ -260,12 +255,6 @@ outputs:
|
|||
- name: set fact gnocchi_httpd_enabled
|
||||
set_fact:
|
||||
gnocchi_httpd_enabled: "{{ gnocchi_httpd_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check if gnocchi_api_wsgi is running"
|
||||
shell: systemctl status 'httpd' | grep -q gnocchi
|
||||
tags: validation
|
||||
when:
|
||||
- gnocchi_httpd_enabled|bool
|
||||
- httpd_running|bool
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable gnocchi_api service
|
||||
|
|
|
@ -169,10 +169,6 @@ outputs:
|
|||
- name: Set fact gnocchi_metricd_enabled
|
||||
set_fact:
|
||||
gnocchi_metricd_enabled: "{{ gnocchi_metricd_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check service openstack-gnocchi-metricd is running"
|
||||
command: systemctl is-active --quiet openstack-gnocchi-metricd
|
||||
when: gnocchi_metricd_enabled|bool
|
||||
tags: validation
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable openstack-gnocchi-metricd service
|
||||
|
|
|
@ -169,10 +169,6 @@ outputs:
|
|||
- name: Set fact gnocchi_statsd_enabled
|
||||
set_fact:
|
||||
gnocchi_statsd_enabled: "{{ gnocchi_statsd_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check service openstack-gnocchi-statsd is running"
|
||||
command: systemctl is-active --quiet openstack-gnocchi-statsd
|
||||
when: gnocchi_statsd_enabled|bool
|
||||
tags: validation
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable openstack-gnocchi-statsd service
|
||||
|
|
|
@ -253,6 +253,7 @@ outputs:
|
|||
- null
|
||||
environment:
|
||||
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
||||
upgrade_tasks: []
|
||||
host_prep_tasks:
|
||||
- name: Check if rsyslog exists
|
||||
shell: systemctl is-active rsyslog
|
||||
|
|
|
@ -145,11 +145,6 @@ outputs:
|
|||
register: heat_api_cfn_httpd_enabled_result
|
||||
- set_fact:
|
||||
heat_api_cfn_httpd_enabled: "{{ heat_api_cfn_httpd_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check service openstack-heat-api-cfn is running"
|
||||
command: systemctl is-active --quiet openstack-heat-api-cfn
|
||||
when:
|
||||
- heat_api_cfn_enabled|bool
|
||||
tags: validation
|
||||
- name: Check if httpd service is running
|
||||
command: systemctl is-active --quiet httpd
|
||||
ignore_errors: True
|
||||
|
@ -158,12 +153,6 @@ outputs:
|
|||
- set_fact:
|
||||
httpd_running: "{{ httpd_running_result.rc == 0 }}"
|
||||
when: httpd_running is undefined
|
||||
- name: "PreUpgrade step0,validation: Check if heat_api_cfn_wsgi is running"
|
||||
tags: validation
|
||||
shell: systemctl status 'httpd' | grep -q heat_api_cfn_wsgi
|
||||
when:
|
||||
- heat_api_cfn_httpd_enabled|bool
|
||||
- httpd_running|bool
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable heat_api_cfn service (pre-upgrade not under httpd)
|
||||
|
|
|
@ -183,11 +183,6 @@ outputs:
|
|||
register: heat_api_httpd_enabled_result
|
||||
- set_fact:
|
||||
heat_api_httpd_enabled: "{{ heat_api_httpd_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check service openstack-heat-api is running"
|
||||
command: systemctl is-active --quiet openstack-heat-api
|
||||
when:
|
||||
- heat_api_enabled|bool
|
||||
tags: validation
|
||||
- name: Check if httpd is running
|
||||
command: systemctl is-active --quiet httpd
|
||||
ignore_errors: True
|
||||
|
@ -196,12 +191,6 @@ outputs:
|
|||
- set_fact:
|
||||
httpd_running: "{{ httpd_running_result.rc == 0 }}"
|
||||
when: httpd_running is undefined
|
||||
- name: "PreUpgrade step0,validation: Check if heat_api_wsgi is running"
|
||||
shell: systemctl status 'httpd' | grep -q heat_api_wsgi
|
||||
tags: validation
|
||||
when:
|
||||
- heat_api_httpd_enabled|bool
|
||||
- httpd_running|bool
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable heat_api service (pre-upgrade not under httpd)
|
||||
|
|
|
@ -163,10 +163,6 @@ outputs:
|
|||
- name: Set fact heat_engine_enabled
|
||||
set_fact:
|
||||
heat_engine_enabled: "{{ heat_engine_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check service openstack-heat-engine is running"
|
||||
command: systemctl is-active --quiet openstack-heat-engine
|
||||
when: heat_engine_enabled|bool
|
||||
tags: validation
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable heat_engine service
|
||||
|
|
|
@ -198,11 +198,6 @@ outputs:
|
|||
register: horizon_httpd_enabled_result
|
||||
- set_fact:
|
||||
horizon_httpd_enabled: "{{ horizon_httpd_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check if horizon is running"
|
||||
shell: systemctl is-active --quiet httpd
|
||||
when:
|
||||
- horizon_httpd_enabled|bool
|
||||
tags: validation
|
||||
- name: Stop and disable horizon service (running under httpd)
|
||||
when:
|
||||
- step|int == 2
|
||||
|
|
|
@ -225,11 +225,6 @@ outputs:
|
|||
- name: Set fact ironic_httpd_enabled
|
||||
set_fact:
|
||||
ironic_httpd_enabled: "{{ ironic_httpd_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check service openstack-ironic-api is running"
|
||||
command: systemctl is-active --quiet openstack-ironic-api
|
||||
when:
|
||||
- ironic_api_enabled|bool
|
||||
tags: validation
|
||||
- name: Check if httpd service is running
|
||||
command: systemctl is-active --quiet httpd
|
||||
ignore_errors: True
|
||||
|
@ -239,12 +234,6 @@ outputs:
|
|||
set_fact:
|
||||
httpd_running: "{{ httpd_running_result.rc == 0 }}"
|
||||
when: httpd_running is undefined
|
||||
- name: "PreUpgrade step0,validation: Check if ironic_api_wsgi is running"
|
||||
shell: systemctl status 'httpd' | grep -q ironic
|
||||
tags: validation
|
||||
when:
|
||||
- ironic_httpd_enabled|bool
|
||||
- httpd_running|bool
|
||||
# NOTE: In puppet service variant, we ran release N online
|
||||
# migrations before upgrade to release N+1. In docker
|
||||
# service variant, we run release N online migrations
|
||||
|
|
|
@ -188,10 +188,6 @@ outputs:
|
|||
- name: Set fact ironic_conductor_enabled
|
||||
set_fact:
|
||||
ironic_conductor_enabled: "{{ ironic_conductor_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check service openstack-ironic-conductor is running"
|
||||
command: systemctl is-active --quiet openstack-ironic-conductor
|
||||
tags: validation
|
||||
when: ironic_conductor_enabled|bool
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable ironic_conductor service
|
||||
|
|
|
@ -192,10 +192,6 @@ outputs:
|
|||
- name: Set fact ironic_inspector_enabled
|
||||
set_fact:
|
||||
ironic_inspector_enabled: "{{ ironic_inspector_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check service openstack-ironic-inspector is running"
|
||||
command: systemctl is-active --quiet openstack-ironic-inspector
|
||||
tags: validation
|
||||
when: ironic_inspector_enabled|bool
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable ironic_inspector service
|
||||
|
|
|
@ -123,10 +123,6 @@ outputs:
|
|||
- name: Set fact iscsid_enabled
|
||||
set_fact:
|
||||
iscsid_enabled: "{{ iscsid_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check if iscsid is running"
|
||||
command: systemctl is-active --quiet iscsid
|
||||
when: iscsid_enabled|bool
|
||||
tags: validation
|
||||
- name: Check if iscsid.socket service is deployed
|
||||
command: systemctl is-enabled --quiet iscsid.socket
|
||||
ignore_errors: True
|
||||
|
@ -134,10 +130,6 @@ outputs:
|
|||
- name: Set fact iscsid_socket_enabled
|
||||
set_fact:
|
||||
iscsid_socket_enabled: "{{ iscsid_socket_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check if iscsid.socket is running"
|
||||
command: systemctl is-active --quiet iscsid.socket
|
||||
when: iscsid_socket_enabled|bool
|
||||
tags: validation
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable iscsid service
|
||||
|
|
|
@ -128,10 +128,6 @@ outputs:
|
|||
- name: Set fact keepalived_enabled
|
||||
set_fact:
|
||||
keepalived_enabled: "{{ keepalived_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check service keepalived is running"
|
||||
command: systemctl is-active --quiet keepalived
|
||||
when: keepalived_enabled|bool
|
||||
tags: validation
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable keepalived service
|
||||
|
|
|
@ -230,12 +230,6 @@ outputs:
|
|||
- set_fact:
|
||||
httpd_running: "{{ httpd_running_result.rc == 0 }}"
|
||||
when: httpd_running is undefined
|
||||
- name: "PreUpgrade step0,validation: Check if keystone_wsgi is running under httpd"
|
||||
shell: systemctl status 'httpd' | grep -q keystone
|
||||
tags: validation
|
||||
when:
|
||||
- keystone_httpd_enabled|bool
|
||||
- httpd_running|bool
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable keystone service (running under httpd)
|
||||
|
|
|
@ -176,10 +176,6 @@ outputs:
|
|||
- name: Set fact manila_api_enabled
|
||||
set_fact:
|
||||
manila_api_enabled: "{{ manila_api_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check service openstack-manila-api is running"
|
||||
command: systemctl is-active --quiet openstack-manila-api
|
||||
when: manila_api_enabled|bool
|
||||
tags: validation
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable manila_api service
|
||||
|
|
|
@ -135,10 +135,6 @@ outputs:
|
|||
- name: Set fact manila_scheduler_enabled
|
||||
set_fact:
|
||||
manila_scheduler_enabled: "{{ manila_scheduler_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check service openstack-manila-scheduler is running"
|
||||
command: systemctl is-active --quiet openstack-manila-scheduler
|
||||
when: manila_scheduler_enabled|bool
|
||||
tags: validation
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable manila_scheduler service
|
||||
|
|
|
@ -153,10 +153,6 @@ outputs:
|
|||
- name: Set fact manila_scheduler_enabled
|
||||
set_fact:
|
||||
manila_scheduler_enabled: "{{ manila_scheduler_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check service openstack-manila-scheduler is running"
|
||||
command: systemctl is-active --quiet openstack-manila-scheduler
|
||||
when: manila_scheduler_enabled|bool
|
||||
tags: validation
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable manila_scheduler service
|
||||
|
|
|
@ -113,10 +113,6 @@ outputs:
|
|||
- name: Set fact memcached_enabled
|
||||
set_fact:
|
||||
memcached_enabled: "{{ memcached_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check service memcached is running"
|
||||
command: systemctl is-active --quiet memcached
|
||||
when: memcached_enabled|bool
|
||||
tags: validation
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable memcached service
|
||||
|
|
|
@ -223,17 +223,6 @@ outputs:
|
|||
register: mistral_httpd_enabled_result
|
||||
- set_fact:
|
||||
mistral_httpd_enabled: "{{ mistral_httpd_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check if openstack-mistral-api is running"
|
||||
command: systemctl is-active --quiet openstack-mistral-api
|
||||
when:
|
||||
- mistral_api_enabled|bool
|
||||
tags: validation
|
||||
- name: "PreUpgrade step0,validation: Check if mistral_api_wsgi is running"
|
||||
shell: systemctl status 'httpd' | grep -q mistral
|
||||
tags: validation
|
||||
when:
|
||||
- mistral_httpd_enabled|bool
|
||||
- httpd_running|bool
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable mistral_api service (pre-upgrade not under httpd)
|
||||
|
|
|
@ -142,10 +142,6 @@ outputs:
|
|||
- name: Set fact mistral_engine_enabled
|
||||
set_fact:
|
||||
mistral_engine_enabled: "{{ mistral_engine_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check if openstack-mistral-engine is running"
|
||||
command: systemctl is-active --quiet openstack-mistral-engine
|
||||
when: mistral_engine_enabled|bool
|
||||
tags: validation
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable mistral_engine service
|
||||
|
|
|
@ -142,10 +142,6 @@ outputs:
|
|||
- name: Set fact mistral_event_engine_enabled
|
||||
set_fact:
|
||||
mistral_event_engine_enabled: "{{ mistral_event_engine_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check if openstack-mistral-event-engine is running"
|
||||
command: systemctl is-active --quiet openstack-mistral-event-engine
|
||||
when: mistral_event_engine_enabled|bool
|
||||
tags: validation
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable mistral_event_engine service
|
||||
|
|
|
@ -150,10 +150,6 @@ outputs:
|
|||
- name: Set fact mistral_executor_enabled
|
||||
set_fact:
|
||||
mistral_executor_enabled: "{{ mistral_executor_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check if openstack-mistral-executor is running"
|
||||
command: systemctl is-active --quiet openstack-mistral-executor
|
||||
when: mistral_executor_enabled|bool
|
||||
tags: validation
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable mistral_executor service
|
||||
|
|
|
@ -99,10 +99,6 @@ outputs:
|
|||
- name: Set fact multipathd_enabled
|
||||
set_fact:
|
||||
multipathd_enabled: "{{ multipathd_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check service multipathd is running"
|
||||
command: systemctl is-active --quiet multipathd
|
||||
when: multipathd_enabled|bool
|
||||
tags: validation
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable multipathd service
|
||||
|
|
|
@ -199,10 +199,6 @@ outputs:
|
|||
- name: Set fact neutron_server_enabled
|
||||
set_fact:
|
||||
neutron_server_enabled: "{{ neutron_server_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check service neutron-server is running"
|
||||
command: systemctl is-active --quiet neutron-server
|
||||
when: neutron_server_enabled|bool
|
||||
tags: validation
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable neutron_api service
|
||||
|
|
|
@ -232,10 +232,6 @@ outputs:
|
|||
- name: Set fact neutron_dhcp_agent_enabled
|
||||
set_fact:
|
||||
neutron_dhcp_agent_enabled: "{{ neutron_dhcp_agent_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check service neutron-dhcp-agent is running"
|
||||
command: systemctl is-active --quiet neutron-dhcp-agent
|
||||
when: neutron_dhcp_agent_enabled|bool
|
||||
tags: validation
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable neutron_dhcp service
|
||||
|
|
|
@ -235,10 +235,6 @@ outputs:
|
|||
- name: Set fact neutron_l3_agent_enabled
|
||||
set_fact:
|
||||
neutron_l3_agent_enabled: "{{ neutron_l3_agent_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check service neutron-l3-agent is running"
|
||||
command: systemctl is-active --quiet neutron-l3-agent
|
||||
when: neutron_l3_agent_enabled|bool
|
||||
tags: validation
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable neutron_l3 service
|
||||
|
|
|
@ -143,10 +143,6 @@ outputs:
|
|||
- name: Set fact neutron_metadata_agent_enabled
|
||||
set_fact:
|
||||
neutron_metadata_agent_enabled: "{{ neutron_metadata_agent_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check service neutron-metadata-agent is running"
|
||||
command: systemctl is-active --quiet neutron-metadata-agent
|
||||
when: neutron_metadata_agent_enabled|bool
|
||||
tags: validation
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable neutron_metadata service
|
||||
|
|
|
@ -210,10 +210,6 @@ outputs:
|
|||
- name: Set fact neutron_ovs_agent_enabled
|
||||
set_fact:
|
||||
neutron_ovs_agent_enabled: "{{ neutron_ovs_agent_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check service neutron-openvswitch-agent is running"
|
||||
command: systemctl is-active --quiet neutron-openvswitch-agent
|
||||
when: neutron_ovs_agent_enabled|bool
|
||||
tags: validation
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable neutron_ovs_agent service
|
||||
|
|
|
@ -128,10 +128,6 @@ outputs:
|
|||
- name: Set fact neutron_sriov_nic_agent_enabled
|
||||
set_fact:
|
||||
neutron_sriov_nic_agent_enabled: "{{ neutron_sriov_nic_agent_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check service neutron-sriov-nic-agent is running"
|
||||
command: systemctl is-active --quiet neutron-sriov-nic-agent
|
||||
when: neutron_sriov_nic_agent_enabled|bool
|
||||
tags: validation
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable neutron_sriov_agent service
|
||||
|
|
|
@ -283,11 +283,6 @@ outputs:
|
|||
register: nova_api_httpd_enabled_result
|
||||
- set_fact:
|
||||
nova_api_httpd_enabled: "{{ nova_api_httpd_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check service openstack-nova-api is running"
|
||||
command: systemctl is-active --quiet openstack-nova-api
|
||||
tags: validation
|
||||
when:
|
||||
- nova_api_enabled|bool
|
||||
- name: Check if httpd service is running
|
||||
command: systemctl is-active --quiet httpd
|
||||
ignore_errors: True
|
||||
|
@ -296,12 +291,6 @@ outputs:
|
|||
- set_fact:
|
||||
httpd_running: "{{ httpd_running_result.rc == 0 }}"
|
||||
when: httpd_running is undefined
|
||||
- name: "PreUpgrade step0,validation: Check if nova_wsgi is running"
|
||||
tags: validation
|
||||
shell: systemctl status 'httpd' | grep -q 'nova'
|
||||
when:
|
||||
- nova_api_httpd_enabled|bool
|
||||
- httpd_running|bool
|
||||
# NOTE: In puppet service variant, we ran release N online
|
||||
# migrations before upgrade to release N+1. In docker
|
||||
# service variant, we run release N online migrations
|
||||
|
|
|
@ -334,10 +334,6 @@ outputs:
|
|||
- name: Set fact nova_compute_enabled
|
||||
set_fact:
|
||||
nova_compute_enabled: "{{ nova_compute_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check service openstack-nova-compute is running"
|
||||
command: systemctl is-active --quiet openstack-nova-compute
|
||||
tags: validation
|
||||
when: nova_compute_enabled|bool
|
||||
- when: step|int == 1
|
||||
block:
|
||||
- name: Set compute upgrade level to auto
|
||||
|
|
|
@ -145,10 +145,6 @@ outputs:
|
|||
- name: Set fact nova_conductor_enabled
|
||||
set_fact:
|
||||
nova_conductor_enabled: "{{ nova_conductor_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check service openstack-nova-conductor is running"
|
||||
command: systemctl is-active --quiet openstack-nova-conductor
|
||||
tags: validation
|
||||
when: nova_conductor_enabled|bool
|
||||
- when: step|int == 1
|
||||
block:
|
||||
- name: Set compute upgrade level to auto
|
||||
|
|
|
@ -140,10 +140,6 @@ outputs:
|
|||
- name: Set fact nova_consoleauth_enabled
|
||||
set_fact:
|
||||
nova_consoleauth_enabled: "{{ nova_consoleauth_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check service openstack-nova-consoleauth is running"
|
||||
command: systemctl is-active --quiet openstack-nova-consoleauth
|
||||
tags: validation
|
||||
when: nova_consoleauth_enabled|bool
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable nova_consoleauth service
|
||||
|
|
|
@ -204,10 +204,6 @@ outputs:
|
|||
- name: Set fact nova_ironic_enabled
|
||||
set_fact:
|
||||
nova_ironic_enabled: "{{ nova_ironic_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check service openstack-nova-compute is running"
|
||||
command: systemctl is-active --quiet openstack-nova-compute
|
||||
tags: validation
|
||||
when: nova_ironic_enabled|bool
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable nova-compute service
|
||||
|
|
|
@ -450,10 +450,6 @@ outputs:
|
|||
- name: Set fact nova_libvirt_enabled
|
||||
set_fact:
|
||||
nova_libvirt_enabled: "{{ nova_libvirt_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check service libvirtd is running"
|
||||
command: systemctl is-active --quiet libvirtd
|
||||
tags: validation
|
||||
when: nova_libvirt_enabled|bool
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable libvirtd service
|
||||
|
|
|
@ -128,10 +128,6 @@ outputs:
|
|||
- name: Set fact nova_metadata_enabled
|
||||
set_fact:
|
||||
nova_metadata_enabled: "{{ nova_metadata_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check service openstack-nova-api is running"
|
||||
command: systemctl is-active --quiet openstack-nova-api
|
||||
tags: validation
|
||||
when: nova_metadata_enabled|bool
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable nova_api service
|
||||
|
|
|
@ -157,12 +157,6 @@ outputs:
|
|||
- set_fact:
|
||||
httpd_running: "{{ httpd_running_result.rc == 0 }}"
|
||||
when: httpd_running is undefined
|
||||
- name: "PreUpgrade step0,validation: Check if placement_wsgi is running"
|
||||
shell: systemctl status 'httpd' | grep -q placement_wsgi
|
||||
tags: validation
|
||||
when:
|
||||
- nova_placement_httpd_enabled|bool
|
||||
- httpd_running|bool
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable nova_placement service (running under httpd)
|
||||
|
|
|
@ -141,10 +141,6 @@ outputs:
|
|||
- name: Set fact nova_scheduler_enabled
|
||||
set_fact:
|
||||
nova_scheduler_enabled: "{{ nova_scheduler_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check service openstack-nova-scheduler is running"
|
||||
command: systemctl is-active --quiet openstack-nova-scheduler
|
||||
tags: validation
|
||||
when: nova_scheduler_enabled|bool
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable nova_scheduler service
|
||||
|
|
|
@ -199,10 +199,6 @@ outputs:
|
|||
- name: Set fact nova_vncproxy_enabled
|
||||
set_fact:
|
||||
nova_vncproxy_enabled: "{{ nova_vncproxy_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check service openstack-nova-novncproxy is running"
|
||||
command: systemctl is-active --quiet openstack-nova-novncproxy
|
||||
tags: validation
|
||||
when: nova_vncproxy_enabled|bool
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable nova_vnc_proxy service
|
||||
|
|
|
@ -224,10 +224,6 @@ outputs:
|
|||
- name: Set fact octavia_api_httpd_enabled
|
||||
set_fact:
|
||||
octavia_api_httpd_enabled: "{{ octavia_api_httpd_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check service openstack-octavia-api is running"
|
||||
command: systemctl is-active --quiet openstack-octavia-api
|
||||
tags: validation
|
||||
when: octavia_api_enabled|bool
|
||||
- name: Check if httpd service is running
|
||||
command: systemctl is-active --quiet httpd
|
||||
ignore_errors: True
|
||||
|
@ -237,12 +233,6 @@ outputs:
|
|||
set_fact:
|
||||
httpd_running: "{{ httpd_running_result.rc == 0 }}"
|
||||
when: httpd_running is undefined
|
||||
- name: "PreUpgrade step0,validation: Check if octavia_api_cfn_wsgi is running"
|
||||
tags: validation
|
||||
when:
|
||||
- octavia_api_httpd_enabled|bool
|
||||
- httpd_running|bool
|
||||
shell: systemctl status 'httpd' | grep -q 'octavia'
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable octavia_api service
|
||||
|
|
|
@ -149,10 +149,6 @@ outputs:
|
|||
- name: Set fact octavia_health_enabled
|
||||
set_fact:
|
||||
octavia_health_enabled: "{{ octavia_health_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check service openstack-octavia-health-manager is running"
|
||||
command: systemctl is-active --quiet openstack-octavia-health-manager
|
||||
tags: validation
|
||||
when: octavia_health_enabled|bool
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable octavia_health_manager service
|
||||
|
|
|
@ -145,10 +145,6 @@ outputs:
|
|||
- name: Set fact octavia_housekeeping_enabled
|
||||
set_fact:
|
||||
octavia_housekeeping_enabled: "{{ octavia_housekeeping_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check service openstack-octavia-housekeeping is running"
|
||||
command: systemctl is-active --quiet openstack-octavia-housekeeping
|
||||
when: octavia_housekeeping_enabled|bool
|
||||
tags: validation
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable octavia_housekeeping service
|
||||
|
|
|
@ -164,10 +164,6 @@ outputs:
|
|||
- name: Set fact octavia_worker_enabled
|
||||
set_fact:
|
||||
octavia_worker_enabled: "{{ octavia_worker_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check service openstack-octavia-worker is running"
|
||||
command: systemctl is-active --quiet openstack-octavia-worker
|
||||
when: octavia_worker_enabled|bool
|
||||
tags: validation
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable octavia_worker service
|
||||
|
|
|
@ -180,10 +180,6 @@ outputs:
|
|||
- name: Set fact opendaylight_enabled
|
||||
set_fact:
|
||||
opendaylight_enabled: "{{ opendaylight_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check service opendaylight is running"
|
||||
command: systemctl is-active --quiet opendaylight
|
||||
when: opendaylight_enabled|bool
|
||||
tags: validation
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable opendaylight_api service
|
||||
|
|
|
@ -145,10 +145,6 @@ outputs:
|
|||
- name: Set fact ovn_controller_enabled
|
||||
set_fact:
|
||||
ovn_controller_enabled: "{{ ovn_controller_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check service ovn_controller is running"
|
||||
command: systemctl is-active --quiet ovn-controller
|
||||
when: ovn_controller_enabled|bool
|
||||
tags: validation
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable ovn-controller service
|
||||
|
|
|
@ -217,10 +217,6 @@ outputs:
|
|||
- name: Set fact ovn_northd_enabled
|
||||
set_fact:
|
||||
ovn_northd_enabled: "{{ ovn_northd_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check service ovn_northd is running"
|
||||
command: systemctl is-active --quiet ovn-northd
|
||||
when: ovn_northd_enabled|bool
|
||||
tags: validation
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable ovn-northd service
|
||||
|
|
|
@ -196,10 +196,6 @@ outputs:
|
|||
- name: Set fact networking_ovn_metadata_agent_enabled
|
||||
set_fact:
|
||||
networking_ovn_metadata_agent_enabled: "{{ networking_ovn_metadata_agent_enabled.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check service networking-ovn-metadata-agent is running"
|
||||
command: systemctl is-active --quiet networking-ovn-metadata-agent
|
||||
when: networking_ovn_metadata_agent_enabled|bool
|
||||
tags: validation
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable networking_ovn_metadata service
|
||||
|
|
|
@ -237,10 +237,6 @@ outputs:
|
|||
- name: Set fact rabbitmq_enabled
|
||||
set_fact:
|
||||
rabbitmq_enabled: "{{ rabbitmq_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check service rabbitmq server is running"
|
||||
command: systemctl is-active --quiet rabbitmq-server
|
||||
when: rabbitmq_enabled|bool
|
||||
tags: validation
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable rabbitmq service
|
||||
|
|
|
@ -156,10 +156,6 @@ outputs:
|
|||
- name: Set fact sahara_api_enabled
|
||||
set_fact:
|
||||
sahara_api_enabled: "{{ sahara_api_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check service openstack-sahara-api is running"
|
||||
command: systemctl is-active --quiet openstack-sahara-api
|
||||
when: sahara_api_enabled|bool
|
||||
tags: validation
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable sahara_api service
|
||||
|
|
|
@ -148,10 +148,6 @@ outputs:
|
|||
- name: Set fact sahara_engine_enabled
|
||||
set_fact:
|
||||
sahara_engine_enabled: "{{ sahara_engine_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check service openstack-sahara-engine is running"
|
||||
command: systemctl is-active --quiet openstack-sahara-engine
|
||||
when: sahara_engine_enabled|bool
|
||||
tags: validation
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable sahara_engine service
|
||||
|
|
|
@ -177,10 +177,6 @@ outputs:
|
|||
- name: Set fact sensu_enabled
|
||||
set_fact:
|
||||
sensu_enabled: "{{ sensu_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check if sensu client is running"
|
||||
command: systemctl is-active --quiet sensu-client
|
||||
when: sensu_enabled|bool
|
||||
tags: validation
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable sensu-client service
|
||||
|
|
|
@ -267,11 +267,6 @@ outputs:
|
|||
- name: Set fact swift_proxy_services_enabled
|
||||
set_fact:
|
||||
swift_proxy_services_enabled: "{{ swift_proxy_services_enabled_result }}"
|
||||
- name: "PreUpgrade step0,validation: Check service openstack-swift-proxy and openstack-swift-object-expirer are running"
|
||||
command: systemctl is-active --quiet "{{ item.item }}"
|
||||
when: item.rc == 0
|
||||
tags: validation
|
||||
with_items: "{{ swift_proxy_services_enabled.results }}"
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable swift-proxy and swift-object-expirer services
|
||||
|
|
|
@ -511,11 +511,6 @@ outputs:
|
|||
- name: Set fact swift_services_enabled
|
||||
set_fact:
|
||||
swift_services_enabled: "{{ swift_services_enabled_result }}"
|
||||
- name: "PreUpgrade step0,validation: Check swift storage services are running"
|
||||
command: systemctl is-active --quiet "{{ item.item }}"
|
||||
tags: validation
|
||||
with_items: "{{ swift_services_enabled.results }}"
|
||||
when: item.rc == 0
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable swift storage services
|
||||
|
|
|
@ -159,10 +159,6 @@ outputs:
|
|||
- name: Set fact tacker_enabled
|
||||
set_fact:
|
||||
tacker_enabled: "{{ tacker_enabled_result.rc == 0 }}"
|
||||
- name: "PreUpgrade step0,validation: Check if tacker is running"
|
||||
command: systemctl is-active --quiet openstack-tacker-server
|
||||
when: tacker_enabled|bool
|
||||
tags: validation
|
||||
- when: step|int == 2
|
||||
block:
|
||||
- name: Stop and disable tacker-server service
|
||||
|
|
|
@ -214,12 +214,6 @@ outputs:
|
|||
- set_fact:
|
||||
httpd_running: "{{ httpd_running_result.rc == 0 }}"
|
||||
when: httpd_running is undefined
|
||||
- name: "PreUpgrade step0,validation: Check if zaqar_wsgi is running"
|
||||
shell: systemctl status 'httpd' | grep -q zaqar_wsgi
|
||||
tags: validation
|
||||
when:
|
||||
- zaqar_httpd_enabled|bool
|
||||
- httpd_running|bool
|
||||
- name: Stop and disable zaqar service
|
||||
when:
|
||||
- step|int == 2
|
||||
|
|
Loading…
Reference in New Issue