OpenStack: Mapping Ironic Hostnames to Nova Hostnames

The Hostname Problem When deploying OpenStack via Red Hat OSP director you configure the hostname of your baremetal (ironic) nodes at time of import. This is done via json file, by default named instack-env.json (but often re-named, nodes.json). Below is an excerpt from that file. { "nodes" :  [ { "arch": "x86_64", "cpu": "4", "disk": … Continue reading OpenStack: Mapping Ironic Hostnames to Nova Hostnames

OpenStack: Configuring SR-IOV in RHEL OSP 8

Introduction This article documents the configuration used to configure SR-IOV in OSP 8/Liberty on Dell hardware Compute Node Configuration This section will outline the changes needed to configure SR-IOV on each Compute Node. Bios Configuration on Dell Compute Nodes First, you will need to ssh to the drac of each Compute Node. Then, type the … Continue reading OpenStack: Configuring SR-IOV in RHEL OSP 8

Mapping Libvirt VM Names with OpenStack Instance Names

Within OpenStack, each virtual machine instance running on a Compute nodes also a virtual machine running on a libvirt node. If you ssh to a Compute node and run the command below you can get the names of each VM running or registered on this Compute node. # virsh list --all Id Name State ---------------------------------------------------- 2 instance-000000f0 … Continue reading Mapping Libvirt VM Names with OpenStack Instance Names

Stack_Stat: A Simple OpenStack Service Checking Function

Looking for a simple way to see what OpenStack services are enabled, running, or dead on an OpenStack Compute or Controller Node, and also want to see when these services were started? Then check out this simple function that you can add to root's .bashrc. Note that I do not take credit for writing this … Continue reading Stack_Stat: A Simple OpenStack Service Checking Function

OpenStack Nova: Get NoVNC Connection Info From the Command Line

To access a novnc console in OpenStack without logging into the Horizon WebUi, follow the steps below. First and foremost you need to find your virtual instance. In this example I am looking for one of my test instances. # nova list | grep test Note that if you are logged in as root and … Continue reading OpenStack Nova: Get NoVNC Connection Info From the Command Line