Hardware requires more mandatory properties to Insert Virtual Media
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Sushy |
In Progress
|
High
|
Iury Gregory Melo Ferreira |
Bug Description
While trying to insert virtual media ironic will fail becuase we don't some some properties that the hardware is considering mandatory.
{
"error":{
"message":"Some of the properties which are mandatory to complete the action are missing in the request body.Please provide values for mandatory properties.
"code"
}
}
Before https:/
I've asked the reporter to test different scenarios to see if the message stays the same, and what is the reponse in case o EjectMedia also, so we can figure out an approach to fix this issue.
Changed in sushy: | |
assignee: | nobody → Iury Gregory Melo Ferreira (iurygregory) |
importance: | Undecided → High |
status: | New → In Progress |
Currently seems like the problem is just in InsertMedia
This is the doc they shared with me https:/ /www.cisco. com/c/en/ us/td/docs/ unified_ computing/ ucs/c/sw/ api/4_1/ b_Cisco_ IMC_REST_ API_guide_ 4_1/b_Cisco_ IMC_api_ 3x60_chapter_ 010.html# Cisco_Reference .dita_527bb182- 81ca-46b5- a96c-ca2da2762f ab
InsertMedia calls when is missing the property changes the last part of the message "Missing properties are: Inserted" for example. So we will consider the part of the message that tell us the mandatory properties
"Mandatory properties are: Image, TransferProtoco lType, Inserted, TransferMethod and WriteProtected."