From 1dd364fc8aea3305faa039524dc09ab1078237bb Mon Sep 17 00:00:00 2001 From: Emilien Macchi Date: Wed, 25 Jan 2017 10:35:20 -0500 Subject: Use os-net-config in multinode jobs Full credits to James Slagle, author of this code in TripleO CI: https://review.openstack.org/#/c/409346 This patch adds a new template for configuring networking on the Overcloud nodes using os-net-config in multinode jobs. Previously we were not using os-net-config at all. Also updates the multinode.yaml environment to use this network config template. The IP of each subnode is used when the vxlan tunnels are configured in OVS, given that, each node needs its own unique network configuration. To accomodate that, the templates makes use of the network_config_hook function to influence run-os-net-config.sh This patch is just the first step to totally switching to os-net-config in multinode jobs. The devstack-gate code is still in use to bootstrap the initial networking on the undercloud and subnodes. That will be switched over in subsequent patches. Change-Id: I6efa71eb23109d0b3b480061135c572ab89f5981 Co-Authorized-By: James Slagle Implements: blueprint multinode-ci-os-net-config --- ci/environments/multinode.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ci/environments/multinode.yaml') diff --git a/ci/environments/multinode.yaml b/ci/environments/multinode.yaml index d7b61bb6..11243c8a 100644 --- a/ci/environments/multinode.yaml +++ b/ci/environments/multinode.yaml @@ -1,6 +1,6 @@ resource_registry: - OS::TripleO::Controller::Net::SoftwareConfig: ../common/net-config-multinode.yaml - OS::TripleO::Compute::Net::SoftwareConfig: ../common/net-config-multinode.yaml + OS::TripleO::Controller::Net::SoftwareConfig: ../common/net-config-multinode-os-net-config.yaml + OS::TripleO::Compute::Net::SoftwareConfig: ../common/net-config-multinode-os-net-config.yaml parameter_defaults: ControllerServices: -- cgit 1.2.3-korg