Question regarding network-isolation heat template configuration

Solution In Progress - Updated -

Environment

  • Red Hat OpenStack 7.1 (RHOS)

Issue

What problem/issue/behavior are you having trouble with? What do you expect to see?

Hello,

I have installed a new OSP director node with the latest version 7.1 (released 8th of October)

There is a differenve between the previous version in the Heat templates for Network Isolation.

/home/stack/templates/my-overcloud/network/config/bond-with-vlans/controller.yaml
/home/stack/templates/my-overcloud/network/config/bond-with-vlans/compute.yaml.

I'm referencing to the actual documentaion at:

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux_OpenStack_Platform/7/html/Director_Installation_and_Usage/sect-Advanced-Scenario_3_Using_the_CLI_to_Create_an_Advanced_Overcloud_with_Ceph_Nodes.html#sect-Advanced-Isolating_all_Networks_into_VLANs

Question 1:

The following section in controller.yaml/compute.yaml is new with this version:


  config:
    os_net_config:
      network_config:
        -
          type: interface
          name: nic1
          use_dhcp: false
          addresses:
            -
              ip_netmask:
                list_join:
                  - '/'
                  - - {get_param: ControlPlaneIp}
                    - {get_param: ControlPlaneSubnetCidr}
          routes:
            -
              ip_netmask: 169.254.169.254/32

next_hop: {get_param: EC2MetadataIp}

Can you please explain which interface I have to specify in this section?
Is this the interface connected to the PXE/Provisioning LAN?

Question 2:

In the documentation (see reference above) the values for

  • ControlPlaneIp
  • ControlPlaneSubnetCidr

are not defined in the Network configuration file "network-environment.yaml.
Do I have to set these values or are these values set/known due to the undercloud installation?

Question3:

In the documentation there is an example "network-configation.yaml" file. Unfortuantely the explanation for the following parameter are not clear for me:

Gateway router for the provisioning network (or Undercloud IP)

ControlPlaneDefaultRoute: 192.0.2.254
# The IP address of the EC2 metadata server. Generally the IP of the Undercloud
EC2MetadataIp: 192.0.2.1

The EC2MetadataIp should be the IP of the director, but I don't know the value for

ControlPlaneDefaultRoute:

Can you please explain which IP address I have to set for this parameter?

Question 4:

In the documentatiojn at

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux_OpenStack_Platform/7/html/Director_Installation_and_Usage/appe-Network_Environment_Options.html

there is no explanation for the new values. Did I miss something or is this a documenation bug?

[1] http://docs.openstack.org/developer/tripleo-docs/advanced_deployment/network_isolation.html

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments