Creating metadef object without properties raises 500 error
Bug #1438154 reported by
Kamil Rykowski
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Undecided
|
Kamil Rykowski |
Bug Description
When you try to create a metadef object without any properties associated with it you get an Internal Server Error 500:
glance md-object-create --name obj_name --schema '{"description": "some desc"}' OS::Software::DBMS
AttributeError: 'NoneType' object has no attribute 'iteritems'
The object itself is created successfully, but the notification is not fired.
Changed in glance: | |
assignee: | nobody → Kamil Rykowski (kamil-rykowski) |
status: | New → In Progress |
tags: | added: metadef |
Changed in glance: | |
milestone: | none → kilo-rc1 |
tags: | added: kilo-rc-potential |
Changed in glance: | |
status: | Fix Committed → Fix Released |
Changed in glance: | |
milestone: | kilo-rc1 → 2015.1.0 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/168873
Review: https:/