]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
rbd: send ceph monitor addresses with connection info
authorJosh Durgin <josh.durgin@inktank.com>
Sat, 25 May 2013 01:18:30 +0000 (18:18 -0700)
committerJosh Durgin <josh.durgin@inktank.com>
Tue, 28 May 2013 23:07:54 +0000 (16:07 -0700)
commit483b84e42b90f2ffe0a09f5e38b85eb64cf8f7d9
treeb74e50d5ee93fa097c8470082f627a5b8cf66e29
parentb782597725fcccd0a6a949057941380538898555
rbd: send ceph monitor addresses with connection info

Previously we relied on a ceph configuration file on the compute host
for this information. Sending the info directly from cinder makes more
complex setups with multiple ceph clusters talking to the same compute
hosts possible.

Refresh the monitor addresses for each initialize_connection() call,
since monitors may be added or removed while cinder-volume is
running.

Fixes: bug 1077817
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
Change-Id: I34a1fa16ce1f4524ba25832faf3129303e755100
cinder/tests/test_rbd.py
cinder/volume/drivers/rbd.py