Bug 1858019

Summary: RedFish Virtual Media missing boot interface idrac-redfish-virtual-media for Dell servers
Product: OpenShift Container Platform Reporter: rlopez
Component: Bare Metal Hardware ProvisioningAssignee: Julia Kreger <jkreger>
Bare Metal Hardware Provisioning sub component: ironic QA Contact: Raviv Bar-Tal <rbartal>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: medium CC: beth.white, dhellmann, rbartal, shardy
Version: 4.5Keywords: Triaged
Target Milestone: ---   
Target Release: 4.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: Configuration in the ironic-image container was missing the appropriate setting to enable the idrac-redfish-virtual-media boot driver. Consequence: Users were unable to select the idrac-virtual-media boot url for Metal3. Fix: The container-image embedded configuration was corrected to include the boot driver. Result: Users are now able to select the idrac-virtual-media URL for Metal3.
Story Points: ---
Clone Of:
: 1859488 (view as bug list) Environment:
Last Closed: 2020-10-27 16:15:14 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:    
Bug Blocks: 1859488    
Attachments:
Description Flags
idrac-redfish-virtual-media none

Description rlopez 2020-07-16 20:34:48 UTC
Description of problem:

When trying to install IPI on BM using 4.5 and RedFish virtual media with Dell servers, I attempted the following address in my install-config.yaml file:

address: idrac-virtualmedia://r640-c12u09 drac.cloud.lab.eng.bos.redhat.com/redfish/v1/Systems/System.Embedded.1

However, via the ironic conductor log that is not a valid boot interface option (idrac-redfish-virtual-media):

2020-07-16 19:24:11.695 1 DEBUG ironic.common.json_rpc.server [req-46e6334e-d6bb-4e37-8ac9-4d0d2fc903c4 - - - - -] RPC error InterfaceNotFoundInEntrypoint: Could not find the following interface in the 'ironic.hardware.interfaces.boot' entrypoint: idrac-redfish-virtual-media. Valid interfaces are ['fake', 'ipxe', 'pxe', 'redfish-virtual-media']. _handle_error /usr/lib/python3.6/site-packages/ironic/common/json_rpc/server.py:143^[[00m

2020-07-16 19:23:53.521 1 DEBUG oslo_service.service [-] enabled_boot_interfaces        = ['pxe', 'ipxe', 'fake', 'redfish-virtual-media'] log_opt_values /usr/lib/python3.6/site-packages/oslo_config/cfg.py:2581^[[00m

What details ironic shows:

2792b1', 'name': 'master-2', 'driver': 'idrac', 'driver_info': {'deploy_kernel': 'http://172.22.0.2:80/images/ironic-python-agent.kernel', 'deploy_ramdisk': 'http://172.22.0.2:80/images/ironic-python-agent.initramfs', 'redfish_address': 'https://r640-c12u09-drac.cloud.lab.eng.bos.redhat.com', 'redfish_password': '***', 'redfish_system_id': '/redfish/v1/Systems/System.Embedded.1', 'redfish_username': 'root', 'redfish_verify_ca': 'false'}, 'properties': {'capabilities': 'boot_mode:uefi', 'cpu_arch': 'x86_64', 'local_gb': '50', 'root_device': {'name': '/dev/sda'}}, 'conductor_group': '', 'provision_state': 'enroll', 'resource_class': 'baremetal', 'boot_interface': 'idrac-redfish-virtual-media', 'management_interface': 'idrac-redfish', 'power_interface': 'idrac-redfish', 'raid_interface': 'no-raid', 'vendor_interface': 'no-vendor'}, 'ironic_object.changes': ['conductor_group', 'resource_class', 'properties', 'management_interface', 'vendor_interface', 'raid_interface', 'name', 'driver_info', 'driver', 'provision_state', 'uuid', 'boot_interface', 'power_interface']}, 'context': {'user': None, 'tenant': None, 'system_scope': None, 'project': None, 'domain': None, 'user_domain': None, 'project_domain': None, 'is_admin': False, 'read_only': False, 'show_deleted': False, 'auth_token': '***', 'request_id': 'req-46e6334e-d6bb-4e37-8ac9-4d0d2fc903c4', 'global_request_id': None, 'resource_uuid': None, 'roles': [], 'user_identity': '- - - - -', 'is_admin_project': True}} _handle_requests /usr/lib/python3.6/site-packages/ironic/common/json_rpc/server.py:243^[[00m


Version:
OCP 4.5.2


How reproducible: 100%

Steps to Reproduce:
1. Ensure you have Dell updated iDRAC firmware from June 2020
2. Attempt IPI on BM install on Dell HW using redfish virtual media

Comment 1 Julia Kreger 2020-07-17 16:41:52 UTC
Fix posted and merged to master https://github.com/openshift/ironic-image/pull/87 Looks like we'll need to cherry pick it to the branch.

Comment 8 Raviv Bar-Tal 2020-08-17 14:12:59 UTC
Created attachment 1711621 [details]
idrac-redfish-virtual-media

Comment 11 errata-xmlrpc 2020-10-27 16:15:14 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 (OpenShift Container Platform 4.6 GA Images), 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:4196