OpenShift IPI installation fails on baremetal host with 'The ETag supplied did not match the ETag required to change this resource'
Issue
OpenShift baremetal IPI installation failed with the below errors seen in ironic inspector pod logs.
Error: could not inspect: could not inspect node, node is currently 'inspect failed' , last error was 'Failed to inspect hardware. Reason: unable to start inspection: HTTP PATCH https://ip_address/redfish/v1/Managers/1/VirtualMedia/EXT1 returned code 412. Base.1.11.GeneralError: A general error has occurred. See ExtendedInfo for more information. Extended information: [{'@odata.type': '#Message.v1_1_2.Message', 'Resolution': 'Try the operation again using the appropriate ETag.', 'Message': 'The ETag supplied did not match the ETag required to change this resource.', 'MessageArgs': [], 'MessageSeverity': 'Critical', 'MessageId': 'Base.1.11.PreconditionFailed'}]: sushy.exceptions.HTTPError: HTTP PATCH https://<server_ip>/redfish/v1/Managers/1/VirtualMedia/EXT1 returned code 412.
Environment
- Red Hat OpenShift Container Platform (RHOCP) ≤ 4.11
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.