Re: ceph-deploy on ubuntu 15.04

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

 



Hi Bernhard,

Thanks for your email.  systemd support for Ceph in general is still a
work in progress.  It is actively being worked on, but the packages
hosted on ceph.com are still using sysvinit (for RPM systems), and
Upstart on Ubuntu.  It is definitely a known issue.

Along those lines, ceph.com only hosts packages for precise and trusty
(the LTS releases), so there is no support for 15.04 either.

 - Travis

On Fri, Jul 24, 2015 at 4:01 AM, Bernhard Duebi <boomerb@xxxxxxxxx> wrote:
> 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
_______________________________________________
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]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux