Red Hat Training
A Red Hat training course is available for Red Hat OpenStack Platform
Chapter 4. Configuring the Overcloud after Creation
The creation process results in a fully operational Overcloud with IPv6 network. However, the Overcloud requires some post-creation configuration.
4.1. Creating the Overcloud Project Network
The Overcloud requires a IPv6-based Project network for instances. Source the overcloudrc
file and create an initial Project network in neutron
. For example:
$ source ~/overcloudrc $ openstack network create default --external --provider-physical-network datacentre --provider-network-type vlan --provider-segment 101 $ openstack subnet create default --subnet-range 2001:db8:fd00:6000::/64 --ipv6-address-mode slaac --ipv6-ra-mode slaac --ip-version 6 --network default
This creates a basic neutron
network called default
. Confirm the created network with the network list
and subnet list
commands:
$ openstack network list $ openstack subnet list
4.2. Creating the Overcloud Public Network
This scenario configured the node interfaces to use the External network. However, you still need to create this network on the Overcloud so that we can provide network access.
$ openstack network create public --external --provider-physical-network datacentre --provider-network-type vlan --provider-segment 100 $ openstack subnet create public --network public --subnet-range 2001:db8:0:2::/64 --ip-version 6 --gateway 2001:db8::1 --allocation-pool start=2001:db8:0:2::2,end=2001:db8:0:2::ffff --ipv6-address-mode slaac --ipv6-ra-mode slaac
This creates a network called public
provides an allocation pool of over 65000 IPv6 addresses for our instances.
Create a router to route instance traffic to the External network.
$ openstack router create public-router $ openstack router set public-router --external-gateway public