Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 969934

Summary: [cmd_task] Cannot search task through distro via command line
Product: [Retired] Beaker Reporter: Xin Zhang <xinzhang>
Component: command lineAssignee: beaker-dev-list
Status: CLOSED DUPLICATE QA Contact: tools-bugs <tools-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 0.12CC: dcallagh, ebaak, jingwang, mshao, qwan, rjoost, tools-bugs, xtian
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-30 06:05:41 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:
Embargoed:

Description Xin Zhang 2013-06-03 06:11:06 UTC
Description of problem:
When searching tasks using bkr task-list --distro,there is an error about Attribute.

Version-Release number of selected component (if applicable):
beaker-client-0.12.1-1.git.138.df77d66.el6eng

How reproducible:
always

Steps to Reproduce:
1.bkr task-list --distro Fedora-18

Actual results:
XML-RPC fault: <type 'exceptions.AttributeError'>:'Distro' object has no attribute 'tasks'

Expected results:
Return to a list of tasks whose Distro is Fedora-18

Additional info:

Comment 1 Xin Zhang 2013-06-03 06:26:31 UTC
> Actual results:
> XML-RPC fault: <type 'exceptions.AttributeError'>:'Distro' object has no
> attribute 'tasks'
> 
> This result is for the valid distro name;if the distro name is invalid, the actual results:
> XML-RPC fault: <type 'exceptions.AttributeError'>:'NoneType' object has no attribute 'tasks'

Comment 4 Dan Callaghan 2016-06-30 06:05:41 UTC

*** This bug has been marked as a duplicate of bug 1073280 ***