Added ceph config for cinder controller.
This commit is contained in:
parent
d161a24200
commit
17ee2aa487
@ -15,6 +15,8 @@ RUN set -x \
|
|||||||
python-oslo.cache \
|
python-oslo.cache \
|
||||||
cinder-api \
|
cinder-api \
|
||||||
cinder-scheduler \
|
cinder-scheduler \
|
||||||
|
python-ceph \
|
||||||
|
python-rbd \
|
||||||
&& apt-get -y clean
|
&& apt-get -y clean
|
||||||
|
|
||||||
EXPOSE 8776
|
EXPOSE 8776
|
||||||
|
@ -11,6 +11,7 @@ connection = mysql+pymysql://$CINDER_USER:$CINDER_PASSWORD@$MYSQL_HOST/cinder
|
|||||||
[DEFAULT]
|
[DEFAULT]
|
||||||
auth_strategy = keystone
|
auth_strategy = keystone
|
||||||
transport_url = rabbit://$RABBIT_USER:$RABBIT_PASSWORD@$MY_IP
|
transport_url = rabbit://$RABBIT_USER:$RABBIT_PASSWORD@$MY_IP
|
||||||
|
enabled_backends = RBD-backend
|
||||||
my_ip = $MY_IP
|
my_ip = $MY_IP
|
||||||
|
|
||||||
[keystone_authtoken]
|
[keystone_authtoken]
|
||||||
@ -27,4 +28,12 @@ password = $CINDER_PASSWORD
|
|||||||
[oslo_concurrency]
|
[oslo_concurrency]
|
||||||
lock_path = /var/lib/cinder/tmp
|
lock_path = /var/lib/cinder/tmp
|
||||||
|
|
||||||
|
[RBD-backend]
|
||||||
|
volume_backend_name = RBD-backend
|
||||||
|
rbd_pool = volumes
|
||||||
|
rbd_user = volumes
|
||||||
|
rbd_secret_uuid = $RBD_SECRET_UUID
|
||||||
|
volume_driver = cinder.volume.drivers.rbd.RBDDriver
|
||||||
|
rbd_ceph_conf = /etc/ceph/ceph.conf
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
Loading…
Reference in New Issue
Block a user