diff options
author | Dan Radez <dradez@redhat.com> | 2016-03-29 12:42:13 -0400 |
---|---|---|
committer | Dan Radez <dradez@redhat.com> | 2016-03-30 14:18:03 -0400 |
commit | ca3aedfd1acba1d290e17d8407b21aced83c9164 (patch) | |
tree | b0fa8eb1e63d220a86c19b69a594d7a1e63f3862 | |
parent | bf55ef0fc2c197bbcd76f9778398ac22c3371979 (diff) |
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 <dradez@redhat.com>
-rwxr-xr-x | build/instack.sh | 3 |
1 files changed, 3 insertions, 0 deletions
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 \ |