Can create/update node with name "" in any api version
Bug #1563694 reported by
Zhenguo Niu
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Fix Released
|
High
|
Zhenguo Niu |
Bug Description
In API version below 1.5, we don't support specify node name, but it can pass if you set name="".
That's because we do check like "if name" instead of "if name is not None" before verify whether name is acceptable in the API version of this request.
Changed in ironic: | |
assignee: | nobody → Zhenguo Niu (niu-zglinux) |
Changed in ironic: | |
importance: | Undecided → High |
Changed in ironic: | |
assignee: | Zhenguo Niu (niu-zglinux) → Vladyslav Drok (vdrok) |
Changed in ironic: | |
assignee: | Vladyslav Drok (vdrok) → Zhenguo Niu (niu-zglinux) |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/299264
Review: https:/