Bug 1039807

Summary: After modifying RecipeSet's response with "-t" and "-p" option , the return message is confused.
Product: [Retired] Beaker Reporter: xjia <xjia>
Component: command lineAssignee: beaker-dev-list
Status: CLOSED WONTFIX QA Contact: tools-bugs <tools-bugs>
Severity: medium Docs Contact:
Priority: low    
Version: developCC: qwan, tools-bugs, xtian
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-21 14:16:01 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 xjia 2013-12-10 03:23:49 UTC
Description of problem:
When trying modify recipeset with -t and -p options, it will show error message and successful message. Make it confused.

Version-Release number of selected component (if applicable):
develop

How reproducible:
100%

Steps to Reproduce:
1.bkr job-modify -r nak RS:119 -t active+1 -p cpe:/o:redhat:rhel_mission_critical:5.6
2.
3.

Actual results:
[root@dhcp-65-142 ~]# bkr job-modify -r nak RS:119 -t active+1 -p cpe:/o:redhat:rhel_mission_critical:5.6
<Fault 1: <type 'exceptions.AttributeError'>:'RecipeSet' object has no attribute 'can_change_product'>
Successfully modified jobs RS:119

Expected results:
Can't change tag or product for RecipeSet

Additional info: