Berry Sizemore
2011-Oct-11 21:59 UTC
[Puppet Users] Could not retrieve local facts: private method `split'' called for nil:NilClass
Hello, I am installing Puppet Enterprise agent (puppet-enterprise-1.2.1- solaris-10-sparc) on a Solaris 10 64bit SPARC system. When I view the logs for the agent I see: puppet-agent[14680]: [ID 702911 daemon.error] Could not run Puppet configuration client: Could not retrieve local facts: private method `split'' called for nil:NilClass The client successfully initiates a cert exchange request to my RHEL 6 (puppet-enterprise-1.2.3-el-6-x86_64) and I sign it. That''s when I see the error above on the agent host. I tried to install the 1.2.3 agent onto my Solaris box, but that installation fails. Looks like something changed in that package. Thanks, Berry -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Adrien Thebo
2011-Oct-12 16:56 UTC
Re: [Puppet Users] Could not retrieve local facts: private method `split'' called for nil:NilClass
You may be running afoul of http://projects.puppetlabs.com/issues/7038. What does running facter by itself do? On Tue, Oct 11, 2011 at 2:59 PM, Berry Sizemore <berry.sizemore@gmail.com> wrote:> Hello, > > I am installing Puppet Enterprise agent (puppet-enterprise-1.2.1- > solaris-10-sparc) on a Solaris 10 64bit SPARC system. When I view the > logs for the agent I see: > > puppet-agent[14680]: [ID 702911 daemon.error] Could not run Puppet > configuration client: Could not retrieve local facts: private method > `split'' called for nil:NilClass > > The client successfully initiates a cert exchange request to my RHEL 6 > (puppet-enterprise-1.2.3-el-6-x86_64) and I sign it. That''s when I > see the error above on the agent host. > > I tried to install the 1.2.3 agent onto my Solaris box, but that > installation fails. Looks like something changed in that package. > > Thanks, > Berry > > -- > You received this message because you are subscribed to the Google Groups "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. > >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Berry Sizemore
2011-Oct-12 18:04 UTC
[Puppet Users] Re: Could not retrieve local facts: private method `split'' called for nil:NilClass
Adrien, Thanks for the reply. hostxyz: facter facterversion 1.6.0 hostxyz: facter prtdiag can only be run in the global zone Error: private method `split'' called for nil:NilClass On Oct 12, 9:56 am, Adrien Thebo <adr...@puppetlabs.com> wrote:> You may be running afoul ofhttp://projects.puppetlabs.com/issues/7038. What does running facter > by itself do? > > On Tue, Oct 11, 2011 at 2:59 PM, Berry Sizemore > > > > > > > > <berry.sizem...@gmail.com> wrote: > > Hello, > > > I am installing Puppet Enterprise agent (puppet-enterprise-1.2.1- > > solaris-10-sparc) on a Solaris 10 64bit SPARC system. When I view the > > logs for the agent I see: > > > puppet-agent[14680]: [ID 702911 daemon.error] Could not run Puppet > > configuration client: Could not retrieve local facts: private method > > `split'' called for nil:NilClass > > > The client successfully initiates a cert exchange request to my RHEL 6 > > (puppet-enterprise-1.2.3-el-6-x86_64) and I sign it. That''s when I > > see the error above on the agent host. > > > I tried to install the 1.2.3 agent onto my Solaris box, but that > > installation fails. Looks like something changed in that package. > > > Thanks, > > Berry > > > -- > > You received this message because you are subscribed to the Google Groups "Puppet Users" group. > > To post to this group, send email to puppet-users@googlegroups.com. > > To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. > > For more options, visit this group athttp://groups.google.com/group/puppet-users?hl=en.-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Berry Sizemore
2011-Oct-12 20:17 UTC
[Puppet Users] Re: Could not retrieve local facts: private method `split'' called for nil:NilClass
Hi all, When I set out learning Puppet I was using the free version (not PE) and was able to do all I wanted to do running the agent as the puppet user. I recently switched to Puppet Enterprise when I hit the snag this thread is about, and continued the practice of running the agent as the puppet user. Little did I know that PE employs prtdiag where the free version apparently doesn''t (it could be failing silently). The giveaway is the error message "prtdiag can only be run in the global zone", which for you beginners like me means "you aren''t doing this as root when you should be", but there is surely a highly technical/philosophical discussion behind my inexpert summary. Consult the documentation and/or your Solaris system administrator for a better explanation. It''s fair to say that the Puppet Enterprise agent in Solaris 10 has a dependency on the root user. Thanks, Berry Sizemore On Oct 12, 11:04 am, Berry Sizemore <berry.sizem...@gmail.com> wrote:> Adrien, > > Thanks for the reply. > > hostxyz: facter facterversion > 1.6.0 > > hostxyz: facter > prtdiag can only be run in the global zone > Error: private method `split'' called for nil:NilClass-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Nigel Kersten
2011-Oct-12 20:25 UTC
Re: [Puppet Users] Re: Could not retrieve local facts: private method `split'' called for nil:NilClass
On Wed, Oct 12, 2011 at 1:17 PM, Berry Sizemore <berry.sizemore@gmail.com>wrote:> Hi all, > > When I set out learning Puppet I was using the free version (not PE) > and was able to do all I wanted to do running the agent as the puppet > user. I recently switched to Puppet Enterprise when I hit the snag > this thread is about, and continued the practice of running the agent > as the puppet user. Little did I know that PE employs prtdiag where > the free version apparently doesn''t (it could be failing silently). >This must just be a version difference somewhere in what you''re running. Puppet and Facter in PE are just specific versions of the open source projects.> > The giveaway is the error message "prtdiag can only be run in the > global zone", which for you beginners like me means "you aren''t doing > this as root when you should be", but there is surely a highly > technical/philosophical discussion behind my inexpert summary. > Consult the documentation and/or your Solaris system administrator for > a better explanation. > > It''s fair to say that the Puppet Enterprise agent in Solaris 10 has a > dependency on the root user. > > Thanks, > Berry Sizemore > > On Oct 12, 11:04 am, Berry Sizemore <berry.sizem...@gmail.com> wrote: > > Adrien, > > > > Thanks for the reply. > > > > hostxyz: facter facterversion > > 1.6.0 > > > > hostxyz: facter > > prtdiag can only be run in the global zone > > Error: private method `split'' called for nil:NilClass > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > >-- Nigel Kersten Product Manager, Puppet Labs -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Berry Sizemore
2011-Oct-13 21:00 UTC
[Puppet Users] Re: Could not retrieve local facts: private method `split'' called for nil:NilClass
I would use puppet-enterprise-1.2.3-solaris-10-sparc instead of 1.2.1, but the installer is broken. I filed this bug on the issue - http://projects.puppetlabs.com/issues/10069 - and if the package doesn''t have a problem, then I have no idea what dependency we haven''t satisfied. Thanks, Berry On Oct 12, 1:25 pm, Nigel Kersten <ni...@puppetlabs.com> wrote:> On Wed, Oct 12, 2011 at 1:17 PM, Berry Sizemore <berry.sizem...@gmail.com>wrote: > > > Hi all, > > > When I set out learning Puppet I was using the free version (not PE) > > and was able to do all I wanted to do running the agent as the puppet > > user. I recently switched to Puppet Enterprise when I hit the snag > > this thread is about, and continued the practice of running the agent > > as the puppet user. Little did I know that PE employs prtdiag where > > the free version apparently doesn''t (it could be failing silently). > > This must just be a version difference somewhere in what you''re running. > > Puppet and Facter in PE are just specific versions of the open source > projects. > > > > > > > > > > > > > The giveaway is the error message "prtdiag can only be run in the > > global zone", which for you beginners like me means "you aren''t doing > > this as root when you should be", but there is surely a highly > > technical/philosophical discussion behind my inexpert summary. > > Consult the documentation and/or your Solaris system administrator for > > a better explanation. > > > It''s fair to say that the Puppet Enterprise agent in Solaris 10 has a > > dependency on the root user. > > > Thanks, > > Berry Sizemore > > > On Oct 12, 11:04 am, Berry Sizemore <berry.sizem...@gmail.com> wrote: > > > Adrien, > > > > Thanks for the reply. > > > > hostxyz: facter facterversion > > > 1.6.0 > > > > hostxyz: facter > > > prtdiag can only be run in the global zone > > > Error: private method `split'' called for nil:NilClass > > > -- > > You received this message because you are subscribed to the Google Groups > > "Puppet Users" group. > > To post to this group, send email to puppet-users@googlegroups.com. > > To unsubscribe from this group, send email to > > puppet-users+unsubscribe@googlegroups.com. > > For more options, visit this group at > >http://groups.google.com/group/puppet-users?hl=en. > > -- > Nigel Kersten > Product Manager, Puppet Labs-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.