Keystone password could be a number

Change-Id: I5af3b88754b3aaad90be015ca641764af9c33882
This commit is contained in:
Eduardo Olivares 2023-10-18 08:40:58 +02:00
parent 17c0262329
commit cc3c91acd7

View File

@ -179,6 +179,8 @@ def parse_credentials(file_spec: str,
raise _credentials.NoSuchKeystoneCredentials(
reason=f"'password' is {password!r} for cloud name "
f"{cloud_name!r} in {file_spec!r}")
elif not isinstance(password, str):
password = str(password)
cacert = clouds_config.get('cacert')
project_name = (auth.get('project_name') or