Bug 1414459

Summary: spacecmd softwarechannel_removesyncschedule unhandled internal exception
Product: Red Hat Satellite 5 Reporter: Ales Dujicek <adujicek>
Component: OtherAssignee: Jan Dobes <jdobes>
Status: CLOSED CURRENTRELEASE QA Contact: Lukáš Hellebrandt <lhellebr>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 580CC: lhellebr, tlestach
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: spacewalk-java-2.5.14-60 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-21 12:07:27 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:
Bug Depends On:    
Bug Blocks: 1358815    

Description Ales Dujicek 2017-01-18 14:46:37 UTC
Description of problem:

there is unhandled exception when you try to remove channel-sych-schedule and it does not exist:

spacecmd {SSM:0}> softwarechannel_removesyncschedule channel-test
ERROR: redstone.xmlrpc.XmlRpcFault: unhandled internal exception: redstone.xmlrpc.XmlRpcFault: com.redhat.rhn.taskomatic.InvalidParamException: No such jobLabel


Version-Release number of selected component (if applicable):
spacecmd-2.5.0-7.el6sat.noarch

How reproducible:
always

Comment 1 Jan Dobes 2017-02-20 10:16:42 UTC
fixed in spacewalk master:

9ebb9cfcbc152e13328304b1a7e025a290700628

Comment 4 Lukáš Hellebrandt 2017-02-27 15:15:28 UTC
Verified with spacewalk-java-2.5.14-61.

Removing a nonexistent repo sync now does not throw any exception or warning at all. After consulting this with jdobes, I am verifying it as intended behavior.