diff --git a/instack_undercloud/undercloud.py b/instack_undercloud/undercloud.py index fe5fd3980..d3e3ad5c4 100644 --- a/instack_undercloud/undercloud.py +++ b/instack_undercloud/undercloud.py @@ -327,7 +327,7 @@ def _generate_password(length=40): Copied from rdomanager-oscplugin. This should eventually live in tripleo-common. """ - uuid_str = six.text_type(uuid.uuid1()).encode("UTF-8") + uuid_str = six.text_type(uuid.uuid4()).encode("UTF-8") return hashlib.sha1(uuid_str).hexdigest()[:length]