summaryrefslogtreecommitdiffstats
path: root/lib/ansible
diff options
context:
space:
mode:
authortomsou <soth@intracom-telecom.com>2017-10-09 16:53:39 +0300
committerTim Rozet <trozet@redhat.com>2017-10-19 13:31:15 +0000
commit873d9d4fa3999eb36e6fba3b7d790545b5e03a51 (patch)
tree20fd0bf50a69c3f4fafdfa0c171f965ceda86fe3 /lib/ansible
parente675928d02d66928f291b83ef805b56a5fc41010 (diff)
Adapt zrpcd to work for Carbon/Nitrogen
It updates the quagga tar.gz file which is used to install zrpcd/quagga. The new rpms are compiled with thrift-version 4 Zrpcd is installed as a process. Additional changes takwqe place adopting the installation and checking of zrpcd process Note that an extra patch is needed to update or remove the building procedure, which is present within the project but not used actually. JIRA: APEX-508 Change-Id: If6da075d2aafdb8c2ecfc599f595a7201490aa23 Signed-off-by: tomsou <soth@intracom-telecom.com> (cherry picked from commit 663db511c540fe94b4396146f76bbc40bd3fd852)
Diffstat (limited to 'lib/ansible')
-rw-r--r--lib/ansible/playbooks/post_deploy_overcloud.yml12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/ansible/playbooks/post_deploy_overcloud.yml b/lib/ansible/playbooks/post_deploy_overcloud.yml
index 5640e906..af1c648a 100644
--- a/lib/ansible/playbooks/post_deploy_overcloud.yml
+++ b/lib/ansible/playbooks/post_deploy_overcloud.yml
@@ -22,12 +22,12 @@
when:
- sfc
- "'controller' in ansible_hostname"
- - name: Ensure ZRPCD is up
- systemd:
- name: zrpcd
- state: started
- enabled: yes
- become: yes
+ - name: Ensure ZRPCD is running
+ shell: ps aux | grep zrpcd | grep -v grep
+ ignore_errors: yes
+ changed_when: false
+ register: zrpcd_status
+ failed_when: zrpcd_status.rc == 0
when:
- vpn
- "'controller-0' in ansible_hostname"