Comment 6 for bug 1252618

Revision history for this message
Steven Hardy (shardy) wrote : Re: BuildErrorException :Server failed to build in setUpClass | test_server_rescue | test_volumes_actions | test_server_addresses

This appears to be the same issue?

https://review.openstack.org/#/c/67531/

2014-01-28 11:25:00.807 | FAIL: setUpClass (tempest.api.compute.admin.test_simple_tenant_usage.TenantUsagesTestXML)
2014-01-28 11:25:00.807 | setUpClass (tempest.api.compute.admin.test_simple_tenant_usage.TenantUsagesTestXML)
2014-01-28 11:25:00.807 | ----------------------------------------------------------------------
2014-01-28 11:25:00.808 | _StringException: Traceback (most recent call last):
2014-01-28 11:25:00.808 | File "tempest/api/compute/admin/test_simple_tenant_usage.py", line 39, in setUpClass
2014-01-28 11:25:00.808 | resp, server = cls.create_test_server(wait_until='ACTIVE')
2014-01-28 11:25:00.808 | File "tempest/api/compute/base.py", line 141, in create_test_server
2014-01-28 11:25:00.808 | raise ex
2014-01-28 11:25:00.808 | BuildErrorException: Server 4d364ae0-5d60-4750-8646-1fb2e130b5bb failed to build and is in ERROR status

Error in the nova compute logs:
http://logs.openstack.org/31/67531/3/check/check-tempest-dsvm-postgres-full/08ffad6/logs/screen-n-cpu.txt.gz?level=ERROR

2014-01-28 10:32:42.123 26912 ERROR nova.virt.driver [-] Exception dispatching event <nova.virt.event.LifecycleEvent object at 0x3b97bd0>: Info cache for instance 2718bef7-e5cb-4898-a5a2-b0de4914e5c3 could not be found.
Traceback (most recent call last):

  File "/opt/stack/new/nova/nova/conductor/manager.py", line 576, in _object_dispatch
    return getattr(target, method)(context, *args, **kwargs)

  File "/opt/stack/new/nova/nova/objects/base.py", line 152, in wrapper
    return fn(self, ctxt, *args, **kwargs)

  File "/opt/stack/new/nova/nova/objects/instance.py", line 486, in refresh
    self.info_cache.refresh()

  File "/opt/stack/new/nova/nova/objects/base.py", line 152, in wrapper
    return fn(self, ctxt, *args, **kwargs)

  File "/opt/stack/new/nova/nova/objects/instance_info_cache.py", line 103, in refresh
    self.instance_uuid)

  File "/opt/stack/new/nova/nova/objects/base.py", line 112, in wrapper
    result = fn(cls, context, *args, **kwargs)

  File "/opt/stack/new/nova/nova/objects/instance_info_cache.py", line 70, in get_by_instance_uuid
    instance_uuid=instance_uuid)