Added openstack01 with /dev mounted in cinder container.

This commit is contained in:
Egon Rijpkema 2018-12-18 11:08:04 +01:00
parent 25e2467edc
commit b75fab3e81
3 changed files with 4 additions and 2 deletions

View File

@ -27,11 +27,13 @@ openstack03
[cinder-storage]
openstack01 storage_volume=/dev/sdc3
openstack02 storage_volume=/dev/sda5
openstack03 storage_volume=/dev/sdb1
openstack04 storage_volume=/dev/sdb1
[nova-compute]
openstack01 physical_interface_mappings=provider:bond0
openstack02 physical_interface_mappings=provider:enp34s0f1
openstack03 physical_interface_mappings=provider:enp4s0f0
openstack04 physical_interface_mappings=provider:eno1

View File

@ -13,7 +13,7 @@ ExecStart=/usr/bin/docker run --name %n \
{{ env_vars | replace('\n', '') }} \
-v /srv/cinder-storage/root:/root \
-v "/dev":/dev \
-v "/srv/cinder-storage/volumes/:/var/lib/cinder/volumes/" \
-v "/var/lib/cinder:/var/lib/cinder" \
--network=host \
{{ docker_image }}

View File

@ -26,7 +26,7 @@
owner: root
group: root
- import_tasks: docker.yml
#- import_tasks: docker.yml
- name: Log into DockerHub