summaryrefslogtreecommitdiffstats
path: root/ci/ansible/roles/osdsdock/scenarios/ceph.yml
diff options
context:
space:
mode:
authorleonwang <wanghui71@huawei.com>2018-08-16 09:27:32 +0800
committerleonwang <wanghui71@huawei.com>2018-08-16 09:27:52 +0800
commit4ced57eae63a52ea517d4087662726d942da8441 (patch)
treeb8fdca6b3c1eda0dd815b13166c7099b4c08f035 /ci/ansible/roles/osdsdock/scenarios/ceph.yml
parent401c7f3eae51c8bdf95fc8a2c4232969ac1f0b2f (diff)
Fix some bugs about ansible deployment
According to the feedback from Compass4NFV team, the goal of this patch is for: 1. Add notario package install step 2. Ignore the error of checking ceph osd and mon service 3. Move nbp-installer role to the last one to install Change-Id: Id6555cd9cd2877dc21ee5a92774c514b7c3fca34 Signed-off-by: leonwang <wanghui71@huawei.com>
Diffstat (limited to 'ci/ansible/roles/osdsdock/scenarios/ceph.yml')
-rw-r--r--ci/ansible/roles/osdsdock/scenarios/ceph.yml10
1 files changed, 8 insertions, 2 deletions
diff --git a/ci/ansible/roles/osdsdock/scenarios/ceph.yml b/ci/ansible/roles/osdsdock/scenarios/ceph.yml
index f5ea8ef..16aca67 100644
--- a/ci/ansible/roles/osdsdock/scenarios/ceph.yml
+++ b/ci/ansible/roles/osdsdock/scenarios/ceph.yml
@@ -20,6 +20,12 @@
with_items:
- ceph-common
+- name: install notario package with pip when ceph backend enabled
+ pip:
+ name: "{{ item }}"
+ with_items:
+ - notario
+
- name: configure ceph section in opensds global info if specify ceph backend
shell: |
cat >> opensds.conf <<OPENSDS_GLOABL_CONFIG_DOC
@@ -78,13 +84,13 @@
- name: check if ceph osd is running
shell: ps aux | grep ceph-osd | grep -v grep
- ignore_errors: false
+ ignore_errors: true
changed_when: false
register: service_ceph_osd_status
- name: check if ceph mon is running
shell: ps aux | grep ceph-mon | grep -v grep
- ignore_errors: false
+ ignore_errors: true
changed_when: false
register: service_ceph_mon_status