Fix typo and small issue for keystone v3 support
Change-Id: Id393f57060446f5a6b89b08a54ececda083ec988
This commit is contained in:
parent
db87a20c25
commit
2f29f6ff39
@ -91,7 +91,7 @@ class Credentials(object):
|
||||
self.rc_project_name = value
|
||||
elif name == "PROJECT_DOMAIN_ID" or name == "PROJECT_DOMAIN_NAME":
|
||||
self.rc_project_domain_id = value
|
||||
elif name == "USER_DOMAIN_ID" or name == "USER_DOMAIN_ID":
|
||||
elif name == "USER_DOMAIN_ID" or name == "USER_DOMAIN_NAME":
|
||||
self.rc_user_domain_id = value
|
||||
else:
|
||||
LOG.error('Error: rc file does not exist %s', openrc_file)
|
||||
|
@ -219,8 +219,6 @@ class VmtpTest(object):
|
||||
if self.config.vm_image_url != "":
|
||||
LOG.info('%s: image for VM not found, trying to upload it ...',
|
||||
self.config.image_name)
|
||||
keystoneclient.Client(self.cred.rc_identity_api_version,
|
||||
session=sess, auth_url=creds['auth_url'])
|
||||
self.glance_client = glanceclient.Client('1', session=sess)
|
||||
self.comp.upload_image_via_url(
|
||||
self.glance_client,
|
||||
|
Loading…
x
Reference in New Issue
Block a user