]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
RBD: Add missing Ceph customized cluster name support
authorZhiteng Huang <zhithuang@ebaysf.com>
Mon, 20 Apr 2015 16:25:11 +0000 (00:25 +0800)
committerZhiteng Huang <zhithuang@ebaysf.com>
Mon, 20 Apr 2015 16:25:11 +0000 (00:25 +0800)
commit877c8e7d8c0d397021e1a06b2d2a36962d6a9d42
treee7f6a44de31d2c3a92d898ee2113c0822bb4ef33
parentc6ccf2fc346d7033a0147752b77c0a916f3413ea
RBD: Add missing Ceph customized cluster name support

It turns out '--cluster' is also needed when RBD driver talks to
ceph cluster using 'ceph' command (not via librados).  This change
appends RBDDriver._ceph_args with '--cluster' when 'rbd_cluster_name'
config option is not None.

Change-Id: Ie957a3658a630947a140f4172f775e42b7611c6e
Closes-bug: #1444855
cinder/volume/drivers/rbd.py