Inspection with virtualmedia fails because of missing credentials in request body

Bug #2071945 reported by Derek Higgins
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sushy
In Progress
High
Derek Higgins

Bug Description

Attaching vmedia to a NVIDIA DGX fails if there are no credentials included to connect to the iso (even if the iso isn't protected by credentials)

The redfish call to InsertMedia fails with

Reason: unable to start inspection: HTTP POST https://10.16.28.121/redfish/v1/Managers/BMC/VirtualMedia/CD1/Actions/VirtualMedia.InsertMedia returned code 400. Base.1.12.GeneralError: The action /redfish/v1/Managers/BMC/VirtualMedia/CD1/Actions/VirtualMedia.InsertMedia requires the parameter UserName to be present in the request body. Extended information: [{'@odata.type': '#Message.v1_0_8.Message', 'Message': 'The action /redfish/v1/Managers/BMC/VirtualMedia/CD1/Actions/VirtualMedia.InsertMedia requires the parameter UserName to be present in the request body.', 'MessageArgs': ['/redfish/v1/Managers/BMC/VirtualMedia/CD1/Actions/VirtualMedia.InsertMedia', 'UserName'], 'MessageId': 'Base.1.12.ActionParameterMissing', 'RelatedProperties': ['#/UserName'], 'Resolution': 'Supply the action with the required parameter in the request body when the request is resubmitted.', 'Severity': 'Critical'}, {'@odata.type': '#Message.v1_0_8.Message', 'Message': 'The action /redfish/v1/Managers/BMC/VirtualMedia/CD1/Actions/VirtualMedia.InsertMedia requires the parameter Password to be present in the request body.', 'MessageArgs': ['/redfish/v1/Managers/BMC/VirtualMedia/CD1/Actions/VirtualMedia.InsertMedia', 'Password'], 'MessageId': 'Base.1.12.ActionParameterMissing', 'RelatedProperties': ['#/Password'], 'Resolution': 'Supply the action with the required parameter in the request body when the request is resubmitted.', 'Severity': 'Critical'}]

Revision history for this message
Iury Gregory Melo Ferreira (iurygregory) wrote :
Changed in sushy:
assignee: nobody → Derek Higgins (derekh)
status: New → In Progress
importance: Undecided → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.