Merge pull request #1715 from ceph/do-no-enable

osd: do not enable osd@id unit file
pull/1720/head
Andrew Schoen 2017-07-26 11:41:22 -05:00 committed by GitHub
commit fb4254b7e5
2 changed files with 0 additions and 6 deletions

View File

@ -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

View File

@ -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