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 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: InstallationAssignee: 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:
Embargoed:

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.