Bug 1884672

Summary: Failed to inspect hardware. Reason: unable to start inspection: 'idrac'
Product: OpenShift Container Platform Reporter: rlopez
Component: Bare Metal Hardware ProvisioningAssignee: Iury Gregory Melo Ferreira <imelofer>
Bare Metal Hardware Provisioning sub component: ironic QA Contact: Ori Michaeli <omichael>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: high CC: bfournie, chhudson, fshaikh, imelofer, kholtz, lshilin, omichael, puraut, rbartal, tsedovic
Version: 4.6Keywords: Triaged
Target Milestone: ---   
Target Release: 4.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
If this bug requires documentation, please select an appropriate Doc Type value.
Story Points: ---
Clone Of:
: 1885188 (view as bug list) Environment:
Last Closed: 2021-02-24 15:22:23 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:
Bug Depends On: 1893546    
Bug Blocks: 1885188    

Description rlopez 2020-10-02 15:43:10 UTC
The latest deployment of IPI on BM using idrac-virtualmedia fails with the following error:

time="2020-10-02T14:56:08Z" level=error msg="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: 'idrac''"
time="2020-10-02T14:56:08Z" level=error
time="2020-10-02T14:56:08Z" level=error msg="  on ../../tmp/openshift-install-960245183/masters/main.tf line 1, in resource \"ironic_node_v1\" \"openshift-master-host\":"
time="2020-10-02T14:56:08Z" level=error msg="   1: resource \"ironic_node_v1\" \"openshift-master-host\" {"
time="2020-10-02T14:56:08Z" level=error
time="2020-10-02T14:56:08Z" level=error
time="2020-10-02T14:56:08Z" level=error
time="2020-10-02T14:56:08Z" level=error msg="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: 'idrac''"


Pastebin of full ironic conductor log: http://pastebin.test.redhat.com/907473

Based on online discussions with Derek H, it sounds like "SWIFT_MAP  doesn't contain the idrac driver and no default is provided so hitting a keyerror"

Version:
4.6.0-0.nightly-2020-10-02-084922

Comment 22 errata-xmlrpc 2021-02-24 15:22:23 UTC
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.7.0 security, bug fix, and enhancement 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-2020:5633