nova boot fail because KeyError : u'disk_gb_limit'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Michael Still |
Bug Description
I use Havana openstack, and after installing all the modules, i use :nova boot --image XXX --flavor 1 instance_name" , BUT the instance come to ERROR state. I looked up the compute.log,
ERROR is :
2013-05-03 00:20:55 ERROR [nova.openstack
Traceback (most recent call last):
File "/usr/lib/
**args)
File "/usr/lib/
return getattr(proxyobj, method)(ctxt, **kwargs)
File "/usr/lib/
temp_level, payload)
File "/usr/lib64/
self.gen.next()
File "/usr/lib/
return f(self, context, *args, **kw)
File "/usr/lib/
pass
File "/usr/lib64/
self.gen.next()
File "/usr/lib/
return function(self, context, *args, **kwargs)
File "/usr/lib/
function(self, context, *args, **kwargs)
File "/usr/lib/
e, sys.exc_info())
File "/usr/lib64/
self.gen.next()
File "/usr/lib/
return function(self, context, *args, **kwargs)
File "/usr/lib/
do_
File "/usr/lib/
retval = f(*args, **kwargs)
File "/usr/lib/
admin_password, is_first_time, node, instance)
File "/usr/lib/
notify("error", msg=unicode(e)) # notify that build failed
File "/usr/lib64/
self.gen.next()
File "/usr/lib/
admin_password, is_first_time, node, instance, image_meta)
File "/usr/lib/
with rt.instance_
File "/usr/lib/
retval = f(*args, **kwargs)
File "/usr/lib/
if claim.test(
File "/usr/lib/
can_claim = (self._
File "/usr/lib/
return self._test(type_, unit, total, used, requested, limit)
File "/usr/lib/
"%(unit)s") % locals()
WHEN I comment the line out , boot can be active.
msg = _("%(type_)s limit: %(limit)d %(unit)s, free: %(free)d %(unit)s") % locals()
BY THE WAY, when I change it to
msg = _("%(type_)s limit: %(limit)f %(unit)s, free: %(free)f %(unit)s") % locals()
nova boot can success also, "limit" may be a float instead of a integer.
Thank you
description: | updated |
Changed in nova: | |
assignee: | nobody → Michael Still (mikalstill) |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in nova: | |
milestone: | none → havana-1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | havana-1 → 2013.2 |
Fix proposed to branch: master /review. openstack. org/28493
Review: https:/