ceph-deploy on ubuntu 15.04

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux