Chapter 3. Installing the all-in-one Red Hat OpenStack Platform environment


Before you can begin configuring, deploying, and testing your all-in-one environment, you must configure a non-root user and install the necessary packages and dependencies:

  1. Create a non-root user on the all-in-one host:

    Copy to Clipboard Toggle word wrap
    [root@all-in-one]# useradd stack
  2. Set the password for the stack user:

    Copy to Clipboard Toggle word wrap
    [root@all-in-one]# passwd stack
  3. Disable password requirements when using sudo as the stack user:

    Copy to Clipboard Toggle word wrap
    [root@all-in-one]# echo "stack ALL=(root) NOPASSWD:ALL" | tee -a /etc/sudoers.d/stack
    [root@all-in-one]# chmod 0440 /etc/sudoers.d/stack
  4. Log in as the non-root user on the all-in-one host:

    Copy to Clipboard Toggle word wrap
    $ ssh stack@<all-in-one>
  5. Register the machine with Red Hat Subscription Manager. Enter your Red Hat subscription credentials at the prompt:

    Copy to Clipboard Toggle word wrap
    [stack@all-in-one]$ sudo subscription-manager register
  6. Attach your Red Hat subscription to the entitlement server:

    Copy to Clipboard Toggle word wrap
    [stack@all-in-one]$ sudo subscription-manager attach --auto
    Note

    The --auto option might not subscribe you to the correct subscription pool. Ensure that you subscribe to the correct pool, otherwise you might not be able to enable all of the repositories necessary for this installation. Use the subscription-manager list --all --available command to identify the correct pool ID.

  7. Lock the undercloud to Red Hat Enterprise Linux 8.1:

    Copy to Clipboard Toggle word wrap
    $ sudo subscription-manager release --set=8.1
  8. Run the following commands to install dnf-utils, disable all default repositories, and then enable the necessary repositories:

    Copy to Clipboard Toggle word wrap
    [stack@all-in-one]$ sudo dnf install -y dnf-utils
    [stack@all-in-one]$ sudo subscription-manager repos --disable=*
    [stack@all-in-one]$ sudo subscription-manager repos \
    --enable=rhel-8-for-x86_64-baseos-rpms \
    --enable=rhel-8-for-x86_64-appstream-eus-rpms \
    --enable=rhel-8-for-x86_64-highavailability-eus-rpms \
    --enable=ansible-2.8-for-rhel-8-x86_64-rpms \
    --enable=openstack-16-for-rhel-8-x86_64-rpms \
    --enable=fast-datapath-for-rhel-8-x86_64-rpms \
    --enable=rhel-8-for-x86_64-highavailability-rpms
    Note

    The all-in-one environment is a Technology Preview feature in Red Hat OpenStack Platform 16.

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

    Copy to Clipboard Toggle word wrap
    [stack@all-in-one]$ sudo dnf install -y python3-tripleoclient
Back to top
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2025 Red Hat, Inc.