Wrong UUIDs accepted and reflected in db during cli cmd exectution
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Invalid
|
Medium
|
Unassigned |
Bug Description
After a devstack install, playing with keystone cmds. For the sub-cmd user-role-add, by mistake I used the role UUID for both role and user UUIDs. The cmd executed successfully and values reflected in db (Tables: metadata and user_tenant membership)
deepak@
+------
| id | name |
+------
| 3bc97204d7df407
| 597e1ab461df42d
| 5ceef439c8ab4cf
| 650abec8e726459
| b8cf5415a4d8479
+------
deepak@
This is also true for user-role-remove subcmd.
Similarly trying to use tenant uuid for all the three options, I get the error: "'NoneType' object has no attribute 'iteritems'
"
deepak@
+------
| id | name | enabled |
+------
| 36e434a5c60445a
| 6d7ccff941e843e
| c3ceb42f641a422
| fb1fbc76098b4d9
+------
deepak@
'NoneType' object has no attribute 'iteritems'
Changed in keystone: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in keystone: | |
status: | Fix Released → Invalid |
I have tried this at the newest code, this bug is not exist any more.