Added openstack01 with /dev mounted in cinder container.
This commit is contained in:
parent
25e2467edc
commit
b75fab3e81
@ -27,11 +27,13 @@ openstack03
|
|||||||
|
|
||||||
[cinder-storage]
|
[cinder-storage]
|
||||||
openstack01 storage_volume=/dev/sdc3
|
openstack01 storage_volume=/dev/sdc3
|
||||||
|
openstack02 storage_volume=/dev/sda5
|
||||||
openstack03 storage_volume=/dev/sdb1
|
openstack03 storage_volume=/dev/sdb1
|
||||||
openstack04 storage_volume=/dev/sdb1
|
openstack04 storage_volume=/dev/sdb1
|
||||||
|
|
||||||
[nova-compute]
|
[nova-compute]
|
||||||
openstack01 physical_interface_mappings=provider:bond0
|
openstack01 physical_interface_mappings=provider:bond0
|
||||||
|
openstack02 physical_interface_mappings=provider:enp34s0f1
|
||||||
openstack03 physical_interface_mappings=provider:enp4s0f0
|
openstack03 physical_interface_mappings=provider:enp4s0f0
|
||||||
openstack04 physical_interface_mappings=provider:eno1
|
openstack04 physical_interface_mappings=provider:eno1
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ ExecStart=/usr/bin/docker run --name %n \
|
|||||||
{{ env_vars | replace('\n', '') }} \
|
{{ env_vars | replace('\n', '') }} \
|
||||||
-v /srv/cinder-storage/root:/root \
|
-v /srv/cinder-storage/root:/root \
|
||||||
-v "/dev":/dev \
|
-v "/dev":/dev \
|
||||||
-v "/srv/cinder-storage/volumes/:/var/lib/cinder/volumes/" \
|
-v "/var/lib/cinder:/var/lib/cinder" \
|
||||||
--network=host \
|
--network=host \
|
||||||
{{ docker_image }}
|
{{ docker_image }}
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
|
|
||||||
- import_tasks: docker.yml
|
#- import_tasks: docker.yml
|
||||||
|
|
||||||
|
|
||||||
- name: Log into DockerHub
|
- name: Log into DockerHub
|
||||||
|
Loading…
Reference in New Issue
Block a user