[Kimchi-devel] [PATCH 4/5] Create guests asynchronously: Backend

Crístian Viana vianac at linux.vnet.ibm.com
Thu Feb 26 19:05:30 UTC 2015


On 25-02-2015 13:53, Christy Perez wrote:
> +        return self.task.lookup(taskid)

When I tried to create a VM with this patch applied, I got the following 
error:

[26/Feb/2015:15:56:44] HTTP Traceback (most recent call last):
   File "/usr/lib/python2.7/site-packages/cherrypy/_cprequest.py", line 
656, in respond
     response.body = self.handler()
   File "/usr/lib/python2.7/site-packages/cherrypy/lib/encoding.py", 
line 188, in __call__
     self.body = self.oldhandler(*args, **kwargs)
   File "/usr/lib/python2.7/site-packages/cherrypy/_cpdispatch.py", line 
34, in __call__
     return self.callable(*self.args, **self.kwargs)
   File "/home/vianac/LTC/kimchi/src/kimchi/control/base.py", line 330, 
in index
     return self.create(parse_request(), *args)
   File "/home/vianac/LTC/kimchi/src/kimchi/control/base.py", line 362, 
in create
     task = create(*args)
   File "/home/vianac/LTC/kimchi/src/kimchi/model/vms.py", line 209, in 
create
     return self.task.lookup(taskid)
AttributeError: 'VMsModel' object has no attribute 'task'

The class "VMsModel" doesn't have the field "self.task" (as opposed to 
"VMModel", which has it).




More information about the Kimchi-devel mailing list