Increase randomness of generated CephFSID
Switch from uuid1() to uuid4() so that the resulting UUID is more random because getnode() is not used. Change-Id: I611efb6ef5b6e899e3223ecb698e331ed6326c3b Closes-Bug: #1856762
This commit is contained in:
parent
9e8f79ccf3
commit
90584a801a
|
@ -55,7 +55,7 @@ def generate_passwords(mistralclient=None, stack_env=None,
|
|||
elif name.startswith("Ceph"):
|
||||
if name == "CephClusterFSID":
|
||||
# The FSID must be a UUID
|
||||
passwords[name] = six.text_type(uuid.uuid1())
|
||||
passwords[name] = six.text_type(uuid.uuid4())
|
||||
else:
|
||||
# CephX keys aren't random strings
|
||||
passwords[name] = create_cephx_key()
|
||||
|
|
Loading…
Reference in New Issue