Bug 993047

Summary: misleading error message when attempting to create an already created channel
Product: [Community] Spacewalk Reporter: Mohammed Arafa <bugzilla>
Component: ServerAssignee: Tomas Lestach <tlestach>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.9CC: tlestach
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: spacewalk-java-2.1.28-1 spacewalk-utils-2.1.11-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-04 13:07:31 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: 1069560    

Description Mohammed Arafa 2013-08-05 14:00:25 UTC
Description of problem:
when you attempt to create a channel that is already created and available you get this error message:
ERROR: centos6-x86_64: redstone.xmlrpc.XmlRpcFault: Invalid entitlement

it is however misleading because it is not an entitlement issue


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


How reproducible:
everytime

Steps to Reproduce:
1.create channels with
/usr/bin/spacewalk-common-channels -u $user -p $password -a x86_64 'centos6*'  -k unlimited
2.run the same command again
3.

Actual results:
ERROR: centos6-x86_64: redstone.xmlrpc.XmlRpcFault: Invalid entitlement

Expected results:
something along the lines of 
ERROR: centos6-x86_64: channel already exists

Additional info:

Comment 1 Tomas Lestach 2013-08-23 13:06:29 UTC
Right, 'Invalid entitlement' isn't a very helpful message.

spacewalk.git:
 8fdd82d14192e2497c8a80d25e95fe40861ffd56
 ffe5ae59460af783a8c93f4de831616ce8ff504c
 89de9eb0893917e669410d8fe4e31518d754b45d

Comment 2 Matej Kollar 2014-01-17 12:16:22 UTC
Switching MODIFIED Spacewalk bugs to ON_QA before 2.1 release.

Comment 3 Matej Kollar 2014-03-04 13:07:31 UTC
Spacewalk 2.1 has been released.
https://fedorahosted.org/spacewalk/wiki/ReleaseNotes21

Comment 4 Matej Kollar 2014-03-04 13:08:50 UTC
Spacewalk 2.1 has been released.
https://fedorahosted.org/spacewalk/wiki/ReleaseNotes21