Bug 1255086

Summary: Hammer reads local config file named config but should skip it because it isnt a directory
Product: Red Hat Satellite Reporter: Fred van Zwieten <fvzwieten>
Component: HammerAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED WONTFIX QA Contact: Katello QA List <katello-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.1.0CC: bkearney, sokeeffe
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/12227
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-12 15:14:17 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 Fred van Zwieten 2015-08-19 14:56:37 UTC
Description of problem:
Hammer reads a set of config files at start. If in the local directory there is a *file* called "config" it tries to read it as a hammer config file. However, the hammer documentation stated it should only read config files from a local *directory* named config, if it is present.

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


How reproducible:


Steps to Reproduce:
1. create local config file with random content
2. hammer shell
3.

Actual results:
error's because it cannot interpret the config file 

Expected results:
normal hammer startup where config is ignored

Additional info:

Comment 1 Bryan Kearney 2015-10-20 17:51:19 UTC
Created redmine issue http://projects.theforeman.org/issues/12227 from this bug

Comment 2 Bryan Kearney 2016-06-16 11:46:04 UTC
*** Bug 1346363 has been marked as a duplicate of this bug. ***

Comment 3 Bryan Kearney 2017-01-12 15:14:17 UTC
This is an older bug which has been reported upstream. We are not going to track this bug downstream. When the upstream issue is resolved, the next build will contain the fix. Thank you.