Hi,
I have a problem with ceph-deploy on Ubuntu 15.04
in the file
/usr/local/lib/python2.7/dist-packages/ceph_deploy/hosts/debian/__init__.py
def choose_init():
"""
Select a init system
Returns the name of a init system (upstart, sysvinit ...).
"""
if distro.lower() == 'ubuntu':
return 'upstart'
return 'sysvinit'
This function assumes that Ubuntu is using upstart but at least Ubuntu 15.04
Server is using SystemD by default.
I'm not a python hacker. As a quick fix I commented out the "if" statement and
now it always returns 'sysvinit'. But for a real fix there should be something
like "if os == ubuntu and osrelease < 15.04"
I first noticed this problem in the package that came with the distribution. A
few days ago I removed the package and installed the latest ceph-deploy using
"pip install".
Maybe this is a know problem, then I'm sorry for the spam
Regards
Bernhard
____________________________________________________________
FREE 3D MARINE AQUARIUM SCREENSAVER - Watch dolphins, sharks & orcas on your
desktop!
Check it out at http://www.inbox.com/marineaquarium
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com