root@dev:/home/tempest/tempest/api/identity/admin/v2# nosetests test_tenants.py
2015-12-16 09:44:06.678 17981 INFO tempest [-] Using tempest config file /etc/tempest/tempest.conf
2015-12-16 09:44:06.736 17981 INFO tempest.test [-] <class 'tempest_lib.exceptions.InvalidCredentials'> raised in TenantsTestJSON.setUpClass. Invoking tearDownClass.
E
======================================================================
ERROR: test suite for <class 'tempest.api.identity.admin.v2.test_tenants.TenantsTestJSON'>
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/nose/suite.py", line 209, in run
self.setUp()
raise exceptions.InvalidCredentials(message)
InvalidCredentials: Invalid Credentials
Details: Credentials are: {'username': None, 'tenant_name': None, 'user_id': None, 'tenant_id': None} Password is not defined.
----------------------------------------------------------------------
Ran 0 tests in 0.002s
求大神简答下,去哪里定义user password这些身份认证?
|