Bug 1402839

Summary: syntax error in installer logs for rhel6 - lib/facter/staging_windir.rb:2: syntax error, unexpected ':'
Product: Red Hat Satellite Reporter: Roman Plevka <rplevka>
Component: InstallerAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED WONTFIX QA Contact: Roman Plevka <rplevka>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.3.0CC: bbuckingham, stbenjam
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-05-31 21:03:00 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:

Description Roman Plevka 2016-12-08 12:50:27 UTC
Description of problem:

there are syntax errors logged in /var/log/foreman-installer/satellite.log:

[DEBUG 2016-12-08 06:12:17 main]  Caching environment 'production' (ttl = 0 sec)
[DEBUG 2016-12-08 06:12:17 main]  Evicting cache entry for environment 'production'
[DEBUG 2016-12-08 06:12:17 main]  Caching environment 'production' (ttl = 0 sec)
[DEBUG 2016-12-08 06:12:17 main]  Executing '/bin/rpm --version'
[DEBUG 2016-12-08 06:12:17 main] Error loading fact /usr/share/foreman-installer/modules/staging/lib/facter/staging_windir.rb: /usr/share/foreman-installer/modules/staging/lib/facter/staging_windir.rb:2: syntax error, unexpected ':', expecting kEND
[DEBUG 2016-12-08 06:12:17 main]   confine osfamily: :windows
[DEBUG 2016-12-08 06:12:17 main]                    ^
[DEBUG 2016-12-08 06:12:17 main] exception: connect failed
[DEBUG 2016-12-08 06:12:17 main] Could not retrieve fact='mongodb_is_master', resolution='<anonymous>': 705: unexpected token at 'Thu Dec  8 06:12:17.616 Error: couldn't connect to server 127.0.0.1:27017 at src/mongo/shell/mongo.js:145'
[DEBUG 2016-12-08 06:12:17 main]  Puppet::Type::Package::ProviderAptitude: file /usr/bin/aptitude does not exist
[DEBUG 2016-12-08 06:12:17 main]  Puppet::Type::Package::ProviderApt: file /usr/bin/apt-get does not exist
[DEBUG 2016-12-08 06:12:17 main]  Puppet::Type::Package::ProviderPorts: file /usr/local/sbin/portupgrade does not exist
[DEBUG 2016-12-08 06:12:17 main]  Puppet::Type::Package::ProviderOpenbsd: file pkg_info does not exist




Version-Release number of selected component (if applicable):
6.3.0 snap#8

Actual results:


Expected results:


Additional info:

Comment 4 Stephen Benjamin 2016-12-08 17:33:01 UTC
Was introduced in https://github.com/voxpupuli/puppet-staging/commit/d3c101614dcec2d0d09107b41089567557724a71, we'll have to pin < 2.0.0 staging most likely.