Bug 1820352 - IPI bare metal deployment fails when using ilo5-virtualmedia with iLO5 nodes: Failed to prepare to deploy. Exception: An auth plugin is required to determine endpoint URL
Summary: IPI bare metal deployment fails when using ilo5-virtualmedia with iLO5 nodes:...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 4.5
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.5.0
Assignee: Julia Kreger
QA Contact: Gaoyun Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-04-02 19:55 UTC by Marius Cornea
Modified: 2020-07-13 17:25 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: An incorrect configuration in the ironic container resulted in ironic attempting to leverage Swift for temporary file storage when using Virtual Media with HPE ilo cards. Consequence: The deployment with the "ilo5-virtualmedia" url format as supplied to Metal3 would fail. Fix: The patch that set the configuration as expected was backported from the upstream project repository. Result: Deployments using the "ilo5-virtualmedia" Metal3 URL format to facilitate deployment over virtual media should now be successful.
Clone Of:
Environment:
Last Closed: 2020-07-13 17:25:20 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift ironic-image pull 69 0 None closed virtmedia fixes 2020-09-24 07:26:03 UTC
Red Hat Product Errata RHBA-2020:2409 0 None None None 2020-07-13 17:25:41 UTC

Description Marius Cornea 2020-04-02 19:55:09 UTC
Description of problem:

IPI bare metal deployment fails when using ilo5-virtualmedia with iLO5 nodes: Failed to prepare to deploy. Exception: An auth plugin is required to determine endpoint URL

Version-Release number of selected component (if applicable):
4.5.0-0.nightly-2020-04-02-131318

How reproducible:
100%

Steps to Reproduce:
1. 1. Deploy bare metal IPI environment using ilo5-virtualmedia and iLO5 nodes:

      - name: openshift-master-0
        role: master
        bmc:
          address: ilo5-virtualmedia://${IP}/redfish/v1/Systems/1
          disableCertificateVerification: True
          username: admin
          password: pass


Actual results:
openstack baremetal node show 5835151e-3eeb-4f16-a25f-e2c9881741c4 | grep last_error
| last_error             | Failed to prepare to deploy. Exception: An auth plugin is required to determine endpoint URL

Expected results:
No failures

Additional info:

Comment 3 Derek Higgins 2020-04-07 11:01:58 UTC
Looks like we're missing 3 virtmedia related patches in the downstream ironic-image, I'm setting up an environment to test backports now and will submit the patches once I know nothing else is missing.
The missing patch that caused the error in question is a patch that sets 
+[redfish]
+use_swift = false

Comment 4 Derek Higgins 2020-04-08 15:07:45 UTC
Correction, turns out its only 2 patches that were missing, see Pr here
https://github.com/openshift/ironic-image/pull/69

These are needed to remove the use of swift and change the patch where grub looks for grub.cnf,
I wasn't able to get a full deploy done but this was down to my network setup

Comment 5 Scott Dodson 2020-06-04 17:36:52 UTC
The linked PR merged weeks ago, moving to MODIFIED.

Comment 8 Marius Cornea 2020-06-30 15:39:19 UTC
[kni@provisionhost-0-0 ~]$ oc get clusterversion
NAME      VERSION                             AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.5.0-0.nightly-2020-06-26-215024   True        False         15h     Cluster version is 4.5.0-0.nightly-2020-06-26-215024

[kni@provisionhost-0-0 ~]$ oc -n openshift-machine-api exec  -it metal3-6fd7b4ffb-pnk4r -c metal3-ironic-conductor -- grep -A1 \\[redfish\\]  /etc/ironic/ironic.conf
[redfish]
use_swift = false

Comment 11 errata-xmlrpc 2020-07-13 17:25:20 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, 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/RHBA-2020:2409


Note You need to log in before you can comment on or make changes to this bug.