From: Alexandru Avadanii Date: Tue, 8 Aug 2017 03:49:53 +0200 Subject: [PATCH] network: public, mgmt: Use arm-pod3 POD config Move MaaS IPs to x.y.z.2 (upstream Fuel uses x.y.z.3). Signed-off-by: Alexandru Avadanii --- ci/deploy.sh | 2 +- mcp/config/states/maas | 2 +- .../baremetal-mcp-ocata-ovs-ha/infra/init.yml | 22 ++++---- .../baremetal-mcp-ocata-ovs-ha/openstack/init.yml | 60 +++++++++++----------- 4 files changed, 43 insertions(+), 43 deletions(-) diff --git a/ci/deploy.sh b/ci/deploy.sh index cf7b3b3..2b4e724 100755 --- a/ci/deploy.sh +++ b/ci/deploy.sh @@ -139,7 +139,7 @@ URI_REGEXP='(file|https?|ftp)://.*' export SSH_KEY=${SSH_KEY:-mcp.rsa} export SALT_MASTER=${SALT_MASTER_IP:-192.168.10.100} -export MAAS_IP=${MAAS_IP:-192.168.10.3} +export MAAS_IP=${MAAS_IP:-192.168.10.2} export SSH_OPTS="-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i ${SSH_KEY}" # Variables below are disabled for now, to be re-introduced or removed later diff --git a/mcp/config/states/maas b/mcp/config/states/maas index 9a27a39..f83f4a7 100755 --- a/mcp/config/states/maas +++ b/mcp/config/states/maas @@ -20,7 +20,7 @@ salt -C 'mas01*' state.apply linux.network.interface salt -C 'mas01*' state.apply maas.pxe_nat salt -C 'mas01*' state.apply maas.cluster salt -C 'cfg01*' cmd.run \ - "route add -net 192.168.11.0/24 gw ${MAAS_IP:-192.168.10.3}" + "route add -net 192.168.11.0/24 gw ${MAAS_IP:-192.168.10.2}" wait_for "salt -C 'mas01*' state.apply maas.region" diff --git a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/infra/init.yml b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/infra/init.yml index 93e2de0..1d75356 100644 --- a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/infra/init.yml +++ b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/infra/init.yml @@ -16,19 +16,19 @@ parameters: infra_maas_database_password: opnfv_secret # infra service addresses - infra_config_address: 10.167.4.100 + infra_config_address: 172.16.10.100 infra_config_deploy_address: 192.168.10.100 - infra_maas_node01_address: 10.167.4.3 - infra_maas_node01_deploy_address: 192.168.11.3 - infra_maas_node01_external_address: 10.16.0.3 - infra_compute_node01_address: 10.167.4.141 - infra_compute_node02_address: 10.167.4.142 - infra_compute_node03_address: 10.167.4.143 + infra_maas_node01_address: 172.16.10.2 + infra_maas_node01_deploy_address: 192.168.11.2 + infra_maas_node01_external_address: 10.0.8.2 + infra_compute_node01_address: 172.16.10.141 + infra_compute_node02_address: 172.16.10.142 + infra_compute_node03_address: 172.16.10.143 - infra_kvm_address: 10.167.4.140 - infra_kvm_node01_address: 10.167.4.141 - infra_kvm_node02_address: 10.167.4.142 - infra_kvm_node03_address: 10.167.4.143 + infra_kvm_address: 172.16.10.140 + infra_kvm_node01_address: 172.16.10.141 + infra_kvm_node02_address: 172.16.10.142 + infra_kvm_node03_address: 172.16.10.143 infra_maas_node01_hostname: mas01 infra_kvm_node01_hostname: kvm01 diff --git a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/openstack/init.yml b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/openstack/init.yml index 9c2bc7b..90e0cf3 100644 --- a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/openstack/init.yml +++ b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/openstack/init.yml @@ -3,9 +3,9 @@ parameters: openstack_version: ocata - openstack_gateway_node01_address: 10.167.4.124 - openstack_gateway_node02_address: 10.167.4.125 - openstack_gateway_node03_address: 10.167.4.126 + openstack_gateway_node01_address: 172.16.10.124 + openstack_gateway_node02_address: 172.16.10.125 + openstack_gateway_node03_address: 172.16.10.126 openstack_gateway_node01_tenant_address: 10.1.0.6 openstack_gateway_node02_tenant_address: 10.1.0.7 openstack_gateway_node03_tenant_address: 10.1.0.9 @@ -14,21 +14,21 @@ parameters: openstack_gateway_node03_hostname: gtw03 # openstack service addresses - openstack_proxy_address: 10.167.4.80 - openstack_proxy_node01_address: 10.167.4.81 - openstack_proxy_node02_address: 10.167.4.82 - openstack_control_address: 10.167.4.10 - openstack_control_node01_address: 10.167.4.11 - openstack_control_node02_address: 10.167.4.12 - openstack_control_node03_address: 10.167.4.13 - openstack_database_address: 10.167.4.50 - openstack_database_node01_address: 10.167.4.51 - openstack_database_node02_address: 10.167.4.52 - openstack_database_node03_address: 10.167.4.53 - openstack_message_queue_address: 10.167.4.40 - openstack_message_queue_node01_address: 10.167.4.41 - openstack_message_queue_node02_address: 10.167.4.42 - openstack_message_queue_node03_address: 10.167.4.43 + openstack_proxy_address: 172.16.10.80 + openstack_proxy_node01_address: 172.16.10.81 + openstack_proxy_node02_address: 172.16.10.82 + openstack_control_address: 172.16.10.10 + openstack_control_node01_address: 172.16.10.11 + openstack_control_node02_address: 172.16.10.12 + openstack_control_node03_address: 172.16.10.13 + openstack_database_address: 172.16.10.50 + openstack_database_node01_address: 172.16.10.51 + openstack_database_node02_address: 172.16.10.52 + openstack_database_node03_address: 172.16.10.53 + openstack_message_queue_address: 172.16.10.40 + openstack_message_queue_node01_address: 172.16.10.41 + openstack_message_queue_node02_address: 172.16.10.42 + openstack_message_queue_node03_address: 172.16.10.43 openstack_telemetry_hostname: mdb @@ -36,23 +36,23 @@ parameters: openstack_telemetry_node02_hostname: mdb02 openstack_telemetry_node03_hostname: mdb03 - openstack_telemetry_address: 10.167.4.75 - openstack_telemetry_node01_address: 10.167.4.76 - openstack_telemetry_node02_address: 10.167.4.77 - openstack_telemetry_node03_address: 10.167.4.78 + openstack_telemetry_address: 172.16.10.75 + openstack_telemetry_node01_address: 172.16.10.76 + openstack_telemetry_node02_address: 172.16.10.77 + openstack_telemetry_node03_address: 172.16.10.78 # OpenStack Compute - openstack_compute_node01_single_address: 10.167.4.101 - openstack_compute_node02_single_address: 10.167.4.102 - openstack_compute_node03_single_address: 10.167.4.103 - openstack_compute_node01_control_address: 10.167.4.101 - openstack_compute_node02_control_address: 10.167.4.102 - openstack_compute_node03_control_address: 10.167.4.103 + openstack_compute_node01_single_address: 172.16.10.101 + openstack_compute_node02_single_address: 172.16.10.102 + openstack_compute_node03_single_address: 172.16.10.103 + openstack_compute_node01_control_address: 172.16.10.101 + openstack_compute_node02_control_address: 172.16.10.102 + openstack_compute_node03_control_address: 172.16.10.103 openstack_compute_node01_tenant_address: 10.1.0.101 openstack_compute_node02_tenant_address: 10.1.0.102 openstack_compute_node03_tenant_address: 10.1.0.103 - openstack_compute_node01_external_address: 172.30.10.2 - openstack_compute_node02_external_address: 172.30.10.3 + openstack_compute_node01_external_address: 10.0.8.101 + openstack_compute_node02_external_address: 10.0.8.102 # openstack service hostnames openstack_proxy_hostname: prx