diff --git a/rally/osclients.py b/rally/osclients.py index d5e1c55c85..165e4a5578 100644 --- a/rally/osclients.py +++ b/rally/osclients.py @@ -274,6 +274,7 @@ class Clients(object): 'os_username': self.endpoint.username, 'os_password': self.endpoint.password, 'os_project_name': self.endpoint.tenant_name, + 'os_project_id': kc.auth_tenant_id, 'os_auth_url': self.endpoint.auth_url, 'insecure': CONF.https_insecure, }}} diff --git a/tests/unit/test_osclients.py b/tests/unit/test_osclients.py index 4ed62abe1f..133b92c159 100644 --- a/tests/unit/test_osclients.py +++ b/tests/unit/test_osclients.py @@ -239,6 +239,7 @@ class OSClientsTestCase(test.TestCase): 'os_username': self.endpoint.username, 'os_password': self.endpoint.password, 'os_project_name': self.endpoint.tenant_name, + 'os_project_id': self.fake_keystone.auth_tenant_id, 'os_auth_url': self.endpoint.auth_url, 'insecure': cfg.CONF.https_insecure, }}}