Skip to content

[redfish/image upload] Redfish Failure To Upload BMC Image With Bad Manifest - failed #2260

@SashaYang1129

Description

@SashaYang1129

Hi,
I got an error when testing item "Redfish Failure To Upload BMC Image With Bad Manifest"
The reasons for the error are as follows:
Image

Image

The error reason in the log is "HTTPError: 405 Client Error: Method Not Allowed for url: https://100.100.100.34:443/redfish/v1/UpdateService"
The image is sent to the url "/redfish/v1/UpdateService" using POST action, but "/redfish/v1/UpdateService" does not seem to support POST

"curl -k -u root:0penBmc -H "Content-Type: application/octet-stream" -X PATCH-T /home/julia/openbmc-autotest/image_files/bmc_bad_manifest.ubi.mtd.tar https://${bmc}/redfish/v1/UpdateService" s also an incorrect command.

What is the correct redfish command for this test item?

Metadata

Metadata

Assignees

Labels

Queries / Q&AFor queries and more clarification

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions