Este contenido no está disponible en el idioma seleccionado.

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:

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

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

    [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
    Copy to Clipboard Toggle word wrap
  4. Log in as the non-root user on the all-in-one host:

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

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

    [stack@all-in-one]$ sudo subscription-manager attach --auto
    Copy to Clipboard Toggle word wrap
    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.2:

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

    [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-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.1-for-rhel-8-x86_64-rpms \
    --enable=fast-datapath-for-rhel-8-x86_64-rpms
    Copy to Clipboard Toggle word wrap
    Note

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

  9. Set the container-tools module version:

    [stack@all-in-one]$ sudo dnf module disable -y container-tools:rhel8
    [stack@all-in-one]$ sudo dnf module enable -y container-tools:2.0
    Copy to Clipboard Toggle word wrap
  10. Update the base operating system and reboot the system:

    [stack@all-in-one]$ sudo dnf update
    [stack@all-in-one]$ sudo reboot
    Copy to Clipboard Toggle word wrap
  11. Log back in to the host after the reboot.
  12. Install the TripleO command line interface (CLI):

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

Aprender

Pruebe, compre y venda

Comunidades

Acerca de la documentación de Red Hat

Ayudamos a los usuarios de Red Hat a innovar y alcanzar sus objetivos con nuestros productos y servicios con contenido en el que pueden confiar. Explore nuestras recientes actualizaciones.

Hacer que el código abierto sea más inclusivo

Red Hat se compromete a reemplazar el lenguaje problemático en nuestro código, documentación y propiedades web. Para más detalles, consulte el Blog de Red Hat.

Acerca de Red Hat

Ofrecemos soluciones reforzadas que facilitan a las empresas trabajar en plataformas y entornos, desde el centro de datos central hasta el perímetro de la red.

Theme

© 2025 Red Hat