Jira (PUP-9754) Log resident configuration upon daemon launch
Title: Message Title Jean Bond updated an issue Puppet / PUP-9754 Log resident configuration upon daemon launch Change By: Jean Bond Labels: resolved-issue-added Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- 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.312512.1560543853000.137513.1570664760394%40Atlassian.JIRA.
Jira (PUP-9754) Log resident configuration upon daemon launch
Title: Message Title George Mrejea updated an issue Puppet / PUP-9754 Log resident configuration upon daemon launch Change By: George Mrejea Fix Version/s: PUP 6.4.4 Fix Version/s: PUP 5.5.17 Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- 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.312512.1560543853000.127411.1570101840709%40Atlassian.JIRA.
Jira (PUP-9754) Log resident configuration upon daemon launch
Title: Message Title Josh Cooper commented on PUP-9754 Re: Log resident configuration upon daemon launch Jean Bond The puppet agent process will daemonize by default on POSIX systems, though it can be prevented a few different ways, such as setting Puppet[:daemonize]=false, specifying puppet agent ---onetime, or more commonly puppet agent --test. The new behavior in this ticket only occurs when the agent daemonizes and the log level is set to debug. Also Windows handles daemonizing differently, so this ticket doesn't apply to puppet on Windows. Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- 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.312512.1560543853000.100619.1568672940321%40Atlassian.JIRA.
Jira (PUP-9754) Log resident configuration upon daemon launch
Title: Message Title Jean Bond commented on PUP-9754 Re: Log resident configuration upon daemon launch Josh Cooper or Ciprian Badescu, I'm looking for a bit of clarification on the release note. It says: (by default daemon mode can be enabled on POSIX systems and is disabled on Windows) Does the mean daemon mode is enabled by default on POSIX, or it is disabled by default on POSIX and the user can enable it? And for Windows, this says it is disabled by default. Can the user enable it? Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- 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.312512.1560543853000.100200.1568662320377%40Atlassian.JIRA.
Jira (PUP-9754) Log resident configuration upon daemon launch
Title: Message Title Dorin Pleava updated an issue Puppet / PUP-9754 Log resident configuration upon daemon launch Change By: Dorin Pleava Fix Version/s: PUP 6.9.0 Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- 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.312512.1560543853000.93367.1568209800548%40Atlassian.JIRA.
Jira (PUP-9754) Log resident configuration upon daemon launch
Title: Message Title Mihai Buzgau updated an issue Puppet / PUP-9754 Log resident configuration upon daemon launch Change By: Mihai Buzgau Sprint: PR - 2019-07-23, NW - 2019-08-07, NW - 2019-08-21, NW - 2019-09-03 , NW - 2019-09-18 Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- 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.312512.1560543853000.84536.1567588623401%40Atlassian.JIRA.
Jira (PUP-9754) Log resident configuration upon daemon launch
Title: Message Title Josh Cooper commented on PUP-9754 Re: Log resident configuration upon daemon launch Merged to 5.5.x in https://github.com/puppetlabs/puppet/commit/5144c75f8c1257fd1aa572d70714d7f4f1a97a7b Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- 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.312512.1560543853000.77048.1567021560751%40Atlassian.JIRA.
Jira (PUP-9754) Log resident configuration upon daemon launch
Title: Message Title Mihai Buzgau updated an issue Puppet / PUP-9754 Log resident configuration upon daemon launch Change By: Mihai Buzgau Sprint: PR - 2019-07-23, NW - 2019-08-07, NW - 2019-08-21 , NW - 2019-09-03 Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- 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.312512.1560543853000.65401.1566379023972%40Atlassian.JIRA.
Jira (PUP-9754) Log resident configuration upon daemon launch
Title: Message Title Garrett Guillotte commented on PUP-9754 Re: Log resident configuration upon daemon launch Ciprian Badescu Yes, log on startup is the intent. Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- 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.312512.1560543853000.49603.1565339640501%40Atlassian.JIRA.
Jira (PUP-9754) Log resident configuration upon daemon launch
Title: Message Title Mihai Buzgau updated an issue Puppet / PUP-9754 Log resident configuration upon daemon launch Change By: Mihai Buzgau Sprint: PR - 2019-07-23, NW - 2019-08-07 , NW - 2019-08-21 Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- 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.312512.1560543853000.46021.1565167084163%40Atlassian.JIRA.
Jira (PUP-9754) Log resident configuration upon daemon launch
Title: Message Title Ciprian Badescu commented on PUP-9754 Re: Log resident configuration upon daemon launch My understanding is that the config should be logged with debug only at puppet agent startup, daemon or not. Garrett Guillotte, pls confirm. On floaty centos-7-x86_64, this will add extra ~200 lines to already existing ~5000 in debug mode. Josh Cooper, does it sounds reasonable? Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- 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.312512.1560543853000.32570.1564153260128%40Atlassian.JIRA.
Jira (PUP-9754) Log resident configuration upon daemon launch
Title: Message Title Ciprian Badescu assigned an issue to Ciprian Badescu Puppet / PUP-9754 Log resident configuration upon daemon launch Change By: Ciprian Badescu Assignee: Ciprian Badescu Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- 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.312512.1560543853000.32531.1564150560433%40Atlassian.JIRA.
Jira (PUP-9754) Log resident configuration upon daemon launch
Title: Message Title Mihai Buzgau updated an issue Puppet / PUP-9754 Log resident configuration upon daemon launch Change By: Mihai Buzgau Sprint: PR - 2019-07-23 , NW - 2019-08-07 Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- 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.312512.1560543853000.28576.1563957064943%40Atlassian.JIRA.
Jira (PUP-9754) Log resident configuration upon daemon launch
Title: Message Title Garrett Guillotte updated an issue Puppet / PUP-9754 Log resident configuration upon daemon launch Change By: Garrett Guillotte *Problem Statement*When attempting to diagnose issues with configuration drift within Puppet agent itself (such as changes to `puppet.conf` not picked up by the agent), there is no way to confirm that the resident configuration is the same as the current state of the configuration files.For example, we can confirm configuration file settings with {{puppet config print}} and lookup PE keys with {{puppet lookup}}, but these only reflect what's currently written to the filesystem—if the daemon launched with different settings, there's no equivalent command to confirm its resident configuration.*Suggested Improvement*Either at info or debug logging levels, dump the configuration used by the daemon on launch and also when the daemon reloads the configuration. *Use cases** User Dougie wants to change a setting on disk (for instance, in {{puppet.conf}} or in PE Hiera keys) that doesn't have an obvious measurable impact, but he still wants to confirm that the change is picked up by the daemon after it is restarted. (For instance, Dougie might want to confirm that changing a setting in {{puppet.conf}} takes effect if the setting also exists in Hiera or the classifier.) If the daemon dumps its settings on launch with debug-level logging enabled, Dougie could confirm that the daemon's new settings match the settings on disk.* User Dougie launches the agent daemon, then user Bob changes the agent settings on disk. The agent daemon then runs uninterrupted for a length of time. Dougie is concerned that the setting on disk might have been changed, and if so wants to revert the change. However, he cannot remember the altered setting's original value. If the daemon dumped its settings on launch at info log level, Dougie could confirm that the settings on disk were changed and revert them to their original value.* User Dougie launches the agent daemon, then user Bob changes the agent settings on disk. The agent daemon then runs uninterrupted for a length of time. The agent eventually exhibits signs of a potential issue related to an agent setting, and Dougie calls Support. Using the settings that Bob set on disk, Support cannot reproduce the problem. It also does not appear that the daemon reloaded the settings from disk. Dougie does not remember how the settings Bob changed were configured when the running daemon was launched. If the daemon dumped its settings on launch at info log level, Support could confirm the settings in use by the daemon and attempt to reproduce the issue.
Jira (PUP-9754) Log resident configuration upon daemon launch
Title: Message Title Mihai Buzgau updated an issue Puppet / PUP-9754 Log resident configuration upon daemon launch Change By: Mihai Buzgau Sprint: PR - Triage 2019-07-23 Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.312512.1560543853000.10245.1562750880276%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-9754) Log resident configuration upon daemon launch
Title: Message Title Mihai Buzgau updated an issue Puppet / PUP-9754 Log resident configuration upon daemon launch Change By: Mihai Buzgau Story Points: 2 Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.312512.1560543853000.10243.1562750880269%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-9754) Log resident configuration upon daemon launch
Title: Message Title Jarret Lavallee updated an issue Puppet / PUP-9754 Log resident configuration upon daemon launch Change By: Jarret Lavallee CS Priority: Needs Priority Reviewed Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.312512.1560543853000.56181.1561073700256%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-9754) Log resident configuration upon daemon launch
Title: Message Title Josh Cooper commented on PUP-9754 Re: Log resident configuration upon daemon launch Logging every setting value could get spammy. We may want to limit this to only log settings whose values are different than the default and/or add a signal handler (maybe USR2?) to dump the configuration in response to the signal. Not sure about Windows. This is another reason to run puppet from cron instead of running our homegrown daemonization code. Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.312512.1560543853000.53423.1560966840346%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-9754) Log resident configuration upon daemon launch
Title: Message Title Mihai Buzgau updated an issue Puppet / PUP-9754 Log resident configuration upon daemon launch Change By: Mihai Buzgau Sprint: PR - Triage Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.312512.1560543853000.51055.1560864900572%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-9754) Log resident configuration upon daemon launch
Title: Message Title Jarret Lavallee updated an issue Puppet / PUP-9754 Log resident configuration upon daemon launch Change By: Jarret Lavallee CS Priority: Needs Priority Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.312512.1560543853000.48083.156050199%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-9754) Log resident configuration upon daemon launch
Title: Message Title Garrett Guillotte updated an issue Puppet / PUP-9754 Log resident configuration upon daemon launch Change By: Garrett Guillotte *Problem Statement*When attempting to diagnose issues with configuration drift within Puppet agent itself (such as changes to `puppet.conf` not picked up by the agent), there is no way to confirm that the resident configuration is the same as the current state of the configuration files. For example, we can confirm configuration file settings with {{puppet config print}} and lookup PE keys with {{puppet lookup}}, but these only reflect what's currently written to the filesystem—if the daemon launched with different settings, there's no equivalent command to confirm its resident configuration. *Suggested Improvement*Either at info or debug logging levels, dump the configuration used by the daemon on launch and also when the daemon reloads the configuration. Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message
Jira (PUP-9754) Log resident configuration upon daemon launch
Title: Message Title Garrett Guillotte created an issue Puppet / PUP-9754 Log resident configuration upon daemon launch Issue Type: Improvement Assignee: Unassigned Created: 2019/06/14 1:24 PM Priority: Normal Reporter: Garrett Guillotte Problem Statement When attempting to diagnose issues with configuration drift within Puppet agent itself (such as changes to `puppet.conf` not picked up by the agent), there is no way to confirm that the resident configuration is the same as the current state of the configuration files. Suggested Improvement Either at info or debug logging levels, dump the configuration used by the daemon on launch and also when the daemon reloads the configuration. Add Comment