Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1255086 - Hammer reads local config file named config but should skip it because it isnt a directory
Summary: Hammer reads local config file named config but should skip it because it isn...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hammer
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL: http://projects.theforeman.org/issues...
Whiteboard:
: 1346363 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-19 14:56 UTC by Fred van Zwieten
Modified: 2017-01-12 15:14 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-12 15:14:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 12227 0 None None None 2016-04-22 16:35:13 UTC

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.


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