diff --git a/roles/ceph-osd/tasks/activate_osds.yml b/roles/ceph-osd/tasks/activate_osds.yml index f35bea199..4c1a1bd61 100644 --- a/roles/ceph-osd/tasks/activate_osds.yml +++ b/roles/ceph-osd/tasks/activate_osds.yml @@ -95,6 +95,5 @@ service: name: ceph-osd@{{ item }} state: started - enabled: yes with_items: "{{ (osd_id|default({})).stdout_lines|default([]) }}" changed_when: false diff --git a/tests/functional/tests/osd/test_osds.py b/tests/functional/tests/osd/test_osds.py index e0465c401..11fc226a3 100644 --- a/tests/functional/tests/osd/test_osds.py +++ b/tests/functional/tests/osd/test_osds.py @@ -22,11 +22,6 @@ class TestOSDs(object): for osd in node["osds"]: 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 def test_osd_are_mounted(self, node, MountPoint): # TODO: figure out way to paramaterize node['osd_ids'] for this test