1182e060cb
Previously, nova enabled_apis was hard coded and metdata_host was using PUBLIC_IP param instead of exposing an individual param. Extending these params and creating a separate compose yml that includes compute/libvirt/network/api is required to support nova network multi_host. Additional details can be found here: http://docs.openstack.org/admin-guide-cloud/content/section_metadata-service.html Change-Id: I5d417a0ee460f8ad9b2982fe83d63ab57013918e
60 lines
1.2 KiB
YAML
60 lines
1.2 KiB
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
|
|
volumes_from:
|
|
- computedata
|
|
|
|
novanetwork:
|
|
image: kollaglue/centos-rdo-nova-network
|
|
name: nova-network
|
|
net: host
|
|
privileged: true
|
|
restart: always
|
|
env_file:
|
|
- openstack.env
|
|
volumes:
|
|
- /run:/run
|
|
- /sys/fs/cgroup:/sys/fs/cgroup
|
|
volumes_from:
|
|
- computedata
|
|
|
|
# Unfortunately nova api needs to be privileged as it wants to run
|
|
# a firewall command.
|
|
# nova-metadata api is required in multi_host nova network mode.
|
|
# http://docs.openstack.org/admin-guide-cloud/content/section_metadata-service.html
|
|
novaapi:
|
|
image: kollaglue/centos-rdo-nova-api:latest
|
|
name: nova-api
|
|
privileged: True
|
|
net: "host"
|
|
restart: always
|
|
env_file:
|
|
- openstack.env
|
|
|
|
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
|
|
volumes_from:
|
|
- computedata
|