Bug 744199 - provider delete - error conditions should be redirected to stderr (not stdout)
Summary: provider delete - error conditions should be redirected to stderr (not stdout)
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Katello
Classification: Retired
Component: Client
Version: 1.X
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: ---
Assignee: Lukas Zapletal
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-07 13:04 UTC by Garik Khachikyan
Modified: 2015-01-04 21:58 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-07-17 13:09:41 UTC


Attachments (Terms of Use)

Description Garik Khachikyan 2011-10-07 13:04:42 UTC
Description of problem:
Create a provider for an org, then delete it. The second call of the same command (delete provider) goes to stdout (but would be: stderr).

Version-Release number of selected component (if applicable):
katello-cli-0.1.10-1.git.585.a6c83c3.el6.noarch

How reproducible:
always

Steps to Reproduce:
1. create org
2. create a provider
2. delete the provider
3. delete the same provider (2nd time call the command)
  
Actual results:
the result outputs to stdout 

Expected results:
should be stderr

Additional info:

Comment 2 Garik Khachikyan 2011-10-07 13:27:44 UTC
the same for provider info - when provider could not be found. (puts a message to stdout)

Comment 3 Lukas Zapletal 2012-04-02 11:49:46 UTC
Upstream fix:

7df7c36 744199 - cli now reports all errors to stderr

Comment 4 Bryan Kearney 2012-07-17 13:09:41 UTC
Moving all community bugs with fixes to closed.


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