metadata and group_specs should allow null.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Undecided
|
Neha Alhat |
Bug Description
On current master for snapshot_manage create API, if user passes
metadata as null then it is giving 400 Bad Request. But before the
schema validation done in patch[1] metadata as null is accepted.
For group_type create API, group_specs as null is accepted before
merging patch[2]. but on current master it is giving 400 Bad Request.
[1] https:/
[2] https:/
Steps to reproduce:
1. curl -g -i -X POST http://
output:
400 Bad Request
{"badRequest": {"code": 400, "message": "Invalid input for field/attribute metadata. Value: None. None is not of type 'object'"}}
2. curl -g -i -X POST http://
output:
400 Bad Request
{"badRequest": {"message": "Invalid input for field/attribute group_specs. Value: None. None is not of type 'object'", "code": 400}}
Changed in cinder: | |
assignee: | nobody → Neha Alhat (nehaalhat) |
Fix proposed to branch: master /review. openstack. org/533595
Review: https:/