Installing the Undercloud Red Hat OpenStack Platform 16.2

Undercloud components

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) [stack@director ~]$



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: