Hi Guys, Was wondering if someone could point me in a way to diagnose my issue. I have a custom fact that i deployed on all my nodes. If i run the fact manually i get results as expected. When puppet runs only 5 or so nodes are storing this particular fact in the storeconfig mysql database. All other facts are storing fine for every node. As running the fact manually works on every node, i don''t know why this fact for most nodes isn''t populating in the database. Any ideas on how i could see what is happening within the puppet/ facter processing? -- 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.
Patrick Mohr
2011-Jun-20 03:24 UTC
Re: [Puppet Users] Facter + storeconfigs missing fact_values
Well, it would help if you can find out if the problem is with storeconfigs of the rest of puppet. Does the fact seem to be affecting the manifest? On Sun, Jun 19, 2011 at 7:48 PM, josbal <joshua.baldock@gmail.com> wrote:> Hi Guys, > > Was wondering if someone could point me in a way to diagnose my issue. > > I have a custom fact that i deployed on all my nodes. If i run the > fact manually i get results as expected. When puppet runs only 5 or so > nodes are storing this particular fact in the storeconfig mysql > database. All other facts are storing fine for every node. As running > the fact manually works on every node, i don''t know why this fact for > most nodes isn''t populating in the database. > > Any ideas on how i could see what is happening within the puppet/ > facter processing? > > -- > 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.
I have added a simple notify check into our manifest for the offending fact. If the value is set to expected it print a message into the puppet log, however the nodes that aren''t storing this fact in database also are processing this conditional in the manifest as expected. Further more i have run puppet in debug on some of the nodes with this issue, but there is no report attempting to process the condition, even though i can see that require fact file is loaded at the start of the run. As a last resort i removed the "state" dir to force the client to download the catalogue again and this seems to have forced both the correct running of the conditional statement and the loading of the fact value into the storeconfig database. I shall refresh the state of all my nodes and see if this clears the issue. On Jun 20, 1:24 pm, Patrick Mohr <kc7...@gmail.com> wrote:> Well, it would help if you can find out if the problem is with storeconfigs > of the rest of puppet. Does the fact seem to be affecting the manifest? > > > > > > > > On Sun, Jun 19, 2011 at 7:48 PM, josbal <joshua.bald...@gmail.com> wrote: > > Hi Guys, > > > Was wondering if someone could point me in a way to diagnose my issue. > > > I have a custom fact that i deployed on all my nodes. If i run the > > fact manually i get results as expected. When puppet runs only 5 or so > > nodes are storing this particular fact in the storeconfig mysql > > database. All other facts are storing fine for every node. As running > > the fact manually works on every node, i don''t know why this fact for > > most nodes isn''t populating in the database. > > > Any ideas on how i could see what is happening within the puppet/ > > facter processing? > > > -- > > 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.