summaryrefslogtreecommitdiffstats
path: root/lib/ansible/playbooks/deploy_overcloud.yml
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2018-10-29 16:08:04 -0400
committerTim Rozet <trozet@redhat.com>2018-10-31 11:40:21 -0400
commitf20730a6633a9f910a804d5205fbdbff17e622d0 (patch)
tree7156a84162b82e43c31a01f966e9b9887533d08a /lib/ansible/playbooks/deploy_overcloud.yml
parent498356c9efb765a5714845ce8303dc8a264eb300 (diff)
Fixes failure to restart containers post undercloud install
It looks like the docker_container ansible module will recreate the container if it fails to restart it. This is undesired behavior so moving to use shell to restart the containers. Also, fixes mistral executor container not properly mounting the ceph-ansible playbook. Additionally fixes an issue with ceph-ansible by downgrading the package. Related rhbz: https://bugzilla.redhat.com/show_bug.cgi?id=1644713 Change-Id: I3199b4af11a4170d19419f70cb53f7d74def273c Signed-off-by: Tim Rozet <trozet@redhat.com>
Diffstat (limited to 'lib/ansible/playbooks/deploy_overcloud.yml')
-rw-r--r--lib/ansible/playbooks/deploy_overcloud.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/ansible/playbooks/deploy_overcloud.yml b/lib/ansible/playbooks/deploy_overcloud.yml
index 90c3ad1d..39fbf52e 100644
--- a/lib/ansible/playbooks/deploy_overcloud.yml
+++ b/lib/ansible/playbooks/deploy_overcloud.yml
@@ -80,6 +80,11 @@
- baremetal
- control
- compute
+ - name: Downgrade ceph
+ yum:
+ allow_downgrade: yes
+ name: ceph-ansible-3.1.6
+ become: yes
- name: Configure DNS server for ctlplane network
shell: "{{ stackrc }} && openstack subnet set ctlplane-subnet {{ dns_server_args }}"
- block: