[block-storage] make fixed_key an attribute

Bug #1467797 reported by Xiaopei Liu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack + Chef
Fix Released
Low
Xiaopei Liu

Bug Description

For now, fixed_key can not configure by cookbook.
It should be a random string specified in hex.

https://github.com/openstack/cinder/blob/master/cinder/keymgr/conf_key_mgr.py#L45-L48

key_mgr_opts = [
cfg.StrOpt('fixed_key',
help='Fixed key returned by key manager, specified in hex'),
]

Xiaopei Liu (liuxpei)
description: updated
Xiaopei Liu (liuxpei)
Changed in openstack-chef:
assignee: nobody → xiao pei liu (liuxpei)
status: New → In Progress
tags: added: block-storage
Changed in openstack-chef:
importance: Undecided → Low
Revision history for this message
Ma Wen Cheng (mars914) wrote :

you can also configure api_class together with fixed_key options,so it looks better,
https://github.com/openstack/cinder/blob/master/cinder/keymgr/__init__.py#L19-23

[keymgr]
# (StrOpt) The full class name of the key manager API class
api_class = cinder.keymgr.conf_key_mgr.ConfKeyManager

# (StrOpt) Fixed key returned by key manager, specified in hex
fixed_key = None

Changed in openstack-chef:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.