Openstack Pike TripleO undercloud deployment with overcloud controller HA on KVM (libvirt)
Overall Steps performed are as:
The full installation of the overcloud and the undercloud here is done all-in-a-single KVM Host running libvirt on CentOS7.
1) Preparation of the KVM Host
The KVM Host is going to be the physical server on which the undercloud VM and the overloud VMs will be there. The KVM server will run the base minimal install of the latest CentOS7 and willbe installed with the RPMs for libvirt
This primarily involves the following steps
please refer:
See Link: KVM host preparations for having all the undercloud and the overcloud machines run as a VirtualMachine on the same
- Setting up system proxy and the /etc/yum.conf proxy for the KVM Host
- Updating the CentOS 7 Operating System
- Setting the hostname
- Setting the Static IP on the KVM Host
- Setting the SELINUX to permissive/enforcing mode
- Installation of the common utilities
See Link: Configuration of the OS Install Virtual Media on the KVM host for Undercloud Virtual Machine OS installations
2) Creation and Installation of the undercloud
See Link: Creation of the Virtual Machine for the Undercloud and OS installation on the same
3) Preparing the undercloud node for the undercloud install
The basic OS preparations to be done on the undercloud server before the undercloud install are done here
See Link: Preparation of the undercloud Virtualmachine OS for undercloud installation
The steps covered are basically
Setup static network configuration on the undercloud server (if not done during the OS install)
5) Overcloud installation preparation
See Link: Setup the DNS NameServer for the Overcloud provisioning Network on the Undercloud server
See Link: Creation of the JSON file to import the overcloud VirtualMachines as the baremetal node and Import for overcloud provision
See Link: Tune the undercloud flavors to match the overcloud node hardware configurations
See Link: Associate the baremetal servers to the correct profile and run introspection on the overcloud nodes finally set them to available mode
6) OverCloud installation:
See Link: Final preparations before running the overcloud deploy
See Link: Running the pre-validations and finally the overcloud deploy
Overall Steps performed are as:
The full installation of the overcloud and the undercloud here is done all-in-a-single KVM Host running libvirt on CentOS7.
1) Preparation of the KVM Host
The KVM Host is going to be the physical server on which the undercloud VM and the overloud VMs will be there. The KVM server will run the base minimal install of the latest CentOS7 and willbe installed with the RPMs for libvirt
This primarily involves the following steps
please refer:
See Link: KVM host preparations for having all the undercloud and the overcloud machines run as a VirtualMachine on the same
- Setting up system proxy and the /etc/yum.conf proxy for the KVM Host
- Updating the CentOS 7 Operating System
- Setting the hostname
- Setting the Static IP on the KVM Host
- Setting the SELINUX to permissive/enforcing mode
- Installation of the common utilities
See Link: Enabling the nested Virtualization on the KVM Host
See Link: Creation of the Virtual Network on the KVM Host for the overcloud and the undercloud Virtual MachinesSee Link: Configuration of the OS Install Virtual Media on the KVM host for Undercloud Virtual Machine OS installations
2) Creation and Installation of the undercloud
See Link: Creation of the Virtual Machine for the Undercloud and OS installation on the same
3) Preparing the undercloud node for the undercloud install
The basic OS preparations to be done on the undercloud server before the undercloud install are done here
See Link: Preparation of the undercloud Virtualmachine OS for undercloud installation
The steps covered are basically
Setup static network configuration on the undercloud server (if not done during the OS install)
- Setup the hostname of the undercloud server (if not done during the OS install)
- Setting up /etc/hosts on the undercloud server
- Disable the NetworkManager and Firewalld services and enable the network services on the undercloud server
- Setting the SELinux to permissive mode on the undercloud
- Set the http_proxy and https_proxy for the undercloud server (as the undercloud server is behind a proxy)
- Update the OS and reboot the undercloud server
- Create the stack user for the undercloud install
- Install the RDO Tripleo Repositories on the undercloud server
- Enable the Tripleo Repositories as per the release of the Openstack (Pike here)
- Install the python-tripleoclient
4) Installing the undercloud
Please note that if your undercloud is behind an HTTP and HTTPS_PROXY, ensure that the undercloud server IP is added to the no_proxy configuration in the environement profile of at least the 'stack' user.
Else, as the undercloud final steps may fail as the openstack services when trying to reach each others' endpoints will be directed to the proxy.
If the proxy denies such access, the openstack services will nor work properly on the undercloud.
In the .bash_profile of the stack user (better to add in /etc/profile)
you must add a line like
no_proxy="127.0.0.1,localhost,::1,$(hostname -i)
The installation of the undercloud is covered in at
5) Overcloud installation preparation
See Link: Setup the DNS NameServer for the Overcloud provisioning Network on the Undercloud server
See Link: Creation of the JSON file to import the overcloud VirtualMachines as the baremetal node and Import for overcloud provision
See Link: Tune the undercloud flavors to match the overcloud node hardware configurations
See Link: Associate the baremetal servers to the correct profile and run introspection on the overcloud nodes finally set them to available mode
6) OverCloud installation: