Correct osd bootstrap key name
This commit is contained in:
parent
e88bd03583
commit
a222c112cb
|
@ -199,11 +199,11 @@ def parse_key(raw_key):
|
|||
def get_osd_bootstrap_key():
|
||||
try:
|
||||
# Attempt to get/create a key using the OSD bootstrap profile first
|
||||
key = get_named_key('client.bootstrap-osd',
|
||||
key = get_named_key('bootstrap-osd',
|
||||
_osd_bootstrap_caps_profile)
|
||||
except:
|
||||
# If that fails try with the older style permissions
|
||||
key = get_named_key('client.bootstrap-osd',
|
||||
key = get_named_key('bootstrap-osd',
|
||||
_osd_bootstrap_caps)
|
||||
return key
|
||||
|
||||
|
|
Loading…
Reference in New Issue