Bug 862143

Summary: bkr client spits warning during TAB completion
Product: [Retired] Beaker Reporter: Amit Saha <asaha>
Component: command lineAssignee: Dan Callaghan <dcallagh>
Status: CLOSED DUPLICATE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 0.9CC: asaha, dcallagh, ebaak, mishin, rglasz, rmancy
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-10-02 03:34:05 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:

Description Amit Saha 2012-10-02 03:24:32 UTC
Description of problem:

When the BASH completion facility (https://bugzilla.redhat.com/show_bug.cgi?id=856691) is attempted to be used, 'bkr' spits out warning regarding the config file being not found. For example, I type 'bkr jo <TAB>' and you see the warning and then all the BASH completion options.

$ bkr jo/home/bne/asaha/.beaker_client/config not found, using /etc/beaker/client.conf
b-/home/bne/asaha/.beaker_client/config not found, using /etc/beaker/client.conf
/home/bne/asaha/.beaker_client/config not found, using /etc/beaker/client.conf

job-cancel   job-delete   job-logs     job-results  job-watch    
job-clone    job-list     job-modify   job-submit   


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



How reproducible:

Always. 

Steps to Reproduce:
1.Install the BASH completion scripts
2. See above description.
3.
  
Actual results:

See above.

Expected results:

Warnings should be after the job completion options have been shown if at all. However, IMO, no warnings should be shown in this case at all, since a command has not yet been executed. 


Additional info:

Comment 1 Dan Callaghan 2012-10-02 03:34:05 UTC

*** This bug has been marked as a duplicate of bug 856691 ***