Fix Zaqar's cleanup
The queues listing in the cleanup was failing because the Project-ID header was missing. This change adds the required header. Change-Id: Ic12fe76206ea1fd6b7d59d48c69389abff564d7b
This commit is contained in:
parent
8003bf8c0f
commit
3505b112a6
@ -274,6 +274,7 @@ class Clients(object):
|
|||||||
'os_username': self.endpoint.username,
|
'os_username': self.endpoint.username,
|
||||||
'os_password': self.endpoint.password,
|
'os_password': self.endpoint.password,
|
||||||
'os_project_name': self.endpoint.tenant_name,
|
'os_project_name': self.endpoint.tenant_name,
|
||||||
|
'os_project_id': kc.auth_tenant_id,
|
||||||
'os_auth_url': self.endpoint.auth_url,
|
'os_auth_url': self.endpoint.auth_url,
|
||||||
'insecure': CONF.https_insecure,
|
'insecure': CONF.https_insecure,
|
||||||
}}}
|
}}}
|
||||||
|
@ -239,6 +239,7 @@ class OSClientsTestCase(test.TestCase):
|
|||||||
'os_username': self.endpoint.username,
|
'os_username': self.endpoint.username,
|
||||||
'os_password': self.endpoint.password,
|
'os_password': self.endpoint.password,
|
||||||
'os_project_name': self.endpoint.tenant_name,
|
'os_project_name': self.endpoint.tenant_name,
|
||||||
|
'os_project_id': self.fake_keystone.auth_tenant_id,
|
||||||
'os_auth_url': self.endpoint.auth_url,
|
'os_auth_url': self.endpoint.auth_url,
|
||||||
'insecure': cfg.CONF.https_insecure,
|
'insecure': cfg.CONF.https_insecure,
|
||||||
}}}
|
}}}
|
||||||
|
Loading…
Reference in New Issue
Block a user