Sorry, but this is not fixed for me, maybe I wasn't expressing clearly
enough my intentions:

root@controller-node13:~# systemctl status ceph-create-keys
* ceph-create-keys.service - Create Ceph client.admin key when possible
   Loaded: loaded (/lib/systemd/system/ceph-create-keys.service; static; vendor 
preset: enabled)
   Active: inactive (dead)
root@controller-node13:~# systemctl status ceph-mon        
* ceph-mon.service - Ceph cluster monitor daemon
   Loaded: loaded (/lib/systemd/system/ceph-mon.service; disabled; vendor 
preset: enabled)
   Active: inactive (dead)
     Docs: man:ceph-mon
root@controller-node13:~# systemctl start ceph-mon
root@controller-node13:~# systemctl status ceph-mon                             
                                                        
* ceph-mon.service - Ceph cluster monitor daemon
   Loaded: loaded (/lib/systemd/system/ceph-mon.service; disabled; vendor 
preset: enabled)
   Active: activating (auto-restart) (Result: exit-code) since Thu 2016-04-07 
06:25:40 UTC; 968ms ago
     Docs: man:ceph-mon
  Process: 11068 ExecStart=/usr/bin/ceph-mon -f --cluster ${CLUSTER} --id %H 
--setuser ceph --setgroup ceph (code=exited, status=1/FAILU
 Main PID: 11068 (code=exited, status=1/FAILURE)

Apr 07 06:25:40 controller-node13 systemd[1]: ceph-mon.service: Unit entered 
failed state.
Apr 07 06:25:40 controller-node13 systemd[1]: ceph-mon.service: Failed with 
result 'exit-code'.
root@controller-node13:~# systemctl status ceph-create-keys                     
                                                        
* ceph-create-keys.service - Create Ceph client.admin key when possible
   Loaded: loaded (/lib/systemd/system/ceph-create-keys.service; static; vendor 
preset: enabled)
   Active: active (running) since Thu 2016-04-07 06:25:40 UTC; 4s ago
 Main PID: 11066 (ceph-create-key)
    Tasks: 1 (limit: 512)
   CGroup: /system.slice/ceph-create-keys.service
           `-11066 /usr/bin/python /usr/sbin/ceph-create-keys --cluster ceph 
--id controller-node13

Apr 07 06:25:40 controller-node13 ceph-create-keys[11066]: admin_socket: 
exception getting command descriptions: [Errno 2] No such file 
Apr 07 06:25:40 controller-node13 ceph-create-keys[11066]: 
INFO:ceph-create-keys:ceph-mon admin socket not ready yet.
Apr 07 06:25:42 controller-node13 ceph-create-keys[11066]: admin_socket: 
exception getting command descriptions: [Errno 2] No such file 
Apr 07 06:25:42 controller-node13 ceph-create-keys[11066]: 
INFO:ceph-create-keys:ceph-mon admin socket not ready yet.
Apr 07 06:25:43 controller-node13 ceph-create-keys[11066]: admin_socket: 
exception getting command descriptions: [Errno 2] No such file 
Apr 07 06:25:43 controller-node13 ceph-create-keys[11066]: 
INFO:ceph-create-keys:ceph-mon admin socket not ready yet.
Apr 07 06:25:44 controller-node13 ceph-create-keys[11066]: admin_socket: 
exception getting command descriptions: [Errno 2] No such file 
Apr 07 06:25:44 controller-node13 ceph-create-keys[11066]: 
INFO:ceph-create-keys:ceph-mon admin socket not ready yet.
Apr 07 06:25:45 controller-node13 ceph-create-keys[11066]: admin_socket: 
exception getting command descriptions: [Errno 2] No such file 
Apr 07 06:25:45 controller-node13 ceph-create-keys[11066]: 
INFO:ceph-create-keys:ceph-mon admin socket not ready yet.
root@controller-node13:~# 

So whenever I start ceph-mon, it will trigger the start of ceph-create-
keys and that will cause the creation of keys that are not wanted in an
automated deployment. So the proper solution would be to remove this
dependency and only run ceph-create-keys when explicitly called for by
the admin.

** Changed in: ceph (Ubuntu)
       Status: Fix Released => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1563330

Title:
  Please do not enable the service ceph-create-keys by default

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1563330/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to