Public bug reported: When I try to add Ubuntu 15.10 and Ubuntu 15.04 nodes using ceph-deploy, it fails because it thinks that both distro still use upstart, and tries to execute initctl which does exist any more. This is an example of the failure:
[u1504][WARNIN] ******************************************************************************** [u1504][WARNIN] provided hostname must match remote hostname [u1504][WARNIN] provided hostname: u1504 [u1504][WARNIN] remote hostname: 1504 [u1504][WARNIN] monitors may not reach quorum and create-keys will not complete [u1504][WARNIN] ******************************************************************************** [u1504][DEBUG ] deploying mon to u1504 [u1504][DEBUG ] get remote short hostname [u1504][DEBUG ] remote hostname: 1504 [u1504][DEBUG ] write cluster configuration to /etc/ceph/{cluster}.conf [u1504][DEBUG ] create the mon path if it does not exist [u1504][DEBUG ] checking for done path: /var/lib/ceph/mon/ceph-1504/done [u1504][DEBUG ] create a done file to avoid re-doing the mon deployment [u1504][DEBUG ] create the init path if it does not exist [u1504][DEBUG ] locating the `service` executable... [u1504][INFO ] Running command: sudo initctl emit ceph-mon cluster=ceph id=1504 [u1504][ERROR ] Traceback (most recent call last): [u1504][ERROR ] File "/usr/lib/python2.7/dist-packages/ceph_deploy/lib/vendor/remoto/process.py", line 94, in run [u1504][ERROR ] reporting(conn, result, timeout) [u1504][ERROR ] File "/usr/lib/python2.7/dist-packages/ceph_deploy/lib/vendor/remoto/log.py", line 13, in reporting [u1504][ERROR ] received = result.receive(timeout) [u1504][ERROR ] File "/usr/lib/python2.7/dist-packages/ceph_deploy/lib/vendor/remoto/lib/vendor/execnet/gateway_base.py", line 704, in receive [u1504][ERROR ] raise self._getremoteerror() or EOFError() [u1504][ERROR ] RemoteError: Traceback (most recent call last): [u1504][ERROR ] File "<string>", line 1036, in executetask [u1504][ERROR ] File "<remote exec>", line 12, in _remote_run [u1504][ERROR ] File "/usr/lib/python2.7/subprocess.py", line 710, in __init__ [u1504][ERROR ] errread, errwrite) [u1504][ERROR ] File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child [u1504][ERROR ] raise child_exception [u1504][ERROR ] OSError: [Errno 2] No such file or directory [u1504][ERROR ] [u1504][ERROR ] [ceph_deploy.mon][ERROR ] Failed to execute command: initctl emit ceph-mon cluster=ceph id=1504 [ceph_deploy][ERROR ] GenericError: Failed to create 1 monitors If the node is Debian, everything runs fine. I am using ceph-deploy version 1.5.20-0ubuntu1 and ceph version 0.94.5-0ubuntu1. ** Affects: ceph (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1519923 Title: ceph-deploy fails on ubuntu 15.10 and 15.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1519923/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs