Jira (PUP-7136) Enable the tracing of lookup calls on a per-node basis
Title: Message Title Charlie Sharpsteen commented on PUP-7136 Re: Enable the tracing of lookup calls on a per-node basis Alright, Hiera lookups can indeed be explained on a per-node basis via the log_level support added to /puppet/v4/catalog in SERVER-2520: # curl -ksS \ -H "Content-Type: application/json" \ --cert $(puppet config print hostcert) \ --key $(puppet config print hostprivkey) \ https://localhost:8140/puppet/v4/catalog \ --data-binary @- < | jq -r '.logs[]|.message|select(.|test("^Lookup of"))' {"certname": "$(puppet config print certname)", "persistence": {"facts": false, "catalog": false}, "environment": "production", "options": {"capture_logs": true, "log_level": "debug"}}
Jira (PUP-7136) Enable the tracing of lookup calls on a per-node basis
Title: Message Title Molly Waggett updated an issue Puppet / PUP-7136 Enable the tracing of lookup calls on a per-node basis Change By: Molly Waggett Labels: final_triage nice-to-have Add Comment This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d) -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.172347.1485459833000.21623.1645560600117%40Atlassian.JIRA.
Jira (PUP-7136) Enable the tracing of lookup calls on a per-node basis
Title: Message Title Molly Waggett updated an issue Puppet / PUP-7136 Enable the tracing of lookup calls on a per-node basis Change By: Molly Waggett Team: Froyo Phoenix Add Comment This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d) -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.172347.1485459833000.21622.1645560600056%40Atlassian.JIRA.
Jira (PUP-7136) Enable the tracing of lookup calls on a per-node basis
Title: Message Title Charlie Sharpsteen commented on PUP-7136 Re: Enable the tracing of lookup calls on a per-node basis The ability to set the a per-request log_level on the /v4/catalog API might resolve this by making it easy to get the explain logs for just one node — I'll look into it. Add Comment This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d) -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.172347.1485459833000.21543.1645557960238%40Atlassian.JIRA.
Jira (PUP-7136) Enable the tracing of lookup calls on a per-node basis
Title: Message Title Charlie Sharpsteen assigned an issue to Charlie Sharpsteen Puppet / PUP-7136 Enable the tracing of lookup calls on a per-node basis Change By: Charlie Sharpsteen Assignee: Charlie Sharpsteen Add Comment This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d) -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.172347.1485459833000.21544.1645557960284%40Atlassian.JIRA.
Jira (PUP-7136) Enable the tracing of lookup calls on a per-node basis
Title: Message Title Charlie Sharpsteen commented on PUP-7136 Re: Enable the tracing of lookup calls on a per-node basis Re-opening. "Why is my node not finding the Hiera data I expect?" is still a very common and time-consuming troubleshooting query. Add Comment This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d) -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.172347.1485459833000.21525.1645557360093%40Atlassian.JIRA.
Jira (PUP-7136) Enable the tracing of lookup calls on a per-node basis
Title: Message Title Nick Walker commented on PUP-7136 Re: Enable the tracing of lookup calls on a per-node basis chuck has anything changed with this in the past 4-5 years? Add Comment This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d) -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.172347.1485459833000.10441.1640198820334%40Atlassian.JIRA.
Jira (PUP-7136) Enable the tracing of lookup calls on a per-node basis
Title: Message Title David McTavish updated an issue Puppet / PUP-7136 Enable the tracing of lookup calls on a per-node basis Change By: David McTavish Priority: Normal Low Add Comment This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97) -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.172347.1485459833000.21113.1638815940160%40Atlassian.JIRA.
Jira (PUP-7136) Enable the tracing of lookup calls on a per-node basis
Title: Message Title David McTavish updated an issue Puppet / PUP-7136 Enable the tracing of lookup calls on a per-node basis Change By: David McTavish Labels: final_triage nice-to-have Add Comment This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97) -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.172347.1485459833000.20908.1638811140031%40Atlassian.JIRA.
Jira (PUP-7136) Enable the tracing of lookup calls on a per-node basis
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-7136 Enable the tracing of lookup calls on a per-node basis Change By: Henrik Lindberg Sprint: PDE 2017-04-05, Forge - To Accept, PDE 2017-04-19 , Language Triage Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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-7136) Enable the tracing of lookup calls on a per-node basis
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-7136 Enable the tracing of lookup calls on a per-node basis Change By: Henrik Lindberg Sprint: PDE Triage, PDE 2017-04-05, PDE 2017-04-19 Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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-7136) Enable the tracing of lookup calls on a per-node basis
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-7136 Enable the tracing of lookup calls on a per-node basis Change By: Henrik Lindberg Sprint: PDE 2017-04-05, Forge - To Accept, PDE 2017-04-19 Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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-7136) Enable the tracing of lookup calls on a per-node basis
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-7136 Enable the tracing of lookup calls on a per-node basis Change By: Henrik Lindberg Sprint: PDE 2017-04-05, PDE 2017-04-19 , PDE 2017-06-07 Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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-7136) Enable the tracing of lookup calls on a per-node basis
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-7136 Enable the tracing of lookup calls on a per-node basis Change By: Henrik Lindberg Sprint: PDE Triage, PDE 2017-04-05, PDE 2017-04-19 Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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-7136) Enable the tracing of lookup calls on a per-node basis
Title: Message Title Branan Riley updated an issue Puppet / PUP-7136 Enable the tracing of lookup calls on a per-node basis Change By: Branan Riley Labels: triaged Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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-7136) Enable the tracing of lookup calls on a per-node basis
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-7136 Enable the tracing of lookup calls on a per-node basis Change By: Henrik Lindberg Sprint: PDE 2017-04-05, PDE 2017-04-19, PDE 2017-05- 17 31 Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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-7136) Enable the tracing of lookup calls on a per-node basis
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-7136 Enable the tracing of lookup calls on a per-node basis Change By: Henrik Lindberg Fix Version/s: PUP 5.y Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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-7136) Enable the tracing of lookup calls on a per-node basis
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-7136 Enable the tracing of lookup calls on a per-node basis Change By: Henrik Lindberg Sprint: PDE 2017-04-05, PDE 2017-04-19, PDE 2017-05- 03 17 Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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-7136) Enable the tracing of lookup calls on a per-node basis
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-7136 Enable the tracing of lookup calls on a per-node basis Change By: Henrik Lindberg Sprint: PDE 2017-04-05, PDE 2017-04-19 , PDE 2017-05-03 Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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-7136) Enable the tracing of lookup calls on a per-node basis
Title: Message Title Eric Sorenson updated an issue Puppet / PUP-7136 Enable the tracing of lookup calls on a per-node basis Change By: Eric Sorenson Fix Version/s: PUP 5.0.0 Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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-7136) Enable the tracing of lookup calls on a per-node basis
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-7136 Enable the tracing of lookup calls on a per-node basis Change By: Henrik Lindberg Sprint: PDE 2017-04-05 , PDE 2017-04-19 Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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-7136) Enable the tracing of lookup calls on a per-node basis
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-7136 Enable the tracing of lookup calls on a per-node basis Agree with Charlie Sharpsteen, we need a separate flag and --explain seems to be a good choice. Change By: Henrik Lindberg Story Points: 3 Sprint: PDE 2017-04-05 Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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-7136) Enable the tracing of lookup calls on a per-node basis
Title: Message Title Charlie Sharpsteen commented on PUP-7136 Re: Enable the tracing of lookup calls on a per-node basis If there is a noticeable performance hit, then we probably want to split explanations out to a separate parameter. The key feature is still the ability to enable explanations from the agent side by passing an additional flag to puppet agent -t and have the results show up on the server without twiddling any configuration bits on either side. Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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-7136) Enable the tracing of lookup calls on a per-node basis
Title: Message Title Henrik Lindberg commented on PUP-7136 Re: Enable the tracing of lookup calls on a per-node basis Charlie Sharpsteen I suspect that the explains will be quite costly and that they will indeed skew the result as parameters getting their value from APL will show up as being a lot more expensive than those that do not. Maybe we should add a new option to the HTTP request for "--explain" behaviour? Currently we only have explanations of lookups, but I can imagine additional things being explained over time. If we do that, --explain would be changed to be a setting (it is currently speicific to the lookup CLI), and then handled akin to the --profile setting in the indirector/http to make it relay from agent to server. Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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-7136) Enable the tracing of lookup calls on a per-node basis
Title: Message Title John Duarte updated an issue Puppet / PUP-7136 Enable the tracing of lookup calls on a per-node basis Change By: John Duarte Team: Puppet Developer Experience Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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-7136) Enable the tracing of lookup calls on a per-node basis
Title: Message Title Henrik Lindberg commented on PUP-7136 Re: Enable the tracing of lookup calls on a per-node basis I think the doing explain when profiling is on is a very good idea. In hiera 5 each backend is a function call, and you would want those profiled as well. This is best done in the context of the explanation as it would otherwise be difficult to understand why the data functions were called, and what to attribute cost to. Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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-7136) Enable the tracing of lookup calls on a per-node basis
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-7136 Enable the tracing of lookup calls on a per-node basis Change By: Henrik Lindberg Fix Version/s: PUP 5.0.0 Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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-7136) Enable the tracing of lookup calls on a per-node basis
Title: Message Title Charlie Sharpsteen updated an issue Puppet / PUP-7136 Enable the tracing of lookup calls on a per-node basis Change By: Charlie Sharpsteen Currently, one of the best tools for debugging a hiera() or lookup() call that isn't quite turning out right is to enable DEBUG level logging on the puppet server in order to get a trace of the files that were consulted when looking for a particular value:{noformat}2017-01-26 18:25:56,037 DEBUG [qtp137565235-68] [puppetserver] Puppet hiera(): Looking up profile::rabbitmq::cluster_nodes in YAML backend2017-01-26 18:25:56,038 DEBUG [qtp137565235-68] [puppetserver] Puppet hiera(): Looking for data source nodes/test.cert2017-01-26 18:25:56,038 DEBUG [qtp137565235-68] [puppetserver] Puppet hiera(): Cannot find datafile hieradata/nodes/test.cert.yaml, skipping2017-01-26 18:25:56,038 DEBUG [qtp137565235-68] [puppetserver] Puppet hiera(): Looking for data source st02/rabbitmq2017-01-26 18:25:56,038 DEBUG [qtp137565235-68] [puppetserver] Puppet hiera(): Cannot find datafile hieradata/st02/rabbitmq.yaml, skipping2017-01-26 18:25:56,038 DEBUG [qtp137565235-68] [puppetserver] Puppet hiera(): Looking for data source st022017-01-26 18:25:56,039 DEBUG [qtp137565235-68] [puppetserver] Puppet hiera(): Cannot find datafile hieradata/st02.yaml, skipping2017-01-26 18:25:56,039 DEBUG [qtp137565235-68] [puppetserver] Puppet hiera(): Looking for data source role/rabbitmq2017-01-26 18:25:56,039 DEBUG [qtp137565235-68] [puppetserver] Puppet hiera(): Cannot find datafile hieradata/role/rabbitmq.yaml, skipping2017-01-26 18:25:56,039 DEBUG [qtp137565235-68] [puppetserver] Puppet hiera(): Looking for data source common2017-01-26 18:25:56,039 DEBUG [qtp137565235-68] [puppetserver] Puppet hiera(): Cannot find datafile hieradata/common.yaml, skipping2017-01-26 18:25:56,044 ERROR [qtp137565235-68] [puppetserver] Puppet Evaluation Error: Error while evaluating a Function Call, Could not find data item profile::rabbitmq::cluster_nodes in any Hiera data file and no default supplied at /etc/puppetlabs/code/environments/st02/site/profile/manifests/rabbitmq/cluster.pp:2:30 on node test.cert{noformat}This information can be compared against the configured hierarchy to deduce which values were in scope at the time that the lookup ran.There are however several downsides to this approach: - Boosting the logs to DEBUG level requires manual edits to config files and a puppet server restart. - DEBUG level output is generated for all agents, which absolutely kills the signal to noise ratio of the logs. - After debugging, the log level boost must be reverted via more manual edits and another restart.As a puppet operator, I would like the ability to temporarily enable lookup tracing on a per- for individual agent basis runs so that I can quickly debug misbehaving lookups running on the server without disturbing the rest of my installation disruptions such as configuration edits or service restarts .
Jira (PUP-7136) Enable the tracing of lookup calls on a per-node basis
Title: Message Title Charlie Sharpsteen updated an issue Puppet / PUP-7136 Enable the tracing of lookup calls on a per-node basis Change By: Charlie Sharpsteen Currently, one of the best tools for debugging a hiera() or lookup() call that isn't quite turning out right is to enable DEBUG level logging on the puppet server in order to get a trace of the files that were consulted when looking for a particular value:{noformat}2017-01-26 18:25:56,037 DEBUG [qtp137565235-68] [puppetserver] Puppet hiera(): Looking up profile::rabbitmq::cluster_nodes in YAML backend2017-01-26 18:25:56,038 DEBUG [qtp137565235-68] [puppetserver] Puppet hiera(): Looking for data source nodes/test.cert2017-01-26 18:25:56,038 DEBUG [qtp137565235-68] [puppetserver] Puppet hiera(): Cannot find datafile hieradata/nodes/test.cert.yaml, skipping2017-01-26 18:25:56,038 DEBUG [qtp137565235-68] [puppetserver] Puppet hiera(): Looking for data source st02/rabbitmq2017-01-26 18:25:56,038 DEBUG [qtp137565235-68] [puppetserver] Puppet hiera(): Cannot find datafile hieradata/st02/rabbitmq.yaml, skipping2017-01-26 18:25:56,038 DEBUG [qtp137565235-68] [puppetserver] Puppet hiera(): Looking for data source st022017-01-26 18:25:56,039 DEBUG [qtp137565235-68] [puppetserver] Puppet hiera(): Cannot find datafile hieradata/st02.yaml, skipping2017-01-26 18:25:56,039 DEBUG [qtp137565235-68] [puppetserver] Puppet hiera(): Looking for data source role/rabbitmq2017-01-26 18:25:56,039 DEBUG [qtp137565235-68] [puppetserver] Puppet hiera(): Cannot find datafile hieradata/role/rabbitmq.yaml, skipping2017-01-26 18:25:56,039 DEBUG [qtp137565235-68] [puppetserver] Puppet hiera(): Looking for data source common2017-01-26 18:25:56,039 DEBUG [qtp137565235-68] [puppetserver] Puppet hiera(): Cannot find datafile hieradata/common.yaml, skipping2017-01-26 18:25:56,044 ERROR [qtp137565235-68] [puppetserver] Puppet Evaluation Error: Error while evaluating a Function Call, Could not find data item profile::rabbitmq::cluster_nodes in any Hiera data file and no default supplied at /etc/puppetlabs/code/environments/st02/site/profile/manifests/rabbitmq/cluster.pp:2:30 on node test.cert{noformat}This information can be compared against the configured hierarchy to deduce which values were in scope at the time that the lookup ran.There are however several downsides to this approach: - Boosting the logs to DEBUG level requires manual edits to config files and a puppet server restart. - DEBUG level output is generated for all agents, which absolutely kills the signal to noise ration ratio of the logs. - After debugging, the log level boost must be reverted via more manual edits and another restart.As a puppet operator, I would like the ability to enable lookup tracing on a per-agent basis so that I can quickly debug misbehaving lookups running on the server without disturbing the rest of my installation.
Jira (PUP-7136) Enable the tracing of lookup calls on a per-node basis
Title: Message Title Charlie Sharpsteen updated an issue Puppet / PUP-7136 Enable the tracing of lookup calls on a per-node basis Change By: Charlie Sharpsteen Summary: Allow Enable the tracing of lookup calls to be traced on a per-node basis Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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.