Activity log for bug #1296955

Date Who What changed Old value New value Message
2014-03-24 21:18:30 David Kranz bug added bug
2014-06-10 12:04:38 Amit Prakash Pandey tempest: assignee Amit Prakash Pandey (amitpp23)
2014-06-10 12:05:06 Amit Prakash Pandey description In havana it was possible to do this though some tests that require admin are not skipped. On master you can't even do 'testr list-tests' without correct admin creds. This is because the OfficialClientManager tries to create network and object clients with admin credentials. I'm not sure of the best way to fix this. Here is the backtrace, generated from nose because testr gives you no information on import failures: nosetests -v tempest/scenario/test_server_basic_ops.py Failure: Unauthorized (Could not find project, admi. (HTTP 401)) ... ERROR ====================================================================== ERROR: Failure: Unauthorized (Could not find project, admi. (HTTP 401)) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 390, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 39, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 86, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/opt/stack/tempest/tempest/scenario/test_server_basic_ops.py", line 32, in <module> class TestServerBasicOps(manager.OfficialClientTest): File "/opt/stack/tempest/tempest/scenario/test_server_basic_ops.py", line 46, in TestServerBasicOps scenario_utils = test_utils.InputScenarioUtils() File "/opt/stack/tempest/tempest/common/utils/misc.py", line 23, in getinstance instances[cls] = cls() File "/opt/stack/tempest/tempest/common/utils/test_utils.py", line 100, in __init__ CONF.identity.tenant_name) File "/opt/stack/tempest/tempest/clients.py", line 482, in __init__ tenant_name) File "/opt/stack/tempest/tempest/clients.py", line 542, in _get_object_storage_client CONF.identity.admin_tenant_name) File "/opt/stack/tempest/tempest/clients.py", line 607, in _get_identity_client insecure=dscv) File "/opt/stack/python-keystoneclient/keystoneclient/v2_0/client.py", line 144, in __init__ self.authenticate() File "/opt/stack/python-keystoneclient/keystoneclient/httpclient.py", line 383, in authenticate In havana it was possible to do this though some tests that require admin are not skipped. On master you can't even do 'testr list-tests' without correct admin creds. This is because the OfficialClientManager tries to create network and object clients with admin credentials. I'm not sure of the best way to fix this. Here is the backtrace, generated from nose because testr gives you no information on import failures: nosetests -v tempest/scenario/test_server_basic_ops.py Failure: Unauthorized (Could not find project, admi. (HTTP 401)) ... ERROR ====================================================================== ERROR: Failure: Unauthorized (Could not find project, admi. (HTTP 401)) ---------------------------------------------------------------------- Traceback (most recent call last):   File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 390, in loadTestsFromName     addr.filename, addr.module)   File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 39, in importFromPath     return self.importFromDir(dir_path, fqname)   File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 86, in importFromDir     mod = load_module(part_fqname, fh, filename, desc)   File "/opt/stack/tempest/tempest/scenario/test_server_basic_ops.py", line 32, in <module>     class TestServerBasicOps(manager.OfficialClientTest):   File "/opt/stack/tempest/tempest/scenario/test_server_basic_ops.py", line 46, in TestServerBasicOps     scenario_utils = test_utils.InputScenarioUtils()   File "/opt/stack/tempest/tempest/common/utils/misc.py", line 23, in getinstance     instances[cls] = cls()   File "/opt/stack/tempest/tempest/common/utils/test_utils.py", line 100, in __init__     CONF.identity.tenant_name)   File "/opt/stack/tempest/tempest/clients.py", line 482, in __init__     tenant_name)   File "/opt/stack/tempest/tempest/clients.py", line 542, in _get_object_storage_client     CONF.identity.admin_tenant_name)   File "/opt/stack/tempest/tempest/clients.py", line 607, in _get_identity_client     insecure=dscv)   File "/opt/stack/python-keystoneclient/keystoneclient/v2_0/client.py", line 144, in __init__     self.authenticate()   File "/opt/stack/python-keystoneclient/keystoneclient/httpclient.py", line 383, in authenticate
2014-06-11 05:00:45 Amit Prakash Pandey tempest: assignee Amit Prakash Pandey (amitpp23)
2014-06-11 05:00:56 Amit Prakash Pandey tempest: status New In Progress
2014-09-30 13:38:08 Mauro S M Rodrigues tempest: status In Progress Triaged
2014-09-30 13:38:11 Mauro S M Rodrigues tempest: importance Undecided Medium
2014-09-30 13:40:24 Mauro S M Rodrigues tags bp-run-without-admin
2015-02-17 20:12:47 Matthew Treinish tempest: status Triaged Incomplete
2015-02-20 18:22:58 David Kranz tempest: assignee David Kranz (david-kranz)
2015-02-20 20:18:13 OpenStack Infra tempest: status Incomplete In Progress
2015-02-20 20:18:13 OpenStack Infra tempest: assignee David Kranz (david-kranz) Matthew Treinish (treinish)
2016-07-21 22:03:04 Castulo J. Martinez tempest: status In Progress Incomplete
2016-12-22 19:39:16 Daniel Mellado tempest: status Incomplete Invalid