Installing the Undercloud Red Hat OpenStack Platform 16.2

Undercloud components

  • OpenStack Identity (keystone)
    Provides authentication and authorization for the director components.
  • OpenStack Bare Metal (ironic) and OpenStack Compute (nova)
    Manages bare metal nodes.
  • OpenStack Networking (neutron) and Open vSwitch
    Control networking for bare metal nodes.
  • OpenStack Image Service (glance)
    Stores images that director writes to bare metal machines.
  • OpenStack Orchestration (heat) and Puppet
    Provides orchestration of nodes and configuration of nodes after director writes the overcloud image to disk.
  • OpenStack Workflow Service (mistral)
    Provides a set of workflows for certain director-specific actions, such as importing and deploying plans.
  • OpenStack Messaging Service (zaqar)
    Provides a messaging service for the OpenStack Workflow Service.
  • OpenStack Object Storage (swift)
    Provides object storage for various OpenStack Platform components, including:
    * Image storage for OpenStack Image Service
    * Introspection data for OpenStack Bare Metal
    * Deployment plans for OpenStack Workflow Service
OS Version RHEL 8.4
Minimal 2 Net Interface. NIC for Provisioning and NIC for External

Preparing for director installation

1. Preparing the undercloud

sudo hostnamectl set-hostname
sudo hostnamectl set-hostname --transient
exec bash
useradd stack
passwd stack
echo "stack ALL=(root) NOPASSWD:ALL" | tee -a /etc/sudoers.d/stack
chmod 0440 /etc/sudoers.d/stack
su - stack
mkdir ~/images ~/templates
sudo echo ""  director.kinton.lab director" >> /etc/hosts

2. Registering the undercloud and attaching subscriptions

[stack@director ~]$ sudo subscription-manager register
Registering to:
Username: XXXXXXX
The system has been registered with ID: XXXXXXXXXXXXXX
The registered system name is: director.kinton.lab
[stack@director ~]$
[stack@director ~]$ sudo subscription-manager list --available --all --matches="Red Hat OpenStack"
[stack@director ~]$ sudo subscription-manager attach --pool=POOL_ID
[stack@director ~]$ sudo subscription-manager release --set=8.4
Release set to: 8.4
[stack@director ~]$
[stack@director ~]$ sudo subscription-manager release
Release: 8.4

3. Enabling repositories for the undercloud

[stack@director ~]$ sudo subscription-manager repos --disable=*
[stack@director ~]$ sudo subscription-manager repos \
--enable=rhel-8-for-x86_64-baseos-eus-rpms \
--enable=rhel-8-for-x86_64-appstream-eus-rpms \
--enable=rhel-8-for-x86_64-highavailability-eus-rpms \
--enable=ansible-2.9-for-rhel-8-x86_64-rpms \
--enable=openstack-16.2-for-rhel-8-x86_64-rpms \
--enable=fast-datapath-for-rhel-8-x86_64-rpms \
[stack@director ~]$
[stack@director ~]$ sudo sudo dnf clean all

[stack@director ~]$ sudo dnf module disable -y container-tools:rhel8
[stack@director ~]$ sudo dnf module enable -y container-tools:3.0
[stack@director ~]$ sudo dnf update -y
[stack@director ~]$ sudo reboot
[stack@director ~]$ sudo dnf remove -y --oldinstallonly --setopt installonly_limit=1 kernel

4. Installing director packages and ceph-ansible

[stack@director ~]$ sudo dnf install -y python3-tripleoclient
[stack@director ~]$ sudo dnf install -y ceph-ansible

5. Preparing container images

[stack@director ~]$ sudo openstack tripleo container image prepare default --local-push-destination --output-env-file containers-prepare-parameter.yaml

6. Configuring director

[stack@director ~]$ cp \
/usr/share/python-tripleoclient/undercloud.conf.sample \

7. Installing director

[stack@director ~]$ openstack undercloud install
  • undercloud-passwords.conf
    A list of all passwords for the director services.
  • stackrc
    A set of initialization variables to help you access the director command-line tools.
(undercloud) [stack@director ~]$




Cloud Consultant | RHCSA | RHCE in Red Hat OpenStack | Google Cloud ACE | AWS SAA | LinkedIn:

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

How to learn a programming language in record time

Sam / Week 03 2019

The uncommon needs for CP

A Town Wings

Help Your QA Testing Your App


RDTSC the only way to benchmark.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ach.Chusnul Chikam

Ach.Chusnul Chikam

Cloud Consultant | RHCSA | RHCE in Red Hat OpenStack | Google Cloud ACE | AWS SAA | LinkedIn:

More from Medium

Read replicas in Oracle on premise — Oracle ADG with DML re-direct

Proxmox Resize Disk VM / Extend Disk VM LVM

How to Monitor Gitlab Pipelines using Prometheus and Grafana

DCS March into MetaDAO