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

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

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

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

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

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
Copy to Clipboard Toggle word wrap

9.3.2. CoreOS validation subtest

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
Copy to Clipboard Toggle word wrap

9.3.3. Workload validation subtest

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 or Success.
  • 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:

=============== Test Evaluation ===============
CPU Usage Before Workload: 6%
CPU Usage During Workload: 18%
CPU Usage After Workload: 7%
CPU Increase During Execution: +12%
CPU Decrease After Completion: -11%
==================================================
Success: Significant CPU increase detected during workload execution.
PASS
Copy to Clipboard Toggle word wrap

9.3.4. IPI validation subtest

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
Copy to Clipboard Toggle word wrap

9.3.5. BMCTest validation subtest

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:

====== BMC Test Summary ======
1. Manage         : PASS
2. Power          : PASS
3. Boot device    : PASS
4. Vmedia boot    : PASS
5. Vmedia detach  : PASS
Success: All BMC operations executed successfully.
PASS
Copy to Clipboard Toggle word wrap
Voltar ao topo
Red Hat logoGithubredditYoutubeTwitter

Aprender

Experimente, compre e venda

Comunidades

Sobre a documentação da Red Hat

Ajudamos os usuários da Red Hat a inovar e atingir seus objetivos com nossos produtos e serviços com conteúdo em que podem confiar. Explore nossas atualizações recentes.

Tornando o open source mais inclusivo

A Red Hat está comprometida em substituir a linguagem problemática em nosso código, documentação e propriedades da web. Para mais detalhes veja o Blog da Red Hat.

Sobre a Red Hat

Fornecemos soluções robustas que facilitam o trabalho das empresas em plataformas e ambientes, desde o data center principal até a borda da rede.

Theme

© 2025 Red Hat