Rectify control address on compute nodes 21/59921/3
authorMichael Polenchuk <mpolenchuk@mirantis.com>
Wed, 18 Jul 2018 10:07:50 +0000 (14:07 +0400)
committerMichael Polenchuk <mpolenchuk@mirantis.com>
Mon, 23 Jul 2018 09:22:02 +0000 (13:22 +0400)
Change-Id: I5734431d54c0d0ad9fb337fc37ce3b31a3c58e0a
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
mcp/reclass/classes/cluster/all-mcp-arch-common/infra/config_pdf.yml.j2
mcp/reclass/classes/cluster/mcp-common-ha/openstack_compute.yml
mcp/reclass/classes/cluster/mcp-common-noha/openstack_compute.yml
mcp/reclass/classes/cluster/mcp-common-noha/openstack_gateway_pdf.yml.j2

index c129a0a..495dfa2 100644 (file)
@@ -48,7 +48,7 @@ parameters:
             - cluster.${_param:cluster_name}.openstack.compute
           params:
             pxe_admin_address: {{ nm.net_admin | ipnet_hostaddr(admin) }}
-            control_address: {{ nm.net_mgmt | ipnet_hostaddr(mgmt) }}
+            single_address: {{ nm.net_mgmt | ipnet_hostaddr(mgmt) }}
             tenant_address: {{ nm.net_private | ipnet_hostaddr(pri) }}
             external_address: {{ nm.net_public | ipnet_hostaddr(pub) }}
             salt_master_host: ${_param:reclass_config_master}
index c7c6f2f..7f1cb3a 100644 (file)
@@ -23,7 +23,7 @@ classes:
 parameters:
   _param:
     cluster_vip_address: ${_param:openstack_control_address}
-    cluster_local_address: ${_param:control_address}
+    cluster_local_address: ${_param:single_address}
     cluster_node01_hostname: ${_param:openstack_control_node01_hostname}
     cluster_node01_address: ${_param:openstack_control_node01_address}
     cluster_node02_hostname: ${_param:openstack_control_node02_hostname}
@@ -35,7 +35,6 @@ parameters:
     keepalived_vip_interface: br-ctl
     keepalived_vip_virtual_router_id: 69
     linux_system_codename: xenial
-    single_address: ${_param:control_address}
     glusterfs_version: '3.13'
   glusterfs:
     client:
index 671f6eb..bfa46ac 100644 (file)
@@ -21,7 +21,6 @@ parameters:
   _param:
     interface_mtu: 9000
     linux_system_codename: xenial
-    single_address: ${_param:control_address}
   nova:
     compute:
       libvirt_service: libvirtd
index 6bd61a2..4f22d4f 100644 (file)
@@ -39,15 +39,22 @@ parameters:
         external_interface:
           enabled: true
           name: ${_param:external_interface}
-          mtu: ${_param:interface_mtu}
           proto: manual
-          type: eth
-          gateway: ${_param:opnfv_net_public_gw}
-          name_servers: {{ nm.dns_public }}
+          ovs_port_type: OVSPort
+          type: ovs_port
+          ovs_bridge: br-floating
+          bridge: br-floating
         br-floating:
           enabled: true
           type: ovs_bridge
           mtu: ${_param:interface_mtu}
+          proto: static
+          address: ${_param:external_address}
+          netmask: ${_param:opnfv_net_public_mask}
+          use_interfaces:
+            - ${_param:external_interface}
+          gateway: ${_param:opnfv_net_public_gw}
+          name_servers: {{ nm.dns_public }}
         br-mgmt:
           enabled: true
           type: bridge
@@ -57,18 +64,3 @@ parameters:
           mtu: ${_param:interface_mtu}
           use_interfaces:
             - ${_param:primary_interface}
-        float-to-ex:
-          enabled: true
-          type: ovs_port
-          mtu: ${_param:interface_mtu}
-          bridge: br-floating
-        br-ex:
-          enabled: true
-          type: bridge
-          mtu: ${_param:interface_mtu}
-          address: ${_param:external_address}
-          netmask: ${_param:opnfv_net_public_mask}
-          use_interfaces:
-            - ${_param:external_interface}
-          use_ovs_ports:
-            - float-to-ex