Bug 1077770

Summary: spacewalk-common-channels should print error messahe in case of error during channel creation
Product: [Community] Spacewalk Reporter: Tomáš Kašpárek <tkasparek>
Component: ServerAssignee: Jiří Dostál <jdostal>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.2CC: jdobes, jdostal, mfuruta
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: spacewalk-utils-2.4.8-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-08 13:27:15 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: 1267654    

Description Tomáš Kašpárek 2014-03-18 14:30:29 UTC
Description of problem:
spacewalk-common-channels utility does not provide any information if the channel creation fails for whatever reason (in my case I've tried to create channel with already existing name in different org)

Version-Release number of selected component (if applicable):
spacewalk-utils-2.2.8-1.el6.noarch

How reproducible:
determistic

Steps to Reproduce:
1. create second organization
2. /usr/bin/spacewalk-common-channels -u admin -p nimda -a x86_64 'centos6*' # 1st org
3. /usr/bin/spacewalk-common-channels -u zralok -p zralok -a x86_64 'centos6*' #2nd org

Actual results:
user is not notified that the action failed neither the application exit code differs from zero

Expected results:
massage about failure and exit code differs from zero

Comment 1 Jiří Dostál 2015-07-14 11:44:18 UTC
spacewalk git b40d77c5ef8fa481cb5241af0a8be78cc382e208

Comment 2 Jan Dobes 2015-10-08 13:27:15 UTC
Spacewalk 2.4 has been released.