Compute service's run_instance method fails due to wrong datatype from db
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nova (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Attempting to run instances with current packages yields this:
2010-10-08 15:01:47+0200 [-] Traceback (most recent call last):
2010-10-08 15:01:47+0200 [-] File "/usr/lib/
2010-10-08 15:01:47+0200 [-] yield self.driver.
2010-10-08 15:01:47+0200 [-] AttributeError: 'int' object has no attribute 'startswith'
2010-10-08 15:01:47+0200 [-] Unhandled error in Deferred:
2010-10-08 15:01:47+0200 [-] Unhandled Error
Traceback (most recent call last):
File "/usr/lib/
return f(*args, **kw)
File "/usr/lib/
d = defer.maybeDefe
File "/usr/lib/
result = f(*args, **kw)
File "/usr/lib/
return _inlineCallback
--- <exception caught here> ---
File "/usr/lib/
result = result.
File "/usr/lib/
return g.throw(self.type, self.value, self.tb)
File "/usr/lib/
File "/usr/lib/
state = self.driver.
File "/usr/lib/
File "/usr/lib/
ret = libvirtmod.
This is because the internal id changed from a string to an integer.
This bug was fixed in the package nova - 0.9.1~bzr331- 0ubuntu2
--------------- bzr331- 0ubuntu2) maverick; urgency=low
nova (0.9.1~
* Add a minimal patch to ensure a string gets returned as an
instance's internal ID. (LP: #657053)
-- Soren Hansen <email address hidden> Fri, 08 Oct 2010 23:16:58 +0200