Qpid error while creating an instance
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Russell Bryant |
Bug Description
I hit an error while doing some testing. The error is Qpid saying that it doesn't know how to encode an object of a particular type. I will submit a patch to fix this.
2012-02-16 11:12:19,837 ERROR nova.rpc.common [-] Exception during message handling
(nova.rpc.common): TRACE: Traceback (most recent call last):
(nova.rpc.common): TRACE: File "/home/
(nova.rpc.common): TRACE: rval = node_func(
(nova.rpc.common): TRACE: File "/home/
(nova.rpc.common): TRACE: return func(self, context, *args, **kwargs)
(nova.rpc.common): TRACE: File "/home/
(nova.rpc.common): TRACE: **kwargs)
(nova.rpc.common): TRACE: File "/home/
(nova.rpc.common): TRACE: return func(self, context, *args, **kwargs)
(nova.rpc.common): TRACE: File "/home/
(nova.rpc.common): TRACE: requested_
(nova.rpc.common): TRACE: File "/home/
(nova.rpc.common): TRACE: 'args': {'network_ref': network}})
(nova.rpc.common): TRACE: File "/home/
(nova.rpc.common): TRACE: return _get_impl(
(nova.rpc.common): TRACE: File "/home/
(nova.rpc.common): TRACE: return rpc_amqp.
(nova.rpc.common): TRACE: File "/home/
(nova.rpc.common): TRACE: rv = multicall(context, topic, msg, timeout, connection_pool)
(nova.rpc.common): TRACE: File "/home/
(nova.rpc.common): TRACE: conn.topic_
(nova.rpc.common): TRACE: File "/home/
(nova.rpc.common): TRACE: self.publisher_
(nova.rpc.common): TRACE: File "/home/
(nova.rpc.common): TRACE: return self.ensure(
(nova.rpc.common): TRACE: File "/home/
(nova.rpc.common): TRACE: return method(*args, **kwargs)
(nova.rpc.common): TRACE: File "/home/
(nova.rpc.common): TRACE: publisher.send(msg)
(nova.rpc.common): TRACE: File "/home/
(nova.rpc.common): TRACE: self.sender.
(nova.rpc.common): TRACE: File "<string>", line 6, in send
(nova.rpc.common): TRACE: File "/usr/lib/
(nova.rpc.common): TRACE: self.sync()
(nova.rpc.common): TRACE: File "<string>", line 6, in sync
(nova.rpc.common): TRACE: File "/usr/lib/
(nova.rpc.common): TRACE: if not self._ewait(lambda: self.acked >= mno, timeout=timeout):
(nova.rpc.common): TRACE: File "/usr/lib/
(nova.rpc.common): TRACE: result = self.session.
(nova.rpc.common): TRACE: File "/usr/lib/
(nova.rpc.common): TRACE: result = self.connection
(nova.rpc.common): TRACE: File "/usr/lib/
(nova.rpc.common): TRACE: self.check_error()
(nova.rpc.common): TRACE: File "/usr/lib/
(nova.rpc.common): TRACE: raise self.error
(nova.rpc.common): TRACE: InternalError: Traceback (most recent call last):
(nova.rpc.common): TRACE: File "/usr/lib/
(nova.rpc.common): TRACE: self.engine.
(nova.rpc.common): TRACE: File "/usr/lib/
(nova.rpc.common): TRACE: self.process(ssn)
(nova.rpc.common): TRACE: File "/usr/lib/
(nova.rpc.common): TRACE: self.send(snd, msg)
(nova.rpc.common): TRACE: File "/usr/lib/
(nova.rpc.common): TRACE: body = enc(msg.content)
(nova.rpc.common): TRACE: File "/usr/lib/
(nova.rpc.common): TRACE: sc.write_
(nova.rpc.common): TRACE: File "/usr/lib/
(nova.rpc.common): TRACE: getattr(self, "write_%s" % type.NAME)(v)
(nova.rpc.common): TRACE: File "/usr/lib/
(nova.rpc.common): TRACE: sc.write(
(nova.rpc.common): TRACE: File "/usr/lib/
(nova.rpc.common): TRACE: sc.write_
(nova.rpc.common): TRACE: File "/usr/lib/
(nova.rpc.common): TRACE: getattr(self, "write_%s" % type.NAME)(v)
(nova.rpc.common): TRACE: File "/usr/lib/
(nova.rpc.common): TRACE: sc.write(
(nova.rpc.common): TRACE: File "/usr/lib/
(nova.rpc.common): TRACE: type = self.encoding(v)
(nova.rpc.common): TRACE: File "/usr/lib/
(nova.rpc.common): TRACE: raise CodecException("no encoding for %r" % obj)
(nova.rpc.common): TRACE: CodecException: no encoding for <nova.db.
(nova.rpc.common): TRACE:
(nova.rpc.common): TRACE:
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | essex-4 → 2012.1 |
Fix proposed to branch: master /review. openstack. org/4246
Review: https:/