create group with group type name raises exception
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
High
|
Xing Yang |
Bug Description
When creating a group with a group type name, an exception was raised: "AttributeError: 'dict' object has no attribute 'id'". This is because group_types.
dictionary of a group type, not an object. req_group_type.id needs to be changed to req_group_
Logs are here:
19192 2017-01-03 21:58:56.881 DEBUG cinder.
19193 2017-01-03 21:58:56.888 ERROR cinder.
19194 2017-01-03 21:58:56.888 108699 ERROR cinder.
19235 2017-01-03 21:58:56.888 108699 ERROR cinder.
19236 2017-01-03 21:58:56.888 108699 ERROR cinder.
19237 2017-01-03 21:58:56.888 108699 ERROR cinder.
19238 2017-01-03 21:58:56.888 108699 ERROR cinder.
19239 2017-01-03 21:58:56.888 108699 ERROR cinder.
19240 2017-01-03 21:58:56.888 108699 ERROR cinder.
19241 2017-01-03 21:58:56.888 108699 ERROR cinder.
19242 2017-01-03 21:58:56.888 108699 ERROR cinder.
19243 2017-01-03 21:58:56.888 108699 ERROR cinder.
19244 2017-01-03 21:58:56.888 108699 ERROR cinder.
19245 2017-01-03 21:58:56.888 108699 ERROR cinder.
19246 2017-01-03 21:58:56.888 108699 ERROR cinder.
Changed in cinder: | |
assignee: | nobody → Xing Yang (xing-yang) |
Changed in cinder: | |
importance: | Undecided → High |
milestone: | none → ocata-3 |
Fix proposed to branch: master /review. openstack. org/416769
Review: https:/