Skip to content

Redfish Error visibility enhancement #142

@jezogwza

Description

@jezogwza

Describe the bug
Many errors simply ignored on redfish calls -
e.g. media injection returns 400 but we say success

Expected behavior
Errors should be bubbled up so we can define the appropriate response to errors.
It appears some of the errors can be treated as warning or simple ignored.

Currently

  1. We verify the http response code and throw an error if it's not 200 or 204.
  2. The redfish client likes to return non-nil errors on success, so checking err is not always reliable

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingpriority/mediumDefault priority for itemsready for reviewChange related to the issue is ready for review

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions