Bug 1402839 - syntax error in installer logs for rhel6 - lib/facter/staging_windir.rb:2: syntax error, unexpected ':'
Summary: syntax error in installer logs for rhel6 - lib/facter/staging_windir.rb:2: sy...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Installer
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
high vote
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Roman Plevka
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-08 12:50 UTC by Roman Plevka
Modified: 2017-06-07 13:47 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-05-31 21:03:00 UTC
Target Upstream Version:


Attachments (Terms of Use)

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.


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