Information regarding OpenStack Upstream Wallaby pre-provisioned nodes. (Home Lab)


  • OS of choice on these nodes will be Centos 9 Stream
  • Reason for pre provissioned is due to the fact that these nodes do not have BMC

To create a new user on openstack node for scale out

  • Pulled from with some slight modifications here
sudo useradd tripleo-admin
sudo passwd tripleo-admin  # specify a password

echo "tripleo-admin ALL=(root) NOPASSWD:ALL" | sudo tee -a /etc/sudoers.d/tripleo-admin
sudo chmod 0440 /etc/sudoers.d/tripleo-admin

su - tripleo-admin

Tripleo Admin SSH key

  • Copy the key over to the node to be scalled out.
ssh-copy-id tripleo-admin@IP_ADDRESS

Ensure the repo is added to the node that will be scaled out

sudo dnf install https://trunk.rdoproject.org/centos9/component/tripleo/current/python3-tripleo-repos-0.1.1-0.20230111082341.c73cb0f.el9.noarch.rpm
  • You would need to install the correct RPM due to the current .rpm as its always changing.
    • At the time of me creating this post I use the above.
    • To find out the correct RPM to install, use this LINK

Install the correct repos using this command

  • In this example, I am using Upstream Wallaby so this would be the command I would use.
    • These packages are needed in my case because the overcloud deploy failed if I did not.
sudo tripleo-repos -b wallaby current

Extra packages that have to be installed before a node can be scaled out.

sudo dnf install -y openvswitch os-net-config nfs-utils.x86_64 podman 

Details on the node scale out.

Run this script

#!/bin/bash

openstack overcloud node provision  \
 --stack overcloud \
 --network-config \
 --output /home/stack/templates/overcloud-baremetal-deployed.yaml \
 /home/stack/templates/overcloud-bm.yaml

Run the overcloud deploy


TODO:

  • Automate this with a Ansible playbook!