← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1615076] [NEW] Keystone server does not define "enabled" attribute for Region but mentions in v3 regions.py

 

You have been subscribed to a public bug:

The bug was discovered while writing the region functional tests [1].
The create() and update() calls [2] in regions.py mention the "enabled"
attribute, but the specs [3] don't mention it and the code [4] doesn't
support it. We don't check for "enabled" in the region schema either
[5].

So, it's being stored as an extra attribute and it even works if one
passes {'enabled': 'WHATEVER'}

[1] https://review.openstack.org/#/c/339158/
[2] https://github.com/openstack/python-keystoneclient/blob/master/keystoneclient/v3/regions.py
[3] http://specs.openstack.org/openstack/keystone-specs/api/v3/identity-api-v3.html#regions-v3-regions
[4] https://github.com/openstack/keystone/blob/master/keystone/catalog/backends/sql.py#L33-L49
[5] https://github.com/openstack/keystone/blob/master/keystone/catalog/schema.py#L17-L43

** Affects: keystone
     Importance: Undecided
         Status: New

-- 
Keystone server does  not define "enabled" attribute for Region but mentions in v3 regions.py
https://bugs.launchpad.net/bugs/1615076
You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Identity (keystone).