Remove redundant password when create create_trustee
Closes-Bug: #1550195 Change-Id: I604b03bf432995b5a310aedf8cfac24196572728
This commit is contained in:
parent
9d2b0bcb3f
commit
526260278a
|
@ -18,7 +18,6 @@ from oslo_config import cfg
|
|||
from oslo_log import log as logging
|
||||
|
||||
from magnum.common import exception
|
||||
from magnum.common import utils
|
||||
from magnum.i18n import _
|
||||
from magnum.i18n import _LE
|
||||
|
||||
|
@ -178,7 +177,6 @@ class KeystoneClientV3(object):
|
|||
raise exception.TrustDeleteFailed(trust_id=trust_id)
|
||||
|
||||
def create_trustee(self, username, password, domain_id):
|
||||
password = utils.generate_password(length=18)
|
||||
try:
|
||||
user = self.domain_admin_client.users.create(
|
||||
name=username,
|
||||
|
|
Loading…
Reference in New Issue