Had a landscape OSA deployment fail (ceph object and ceph block storage). Juju status indicated that radosgw was not running. Looking at the logs:
[/var/log/ceph/radosgw.log]
2016-05-02 15:57:58.635872 7fabea0d37c0 0 ceph version 0.94.6 (e832001feaf8c176593e0325c8298e3f16dfb403), process radosgw, pid 14235
2016-05-02 15:57:58.644866 7fabea0d37c0 -1 monclient(hunting): ERROR: missing keyring, cannot use cephx for authentication
2016-05-02 15:57:58.644943 7fabea0d37c0 0 librados: client.radosgw.gateway initialization error (2) No such file or directory
2016-05-02 15:57:58.645304 7fabea0d37c0 -1 Couldn't init storage provider (RADOS)
2016-05-02 15:57:58.914016 7f02f61517c0 0 ceph version 0.94.6 (e832001feaf8c176593e0325c8298e3f16dfb403), process radosgw, pid 14299
2016-05-02 15:57:58.926124 7f02f61517c0 -1 monclient(hunting): ERROR: missing keyring, cannot use cephx for authentication
2016-05-02 15:57:58.926126 7f02f61517c0 0 librados: client.radosgw.gateway initialization error (2) No such file or directory
2016-05-02 15:57:58.928791 7f02f61517c0 -1 Couldn't init storage provider (RADOS)
2016-05-02 15:58:33.891675 7fbd500bf7c0 0 ceph version 0.94.6 (e832001feaf8c176593e0325c8298e3f16dfb403), process radosgw, pid 15500
2016-05-02 15:58:34.120087 7f923d49c7c0 0 ceph version 0.94.6 (e832001feaf8c176593e0325c8298e3f16dfb403), process radosgw, pid 15569
2016-05-02 16:03:34.120903 7f9232ee3700 -1 Initialization timeout, failed to initialize
The juju logs show mon-relation-changed activity ended at 15:58:37:
[/var/log/juju/unit-ceph-radosgw-0.log]
2016-05-02 15:58:33 INFO mon-relation-changed creating /etc/ceph/keyring.rados.gateway
2016-05-02 15:58:33 INFO mon-relation-changed added entity client.radosgw.gateway auth auth(auid = 18446744073709551615 key=AQCPeCdXn5MzCxAAbfu863TJF5LV4qSU5TjIhg== with 0 caps)
2016-05-02 15:58:33 INFO mon-relation-changed No /usr/bin/radosgw found running; none killed.
2016-05-02 15:58:33 INFO mon-relation-changed Starting client.radosgw.gateway...
2016-05-02 15:58:34 INFO mon-relation-changed Starting client.radosgw.gateway...
2016-05-02 15:58:37 INFO mon-relation-changed ^MReading package lists... 0%^M^MReading package lists... [snip]
2016-05-02 15:58:37 INFO mon-relation-changed ^MBuilding dependency tree... [snip]
2016-05-02 15:58:37 INFO mon-relation-changed ^MReading state information... 0%^M^MReading state information... 0%^M^MReading state information... Done
2016-05-02 15:58:37 INFO juju-log mon:33: Unit is ready
2016-05-02 15:58:37 INFO juju-log mon:33: Unit is ready
I was able to manually start radosgw after I noticed the failure. Not sure why it failed to initialize.
Found another case of this "Initialization timeout, failed to initialize" error with 10.2.0.
/var/log/ ceph/radosgw. log: https:/ /pastebin. canonical. com/156342/