George
2011-Apr-29 16:31 UTC
[Puppet Users] intermittent "Could not look up qualified variable" on puppet master server, client fails to retrieve catalog after 2.6.8 upgrade
After upgrading my puppet master to 2.6.8 from 2.6.2, I intermittently get things like: puppet-master[29789]: (Scope(Class[Auth::Kerberos_ldap])) Could not look up qualified variable ''common::datacenter::ldap::ldapservers''; class common::datacenter::ldap has not been evaluated puppet-master[29789]: Failed to parse template auth/rhel5/ ldap.conf.erb: undefined method `each'' for :undef:Symbol at /var/lib/ puppet/modules/auth/manifests/init.pp:22 on node vm- puppettest2.somedomain.com (client returns the same second message from above and uses the cached catalog) If I restart the puppetmaster, this error goes away on the next re-run of the client. No errors about parsing and everything comes down cleanly. However on subsequent runs the errors above return and it starts failing. Is this a bug? -- 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.
George
2011-Apr-30 22:25 UTC
[Puppet Users] Re: intermittent "Could not look up qualified variable" on puppet master server, client fails to retrieve catalog after 2.6.8 upgrade
I figured this out. I''ll summarize briefly in case it happens to anyone else. The issue had to do with stages. The class "Auth::Kerberos_ldap" was trying to source qualified variables in "common::datacenter" as the message indicates. However Auth::Kerberos_ldap was assigned to stage "first", while "common::datacenter" was assigned to stage "main". This seemed to be the cause of the problem because when i changed it the issue stopped happening. This worked on 2.6.2 so I can only assume something changed in 2.6.8. Conceptually the new behavior makes sense I suppose. On Apr 29, 9:31 am, George <ge.hepp...@gmail.com> wrote:> After upgrading my puppet master to 2.6.8 from 2.6.2, I intermittently > get things like: > > puppet-master[29789]: (Scope(Class[Auth::Kerberos_ldap])) Could not > look up qualified variable ''common::datacenter::ldap::ldapservers''; > class common::datacenter::ldap has not been evaluated > > puppet-master[29789]: Failed to parse template auth/rhel5/ > ldap.conf.erb: undefined method `each'' for :undef:Symbol at /var/lib/ > puppet/modules/auth/manifests/init.pp:22 on node vm- > puppettest2.somedomain.com > > (client returns the same second message from above and uses the cached > catalog) > > If I restart the puppetmaster, this error goes away on the next re-run > of the client. No errors about parsing and everything comes down > cleanly. However on subsequent runs the errors above return and it > starts failing. > > Is this a bug?-- 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.
Maybe Matching Threads
- Problem with first login
- Simply Auto Increment A Number
- err: Could not retrieve catalog: Could not parse for environment production: Could not find file /etc/puppet/manifests/site.pp warning: Not using cache on failed catalog
- Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find terminus puppetsvr for indirection catalog
- Could not retrieve catalog from remote server: SSL_connect returned=1 errno=0 state=SSLv3