Bug 1402689 - TB in backend log: AttributeError: 'VmDescriptor' object has no attribute 'task_id'
Summary: TB in backend log: AttributeError: 'VmDescriptor' object has no attribute 'ta...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Copr
Classification: Community
Component: backend
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: clime
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-08 07:14 UTC by Miroslav Suchý
Modified: 2017-03-10 13:24 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-10 13:24:31 UTC


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.