Nova loses ability to build instances
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Vish Ishaya |
Bug Description
This was running Tempest against the latest essex devstack on libvirt/
Tempest transcript:
$ TEMPEST_
All public and private addresses for ... ok
Providing a network type should filter ... ok
List addresses by network should fail if network name not valid ... ok
List addresses request should fail if server id not in system ... ok
List of all extensions ... ok
The expected flavor details should be returned ... ok
flavor details are not returned for non existant flavors ... ok
List of all flavors should contain the expected flavor ... ok
The detailed list of flavors should be filtered by disk space ... ok
The detailed list of flavors should be filtered by RAM ... ok
Only the expected number of flavors (detailed) should be returned ... ok
The list of flavors should start from the provided marker ... /usr/lib/
DeprecationWa
ok
The list of flavors should be filtered by disk space ... ok
The list of flavors should be filtered by RAM ... ok
Only the expected number of flavors should be returned ... ok
The list of flavors should start from the provided marker ... ok
Detailed list of all flavors should contain the expected flavor ... ok
Positive test:Allocation of a new floating IP to a project ... ok
Positive test:Associate the provided floating IP to a specific server ... ok
Negative test:Association of a non existant floating IP ... ok
Positive test:Deletion of valid floating IP from project ... ok
Negative test:Deletion of a nonexistant floating IP ... ok
Positive test:Dissociate the provided floating IP ... ok
Negative test:Dissociation of a non existant floating IP should fail ... ok
The metadata value/key pair should be deleted from the image ... ok
Negative test: Shouldnt be able to delete metadata ... ok
The value for a specific metadata key should be returned ... ok
Negative test: Get on nonexistant image should not happen ... ok
All metadata key/value pairs for an image should be returned ... ok
Negative test: List on nonexistant image ... ok
The metadata for the image should match the new values ... ok
The value provided for the given meta item should be set for the image ... ok
Negative test: Metadata should not be set to a nonexistant image ... ok
Negative test: Metadata item should not be set to a ... ok
The metadata for the image should match the updated values ... ok
Negative test:An update should not happen for a nonexistant image ... ok
An image for the provided server should be created ... ok
An image should not be created if the server instance is removed ... ok
Keypairs with duplicate names should not be created ... ok
Keypairs with name being an empty string should not be created ... ok
Keypairs with name longer than 255 chars should not be created ... ok
Keypair should be created, verified and deleted ... ok
Keypair should not be created with a non RSA public key ... ok
Keypair should be created with a given public key ... ok
Non-existant key deletion should throw a proper error ... ok
Keypairs created should be available in the response list ... ok
Positive test:Should be able to GET the details of floatingIP ... ok
Negative test:Should not be able to GET the details ... SKIP: Skipping until Nova Bug 940500 is fixed
Positive test:Should return the list of floating IPs ... ok
ERROR
=======
ERROR: test suite for <class 'tempest.
-------
Traceback (most recent call last):
File "/usr/lib/
self.setUp()
File "/usr/lib/
self.
File "/usr/lib/
try_
File "/usr/lib/
return func()
File "/cygdrive/
cls.
File "/cygdrive/
raise exceptions.
BuildErrorExcep
-------
Ran 49 tests in 319.152s
From nova-compute log:
(nova.rpc.common): TRACE: channel, method_sig, args, content = read_timeout(
(nova.rpc.common): TRACE: File "/usr/lib/
(nova.rpc.common): TRACE: return self.method_
(nova.rpc.common): TRACE: File "/usr/lib/
(nova.rpc.common): TRACE: raise m
(nova.rpc.common): TRACE: timeout: timed out
(nova.rpc.common): TRACE:
2012-03-15 14:57:24 ERROR nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
2012-03-15 14:57:24 ERROR nova.rpc.amqp [-] Exception during message handling
(nova.rpc.amqp): TRACE: Traceback (most recent call last):
(nova.rpc.amqp): TRACE: File "/opt/stack/
(nova.rpc.amqp): TRACE: rval = node_func(
(nova.rpc.amqp): TRACE: File "/opt/stack/
(nova.rpc.amqp): TRACE: return f(*args, **kw)
(nova.rpc.amqp): TRACE: File "/opt/stack/
(nova.rpc.amqp): TRACE: sys.exc_info())
(nova.rpc.amqp): TRACE: File "/usr/lib/
(nova.rpc.amqp): TRACE: self.gen.next()
(nova.rpc.amqp): TRACE: File "/opt/stack/
(nova.rpc.amqp): TRACE: return function(self, context, instance_uuid, *args, **kwargs)
(nova.rpc.amqp): TRACE: File "/opt/stack/
(nova.rpc.amqp): TRACE: self._run_
(nova.rpc.amqp): TRACE: File "/opt/stack/
(nova.rpc.amqp): TRACE: self._set_
(nova.rpc.amqp): TRACE: File "/usr/lib/
(nova.rpc.amqp): TRACE: self.gen.next()
(nova.rpc.amqp): TRACE: File "/opt/stack/
(nova.rpc.amqp): TRACE: requested_networks)
(nova.rpc.amqp): TRACE: File "/opt/stack/
(nova.rpc.amqp): TRACE: requested_
(nova.rpc.amqp): TRACE: File "/opt/stack/
(nova.rpc.amqp): TRACE: 'args': args})
(nova.rpc.amqp): TRACE: File "/opt/stack/
(nova.rpc.amqp): TRACE: return _get_impl(
(nova.rpc.amqp): TRACE: File "/opt/stack/
(nova.rpc.amqp): TRACE: return rpc_amqp.
(nova.rpc.amqp): TRACE: File "/opt/stack/
(nova.rpc.amqp): TRACE: rv = list(rv)
(nova.rpc.amqp): TRACE: File "/opt/stack/
(nova.rpc.amqp): TRACE: self._iterator.
(nova.rpc.amqp): TRACE: File "/opt/stack/
(nova.rpc.amqp): TRACE: yield self.ensure(
(nova.rpc.amqp): TRACE: File "/opt/stack/
(nova.rpc.amqp): TRACE: error_callback(e)
(nova.rpc.amqp): TRACE: File "/opt/stack/
(nova.rpc.amqp): TRACE: raise rpc_common.
(nova.rpc.amqp): TRACE: Timeout: Timeout while waiting on RPC response.
(nova.rpc.amqp): TRACE:
2012-03-15 14:57:51 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-03-15 14:57:51 DEBUG nova.manager [-] Notifying Schedulers of capabilities ... from (pid=3883) _publish_
2012-03-15 14:57:51 DEBUG nova.rpc.amqp [-] Making asynchronous fanout cast... from (pid=3883) fanout_cast /opt/stack/
2012-03-15 14:57:51 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-03-15 14:57:51 DEBUG nova.manager [-] Skipping ComputeManager.
2012-03-15 14:57:51 DEBUG nova.manager [-] Running periodic task ComputeManager.
From nova-network log:
nova.rpc.amqp): TRACE: File "/opt/stack/
(nova.rpc.amqp): TRACE: rval = node_func(
(nova.rpc.amqp): TRACE: File "/opt/stack/
(nova.rpc.amqp): TRACE: return func(self, context, *args, **kwargs)
(nova.rpc.amqp): TRACE: File "/opt/stack/
(nova.rpc.amqp): TRACE: **kwargs)
(nova.rpc.amqp): TRACE: File "/opt/stack/
(nova.rpc.amqp): TRACE: return func(self, context, *args, **kwargs)
(nova.rpc.amqp): TRACE: File "/opt/stack/
(nova.rpc.amqp): TRACE: requested_
(nova.rpc.amqp): TRACE: File "/opt/stack/
(nova.rpc.amqp): TRACE: vpn=vpn, address=address)
(nova.rpc.amqp): TRACE: File "/opt/stack/
(nova.rpc.amqp): TRACE: self._setup_
(nova.rpc.amqp): TRACE: File "/opt/stack/
(nova.rpc.amqp): TRACE: self.l3driver.
(nova.rpc.amqp): TRACE: File "/opt/stack/
(nova.rpc.amqp): TRACE: gateway=
(nova.rpc.amqp): TRACE: File "/opt/stack/
(nova.rpc.amqp): TRACE: return _get_interface_
(nova.rpc.amqp): TRACE: File "/opt/stack/
(nova.rpc.amqp): TRACE: iptables_
(nova.rpc.amqp): TRACE: File "/opt/stack/
(nova.rpc.amqp): TRACE: retval = f(*args, **kwargs)
(nova.rpc.amqp): TRACE: File "/usr/lib/
(nova.rpc.amqp): TRACE: self.release()
(nova.rpc.amqp): TRACE: File "/usr/lib/
(nova.rpc.amqp): TRACE: raise NotMyLock
(nova.rpc.amqp): TRACE: NotMyLock
(nova.rpc.amqp): TRACE:
2012-03-15 14:56:25 ERROR nova.rpc.amqp [-] Returning exception to caller
2012-03-15 14:56:25 ERROR nova.rpc.amqp [-] ['Traceback (most recent call last):\n', ' File "/opt/stack/
2012-03-15 14:56:25 DEBUG nova.utils [-] Got semaphore "iptables" for method "apply"... from (pid=4342) inner /opt/stack/
Changed in nova: | |
importance: | Undecided → High |
status: | New → Triaged |
milestone: | none → essex-rc1 |
Changed in nova: | |
assignee: | nobody → Anthony Young (sleepsonthefloor) |
Changed in nova: | |
assignee: | Anthony Young (sleepsonthefloor) → nobody |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | essex-rc1 → 2012.1 |
After restarting nova-compute, I'm having the same error:
(nova.rpc.amqp): TRACE: Traceback (most recent call last): python2. 7/dist- packages/ nova/rpc/ amqp.py" , line 252, in _process_data context= ctxt, **node_args) python2. 7/dist- packages/ nova/exception. py", line 114, in wrapped python2. 7/dist- packages/ nova/compute/ manager. py", line 177, in decorated_function python2. 7/contextlib. py", line 24, in __exit__ python2. 7/dist- packages/ nova/compute/ manager. py", line 171, in decorated_function python2. 7/dist- packages/ nova/compute/ manager. py", line 648, in run_instance instance( context, instance_uuid, **kwargs) python2. 7/dist- packages/ nova/compute/ manager. py", line 451, in _run_instance instance_ error_state( context, instance_uuid) python2. 7/contextlib. py", line 24, in __exit__ python2. 7/dist- packages/ nova/compute/ manager. py", line 424, in _run_instance python2. 7/dist- packages/ nova/compute/ manager. py", line 559, in _allocate_network networks= requested_ networks) python2. 7/dist- packages/ nova/network/ api.py" , line 170, in allocate_ for_instance python2. 7/dist- packages/ nova/rpc/ __init_ _.py", line 68, in call ).call( context, topic, msg, timeout) python2. 7/dist- packages/ nova/rpc/ impl_kombu. py", line 674, in call call(context, topic, msg, timeout, Connection.pool) python2. 7/dist- packages/ nova/rpc/ amqp.py" , line 338, in call python2. 7/dist- packages/ nova/rpc/ amqp.py" , line 306, in __iter__
(nova.rpc.amqp): TRACE: File "/usr/lib/
(nova.rpc.amqp): TRACE: rval = node_func(
(nova.rpc.amqp): TRACE: File "/usr/lib/
(nova.rpc.amqp): TRACE: return f(*args, **kw)
(nova.rpc.amqp): TRACE: File "/usr/lib/
(nova.rpc.amqp): TRACE: sys.exc_info())
(nova.rpc.amqp): TRACE: File "/usr/lib/
(nova.rpc.amqp): TRACE: self.gen.next()
(nova.rpc.amqp): TRACE: File "/usr/lib/
(nova.rpc.amqp): TRACE: return function(self, context, instance_uuid, *args, **kwargs)
(nova.rpc.amqp): TRACE: File "/usr/lib/
(nova.rpc.amqp): TRACE: self._run_
(nova.rpc.amqp): TRACE: File "/usr/lib/
(nova.rpc.amqp): TRACE: self._set_
(nova.rpc.amqp): TRACE: File "/usr/lib/
(nova.rpc.amqp): TRACE: self.gen.next()
(nova.rpc.amqp): TRACE: File "/usr/lib/
(nova.rpc.amqp): TRACE: requested_networks)
(nova.rpc.amqp): TRACE: File "/usr/lib/
(nova.rpc.amqp): TRACE: requested_
(nova.rpc.amqp): TRACE: File "/usr/lib/
(nova.rpc.amqp): TRACE: 'args': args})
(nova.rpc.amqp): TRACE: File "/usr/lib/
(nova.rpc.amqp): TRACE: return _get_impl(
(nova.rpc.amqp): TRACE: File "/usr/lib/
(nova.rpc.amqp): TRACE: return rpc_amqp.
(nova.rpc.amqp): TRACE: File "/usr/lib/
(nova.rpc.amqp): TRACE: rv = list(rv)
(nova.rpc.amqp): TRACE: File "/usr/lib/
(nova.rpc.amqp): TRACE: raise result
(nova.rpc.amqp): TRACE: RemoteError: Remote error: NotMyLock