Description of problem: host_requirements API: https://api.stage.openshift.com/api/assisted-install/v1/host_requirements Resulting: { "master": { "cpu_cores": 4, "disk_size_gb": 20, "installation_disk_speed_threshold_ms": 10, "ram_gib": 16 }, "worker": { "cpu_cores": 2, "disk_size_gb": 20, "installation_disk_speed_threshold_ms": 10, "ram_gib": 8 } } The issue is that it doesn't contain network_latency_threshold_ms and packet_loss_percentage. This can be helpful for automation purposes (use threshold from API, per role, rather then using hard coded values) Version-Release number of selected component (if applicable): Staging, v1.0.22.1
Note that those values can be taken from .../clusters/5ad7bbd4-be9e-4bc3-96c6-6a6e505c00ec/host-requirements this return per host HW info, but it require to parse each host and compare its id [ { "host_id": "107e23a9-62fb-4e7d-8e1c-ebf53fe982b9", "ocp": { "cpu_cores": 2, "disk_size_gb": 20, "installation_disk_speed_threshold_ms": 10, "network_latency_threshold_ms": 1000, "packet_loss_percentage": 10, "ram_mib": 8192 }, "operators": null, "total": { "cpu_cores": 2, "disk_size_gb": 20, "installation_disk_speed_threshold_ms": 10, "network_latency_threshold_ms": 1000, "packet_loss_percentage": 10, "ram_mib": 8192 } }, ... ]
PR created to address this issue: https://github.com/openshift/assisted-service/pull/2132
Verified on Integration
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.9.0 bug fix and security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:3759