From ca3aedfd1acba1d290e17d8407b21aced83c9164 Mon Sep 17 00:00:00 2001 From: Dan Radez Date: Tue, 29 Mar 2016 12:42:13 -0400 Subject: Enabling dhcp isolated networks and metadata network These are not being enable per JIRA. This fix is for Brahmaputra only, These appear to be able in more recent upstream versions which will be consumed on master by upgrading images. JIRA: APEX-115 Change-Id: I8d6facfbe3329e5f77cbdba150c186b2681ac0d6 Signed-off-by: Dan Radez --- build/instack.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build/instack.sh b/build/instack.sh index 164c6f79..77db08be 100755 --- a/build/instack.sh +++ b/build/instack.sh @@ -253,6 +253,7 @@ popd tar -czf puppet-aodh.tar.gz aodh # Add epel, aodh and ceph +# dhcp enable isolated_metadata and metada_tanetwork AODH_PKG="openstack-aodh-api,openstack-aodh-common,openstack-aodh-compat,openstack-aodh-evaluator,openstack-aodh-expirer" AODH_PKG+=",openstack-aodh-listener,openstack-aodh-notifier" LIBGUESTFS_BACKEND=direct virt-customize \ @@ -307,6 +308,8 @@ LIBGUESTFS_BACKEND=direct virt-customize --upload ../opnfv-tripleo-heat-template # REMOVE ME AFTER Brahmaputra LIBGUESTFS_BACKEND=direct virt-customize --upload ../puppet-neutron-force-metadata.patch:/tmp \ --run-command "cd /etc/puppet/modules/neutron && patch -Np1 < /tmp/puppet-neutron-force-metadata.patch" \ + --run-command "sed -i '/ \$enable_isolated_metadata = false,/c\\ \$enable_isolated_metadata = true,' /etc/puppet/modules/neutron/manifests/agents/dhcp.pp" \ + --run-command "sed -i '/ \$enable_metadata_network = false,/c\\ \$enable_metadata_network = true,' /etc/puppet/modules/neutron/manifests/agents/dhcp.pp" \ -a overcloud-full-opendaylight.qcow2 LIBGUESTFS_BACKEND=direct virt-customize --upload ../puppet-cinder-quota-fix.patch:/tmp \ -- cgit 1.2.3-korg