Skip to content

Instantly share code, notes, and snippets.

@mriedem
Created May 27, 2014 19:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mriedem/97dd0b2c8b4f75d6af6f to your computer and use it in GitHub Desktop.
Save mriedem/97dd0b2c8b4f75d6af6f to your computer and use it in GitHub Desktop.
======================================================================
FAIL: nova.tests.compute.test_compute_cells.CellsComputeAPITestCase.test_rescue_unrescue
tags: worker-1
----------------------------------------------------------------------
Empty attachments:
stderr
stdout
pythonlogging:'': {{{
INFO [nova.virt.driver] Loading compute driver 'nova.virt.fake.FakeDriver'
AUDIT [nova.compute.resource_tracker] Auditing locally available compute resources
AUDIT [nova.compute.resource_tracker] Free ram (MB): 7680
AUDIT [nova.compute.resource_tracker] Free disk (GB): 1028
AUDIT [nova.compute.resource_tracker] Free VCPUS: 1
AUDIT [nova.compute.resource_tracker] PCI stats: []
INFO [nova.compute.resource_tracker] Compute_service record created for fake-mini:fakenode1
AUDIT [nova.compute.manager] Deleting orphan compute node 2
AUDIT [nova.compute.manager] Starting instance...
WARNING [nova.compute.resource_tracker] Host field should not be set on the instance until resources have been claimed.
WARNING [nova.compute.resource_tracker] Node field should not be set on the instance until resources have been claimed.
AUDIT [nova.compute.claims] Attempting claim: memory 0 MB, disk 0 GB, VCPUs 0
AUDIT [nova.compute.claims] Total memory: 8192 MB, used: 512.00 MB
AUDIT [nova.compute.claims] memory limit not specified, defaulting to unlimited
AUDIT [nova.compute.claims] Total disk: 1028 GB, used: 0.00 GB
AUDIT [nova.compute.claims] disk limit not specified, defaulting to unlimited
AUDIT [nova.compute.claims] Total CPUs: 1 VCPUs, used: 0.00 VCPUs
AUDIT [nova.compute.claims] CPUs limit not specified, defaulting to unlimited
AUDIT [nova.compute.claims] Claim successful
}}}
Traceback (most recent call last):
File "nova/tests/compute/test_compute.py", line 7421, in test_rescue_unrescue
self.compute_api.rescue(self.context, instance)
File "nova/compute/api.py", line 217, in _wrapped
return fn(self, context, instance, *args, **kwargs)
File "nova/compute/cells_api.py", line 314, in rescue
rescue_image_ref=rescue_image_ref)
File "nova/tests/compute/test_compute_cells.py", line 74, in stub_cast_to_cells
fn(context, instance, *args, **kwargs)
File "nova/compute/api.py", line 200, in wrapped
return func(self, context, target, *args, **kwargs)
File "nova/compute/api.py", line 190, in inner
return function(self, context, instance, *args, **kwargs)
File "nova/compute/api.py", line 162, in inner
method=f.__name__)
InstanceInvalidState: Instance f468b84c-6725-47fb-af9e-69329156f1a4 in task_state rescuing. Cannot rescue while the instance is in this state.
======================================================================
FAIL: process-returncode
tags: worker-1
----------------------------------------------------------------------
Binary content:
traceback (test/plain; charset="utf8")
Ran 123 (+118) tests in 16.673s (+13.200s)
FAILED (id=47, failures=2 (+2), skips=2)
error: testr failed (1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment