Bug 1962905
| Summary: | Ramdisk ISO source defaulting to "http" breaks deployment on a good amount of BMCs | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Antoni Segura Puimedon <asegurap> |
| Component: | Bare Metal Hardware Provisioning | Assignee: | Riccardo Pittau <rpittau> |
| Bare Metal Hardware Provisioning sub component: | cluster-baremetal-operator | QA Contact: | Chad Crum <ccrum> |
| Status: | CLOSED ERRATA | Docs Contact: | jfrye |
| Severity: | urgent | ||
| Priority: | urgent | CC: | aos-bugs, ccrum, jfrye, nshidlin, rfreiman |
| Version: | 4.8 | Keywords: | Triaged |
| Target Milestone: | --- | ||
| Target Release: | 4.8.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Release Note text:
Previously, the image caching mechanism in Ironic was disabled to enable a direct connection to the HTTP server that hosts the virtualmedial iso to prevent local storage issues. Non-standard compliant HTTP clients and redfish implementations caused failures on BMC connections. This has been fixed by reverting to the default Ironic behavior where the virtualmedia iso is cached and served from the Ironic conductor node. Issues caused by non-standard compliant HTTP clients and redfish implementations have been fixed.
-------
Cause:
The image caching mechanism in ironic was disabled in favor of direct connection to the http server that hosts the virtualmedia iso to prevent issues with local storage.
Consequence:
Failure on BMC connections due to non-standard compliant HTTP client and redfish implementations.
Fix:
Revert default ironic behavior to cache and serve the virtualmedia iso.
Result:
The default ironic behavior has been reinstated, the virtualmedia iso is cached and served from the ironic conductor node, issues with non-standard compliant HTTP client and redfish implementations has been fixed.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-07-27 23:09:41 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Antoni Segura Puimedon
2021-05-20 18:33:04 UTC
this bug doesn't block OCP4.8.0 -release - the fix will be delivered the the ACM channel on the AI-operator add verified then Right - BMH is correct. I double checked the ironic logs and I do see a cached version of the image getting posted to sushy tools api (http://192.168.123.86:6180/redfish/boot-40e51898-0bf2-4722-8400-cf5bec46d317.iso?filename=tmpu5bot05v.iso) - so this is validated (ACM DS 2.3.0-DOWNSTREAM-2021-07-12-15-34-40) 2021-07-12 20:24:53.539 1 DEBUG sushy.connector [req-826325b1-7ee6-47db-9437-0fb34aadbcfb ironic-user - - - -] HTTP request: POST https://192.168.123.1:8000/redfish/v1/Managers/8699f597-606b-4f18-afc3-039440271a4e/VirtualMedia/Cd/Actions/VirtualMedia.InsertMedia; headers: {'Content-Type': 'application/json', 'OData-Version': '4.0'}; body: {'Image': 'http://192.168.123.86:6180/redfish/boot-40e51898-0bf2-4722-8400-cf5bec46d317.iso?filename=tmpu5bot05v.iso', 'Inserted': True, 'WriteProtected': True}; blocking: False; timeout: 60; session arguments: {}; _op /usr/lib/python3.6/site-packages/sushy/connector.py:110ESC[00m /usr/lib/python3.6/site-packages/urllib3/connectionpool.py:847: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings InsecureRequestWarning) 2021-07-12 20:24:54.261 1 DEBUG sushy.connector [req-826325b1-7ee6-47db-9437-0fb34aadbcfb ironic-user - - - -] HTTP response for POST https://192.168.123.1:8000/redfish/v1/Managers/8699f597-606b-4f18-afc3-039440271a4e/VirtualMedia/Cd/Actions/VirtualMedia.InsertMedia: status code: 204 _op /usr/lib/python3.6/site-packages/sushy/connector.py:184ESC[00m 2021-07-12 20:24:54.262 1 INFO ironic.drivers.modules.redfish.boot [req-826325b1-7ee6-47db-9437-0fb34aadbcfb ironic-user - - - -] Inserted boot media http://192.168.123.86:6180/redfish/boot-40e51898-0bf2-4722-8400-cf5bec46d317.iso?filename=tmpu5bot05v.iso into cd for node 40e51898-0bf2-4722-8400-cf5bec46d317ESC[00m 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.8.2 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:2438 The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days |