Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1126842

Summary: config_macros.yml causes hammer to fail to start (Psych::SyntaxError)
Product: Red Hat Satellite Reporter: Lukas Pramuk <lpramuk>
Component: TransitionsAssignee: Grant Gainey <ggainey>
Status: CLOSED CURRENTRELEASE QA Contact: Lukas Pramuk <lpramuk>
Severity: medium Docs Contact:
Priority: unspecified    
Version: UnspecifiedCC: bbuckingham, cperry, cwelton, ggainey, jmontleo, mkollar
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-11 12:25:37 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:
Bug Depends On:    
Bug Blocks: 1125243    

Description Lukas Pramuk 2014-08-05 12:24:58 UTC
Description of problem:
config_macros.yml causes hammer to fail to start (Psych::SyntaxError)

Version-Release number of selected component (if applicable):
rubygem-hammer_cli_import-0.9.1-1.el7.noarch

How reproducible:
100%

Steps to Reproduce:
1. # hammer
/usr/share/ruby/psych.rb:205:in `parse': (<unknown>): found character that cannot start any token while scanning for the next token at line 5 column 57 (Psych::SyntaxError)
	from /usr/share/ruby/psych.rb:205:in `parse_stream'
	from /usr/share/ruby/psych.rb:153:in `parse'
	from /usr/share/ruby/psych.rb:129:in `load'
	from /usr/share/gems/gems/hammer_cli-0.1.1/lib/hammer_cli/settings.rb:38:in `load_from_file'
	from /usr/share/gems/gems/hammer_cli-0.1.1/lib/hammer_cli/settings.rb:25:in `block (2 levels) in load_from_paths'
	from /usr/share/gems/gems/hammer_cli-0.1.1/lib/hammer_cli/settings.rb:24:in `each'
	from /usr/share/gems/gems/hammer_cli-0.1.1/lib/hammer_cli/settings.rb:24:in `block in load_from_paths'
	from /usr/share/gems/gems/hammer_cli-0.1.1/lib/hammer_cli/settings.rb:16:in `each'
	from /usr/share/gems/gems/hammer_cli-0.1.1/lib/hammer_cli/settings.rb:16:in `load_from_paths'
	from /usr/share/gems/gems/hammer_cli-0.1.1/bin/hammer:39:in `<top (required)>'
	from /usr/bin/hammer:23:in `load'
	from /usr/bin/hammer:23:in `<main>'

Comment 1 RHEL Program Management 2014-08-05 12:34:03 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 3 Grant Gainey 2014-08-05 12:54:43 UTC
commit 823eadfd7ba52ab89dbce9f2ab0cce69dca4a14b

Comment 6 Matej Kollar 2014-09-03 09:33:51 UTC
verified with rubygem-hammer_cli_import-0.10.3-1

Comment 7 Matej Kollar 2014-09-03 09:38:04 UTC
This bug is related to Bug #1126882

Comment 8 Bryan Kearney 2014-09-11 12:25:37 UTC
This was delivered with Satellite 6.0 which was released on 10 September 2014.