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.