Peter Berghold
2012-Jan-17 20:27 UTC
[Puppet Users] more fun and games...(exported resources)
what does this mean? err: Could not retrieve catalog from remote server: Error 400 on SERVER: Exported resource Nagios_contact[sharkrivertech-support] cannot override local resource on node slcdmon0.slc.sharkrivertech.com warning: Not using cache on failed catalog err: Could not retrieve catalog; skipping run There''s another nagios contact being exported prior to that one and it runs just fine... -- Peter L. Berghold Owner, Shark River Technical Solutions LLC -- 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.
Felix Frank
2012-Jan-18 11:47 UTC
Re: [Puppet Users] more fun and games...(exported resources)
Hi, On 01/17/2012 09:27 PM, Peter Berghold wrote:> err: Could not retrieve catalog from remote server: Error 400 on SERVER: > Exported resource Nagios_contact[sharkrivertech-support] cannot override > local resource on node slcdmon0.slc.sharkrivertech.com > <http://slcdmon0.slc.sharkrivertech.com>looks like you have both a @@nagios_contact { "sharkrivertech-support" } anywhere in your manifests, and a nagios_contact { "sharkrivertech-support" } in the manifest of the erronous node. Please double-check. HTH, Felix -- 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.
Peter Berghold
2012-Jan-18 14:13 UTC
Re: [Puppet Users] more fun and games...(exported resources)
That was my first thought Felix. I ran the command line find . -name ''*.pp'' -print -exec grep support {} \; just to find out where there might be a duplicate and came up dry. My templates.pp file is the only place that exists. I''ve managed to kludge a fix for it though by putting an "if" statement so that on the monitoring host (where the error was occurring) ignores that set of resources. That seems to have gotten me by for the moment. I''ve also changed my config store to mysql instead of sqlite3 and that has solved other issues as well. On Wed, Jan 18, 2012 at 6:47 AM, Felix Frank < felix.frank@alumni.tu-berlin.de> wrote:> Hi, > > On 01/17/2012 09:27 PM, Peter Berghold wrote: > > err: Could not retrieve catalog from remote server: Error 400 on SERVER: > > Exported resource Nagios_contact[sharkrivertech-support] cannot override > > local resource on node slcdmon0.slc.sharkrivertech.com > > <http://slcdmon0.slc.sharkrivertech.com> > > looks like you have both a @@nagios_contact { "sharkrivertech-support" } > anywhere in your manifests, and a nagios_contact { > "sharkrivertech-support" } in the manifest of the erronous node. Please > double-check. > > HTH, > Felix > > -- > 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. > >-- Peter L. Berghold Owner, Shark River Technical Solutions LLC -- 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.
Peter Berghold
2012-Jan-18 15:58 UTC
Re: [Puppet Users] more fun and games...(exported resources)
I guess my kludge didn''t work after all. The issue is back. I''m beginning to think that perhaps there is something bad about exporting nagios_contact resources. :-/ On Wed, Jan 18, 2012 at 9:13 AM, Peter Berghold <salty.cowdawg@gmail.com>wrote:> That was my first thought Felix. I ran the command line > > find . -name ''*.pp'' -print -exec grep support {} \; > > just to find out where there might be a duplicate and came up dry. My > templates.pp file is the only place that exists. > > I''ve managed to kludge a fix for it though by putting an "if" statement so > that on the monitoring host (where the error was occurring) ignores that > set of resources. That seems to have gotten me by for the moment. > > I''ve also changed my config store to mysql instead of sqlite3 and that has > solved other issues as well. > > > On Wed, Jan 18, 2012 at 6:47 AM, Felix Frank < > felix.frank@alumni.tu-berlin.de> wrote: > >> Hi, >> >> On 01/17/2012 09:27 PM, Peter Berghold wrote: >> > err: Could not retrieve catalog from remote server: Error 400 on SERVER: >> > Exported resource Nagios_contact[sharkrivertech-support] cannot override >> > local resource on node slcdmon0.slc.sharkrivertech.com >> > <http://slcdmon0.slc.sharkrivertech.com> >> >> looks like you have both a @@nagios_contact { "sharkrivertech-support" } >> anywhere in your manifests, and a nagios_contact { >> "sharkrivertech-support" } in the manifest of the erronous node. Please >> double-check. >> >> HTH, >> Felix >> >> -- >> 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. >> >> > > > -- > Peter L. Berghold > Owner, Shark River Technical Solutions LLC >-- Peter L. Berghold Owner, Shark River Technical Solutions LLC -- 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.
Nan Liu
2012-Jan-18 17:07 UTC
Re: [Puppet Users] more fun and games...(exported resources)
You probably have multiple server exporting the same resource when you only intend to export this particular resource only once. Nan On Jan 18, 2012, at 7:59, Peter Berghold <salty.cowdawg@gmail.com> wrote: I guess my kludge didn''t work after all. The issue is back. I''m beginning to think that perhaps there is something bad about exporting nagios_contact resources. :-/ On Wed, Jan 18, 2012 at 9:13 AM, Peter Berghold <salty.cowdawg@gmail.com>wrote:> That was my first thought Felix. I ran the command line > > find . -name ''*.pp'' -print -exec grep support {} \; > > just to find out where there might be a duplicate and came up dry. My > templates.pp file is the only place that exists. > > I''ve managed to kludge a fix for it though by putting an "if" statement so > that on the monitoring host (where the error was occurring) ignores that > set of resources. That seems to have gotten me by for the moment. > > I''ve also changed my config store to mysql instead of sqlite3 and that has > solved other issues as well. > > > On Wed, Jan 18, 2012 at 6:47 AM, Felix Frank < > felix.frank@alumni.tu-berlin.de> wrote: > >> Hi, >> >> On 01/17/2012 09:27 PM, Peter Berghold wrote: >> > err: Could not retrieve catalog from remote server: Error 400 on SERVER: >> > Exported resource Nagios_contact[sharkrivertech-support] cannot override >> > local resource on node slcdmon0.slc.sharkrivertech.com >> > <http://slcdmon0.slc.sharkrivertech.com> >> >> looks like you have both a @@nagios_contact { "sharkrivertech-support" } >> anywhere in your manifests, and a nagios_contact { >> "sharkrivertech-support" } in the manifest of the erronous node. Please >> double-check. >> >> HTH, >> Felix >> >> -- >> 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. >> >> > > > -- > Peter L. Berghold > Owner, Shark River Technical Solutions LLC >-- Peter L. Berghold Owner, Shark River Technical Solutions LLC -- 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.
Peter Berghold
2012-Jan-18 17:25 UTC
Re: [Puppet Users] more fun and games...(exported resources)
So I should logic in to export it just one time... On Jan 18, 2012 12:07 PM, "Nan Liu" <nan@puppetlabs.com> wrote: You probably have multiple server exporting the same resource when you only intend to export this particular resource only once. Nan On Jan 18, 2012, at 7:59, Peter Berghold <salty.cowdawg@gmail.com> wrote:> I guess my kludge didn...-- You received this message because you are subscribed to the Google Groups "Puppet Users" group.... -- 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.
Daniel Pittman
2012-Jan-18 18:18 UTC
Re: [Puppet Users] more fun and games...(exported resources)
Yes. Also, in earlier versions of Puppet - including most of 2.7 - the "local" part in that message is a ... well, "lie" isn''t quite the word, but it is misleading. It can also be a resource exported by another machine. :) On Wed, Jan 18, 2012 at 09:25, Peter Berghold <salty.cowdawg@gmail.com> wrote:> So I should logic in to export it just one time... > > On Jan 18, 2012 12:07 PM, "Nan Liu" <nan@puppetlabs.com> wrote: > > You probably have multiple server exporting the same resource when you only > intend to export this particular resource only once. > > Nan > > > On Jan 18, 2012, at 7:59, Peter Berghold <salty.cowdawg@gmail.com> wrote: > >> I guess my kludge didn... > > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group.... > > -- > 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.-- Daniel Pittman ⎋ Puppet Labs Developer – http://puppetlabs.com ♲ Made with 100 percent post-consumer electrons -- 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.