Bug 993047 - misleading error message when attempting to create an already created channel
Summary: misleading error message when attempting to create an already created channel
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: Server
Version: 1.9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tomas Lestach
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space21
TreeView+ depends on / blocked
 
Reported: 2013-08-05 14:00 UTC by Mohammed Arafa
Modified: 2014-03-04 13:08 UTC (History)
1 user (show)

Fixed In Version: spacewalk-java-2.1.28-1 spacewalk-utils-2.1.11-1
Clone Of:
Environment:
Last Closed: 2014-03-04 13:07:31 UTC
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.