From 1182e060cb721db124e825e2447d0a27b9946bc9 Mon Sep 17 00:00:00 2001 From: Daneyon Hansen Date: Tue, 24 Mar 2015 18:29:30 +0000 Subject: Extends Nova Metadata Service Parameterization and Composition 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 --- compose/nova-api-compute-network.yml | 59 ++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 compose/nova-api-compute-network.yml (limited to 'compose') diff --git a/compose/nova-api-compute-network.yml b/compose/nova-api-compute-network.yml new file mode 100644 index 000000000..8e0c4c08f --- /dev/null +++ b/compose/nova-api-compute-network.yml @@ -0,0 +1,59 @@ +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 -- cgit v1.2.3