DMTF / Redfish-Usecase-Checkers

This is a collection of python3 tools to exercise and validate common use cases for Redfish
Other
1 stars 6 forks source link

power_control.py is failing on both Dell and Nokia #49

Closed cb371j closed 1 year ago

cb371j commented 4 years ago

cloned latest code this morning. power_control.py is failing on both Dell and Nokia servers. Results in doc. power_control_results.docx

mraineri commented 4 years ago

Unfortunately those are real conformance issues with those implementations. They are breaking the guidance in the spec to allow for operations like that if the system is already in the desired state.

We have the following statement in the "POST (Action)" clause of the Redfish Specification:

If an action requested by the client will have no effect, such as performing a reset of a ComputerSystem where the ResetType parameter is set to On and the ComputerSystem is already On, the service should respond with the HTTP 200 OK status code and return the NoOperation message from the Base Message Registry.

Returning a 400 or a 409 is not good behavior for the service. I would recommend reaching out to your customer service contacts for those systems.

mraineri commented 1 year ago

Closing; based on the details seen so far these are service-side issues and the tool is calling out undesirable behavior.