======================================================================
ERROR: test_001_create_keypair (tempest.tests.compute.test_server_basic_ops.TestServerBasicOps)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/jpipes/repos/tempest/tempest/tests/compute/test_server_basic_ops.py", line 42, in test_001_create_keypair
self.keypair = self.compute_client.keypairs.create(kp_name)
File "/opt/stack/python-novaclient/novaclient/v1_1/keypairs.py", line 58, in create
return self._create('/os-keypairs', body, 'keypair')
File "/opt/stack/python-novaclient/novaclient/base.py", line 148, in _create
_resp, body = self.api.client.post(url, body=body)
File "/opt/stack/python-novaclient/novaclient/client.py", line 210, in post
return self._cs_request(url, 'POST', **kwargs)
File "/opt/stack/python-novaclient/novaclient/client.py", line 183, in _cs_request
self.authenticate()
File "/opt/stack/python-novaclient/novaclient/client.py", line 284, in authenticate
keyring_key = "/".join(keys)
TypeError: sequence item 4: expected string, tuple found
-------------------- >> begin captured logging << --------------------
tempest.common.rest_client: ERROR: Request URL: http://127.0.0.1:8774/v2/37a141c0960548d2ad0040e68fc6a9ca/servers/5a312a01-b6ce-418a-9236-17e2f6f93750
tempest.common.rest_client: ERROR: Request Body: None
tempest.common.rest_client: ERROR: Response Headers: {'date': 'Tue, 02 Oct 2012 17:25:39 GMT', 'status': '404', 'content-length': '78', 'content-type': 'application/json; charset=UTF-8', 'x-compute-request-id': 'req-9c801787-79d0-4a40-8d27-1e23052e8c54'}
tempest.common.rest_client: ERROR: Response Body: {"itemNotFound": {"message": "The resource could not be found.", "code": 404}}
--------------------- >> end captured logging << ---------------------
======================================================================
ERROR: test_002_create_security_group (tempest.tests.compute.test_server_basic_ops.TestServerBasicOps)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/jpipes/repos/tempest/tempest/tests/compute/test_server_basic_ops.py", line 53, in test_002_create_security_group
sg_desc)
File "/opt/stack/python-novaclient/novaclient/v1_1/security_groups.py", line 43, in create
return self._create('/os-security-groups', body, 'security_group')
File "/opt/stack/python-novaclient/novaclient/base.py", line 148, in _create
_resp, body = self.api.client.post(url, body=body)
File "/opt/stack/python-novaclient/novaclient/client.py", line 210, in post
return self._cs_request(url, 'POST', **kwargs)
File "/opt/stack/python-novaclient/novaclient/client.py", line 183, in _cs_request
self.authenticate()
File "/opt/stack/python-novaclient/novaclient/client.py", line 284, in authenticate
keyring_key = "/".join(keys)
TypeError: sequence item 4: expected string, tuple found
======================================================================
ERROR: test_003_boot_instance (tempest.tests.compute.test_server_basic_ops.TestServerBasicOps)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/jpipes/repos/tempest/tempest/tests/compute/test_server_basic_ops.py", line 90, in test_003_boot_instance
'key_name': self.get_resource('keypair').id
File "/home/jpipes/repos/tempest/tempest/test.py", line 57, in get_resource
return self.resource_keys[key]
KeyError: 'keypair'
======================================================================
ERROR: test_004_wait_on_active (tempest.tests.compute.test_server_basic_ops.TestServerBasicOps)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/jpipes/repos/tempest/tempest/tests/compute/test_server_basic_ops.py", line 103, in test_004_wait_on_active
instance_id = self.get_resource('instance').id
File "/home/jpipes/repos/tempest/tempest/test.py", line 57, in get_resource
return self.resource_keys[key]
KeyError: 'instance'
======================================================================
ERROR: test_005_pause_server (tempest.tests.compute.test_server_basic_ops.TestServerBasicOps)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/jpipes/repos/tempest/tempest/tests/compute/test_server_basic_ops.py", line 107, in test_005_pause_server
instance = self.get_resource('instance')
File "/home/jpipes/repos/tempest/tempest/test.py", line 57, in get_resource
return self.resource_keys[key]
KeyError: 'instance'
======================================================================
ERROR: test_006_unpause_server (tempest.tests.compute.test_server_basic_ops.TestServerBasicOps)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/jpipes/repos/tempest/tempest/tests/compute/test_server_basic_ops.py", line 115, in test_006_unpause_server
instance = self.get_resource('instance')
File "/home/jpipes/repos/tempest/tempest/test.py", line 57, in get_resource
return self.resource_keys[key]
KeyError: 'instance'
======================================================================
ERROR: test_007_suspend_server (tempest.tests.compute.test_server_basic_ops.TestServerBasicOps)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/jpipes/repos/tempest/tempest/tests/compute/test_server_basic_ops.py", line 123, in test_007_suspend_server
instance = self.get_resource('instance')
File "/home/jpipes/repos/tempest/tempest/test.py", line 57, in get_resource
return self.resource_keys[key]
KeyError: 'instance'
======================================================================
ERROR: test_008_resume_server (tempest.tests.compute.test_server_basic_ops.TestServerBasicOps)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/jpipes/repos/tempest/tempest/tests/compute/test_server_basic_ops.py", line 132, in test_008_resume_server
instance = self.get_resource('instance')
File "/home/jpipes/repos/tempest/tempest/test.py", line 57, in get_resource
return self.resource_keys[key]
KeyError: 'instance'
======================================================================
ERROR: test_099_terminate_instance (tempest.tests.compute.test_server_basic_ops.TestServerBasicOps)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/jpipes/repos/tempest/tempest/tests/compute/test_server_basic_ops.py", line 140, in test_099_terminate_instance
instance = self.get_resource('instance')
File "/home/jpipes/repos/tempest/tempest/test.py", line 57, in get_resource
return self.resource_keys[key]
KeyError: 'instance'
After investigating, this is all due to a single erroneous trailing comma on line 130 in tempest/manager.py:
service_type = self.config.compute.catalog_type,
Removing the trailing slash fixes the problem.
Fix proposed to branch: master /review. openstack. org/14066
Review: https:/