5408a4f556
Nova uses a data container. Data containers are expected to use the VOLUME keyword and then use volumes_from to access those volumes. Throwing in a bindmount to the host filesystem results in unpredicble behavior, usually in the form of files being stored on the host filesystem that should be persisted in the compute data volume. Change-Id: I60a7873995c9397368ed4df61d5a6d4e8250f3c2
35 lines
685 B
YAML
35 lines
685 B
YAML
computedata:
|
|
image: kollaglue/centos-rdo-nova-compute-data
|
|
name: computedata
|
|
|
|
libvirt:
|
|
image: kollaglue/centos-rdo-nova-libvirt
|
|
name: libvirt
|
|
net: host
|
|
pid: host
|
|
privileged: true
|
|
restart: always
|
|
env_file:
|
|
- openstack.env
|
|
volumes:
|
|
- /run:/run
|
|
- /sys/fs/cgroup:/sys/fs/cgroup
|
|
- /lib/modules:/lib/modules:ro
|
|
volumes_from:
|
|
- computedata
|
|
|
|
novacompute:
|
|
image: kollaglue/centos-rdo-nova-compute
|
|
name: nova-compute
|
|
net: host
|
|
privileged: true
|
|
restart: always
|
|
env_file:
|
|
- openstack.env
|
|
volumes:
|
|
- /run:/run
|
|
- /sys/fs/cgroup:/sys/fs/cgroup
|
|
- /lib/modules:/lib/modules:ro
|
|
volumes_from:
|
|
- computedata
|