|
Post by konitel on Nov 13, 2023 15:20:34 GMT
Hi, everyone When i try to insert virtual media my redfish implemitation gives me 500 error.
Body of the request:
{ "Image": "//172.29.225.6/mnt/data1/Common_new/iso_mount/usbstick.iso", "MediaType": "CD", "Inserted": true, "WriteProtected": true, "TransferProtocolType": "NFS", "UserName": "", "Password": "" }
Request body: { "error": { "@message.ExtendedInfo": [ { "@odata.type": "#Message.v1_1_1.Message", "Message": "The request failed due to an internal service error. The service is still operational.", "MessageArgs": [], "MessageId": "Base.1.8.1.InternalError", "MessageSeverity": "Critical", "Resolution": "Resubmit the request. If the problem persists, consider resetting the service." } ], "code": "Base.1.8.1.InternalError", "message": "The request failed due to an internal service error. The service is still operational." } }
|
|
|
Post by mraineri on Nov 13, 2023 17:12:59 GMT
Are you performing a PATCH to the VirtualMedia resource itself, or performing the "InsertMedia" action?
Regardless of the approach though, the only thing that sticks out is "MediaType" is not valid for a client to supply. I would expect a better error message though (there are specific "unsupported parameter" and "property is read-only" messages to convey this). I would try removing that property and try the request again.
|
|