Mounting the whole of /dev/now in cinder-storage
This commit is contained in:
parent
f011919666
commit
25e2467edc
|
@ -22,6 +22,7 @@
|
|||
-e "RABBIT_PASSWORD={{ secrets['RABBIT_PASSWORD'] }}"
|
||||
-e "AVAILABILITY_ZONE={{ ansible_nodename }}"
|
||||
-e "RABBIT_USER=openstack"
|
||||
-e "CINDER_STORAGE_VOLUME={{ storage_volume }}"
|
||||
tags: vars
|
||||
|
||||
- name: pull docker image
|
||||
|
@ -44,7 +45,7 @@
|
|||
--privileged
|
||||
{{ env_vars }}
|
||||
-v /srv/cinder-storage/root:/root \
|
||||
-v "{{ storage_volume }}":/dev/cinder_storage_volume \
|
||||
-v /dev:/dev \
|
||||
{{ docker_image }} /etc/bootstrap.sh
|
||||
tags: bootstrap
|
||||
|
||||
|
|
|
@ -11,10 +11,8 @@ ExecStartPre=-/usr/bin/docker rm %n
|
|||
ExecStart=/usr/bin/docker run --name %n \
|
||||
--privileged \
|
||||
{{ env_vars | replace('\n', '') }} \
|
||||
-v "/dev/cinder-volumes/":/dev/cinder-volumes \
|
||||
-v /srv/cinder-storage/root:/root \
|
||||
-v "{{ storage_volume }}":/dev/cinder_storage_volume \
|
||||
-v "/dev/lvm":/dev/lvm \
|
||||
-v "/dev":/dev \
|
||||
-v "/srv/cinder-storage/volumes/:/var/lib/cinder/volumes/" \
|
||||
--network=host \
|
||||
{{ docker_image }}
|
||||
|
|
Loading…
Reference in New Issue