summaryrefslogtreecommitdiffstats
path: root/ci/ansible/roles/osdsdock
diff options
context:
space:
mode:
authorleonwang <wanghui71@huawei.com>2018-02-24 08:10:50 +0000
committerleonwang <wanghui71@huawei.com>2018-02-24 08:20:24 +0000
commit691462d09d0987b47e112d6ee8740375df3c51b2 (patch)
tree3dffb1f3ef3ffe7a7a47678276d3d5becf0317e9 /ci/ansible/roles/osdsdock
parentb9f16e2669ff5a0cde006951ffec5dff84ac29df (diff)
Fix some bugs when testing opensds ansible
When we tested opensds ansible script with multi-nodes ceph cluster, it didn't work because ansible can't detect the osd process on its local node. So I suggest we removed ceph osd service check for now to solve the problem. Change-Id: I62514afc147952a230c27cce01ff39de3b7bb9f3 Signed-off-by: leonwang <wanghui71@huawei.com>
Diffstat (limited to 'ci/ansible/roles/osdsdock')
-rwxr-xr-xci/ansible/roles/osdsdock/scenarios/ceph.yml14
1 files changed, 7 insertions, 7 deletions
diff --git a/ci/ansible/roles/osdsdock/scenarios/ceph.yml b/ci/ansible/roles/osdsdock/scenarios/ceph.yml
index 77c8b49..2b6196c 100755
--- a/ci/ansible/roles/osdsdock/scenarios/ceph.yml
+++ b/ci/ansible/roles/osdsdock/scenarios/ceph.yml
@@ -49,16 +49,16 @@
chdir: /opt/ceph-ansible
- name: run ceph-ansible playbook
- shell: ansible-playbook site.yml -i ceph.hosts
+ shell: ansible-playbook site.yml -i ceph.hosts | tee /var/log/ceph_ansible.log
become: true
args:
chdir: /opt/ceph-ansible
-- name: Check if ceph osd is running
- shell: ps aux | grep ceph-osd | grep -v grep
- ignore_errors: false
- changed_when: false
- register: service_ceph_osd_status
+#- name: Check if ceph osd is running
+# shell: ps aux | grep ceph-osd | grep -v grep
+# ignore_errors: false
+# changed_when: false
+# register: service_ceph_osd_status
- name: Check if ceph mon is running
shell: ps aux | grep ceph-mon | grep -v grep
@@ -71,4 +71,4 @@
ignore_errors: yes
changed_when: false
register: ceph_init_pool
- when: service_ceph_mon_status.rc == 0 and service_ceph_osd_status.rc == 0 \ No newline at end of file
+ when: service_ceph_mon_status.rc == 0 # and service_ceph_osd_status.rc == 0