Skip to content

DELETE at volume has a payload "null" as a string #392

@ArturBaryla

Description

@ArturBaryla

Hi - I have a problem with some actions at ODIM
ODIM is sending payload as invalid JSON with "null" as a string
When I am sending empty payload with DELETE at specifici volume:

ubuntu@ubuntu:~$ curl -X DELETE -k -u 'admin:Od!m12$4' https://10.91.209.202:45000/redfish/v1/Systems/27d60766-4e91-4ce9-9f33-cff0cad63e22:1/Storage/BMCStorage/Volumes/1 | jq
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    69  100    69    0     0    104      0 --:--:-- --:--:-- --:--:--   104
{
  "error": {
    "code": "Base.1.0.InvalidPayload",
    "message": "Invalid Json"
  }
}

in debug mode I found that the request payload is "null" as a string - not empty payload.

Metadata

Metadata

Assignees

Labels

prio:normalnormal priority, can be taken up after high priority issues are addressedstatus:confirmedIssue is accepted and implementation will be taken up at the earliest subject to prioritiestype:bugThis tag is attached to 'bug' issue during creation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions