Merge "Remove baremetal cron jobs on docker upgrade"

This commit is contained in:
Jenkins 2017-08-24 18:08:52 +00:00 committed by Gerrit Code Review
commit 98f578b778
4 changed files with 16 additions and 0 deletions

View File

@ -184,3 +184,7 @@ outputs:
- name: Stop and disable cinder_api service
tags: step2
service: name=httpd state=stopped enabled=no
- name: remove old cinder cron jobs
file:
path: /var/spool/cron/cinder
state: absent

View File

@ -156,6 +156,10 @@ outputs:
tags: common
ignore_errors: True
register: heat_api_enabled
- name: remove old heat cron jobs
file:
path: /var/spool/cron/heat
state: absent
- name: check for heat_api running under apache (post upgrade)
tags: step2
shell: "httpd -t -D DUMP_VHOSTS | grep -q heat_api_wsgi"

View File

@ -200,5 +200,9 @@ outputs:
- name: Stop and disable keystone service (running under httpd)
tags: step2
service: name=httpd state=stopped enabled=no
- name: remove old keystone cron jobs
file:
path: /var/spool/cron/keystone
state: absent
metadata_settings:
get_attr: [KeystoneBase, role_data, metadata_settings]

View File

@ -225,3 +225,7 @@ outputs:
- name: Stop and disable nova_api service
tags: step2
service: name=openstack-nova-api state=stopped enabled=no
- name: remove old nova cron jobs
file:
path: /var/spool/cron/nova
state: absent