Jira (PUP-8351) PA-437 fix causes pip provider failures when SCL version is installed
Title: Message Title Geoff Nichols updated an issue Puppet / PUP-8351 PA-437 fix causes pip provider failures when SCL version is installed Change By: Geoff Nichols Fix Version/s: PUP 5.5.7 Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-8351) PA-437 fix causes pip provider failures when SCL version is installed
Title: Message Title Geoff Nichols commented on PUP-8351 Re: PA-437 fix causes pip provider failures when SCL version is installed Sean McDonald, when you have a chance, could you please add release notes (or indicate that they're not needed)? Thanks! Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-8351) PA-437 fix causes pip provider failures when SCL version is installed
Title: Message Title Geoff Nichols updated an issue Puppet / PUP-8351 PA-437 fix causes pip provider failures when SCL version is installed Change By: Geoff Nichols Fix Version/s: PUP 5.5.7 Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-8351) PA-437 fix causes pip provider failures when SCL version is installed
Title: Message Title Sean McDonald assigned an issue to Sean McDonald Puppet / PUP-8351 PA-437 fix causes pip provider failures when SCL version is installed Change By: Sean McDonald Assignee: Sean McDonald Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-8351) PA-437 fix causes pip provider failures when SCL version is installed
Title: Message Title Sean McDonald commented on PUP-8351 Re: PA-437 fix causes pip provider failures when SCL version is installed Branan Riley when you source /opt/rh/python27/enable in to the profile the location of SCL python will precede the system python in PATH. Here is PATH before: PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin Here is PATH after running source /opt/rh/python27/enable: PATH=/opt/rh/python27/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin and sure enough, running "which python" or "which pip" will return binaries for the SCL python/pip Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Jira (PUP-8351) PA-437 fix causes pip provider failures when SCL version is installed
Title: Message Title Branan Riley commented on PUP-8351 Re: PA-437 fix causes pip provider failures when SCL version is installed I'm curious why we're picking up the SCL python in the first place - I'd expect puppet to grab the main system python instead? Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-8351) PA-437 fix causes pip provider failures when SCL version is installed
Title: Message Title Scott McClellan updated an issue Puppet / PUP-8351 PA-437 fix causes pip provider failures when SCL version is installed Change By: Scott McClellan Labels: SCL customer linux packaging redhat Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-8351) PA-437 fix causes pip provider failures when SCL version is installed
Title: Message Title Josh Cooper updated an issue Puppet / PUP-8351 PA-437 fix causes pip provider failures when SCL version is installed Change By: Josh Cooper Team: Coremunity Platform OS Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-8351) PA-437 fix causes pip provider failures when SCL version is installed
Title: Message Title Josh Cooper updated an issue Puppet / PUP-8351 PA-437 fix causes pip provider failures when SCL version is installed Change By: Josh Cooper Sprint: Platform Core Grooming Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-8351) PA-437 fix causes pip provider failures when SCL version is installed
Title: Message Title Rob Braden updated an issue Puppet / PUP-8351 PA-437 fix causes pip provider failures when SCL version is installed Change By: Rob Braden Team: Platform Core Coremunity Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-8351) PA-437 fix causes pip provider failures when SCL version is installed
Title: Message Title Owen Rodabaugh updated an issue Puppet / PUP-8351 PA-437 fix causes pip provider failures when SCL version is installed Change By: Owen Rodabaugh CS Priority: Needs Priority Minor CS Impact: This issue occurs because the pip provider we ship does not expect the use of SCL. The impact of this could be a failed upgrade/postgres migration.At minimum we should document the assumptions this provider has and then at some point update the provider to handle these cases(if that is possible) CS Severity: 3 - Serious CS Business Value: 2 - $$$ CS Frequency: 2 - 5-25% of Customers Add Comment This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db)
Jira (PUP-8351) PA-437 fix causes pip provider failures when SCL version is installed
Title: Message Title Adam Bottchen commented on PUP-8351 Re: PA-437 fix causes pip provider failures when SCL version is installed Marking this as major because it can impact upgrades. On a 2017.3.2 system, it just causes facter and puppet to report a spurious error, but everything continues to function. However, future upgrades will fail since the pe_postgresql_info fact will not resolve (https://tickets.puppetlabs.com/browse/PE-22696). Add Comment This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-8351) PA-437 fix causes pip provider failures when SCL version is installed
Title: Message Title Adam Bottchen updated an issue Puppet / PUP-8351 PA-437 fix causes pip provider failures when SCL version is installed Change By: Adam Bottchen Starting in Puppet 5, we now unset LD_LIBRARY_PATH via a wrapper script around puppet and facter. Unfortunately, this causes problems when customers have the SCL version of pip installed on the system, as the custom LD_LIBRARY_PATH is required.Repro:1. Install a base 2017.3.2 system2. Set up the SCL repo from CentOS extras: {{yum install centos-release-scl}}3. Install the SCL version of python27-pip: {{yum install python27-python-pip}}4. Enable the SCL version of python27: {{source /opt/rh/python27/enable}}At that point, numerous related problems surface:Facter will fail on pe_postgresql_info: {code:bash}# /opt/puppetlabs/bin/facter -p pe_postgresql_info |grep server_version2018-01-12 09:13:58.272017 ERROR puppetlabs.facter - error while resolving custom fact "pe_postgresql_info": undefined method `[]' for nil:NilClass{code}The self.instances for the package provider will fail:{code:bash}# puppet resource package --traceError: Could not run: undefined method `[]' for nil:NilClass{code}Adding debug to the pip provider shows the error:{code:bash}# /opt/puppetlabs/bin/facter -p pe_postgresql_info --trace/opt/rh/python27/root/usr/bin/python2: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory2018-01-12 09:56:16.158237 ERROR puppetlabs.facter - error while resolving custom fact "pe_postgresql_info": undefined method `[]' for nil:NilClassbacktrace:/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/provider/package/pip.rb:74:in `block (2 levels) in pip_version'/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/provider/package/pip.rb:72:in `each'{code}This can be worked around by commenting out the unset of LD_LIBRARY_PATH in the wrapper:{code:bash}# sed -ie 's/unset LD_LIBRARY_PATH/#unset LD_LIBRARY_PATH/' /opt/puppetlabs/puppet/bin/wrapper.sh{code} Add Comment
Jira (PUP-8351) PA-437 fix causes pip provider failures when SCL version is installed
Title: Message Title Adam Bottchen updated an issue Puppet / PUP-8351 PA-437 fix causes pip provider failures when SCL version is installed Change By: Adam Bottchen Summary: PA-437 fix causes pip provider failures when SCL version of pip is installed Add Comment This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.