mirror of https://github.com/ceph/ceph-ansible.git
commit
fb4254b7e5
|
@ -95,6 +95,5 @@
|
||||||
service:
|
service:
|
||||||
name: ceph-osd@{{ item }}
|
name: ceph-osd@{{ item }}
|
||||||
state: started
|
state: started
|
||||||
enabled: yes
|
|
||||||
with_items: "{{ (osd_id|default({})).stdout_lines|default([]) }}"
|
with_items: "{{ (osd_id|default({})).stdout_lines|default([]) }}"
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
|
|
@ -22,11 +22,6 @@ class TestOSDs(object):
|
||||||
for osd in node["osds"]:
|
for osd in node["osds"]:
|
||||||
assert Service("ceph-osd@%s" % osd).is_running
|
assert Service("ceph-osd@%s" % osd).is_running
|
||||||
|
|
||||||
def test_osd_services_are_enabled(self, node, Service):
|
|
||||||
# TODO: figure out way to paramaterize node['osds'] for this test
|
|
||||||
for osd in node["osds"]:
|
|
||||||
assert Service("ceph-osd@%s" % osd).is_enabled
|
|
||||||
|
|
||||||
@pytest.mark.no_docker
|
@pytest.mark.no_docker
|
||||||
def test_osd_are_mounted(self, node, MountPoint):
|
def test_osd_are_mounted(self, node, MountPoint):
|
||||||
# TODO: figure out way to paramaterize node['osd_ids'] for this test
|
# TODO: figure out way to paramaterize node['osd_ids'] for this test
|
||||||
|
|
Loading…
Reference in New Issue