Este conteúdo não está disponível no idioma selecionado.
Chapter 4. Setting up the test environment
The first step towards certifying your product is setting up the environment where you can run the tests. The test environment consists of only the Undercloud node.
All the mandatory tests that verify the system configuration required for bare metal certification run on the Undercloud node.
If you prefer using Cockpit instead of the command line for baremetal testing, you must set up the Cockpit first. See Configuring the systems and running tests by using Cockpit for instructions.
4.1. Setting up the Undercloud node Copiar o linkLink copiado para a área de transferência!
Prerequisites
You have installed RHOSP on the system based on the supported RHEL version, as applicable.
Ensure to use RHOSP Director for installation, as it is the supported toolset for installing and managing RHOSP in production.
The corresponding supported versions are as follows:
Expand RHOSP version Supported RHEL version RHEL 16.0
8.1
RHEL 16.1
8.2
RHEL 16.2
8.4
RHEL 17.0
9.0
RHEL 17.1
9.2 and 9.4
- Ensure that the RSA private key file is in PEM format. See RHOSP 17.1 Configuration Reference document for more information.
Procedure
Use your RHN credentials to register your system using Red Hat Subscription Management:
subscription-manager register
# subscription-manager register
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Display the list of available subscriptions for your system:
subscription-manager list --available*
# subscription-manager list --available*
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Search for the subscription that provides the Red Hat Certification (for RHEL Server) repository and make a note of the subscription and its Pool ID.
Attach the subscription to your system:
subscription-manager attach --pool=<pool_ID>
# subscription-manager attach --pool=<pool_ID>
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Replace the pool_ID with the Pool ID of the subscription.
Subscribe to the Red Hat Certification channel:
On RHEL 8:
subscription-manager repos --enable=cert-1-for-rhel-8-<HOSTTYPE>-rpms
# subscription-manager repos --enable=cert-1-for-rhel-8-<HOSTTYPE>-rpms
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Replace HOSTTYPE with the system architecture. To find out the system architecture, run
uname -m
uname -m
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Example:
subscription-manager repos --enable=cert-1-for-rhel-8-x86_64-rpms
# subscription-manager repos --enable=cert-1-for-rhel-8-x86_64-rpms
Copy to Clipboard Copied! Toggle word wrap Toggle overflow On RHEL 9:
subscription-manager repos --enable=cert-1-for-rhel-9-<HOSTTYPE>-rpms
# subscription-manager repos --enable=cert-1-for-rhel-9-<HOSTTYPE>-rpms
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Replace HOSTTYPE with the system architecture. To find out the system architecture, run
uname -m
uname -m
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Example:
subscription-manager repos --enable=cert-1-for-rhel-9-x86_64-rpms
# subscription-manager repos --enable=cert-1-for-rhel-9-x86_64-rpms
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
Install the certification RPMs.
Only on RHEL 9
yum install redhat-certification
# yum install redhat-certification
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
Install OpenStack test suite package:
yum install redhat-certification-baremetal
yum install redhat-certification-baremetal
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
4.2. Configuring Bare Metal Copiar o linkLink copiado para a área de transferência!
See Bare Metal Provisioning service (ironic) functionality for installing, configuring, and using the Bare Metal service in the undercloud of a Red Hat OpenStack Platform environment.
4.3. Validating Bare Metal configuration Copiar o linkLink copiado para a área de transferência!
Procedure
You must validate that Bare Metal is working prior to starting the certification process. To see the registered nodes and their current status, follow the Troubleshooting node provisioning chapter described in the Installing and managing Red Hat OpenStack Platform with director guide.