yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #04911
[Bug 1192709] Re: possible to create duplicate role names
This is not reproducible against mysql AFAICT, which leads me to believe
this is somehow the fault of sqlite (or the specific version I'm
using).. not in how we're using it (because we're working with mysql in
the same manner).
$ sqlite3 --version
3.7.12 2012-04-03 19:43:07 86b8481be7e76cccc92d14ce762d21bfb69504af
$ pip freeze | grep pysqlite
pysqlite==2.6.3
** Changed in: keystone
Status: Triaged => Won't Fix
** Changed in: keystone
Assignee: Wu Wenxiang (wu-wenxiang) => (unassigned)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1192709
Title:
possible to create duplicate role names
Status in OpenStack Identity (Keystone):
Won't Fix
Bug description:
This is a regression of bug 932258 when running against the SQL
identity driver. It's possible to create duplicates on both the v2 and
v3 API's.
The 'admin' roles below were created on v3. To reproduce on v2 with
keystoneclient:
$ keystone role-create --name=foobar
+----------+----------------------------------+
| Property | Value |
+----------+----------------------------------+
| id | 00dbc724544340eebe7de2bc1e7c2631 |
| name | foobar |
+----------+----------------------------------+
$ keystone role-create --name=foobar
+----------+----------------------------------+
| Property | Value |
+----------+----------------------------------+
| id | 3ad5f5b683d44f339d7abf83d9155dc3 |
| name | foobar |
+----------+----------------------------------+
$ keystone role-list
+----------------------------------+----------+
| id | name |
+----------------------------------+----------+
| 9fe2ff9ee4384b1894a90878d3e92bab | _member_ |
| 1b6b80429d3a44c484db1c5b6dc44340 | admin |
| 369526c964be4eddbadb3afd56440abd | admin |
| 548a8e905d52492cae328932927c4ae0 | admin |
| 00dbc724544340eebe7de2bc1e7c2631 | foobar |
| 3ad5f5b683d44f339d7abf83d9155dc3 | foobar |
+----------------------------------+----------+
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1192709/+subscriptions