Enable timeout feature when connecting ceph in cinder
cinder-volume will be hanged if rados_connect_timeout is disabled. And no error message will be thrown. Disable timeout is not a good idea. This patch sets the rados_connect_timeout to 5. Change-Id: I05e7343d09d75399a7031013b4329a2cb81792fb Closes-Bug: #1676267
This commit is contained in:
parent
8253e4af49
commit
29a4b19961
@ -108,7 +108,7 @@ rbd_ceph_conf = /etc/ceph/ceph.conf
|
||||
rbd_flatten_volume_from_snapshot = false
|
||||
rbd_max_clone_depth = 5
|
||||
rbd_store_chunk_size = 4
|
||||
rados_connect_timeout = -1
|
||||
rados_connect_timeout = 5
|
||||
rbd_user = cinder
|
||||
rbd_secret_uuid = {{ cinder_rbd_secret_uuid }}
|
||||
report_discard_supported = True
|
||||
|
Loading…
Reference in New Issue
Block a user