Este conteúdo não está disponível no idioma selecionado.
Chapter 9. IPI certification tests
The IPI test validates whether the Host Under Test (HUT) can be controlled, accessed, deployed, and rebooted remotely by using the Red Hat OpenShift Container Platform ironic service and the HUT’s bare metal management controller (BMC).
The test runs in a container accessible by the node that is running the ironic service.
Supported RHOCP versions - RHOCP 4.17, 4.18 and 4.19.
The test plan consists of the following tests:
9.1. Self check test Copiar o linkLink copiado para a área de transferência!
The self-check test confirms that all required software packages for certification are installed and unaltered, ensuring the test environment is ready for certification. Certification packages must not be modified for testing or any other purpose.
Success Criteria
The test environment includes all necessary certification packages and the packages have not been modified.
9.2. IPI test Copiar o linkLink copiado para a área de transferência!
The IPI test automates power management of the server from the OpenShift console through the ironic service to the BMC.
The test runs the following subtest:
9.2.1. Check and update power state subtest Copiar o linkLink copiado para a área de transferência!
The check_update_power_state subtest first checks if the HUT is powered on, and then restarts the HUT.
The subtest monitors the status of the HUT node every 15 seconds, for a maximum of 15 minutes.
Success Criteria
- The HUT restarts successfully in less than 15 minutes.
9.3. Openshift IPI test Copiar o linkLink copiado para a área de transferência!
The installer-provisioned infrastructure (IPI) test automates power management of the server from the OpenShift console through the ironic service to the BMC.
The test runs the following subtests:
9.3.1. MustGather validation subtest Copiar o linkLink copiado para a área de transferência!
The must-gather validation
subtest collects system and diagnostic information, such as configuration details, system logs, and other relevant OpenShift cluster information. It is essential for debugging issues in the HUT.
This subtest takes approximately 10 minutes to gather all the required data of the HUT.
Success Criteria
The test generates a must-gather report and stores it at the location /etc/redhat-certification/openshift
with a success message, for example:
Success: Must-gather collected and stored at /etc/redhat-certification/openshift
Success: Must-gather collected and stored at /etc/redhat-certification/openshift
9.3.2. CoreOS validation subtest Copiar o linkLink copiado para a área de transferência!
The CoreOS validation
subtest performs the following functions:
- Checks the CoreOS version available in the OpenShift cluster of your HUT.
- Verifies if the Red Hat CoreOS (RHCOS) version from the node matches the RHCOS Version from the OpenShift release.
Success Criteria
Displays the CoreOS version of the Red Hat OpenShift cluster and reports any discrepancies if the RHCOS version doesn’t match, for example,
Success: Found CoreOS version: 417.94.202411261220 Success: RHCOS version matches OpenShift release. No discrepancies found. PASS
Success: Found CoreOS version: 417.94.202411261220
Success: RHCOS version matches OpenShift release. No discrepancies found.
PASS
9.3.3. Workload validation subtest Copiar o linkLink copiado para a área de transferência!
The workload validation
subtest deploys a workload on a specified node, monitors the CPU usage and checks the impact on the workload based on the CPU utilization.
The subtest performs the following tasks:
Before test execution:
- Checks if the pod already exists. If it exists, it deletes the existing pod.
- Starts a new pod and deploys the workload on the selected node.
-
After successful deployment, it displays a success message
Workload is successfully deployed and running.
During the test execution:
-
Verifies and reports the workload status as
Running
orSuccess
.
-
Verifies and reports the workload status as
After the test execution:
- Deletes the pod and cleans up the workload on the node.
- Evaluates and reports the CPU usage before, during and after running the test.
Success Criteria
Generates workload-test.yaml
for the selected node, monitors and displays the CPU usage before, during and after the test execution, for example:
9.3.4. IPI validation subtest Copiar o linkLink copiado para a área de transferência!
The IPI validation
subtest checks the following operations:
- If the OpenShift cluster on your node is deployed by using IPI.
- If the bare-metal operator is healthy.
Success Criteria
Displays a success message which includes the following:
- Confirmation about deploying your cluster by using IPI.
- The health status of your bare-metal operator, for example:
Success: Baremetal operator is functioning as expected with all status conditions in a healthy state. Success: Cluster appears to be deployed using IPI. PASS
Success: Baremetal operator is functioning as expected with all status conditions in a healthy state.
Success: Cluster appears to be deployed using IPI.
PASS
9.3.5. BMCTest validation subtest Copiar o linkLink copiado para a área de transferência!
The BMCtest validation
subtest checks the BMC control and the Redfish boot capabilities of the OpenShift cluster on the OpenShift bare-metal nodes.
Success Criteria
Displays a success message along with the BMC test summary after the test completes, for example: