Chapter 3. Installing the all-in-one OpenStack environment

Before you can begin configuring, deploying, and testing your all-in-one OpenStack environment, you must install the necessary packages and dependencies, and share the public key from your user account on your physical machine to the virtual machine hosting the OpenStack environment.

Note

Perform the following steps as the user that requires access to the OpenStack host machine, which is likely to be your regular, non-root user account.

  1. Log in as a non-root user to the bare metal or virtual machine where you want to install the standalone services:

    $ ssh <non-root-user>@<host-machine>
  2. Register the machine with Red Hat Subscription Manager. Enter your Red Hat subscription credentials at the prompt:

    $ sudo subscription-manager register
  3. Attach your Red Hat subscription to the entitlement server:

    $ sudo subscription-manager attach --auto
  4. Run the following commands to enable the necessary repositories:

    $ sudo yum install -y yum-utils
    $ sudo yum-config-manager \
    --enable=rhel-8-for-x86_64-baseos-rpms \
    --enable=rhel-8-for-x86_64-appstream-rpms \
    --enable=rhel-8-for-x86_64-highavailability-rpms \
    --enable=ansible-2.8-for-rhel-8-x86_64-rpms \
    --enable=openstack-beta-for-rhel-8-x86_64-rpms
    --enable=fast-datapath-for-rhel-8-x86_64-rpms

    Replace <VERSION> with the version of your OpenStack installation.

    VersionName

    15-beta

    stein

    14

    rocky

    Note

    The all-in-one OpenStack installation is a Technology Preview feature in Red Hat OpenStack Platform 15.

  5. Install the TripleO command line interface (CLI):

    $ sudo yum install -y python3-tripleoclient
  6. Copy your public SSH key to the all-in-one host machine:

    $ sudo ssh-copy-id <non-root-user>@<host-machine>