Bug 655055

Summary: spacecmd -q and --quiet not really quiet
Product: [Fedora] Fedora EPEL Reporter: Luc de Louw <luc>
Component: spacecmdAssignee: Aron Parsons <aparsons>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: el5CC: msuchy, nobody
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-11-22 15:05:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Luc de Louw 2010-11-19 14:13:49 UTC
Description of problem:
When using spacecmd for scripting, the -q switch should suppress additional output, only errors. This works fine unless the cache needs to be rebuilt, the switch seems to be ignored. The result is that the  script calling spacecmd fails. 

Version-Release number of selected component (if applicable):
spacecmd-0.5.4-1.el5

How reproducible:
Always

Steps to Reproduce:
1. rf -rf ~/.spacecmd
2. spacecmd -q -s sat.expample.com -u user -p password system_list
  
Actual results:
^M^M** Generating system cache **^M                             ^Msystem1
system2
system3
...

Expected results:
system1
system2
system3

Additional info:

Comment 1 Miroslav Suchý 2010-11-22 12:56:05 UTC
Giving to Aron.

Comment 2 Aron Parsons 2010-11-22 15:05:48 UTC
Fixed in commit 372c89d225acfbd3306e47ecda36eca319aaf6d9.  This should be included when the next version is pushed to EPEL.