Chapter 4. Setting up the test environment
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. Important 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 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: 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: Display the list of available subscriptions for your system: 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: Replace the pool_ID with the Pool ID of the subscription. Subscribe to the Red Hat Certification channel: On RHEL 8: Replace HOSTTYPE with the system architecture. To find out the system architecture, run Example: On RHEL 9: Replace HOSTTYPE with the system architecture. To find out the system architecture, run Example: Install the certification RPMs. Only on RHEL 9 Install OpenStack test suite package: 4.2. Configuring Bare Metal 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 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.
subscription-manager register subscription-manager list --available* subscription-manager attach --pool= <pool_ID > subscription-manager repos --enable=cert-1-for-rhel-8- <HOSTTYPE> -rpms uname -m subscription-manager repos --enable=cert-1-for-rhel-8-x86_64-rpms subscription-manager repos --enable=cert-1-for-rhel-9- <HOSTTYPE> -rpms uname -m subscription-manager repos --enable=cert-1-for-rhel-9-x86_64-rpms yum install redhat-certification install redhat-certification-baremetal