Activity log for bug #1482330

Date Who What changed Old value New value Message
2015-08-06 18:25:53 Henry Nash bug added bug
2015-08-06 18:26:03 Henry Nash summary Creating a user/group without a domain should raise an exception Creating a user/group/project without a domain should raise an exception
2015-08-06 18:26:17 Henry Nash keystone: assignee Henry Nash (henry-nash)
2015-08-06 18:30:26 OpenStack Infra keystone: status New In Progress
2015-08-07 15:25:54 Dolph Mathews keystone: importance Undecided Medium
2015-08-07 15:25:57 Dolph Mathews tags user-experience
2015-08-11 09:00:47 Henry Nash description According to the API spec, you must supply a domain for a user, group or project on create. You can do this either by specifying it explicitly in the object or by using a domain scoped token. Although the spec doesn't say this explicitly, one would expect an exception to be raised if you don't do either the these (e.g. try using a project scoped token). However, due to a long fixed bug (1283539) in a heat tempest, we actually fall back and try and use the default domain (which may still fail of course if you don't have a role on the default domain). This fall back is neither in the spec nor is it sensible in the long run. We should raise a ValidationError in the situation when no domain is specified. The only one concern I have is whether someone might have discovered this fall back in the field....and so there is an argument as to whether we should add deprecation warning if we detect this situation for a cycle? According to the API spec, you must supply a domain for a user, group or project on create. You can do this either by specifying it explicitly in the object or by using a domain scoped token. Although the spec doesn't say this explicitly, one would expect an exception to be raised if you don't do either the these (e.g. try using a project scoped token). However, due to a long fixed bug (1283539) in a heat tempest, we actually fall back and try and use the default domain (which may still fail of course if you don't have a role on the default domain). This fall back is neither in the spec nor is it sensible in the long run. We should raise a ValidationError in the situation when no domain is specified. The only one concern I have is whether someone might have discovered this fall back in the field....and so there is an argument as to whether we should add deprecation warning if we detect this situation for a cycle? Whatever we decide, we should make the identity spec clearer as to what happens in this situation.
2015-09-15 12:23:57 Henry Nash summary Creating a user/group/project without a domain should raise an exception Creating a user/group/project without a domain should be deprecated (or even raise an exception)
2015-09-16 21:11:57 OpenStack Infra keystone: assignee Henry Nash (henry-nash) Brant Knudson (blk-u)
2015-09-16 21:26:04 Brant Knudson keystone: assignee Brant Knudson (blk-u) Henry Nash (henry-nash)
2015-09-18 02:21:26 OpenStack Infra keystone: status In Progress Fix Committed
2015-09-22 19:55:42 Thierry Carrez keystone: status Fix Committed Fix Released
2015-09-22 19:55:42 Thierry Carrez keystone: milestone liberty-rc1
2015-10-15 09:59:17 Thierry Carrez keystone: milestone liberty-rc1 8.0.0