Deprecate config options with 'tenant' in the name and replace with 'project' (LDAP)
Bug #1283841 reported by
Morgan Fainberg
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Wishlist
|
Dolph Mathews |
Bug Description
Configuration options with 'tenant' in the name should be deprecated in favor of configuration options with 'project' in the name. This mostly applies to the options in LDAP section of the config (keystone.
Changed in keystone: | |
status: | New → Triaged |
importance: | Undecided → Wishlist |
Changed in keystone: | |
assignee: | nobody → shihanzhang (shihanzhang) |
Changed in keystone: | |
milestone: | none → juno-1 |
status: | In Progress → Triaged |
Changed in keystone: | |
assignee: | shihanzhang (shihanzhang) → nobody |
Changed in keystone: | |
milestone: | juno-1 → juno-2 |
Changed in keystone: | |
assignee: | nobody → Dolph Mathews (dolph) |
Changed in keystone: | |
status: | Fix Committed → Fix Released |
Changed in keystone: | |
milestone: | juno-2 → 2014.2 |
To post a comment you must log in.
Any option that is deprecated needs to still "work" for 2 releases. I believe the correct nomenclature is to specify a list of oslo.config deprecated option objects to the 'deprecated_ops' kwarg on the option definition.
Eg.
cfg.StrOpt( 'project_ name_attribute' , default='ou',
help= 'LDAP attribute mapped to project name',
deprecated _opts=[ cfg.DeprecatedO pt('tenant_ name_attribute' , group='ldap'),])