Skip to content
Snippets Groups Projects
Commit 77e8044a authored by Mark Goddard's avatar Mark Goddard Committed by Pierre Riteau
Browse files

Workaround: stop bifrost services before seed upgrade

This avoids mariadb being ungracefully shut down, which prevents it from
being started again.

This should be reverted once bug 1834332 has been fixed in kolla ansible
stein.

Change-Id: Ic3932d4af5c0a7639dfeb6cda7e1cd3f61d287c6
Story: 2006050
Task: 34743
parent 67a4d502
No related branches found
No related tags found
No related merge requests found
...@@ -46,3 +46,17 @@ ...@@ -46,3 +46,17 @@
ironic-dbsync online_data_migrations ironic-dbsync online_data_migrations
fi' fi'
changed_when: true changed_when: true
# TODO(mgoddard): Remove this once bug 1834332 is fixed in kolla-ansible.
# Ensure that all services are stopped gracefully, and in a sensible
# order.
- name: Stop services gracefully
command: docker exec bifrost_deploy systemctl stop {{ item }}.service
with_items:
- ironic-api
- ironic-conductor
- ironic-inspector
- mariadb
- rabbitmq-server
- nginx
changed_when: true
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment