Bug 1546240

Summary: cancelling scheduled action gives unhandled internal exception: null
Product: Red Hat Satellite 5 Reporter: Bishop Clark <bishop>
Component: OtherAssignee: Jan Dobes <jdobes>
Status: CLOSED DUPLICATE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 580CC: jdostal, tlestach
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: 2018-02-20 10:09:26 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 Bishop Clark 2018-02-16 17:24:40 UTC
Description of problem:
Cancelling a scheduled task via command line gives an error.  This MAY be related to https://www.redhat.com/archives/spacewalk-list/2014-February/msg00089.html
 or Bug 1402522 

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

satellite-branding-5.8.0.8-1.el6sat.noarch
satellite-doc-indexes-5.8.0-1.el6sat.noarch
satellite-repo-5.8.0.2-2.el6sat.noarch
satellite-schema-5.8.0.38-1.el6sat.noarch
:
spacewalk-base-2.5.2-13.el6sat.noarch
spacewalk-base-minimal-2.5.2-13.el6sat.noarch
spacewalk-base-minimal-config-2.5.2-13.el6sat.noarch
:
postgresql-8.4.20-8.el6_9.x86_64
postgresql-jdbc-8.4.704-2.el6.noarch
postgresql-libs-8.4.20-8.el6_9.x86_64
rh-postgresql95-postgresql-9.5.7-2.el6.x86_64
rh-postgresql95-postgresql-contrib-9.5.7-2.el6.x86_64
rh-postgresql95-postgresql-libs-9.5.7-2.el6.x86_64
rh-postgresql95-postgresql-pltcl-9.5.7-2.el6.x86_64
rh-postgresql95-postgresql-server-9.5.7-2.el6.x86_64
rh-postgresql95-runtime-2.2-3.el6.x86_64
spacewalk-backend-sql-postgresql-2.5.3-157.el6sat.noarch
spacewalk-java-postgresql-2.5.14-107.el6sat.noarch
spacewalk-postgresql-2.5.0-13.el6sat.noarch
spacewalk-postgresql-server-9.5-1.el6sat.noarch
spacewalk-setup-postgresql-2.5.0-27.el6sat.noarch
:

How reproducible:
easily

Steps to Reproduce:
1. (used WebUI) schedule an update and reboot task (on one machine, here)
2. spacecmd -q -- schedule_listpending
3. spacecmd -q -- schedule_cancel 2429

Actual results:

# spacecmd -q -- schedule_listpending | awk '/201.....T07.30.00/{print $1}'
2429
2428

# spacecmd -q -- schedule_cancel 2429
ERROR: redstone.xmlrpc.XmlRpcFault: unhandled internal exception: null


# spacecmd -q -- schedule_listpending | awk '/201.....T07.30.00/{print $1}'
2429
2428


Expected results:
A message that the task is cancelled.

Additional info:

Comment 1 Tomas Lestach 2018-02-19 09:45:07 UTC
Bishop, please, open a ticket with Red hat support.

Comment 2 Tomas Lestach 2018-02-19 09:47:12 UTC
Jiri, cannot this be a duplicate of Bug 1514020? This was actually fixed in spacewalk-java-2.5.14-109. (Bug 1052292 is also related).

Comment 3 Jiří Dostál 2018-02-20 10:09:26 UTC
I can confirm that this issue is a duplicate of 1514020. Closing

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

Comment 4 Bishop Clark 2018-02-20 16:40:30 UTC
How old is 2.5.14-109 ?  My freshly-updated host is still at spacewalk-java-2.5.14-108.el6sat.noarch .  Support case time, I guess.  Thanks!

Comment 5 Tomas Lestach 2018-02-20 22:20:17 UTC
My bad. https://access.redhat.com/errata/RHBA-2018:0274, that fixed Bug 1514020, shipped spacewalk-java-2.5.14-108.