Jira (PUP-6339) Hiera Data in Module give bad results when environment_timeout is unlimited
Title: Message Title Thomas Hallgren commented on PUP-6339 Re: Hiera Data in Module give bad results when environment_timeout is unlimited I created ticket SERVER-1749 to track this. 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-6339) Hiera Data in Module give bad results when environment_timeout is unlimited
Title: Message Title Thomas Hallgren commented on PUP-6339 Re: Hiera Data in Module give bad results when environment_timeout is unlimited almost as if three different threads executed in the same Ruby instance simultaneously. 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-6339) Hiera Data in Module give bad results when environment_timeout is unlimited
Title: Message Title Thomas Hallgren commented on PUP-6339 Re: Hiera Data in Module give bad results when environment_timeout is unlimited I must admit that it looks very strange. It's the same environment and almost exactly the same timestamp. 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-6339) Hiera Data in Module give bad results when environment_timeout is unlimited
Title: Message Title Adam Winberg commented on PUP-6339 Re: Hiera Data in Module give bad results when environment_timeout is unlimited Another interesting thing - with 'strict' set to 'error' and trace logging, I actually get three occurences of the error message: 2017-03-09 13:29:39,720 ERROR [qtp182348184-67 - /puppet/v3/catalog/lxserv940.smhi.se?environment=production] [puppetserver] Puppet Class 'settings' is already defined; cannot redefine on node lxserv940.smhi.se 2017-03-09 13:29:39,733 ERROR [qtp182348184-67 - /puppet/v3/catalog/lxserv940.smhi.se?environment=production] [puppetserver] Puppet Class 'settings' is already defined; cannot redefine on node lxserv940.smhi.se 2017-03-09 13:29:39,734 ERROR [qtp182348184-67 - /puppet/v3/catalog/lxserv940.smhi.se?environment=production] [puppetserver] Puppet Server Error: Class 'settings' is already defined; cannot redefine on node lxserv940.smhi.se The first and last of these also outputs stack traces. Is the repetition normal when executing in this manner? Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe)
Jira (PUP-6339) Hiera Data in Module give bad results when environment_timeout is unlimited
Title: Message Title Thomas Hallgren commented on PUP-6339 Re: Hiera Data in Module give bad results when environment_timeout is unlimited Thanks for producing this. Very interesting indeed. The scope is supposedly freshly created for each compile. Here it seems it somehow survives in the environment. That really should not happen. I need to investigate further. 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-6339) Hiera Data in Module give bad results when environment_timeout is unlimited
Title: Message Title Adam Winberg commented on PUP-6339 Re: Hiera Data in Module give bad results when environment_timeout is unlimited if I didnt explicitly mention it before, the errors go away if I set 'environment_timeout' to 0. Also, after restarting the puppetserver (with 'unlimited') the first agent run typically does not trigger this error. But when I run the agent a second time the error appears. 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-6339) Hiera Data in Module give bad results when environment_timeout is unlimited
Title: Message Title Adam Winberg commented on PUP-6339 Re: Hiera Data in Module give bad results when environment_timeout is unlimited ok, that actually yielded a trace: 2017-03-09 13:29:39,720 ERROR [qtp182348184-67 - /puppet/v3/catalog/lxserv940.smhi.se?environment=production] [puppetserver] Puppet Class 'settings' is already defined; cannot redefine on node lxserv940.smhi.se /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/errors.rb:106:in `fail' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/resource/type_collection.rb:248:in `dupe_check' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/resource/type_collection.rb:68:in `add_hostclass' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/resource/type_collection.rb:60:in `add' org/jruby/RubyKernel.java:1242:in `catch' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/resource/type_collection.rb:59:in `add' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:857:in `create_settings_scope' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:168:in
Jira (PUP-6339) Hiera Data in Module give bad results when environment_timeout is unlimited
Title: Message Title Thomas Hallgren commented on PUP-6339 Re: Hiera Data in Module give bad results when environment_timeout is unlimited Oh, my bad. You need to have the puppet strict setting set to to error to make it work. 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-6339) Hiera Data in Module give bad results when environment_timeout is unlimited
Title: Message Title Adam Winberg commented on PUP-6339 Re: Hiera Data in Module give bad results when environment_timeout is unlimited no stack back trace, the log output was the same as with debug logging. 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-6339) Hiera Data in Module give bad results when environment_timeout is unlimited
Title: Message Title Thomas Hallgren commented on PUP-6339 Re: Hiera Data in Module give bad results when environment_timeout is unlimited and, I assume, no stack back trace either? 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-6339) Hiera Data in Module give bad results when environment_timeout is unlimited
Title: Message Title Adam Winberg commented on PUP-6339 Re: Hiera Data in Module give bad results when environment_timeout is unlimited no luck, there were no TRACE messages in the log output 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-6339) Hiera Data in Module give bad results when environment_timeout is unlimited
Title: Message Title Thomas Hallgren commented on PUP-6339 Re: Hiera Data in Module give bad results when environment_timeout is unlimited And yes, trace is also set in the logback config. 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-6339) Hiera Data in Module give bad results when environment_timeout is unlimited
Title: Message Title Thomas Hallgren commented on PUP-6339 Re: Hiera Data in Module give bad results when environment_timeout is unlimited Adam Winberg, actually, I wonder if setting log level to trace will do the trick without patching the code. Can you please try that? 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-6339) Hiera Data in Module give bad results when environment_timeout is unlimited
Title: Message Title Adam Winberg commented on PUP-6339 Re: Hiera Data in Module give bad results when environment_timeout is unlimited yeah sure, I'll be happy to test that. Is the logging level 'trace' also set in the logback configuration? 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-6339) Hiera Data in Module give bad results when environment_timeout is unlimited
Title: Message Title Thomas Hallgren commented on PUP-6339 Re: Hiera Data in Module give bad results when environment_timeout is unlimited One thing that would help pin-pointing the error would be to temporarily change that redefinition into a hard error by injecting a raise statement in the ruby code and then restarting the server with logging level set to trace. That would make the compile crash and produce a full stack-trace in the log. Adam Winberg, let me know if you would be interested in trying that. If so, I'll figure out where the raise must be injected. 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-6339) Hiera Data in Module give bad results when environment_timeout is unlimited
Title: Message Title Adam Winberg commented on PUP-6339 Re: Hiera Data in Module give bad results when environment_timeout is unlimited debug logging does not reveal much to me, there is no additional mention of the settings class and no obvious clues in connection with the 'already defined' error message. Interesting though is that the error message is showing on some runs, but on others not - with the same client. I've tried to diff the debug logs between two of these runs, but I still cant make out what might be the problem. 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-6339) Hiera Data in Module give bad results when environment_timeout is unlimited
Title: Message Title Thomas Hallgren commented on PUP-6339 Re: Hiera Data in Module give bad results when environment_timeout is unlimited Adam Winberg, can you run with log-level debug? That might be very verbose (and a bit slower) but it might also reveal more about when this happens. 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-6339) Hiera Data in Module give bad results when environment_timeout is unlimited
Title: Message Title Adam Winberg commented on PUP-6339 Re: Hiera Data in Module give bad results when environment_timeout is unlimited Hm, I have no class named 'settings' and cant really find anywhere in my code where such a class would be defined. Unfortunately the error message does not indicate where in the code things go wrong. The logs have no stacktrace, looks like this: 2017-03-08 17:16:10,240 INFO [qtp1384492760-14005] [puppetserver] Puppet Compiled catalog for lxserv362.smhi.se in environment production in 2.10 seconds 2017-03-08 17:16:11,232 INFO [qtp1384492760-12587] [puppetserver] Puppet Compiled catalog for lxserv666.smhi.se in environment production in 2.11 seconds 2017-03-08 17:16:11,855 WARN [qtp1384492760-12276] [puppetserver] Puppet Class 'settings' is already defined; cannot redefine at : 2017-03-08 17:16:11,950 WARN [qtp1384492760-12389] [puppetserver] Puppet Class 'settings' is already defined; cannot redefine at : 2017-03-08 17:16:13,852 INFO [qtp1384492760-12276] [puppetserver] Puppet Compiled catalog for lxserv683.smhi.se in environment production in 2.00 seconds 2017-03-08 17:16:13,900 INFO [qtp1384492760-12389] [puppetserver] Puppet Compiled catalog for lxserv1296.smhi.se in environment production in 1.95 seconds 2017-03-08 17:16:23,372 WARN [qtp1384492760-12276] [puppetserver] Puppet Class 'settings' is already defined; cannot redefine at :
Jira (PUP-6339) Hiera Data in Module give bad results when environment_timeout is unlimited
Title: Message Title Henrik Lindberg commented on PUP-6339 Re: Hiera Data in Module give bad results when environment_timeout is unlimited Adam Winberg - there is probably a stacktrace in the logs - that is what we would like to see. 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-6339) Hiera Data in Module give bad results when environment_timeout is unlimited
Title: Message Title Thomas Hallgren commented on PUP-6339 Re: Hiera Data in Module give bad results when environment_timeout is unlimited Adam Winberg, no, that error message is not expected. Puppet creates a class called settings when it starts a new compile of a catalog. This error suggests that a class with that name is created somewhere else too, which is bad. Can you provide some more info around where that happens? 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-6339) Hiera Data in Module give bad results when environment_timeout is unlimited
Title: Message Title Adam Winberg commented on PUP-6339 Re: Hiera Data in Module give bad results when environment_timeout is unlimited I'm still seeing these warnings ("Puppet Class 'settings' is already defined; cannot redefine at :") in my puppetserver log on v2.7.2. The use case is exactly as described by OP, but I can't see that it actually affects any configuration - that is, everything seems to work as expected. It's mostly an annoyance in my log files, is this expected behaviour? 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-6339) Hiera Data in Module give bad results when environment_timeout is unlimited
Title: Message Title Kenn Hussey updated an issue Puppet / PUP-6339 Hiera Data in Module give bad results when environment_timeout is unlimited Change By: Kenn Hussey Flagged: Impediment Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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-6339) Hiera Data in Module give bad results when environment_timeout is unlimited
Title: Message Title Sean Griffin updated an issue Puppet / PUP-6339 Hiera Data in Module give bad results when environment_timeout is unlimited Change By: Sean Griffin QA Risk Assessment: Medium QA Status: Reviewed Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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-6339) Hiera Data in Module give bad results when environment_timeout is unlimited
Title: Message Title Sean Griffin assigned an issue to Unassigned Puppet / PUP-6339 Hiera Data in Module give bad results when environment_timeout is unlimited Change By: Sean Griffin Assignee: Sean Griffin Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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-6339) Hiera Data in Module give bad results when environment_timeout is unlimited
Title: Message Title Sean Griffin commented on PUP-6339 Re: Hiera Data in Module give bad results when environment_timeout is unlimited Yes. Kenn Hussey I think I do. Thanks. Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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-6339) Hiera Data in Module give bad results when environment_timeout is unlimited
Title: Message Title Sean Griffin assigned an issue to Sean Griffin Puppet / PUP-6339 Hiera Data in Module give bad results when environment_timeout is unlimited Change By: Sean Griffin Assignee: qa Sean Griffin Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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-6339) Hiera Data in Module give bad results when environment_timeout is unlimited
Title: Message Title Kenn Hussey commented on PUP-6339 Re: Hiera Data in Module give bad results when environment_timeout is unlimited Eric Thompson or Sean Griffin do you have what you need to test this? Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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-6339) Hiera Data in Module give bad results when environment_timeout is unlimited
Title: Message Title Sean Griffin assigned an issue to qa Puppet / PUP-6339 Hiera Data in Module give bad results when environment_timeout is unlimited Change By: Sean Griffin Status: Ready for CI Test Assignee: qa Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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-6339) Hiera Data in Module give bad results when environment_timeout is unlimited
Title: Message Title Steve Barlow updated an issue Puppet / PUP-6339 Hiera Data in Module give bad results when environment_timeout is unlimited Change By: Steve Barlow Sprint: 9/17 Language 2016 - 9/30 2013 06-01 Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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-6339) Hiera Data in Module give bad results when environment_timeout is unlimited
Title: Message Title Rob Braden updated an issue Puppet / PUP-6339 Hiera Data in Module give bad results when environment_timeout is unlimited Change By: Rob Braden Flagged: Impediment Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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-6339) Hiera Data in Module give bad results when environment_timeout is unlimited
Title: Message Title Henrik Lindberg commented on PUP-6339 Re: Hiera Data in Module give bad results when environment_timeout is unlimited Merged to stable: 7e30e0c, and on to master. Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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-6339) Hiera Data in Module give bad results when environment_timeout is unlimited
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-6339 Hiera Data in Module give bad results when environment_timeout is unlimited Change By: Henrik Lindberg Acceptance Criteria: Data in Modules data in a module that depends on facts or other node/compilation specific data should get the expected data when environment timeout > 0. Release Notes Summary: If data in a module using "data in modules" depended on node/fact/compilation specific input it would not get the correct data if environment timeout > 0. It would instead produce the value for the node for which a catalog was compiled in that environment's life cycle. Modules having only static data were not affected by this problem. Release Notes: Bug Fix Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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
Jira (PUP-6339) Hiera Data in Module give bad results when environment_timeout is unlimited
Title: Message Title Henrik Lindberg commented on PUP-6339 Re: Hiera Data in Module give bad results when environment_timeout is unlimited Thomas Hallgren Bindings are typically for binding impl to names so should be fine if they have the same life cycle as the environment. It does however not prevent anyone from finding request specific data in their ruby implementation - doing so would be considered an error IMO as they should then have bound a provider that produces a series of values (one per request). Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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-6339) Hiera Data in Module give bad results when environment_timeout is unlimited
Title: Message Title Thomas Hallgren commented on PUP-6339 Re: Hiera Data in Module give bad results when environment_timeout is unlimited The caches (or rather, the adapter caching the data providers, which in turned cached the data) was indeed attached to the environment. PR-4984 attaches it to the compiler instead. Thanks Chuck Schweizer, for the detailed bug report, and thanks Henrik Lindberg for pointing out exactly what was wrong. I see that Puppet::Pops::Bindings also attach all new bindings to the environment but I assume that is the way it's supposed to be. Henrik Lindberg, do you see any scenario when that might be bad? Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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-6339) Hiera Data in Module give bad results when environment_timeout is unlimited
Title: Message Title Thomas Hallgren updated an issue Puppet / PUP-6339 Hiera Data in Module give bad results when environment_timeout is unlimited Change By: Thomas Hallgren Scope Change Category: Found Scope Change Reason: Major issue. Needs to be fixed a.s.a.p. Story Points: 1 Sprint: 9/17-9/30 2013 Scrum Team: Language Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
Jira (PUP-6339) Hiera Data in Module give bad results when environment_timeout is unlimited
Title: Message Title Henrik Lindberg commented on PUP-6339 Re: Hiera Data in Module give bad results when environment_timeout is unlimited Looks like caching that should be associated with the compiler instance is associated with the environment. Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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-6339) Hiera Data in Module give bad results when environment_timeout is unlimited
Title: Message Title Henrik Lindberg commented on PUP-6339 Re: Hiera Data in Module give bad results when environment_timeout is unlimited Ping Thomas Hallgren Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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-6339) Hiera Data in Module give bad results when environment_timeout is unlimited
Title: Message Title Henrik Lindberg assigned an issue to Thomas Hallgren Puppet / PUP-6339 Hiera Data in Module give bad results when environment_timeout is unlimited Change By: Henrik Lindberg Assignee: Thomas Hallgren Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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-6339) Hiera Data in Module give bad results when environment_timeout is unlimited
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-6339 Hiera Data in Module give bad results when environment_timeout is unlimited Change By: Henrik Lindberg Priority: Normal Major Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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-6339) Hiera Data in Module give bad results when environment_timeout is unlimited
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-6339 Hiera Data in Module give bad results when environment_timeout is unlimited Change By: Henrik Lindberg Fix Version/s: PUP 4.5.1 Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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-6339) Hiera Data in Module give bad results when environment_timeout is unlimited
Title: Message Title Chuck Schweizer updated an issue Puppet / PUP-6339 Hiera Data in Module give bad results when environment_timeout is unlimited Change By: Chuck Schweizer 1) Set environment_timeout to unlimited (this does not occur if set to 0)2) Setup hiera data in a module that use a FACT to determine what it should do.3) Set the fact differently on two or more clients4) Run puppet from each of the clients at the same timeAfter a few puppet runs they will stop getting the correct hiera data in module values from the PuppetServer.eg. server1 could see the server2 value or server2 could see the server1 value.SAMPLE module:{code:java}./test_module./test_module/hieradata./test_module/hieradata/common.yaml./test_module/hieradata/server1.yaml./test_module/hieradata/server2.yaml./test_module/manifests./test_module/manifests/init.pp./test_module/metadata.json./test_module/hiera.yaml{code}*init.pp*{code:java}class test_module ( $my_var = 'not from hiera',){ notify{"The variable is $my_var":}}{code} ./test_module/hieradata/common.yaml{code:java}---test_module::my_var: 'In common.yaml'{code} hiera.yaml{code:java}---version: 4datadir: hieradatahierarchy: - name: "%{my_fact}"backend: yaml - name: "common"backend: yaml{code}./test_module/hieradata/ common.yaml{code:java}---test_module::my_var: 'In common.yaml'{code}./test_module/hieradata/ server1.yaml{code:java}---test_module::my_var: 'server1'{code}./test_module/hieradata/server2.yaml{code:java}---test_module::my_var: 'server2'{code}SERVER1/etc/puppetlabs/facter/facts.d/my_fact.txt my_fact=server1SERVER2/etc/puppetlabs/facter/facts.d/my_fact.txt my_fact=server2Error seen in Puppetserver logs{code:java}[puppetserver] Puppet Caching node for server1.mydomain[puppetserver] Puppet Class 'settings' is already defined; cannot redefine at :[puppetserver] Puppet Compiled catalog for server1.mydomain in environment production in 0.04 seconds{code} Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9)
Jira (PUP-6339) Hiera Data in Module give bad results when environment_timeout is unlimited
Title: Message Title Chuck Schweizer updated an issue Puppet / PUP-6339 Hiera Data in Module give bad results when environment_timeout is unlimited Change By: Chuck Schweizer 1) Set environment_timeout to unlimited (this does not occur if set to 0)2) Setup hiera data in a module that use a FACT to determine what it should do.3) Set the fact differently on two or more clients4) Run puppet from each of the clients at the same timeAfter a few puppet runs they will stop getting the correct hiera data in module values from the PuppetServer.eg. server1 could see the server2 value or server2 could see the server1 value.SAMPLE module:{code:java}./test_module./test_module/hieradata./test_module/hieradata/common.yaml./test_module/hieradata/server1.yaml./test_module/hieradata/server2.yaml./test_module/manifests./test_module/manifests/init.pp./test_module/metadata.json./test_module/hiera.yaml{code}*init.pp*{code:java}class test_module ( $my_var = 'not from hiera',){ notify{"The variable is $my_var":}}{code}./test_module/hieradata/common.yaml{code:java}---test_module::my_var: 'In common.yaml'{code} ./test_module/hieradata/server1.yaml hiera.yaml{code:java}---version: 4datadir: hieradatahierarchy: - name: "%{my_fact}"backend: yaml - name: "common"backend: yaml{code} ./test_module/hieradata/server1.yaml {code:java}---test_module::my_var: 'server1'{code}./test_module/hieradata/server2.yaml {code:java}---test_module::my_var: 'server2'{code}SERVER1/etc/puppetlabs/facter/facts.d/my_fact.txt my_fact=server1SERVER2/etc/puppetlabs/facter/facts.d/my_fact.txt my_fact=server2Error seen in Puppetserver logs{code:java}[puppetserver] Puppet Caching node for server1.mydomain[puppetserver] Puppet Class 'settings' is already defined; cannot redefine at :[puppetserver] Puppet Compiled catalog for server1.mydomain in environment production in 0.04 seconds{code} Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9)
Jira (PUP-6339) Hiera Data in Module give bad results when environment_timeout is unlimited
Title: Message Title Chuck Schweizer created an issue Puppet / PUP-6339 Hiera Data in Module give bad results when environment_timeout is unlimited Issue Type: Bug Affects Versions: PUP 4.5.0, PUP 4.4.2 Assignee: Unassigned Components: Puppet Server Created: 2016/05/21 6:28 PM Environment: Puppet Server is running on RHEL 7.2 Puppet Clients are RHEL 6.8 and 7.2 puppet-agent-1.5.0-1.el7.x86_64 puppetdb-termini-4.1.0-1.el7.noarch puppetserver-2.4.0-1.el7.noarch Priority: Normal Reporter: Chuck Schweizer 1) Set environment_timeout to unlimited (this does not occur if set to 0) 2) Setup hiera data in a module that use a FACT to determine what it should do. 3) Set the fact differently on two or more clients 4) Run puppet from each of the clients at the same time After a few puppet runs they will stop getting the correct hiera data in module values from the PuppetServer. eg. server1