Bug 1402689

Summary: TB in backend log: AttributeError: 'VmDescriptor' object has no attribute 'task_id'
Product: [Community] Copr Reporter: Miroslav Suchý <msuchy>
Component: backendAssignee: clime
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: clime
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-10 13:24:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Miroslav Suchý 2016-12-08 07:14:49 UTC
Description of problem:
There is a lot of TBs in backend logs:
[2016-12-08 07:13:23,072][ ERROR][backend.action_dispatcher][action_dispatcher.py:run:77] 'VmDescriptor' object has no attribute 'task_id'
Traceback (most recent call last):
  File "/usr/share/copr/backend/daemons/action_dispatcher.py", line 75, in run
    action.run()
  File "/usr/share/copr/backend/actions.py", line 487, in run
    self.handle_cancel_build(result)
  File "/usr/share/copr/backend/actions.py", line 366, in handle_cancel_build
    vmd = vmm.get_vm_by_task_id(task_id)
  File "/usr/share/copr/backend/vm_manage/manager.py", line 342, in get_vm_by_task_id
    try:
AttributeError: 'VmDescriptor' object has no attribute 'task_id'

Comment 2 clime 2017-03-10 13:24:31 UTC
New Copr version has been released.