Cluster configuration:
- Ubuntu, HA, Flat Nova Network, Ceph for volumes and for images, 3 controller+ceph, 2 compute+ceph, 1 ceph node
- Deploy cluster
- After deployment try to create volume
Expected - volume is created successfully
Actual - volume creation failed with error in cinder-volume log on controller (node-1):
cinder.volume.drivers.rbd [req-ec925ba0-797d-4a41-917b-dd4ae9b721a6 - - - - -] error connecting to ceph cluster
2014-08-10 12:34:32.902 9408 TRACE cinder.volume.drivers.rbd Traceback (most recent call last):
2014-08-10 12:34:32.902 9408 TRACE cinder.volume.drivers.rbd File "/usr/lib/python2.7/dist-packages/cinder/volume/drivers/rbd.py", line 263, in check_for_setup_error
2014-08-10 12:34:32.902 9408 TRACE cinder.volume.drivers.rbd with RADOSClient(self):
2014-08-10 12:34:32.902 9408 TRACE cinder.volume.drivers.rbd File "/usr/lib/python2.7/dist-packages/cinder/volume/drivers/rbd.py", line 235, in __init__
2014-08-10 12:34:32.902 9408 TRACE cinder.volume.drivers.rbd self.cluster, self.ioctx = driver._connect_to_rados(pool)
2014-08-10 12:34:32.902 9408 TRACE cinder.volume.drivers.rbd File "/usr/lib/python2.7/dist-packages/cinder/volume/drivers/rbd.py", line 283, in _connect_to_rados
2014-08-10 12:34:32.902 9408 TRACE cinder.volume.drivers.rbd client.connect()
2014-08-10 12:34:32.902 9408 TRACE cinder.volume.drivers.rbd File "/usr/lib/python2.7/dist-packages/rados.py", line 419, in connect
2014-08-10 12:34:32.902 9408 TRACE cinder.volume.drivers.rbd raise make_ex(ret, "error calling connect")
2014-08-10 12:34:32.902 9408 TRACE cinder.volume.drivers.rbd ObjectNotFound: error calling connect
2014-08-10 12:34:32.902 9408 TRACE cinder.volume.drivers.rbd
logs are attached
Issue is still reproduced on CI
{
"build_id": "2014-08- 10_02-01- 17", 4d2ed2b68ea225f 4d24403b264" , required" : true, 63db2f176899d40 6207ec4ac04" , 159c978af43855e 48bcf2a84b2" , 41444901b0f20e9 5ebbcb2b2e9" , groups" : [ 8cfd7d53b58478b 46553ffe39e"
"ostf_sha": "acf52a59e04fa7
"build_number": "420",
"auth_
"api": "1.0",
"nailgun_sha": "2741cdc0f06152
"production": "docker",
"fuelmain_sha": "9d4463400b4924
"astute_sha": "b52910642d6de9
"feature_
"mirantis"
],
"release": "5.1",
"fuellib_sha": "d699fc178559e9
}
Cluster configuration:
- Ubuntu, HA, Flat Nova Network, Ceph for volumes and for images, 3 controller+ceph, 2 compute+ceph, 1 ceph node
- Deploy cluster
- After deployment try to create volume
Expected - volume is created successfully volume. drivers. rbd [req-ec925ba0- 797d-4a41- 917b-dd4ae9b721 a6 - - - - -] error connecting to ceph cluster volume. drivers. rbd Traceback (most recent call last): volume. drivers. rbd File "/usr/lib/ python2. 7/dist- packages/ cinder/ volume/ drivers/ rbd.py" , line 263, in check_for_ setup_error volume. drivers. rbd with RADOSClient(self): volume. drivers. rbd File "/usr/lib/ python2. 7/dist- packages/ cinder/ volume/ drivers/ rbd.py" , line 235, in __init__ volume. drivers. rbd self.cluster, self.ioctx = driver. _connect_ to_rados( pool) volume. drivers. rbd File "/usr/lib/ python2. 7/dist- packages/ cinder/ volume/ drivers/ rbd.py" , line 283, in _connect_to_rados volume. drivers. rbd client.connect() volume. drivers. rbd File "/usr/lib/ python2. 7/dist- packages/ rados.py" , line 419, in connect volume. drivers. rbd raise make_ex(ret, "error calling connect") volume. drivers. rbd ObjectNotFound: error calling connect volume. drivers. rbd
Actual - volume creation failed with error in cinder-volume log on controller (node-1):
cinder.
2014-08-10 12:34:32.902 9408 TRACE cinder.
2014-08-10 12:34:32.902 9408 TRACE cinder.
2014-08-10 12:34:32.902 9408 TRACE cinder.
2014-08-10 12:34:32.902 9408 TRACE cinder.
2014-08-10 12:34:32.902 9408 TRACE cinder.
2014-08-10 12:34:32.902 9408 TRACE cinder.
2014-08-10 12:34:32.902 9408 TRACE cinder.
2014-08-10 12:34:32.902 9408 TRACE cinder.
2014-08-10 12:34:32.902 9408 TRACE cinder.
2014-08-10 12:34:32.902 9408 TRACE cinder.
2014-08-10 12:34:32.902 9408 TRACE cinder.
logs are attached