Jira (PUP-6241) puppet agent ostensibly succeeds when environment directory has wrong permissions
Title: Message Title Jeremy Barlow commented on PUP-6241 Re: puppet agent ostensibly succeeds when environment directory has wrong permissions Assuming we're going to try to work this through as a fix in JRuby, I'm going to move this over to the SERVER project and take the Puppet fix version off it. 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-6241) puppet agent ostensibly succeeds when environment directory has wrong permissions
Title: Message Title Kenn Hussey updated an issue Puppet / PUP-6241 puppet agent ostensibly succeeds when environment directory has wrong permissions Change By: Kenn Hussey Fix Version/s: PUP 4.9.0 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-6241) puppet agent ostensibly succeeds when environment directory has wrong permissions
Title: Message Title Jeremy Barlow commented on PUP-6241 Re: puppet agent ostensibly succeeds when environment directory has wrong permissions Kenn Hussey Retargeting the issue for a different fix version sounds fine to me. TBH, no one on the Puppet Server team is looking into this right now and this doesn't appear in the Puppet Server maintainer backlog. I also am unaware of when/if another JRuby 1.7 release would be done from upstream, assuming there were a fix in place for it in JRuby. Is the assumption at this point that we're going to try to push for a fix on a future JRuby 1.7.x release (assuming there is one) and that the Puppet Server maintainer team (as opposed to someone in the Puppet Developer Experience team (or whatever that's called now) would be taking it? If so, it probably would be good to move this ticket over to the SERVER project for visibility. 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-6241) puppet agent ostensibly succeeds when environment directory has wrong permissions
Title: Message Title Kenn Hussey updated an issue Puppet / PUP-6241 puppet agent ostensibly succeeds when environment directory has wrong permissions Change By: Kenn Hussey Fix Version/s: PUP 4.8.0 Fix Version/s: PUP 4.9.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-6241) puppet agent ostensibly succeeds when environment directory has wrong permissions
Title: Message Title Jeremy Barlow commented on PUP-6241 Re: puppet agent ostensibly succeeds when environment directory has wrong permissions Hmmm, so sounds like there's still work to do to fix the problem in JRuby 1.7.x. Given the lack of focus on JRuby 1.7.x at this point, I think we'd have a much better shot at resolving this if we identify and prepare the code fix ourselves as opposed to just filing an issue to the JRuby community. We'll also probably need to discuss the release cadence again further. Based on its recent track record, I wouldn't expect a JRuby 1.7.x release with a fix for this to drop again for at least 3-4 more months. We'd have to discuss whether or not this is something more urgent that might necessitate releasing in the Puppet fork of JRuby if we don't think it would be reasonable to address in Ruby Puppet proper. 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-6241) puppet agent ostensibly succeeds when environment directory has wrong permissions
Title: Message Title Karen Van der Veer updated an issue Puppet / PUP-6241 puppet agent ostensibly succeeds when environment directory has wrong permissions Change By: Karen Van der Veer Sprint: Language 2016-09-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-6241) puppet agent ostensibly succeeds when environment directory has wrong permissions
Title: Message Title Henrik Lindberg commented on PUP-6241 Re: puppet agent ostensibly succeeds when environment directory has wrong permissions Merde, I misread 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-6241) puppet agent ostensibly succeeds when environment directory has wrong permissions
Title: Message Title Thomas Hallgren commented on PUP-6241 Re: puppet agent ostensibly succeeds when environment directory has wrong permissions Chris Price, please note though, that the problem still remains in 1.7.26. It's fixed in 9.0.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-6241) puppet agent ostensibly succeeds when environment directory has wrong permissions
Title: Message Title Chris Price commented on PUP-6241 Re: puppet agent ostensibly succeeds when environment directory has wrong permissions Awesome, thanks for testing that, Thomas Hallgren. We have already updated to 1.7.26 in our master branch, and are in the process of doing long-running memory testing against it. As soon as that completes we'll be shipping OSS releases containing that version, so hopefully that'll take care of it. I'll make sure this comes up in triage so we can discuss test coverage. 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-6241) puppet agent ostensibly succeeds when environment directory has wrong permissions
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-6241 puppet agent ostensibly succeeds when environment directory has wrong permissions Change By: Henrik Lindberg Scrum Team: Language Puppet 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-6241) puppet agent ostensibly succeeds when environment directory has wrong permissions
Title: Message Title Henrik Lindberg commented on PUP-6241 Re: puppet agent ostensibly succeeds when environment directory has wrong permissions Phew, that is good news. Chris Price signing this over to Server as it seems to be a matter of getting an updated JRuby to users. Not sure what to do with the acceptance test associated with this PR - it is clearly testing expected behavior so it is probably of value to add it. 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-6241) puppet agent ostensibly succeeds when environment directory has wrong permissions
Title: Message Title Thomas Hallgren commented on PUP-6241 Re: puppet agent ostensibly succeeds when environment directory has wrong permissions Did some testing using JRuby and Pathname. Seems JRuby has addressed this already. With 1.7.26 jruby-1.7.26 :001 > x = Pathname('/home/thhal/tmp/foo/bar.txt') => jruby-1.7.26 :002 > x.read Errno::ENOENT: No such file or directory - /home/thhal/tmp/foo/bar.txt Same thing with 9.0.5.0 jruby-9.0.5.0 :001 > x = Pathname('/home/thhal/tmp/foo/bar.txt') => jruby-9.0.5.0 :002 > x.read Errno::EACCES: Permission denied - /home/thhal/tmp/foo/bar.txt
Jira (PUP-6241) puppet agent ostensibly succeeds when environment directory has wrong permissions
Title: Message Title Chris Price commented on PUP-6241 Re: puppet agent ostensibly succeeds when environment directory has wrong permissions Henrik Lindberg oh - I was assuming that the patch to Puppet could be applied for just the check on the environment directory, specifically. If that's not possible, and it would have to go into some generic filesystem handling code, then I would probably agree that we shouldn't do that. I expect that when we open the issue with JRuby, if there's a good reproducer included, they'll merge it very quickly; it's just that their release cadence has slowed down significantly for the 1.7.x branch. They'd probably get the fix out in JRuby9k within a week or two, but we can't use that yet. 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-6241) puppet agent ostensibly succeeds when environment directory has wrong permissions
Title: Message Title Henrik Lindberg commented on PUP-6241 Re: puppet agent ostensibly succeeds when environment directory has wrong permissions Was not considering how hard that could possibly be - seemed like the right thing to do as it fixes the actual problem rather that applying duct-tape. I don't like duct tape and puppet is filled with "ah shrug, this is horrible, let's... uh... add more duct tape?". Pardon the sarcasm - I understand we need to work around the problem if we don't have a pipeline to build and deliver JRuby (which it seems we should be prepared for given their long release schedule). I consider this a quite severe problem and if I were at the other end I would be happy to accept a fix and make a quick turn around - but maybe they do not reason that way. To do a work around we need to have a JRuby mode for the FileSystem providers. We have to comb all calls that does things with files to ensure that they do not hit the problem. In order to do that we need to understand the extent of the EXXX problems on JRuby. Is "open with no access permission" the only thing wrong there? Is it lying about other states of files? We also have IO reads that do not go via the FileSystem - are they ok? I fear that if we just wing it we probably end up with some other similar problem. While it may not seem like much overhead to add an exists? when a read fails with "not found" it is actually quite bad since we do a lot of searching for files (not sure if we have optimizations that read/test existence at the same time rather than first testing and then reading though). The 4.x loaders does not work that way (they do a Dir.glob and cache the result to avoid hitting disk), but other code may. 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.
Jira (PUP-6241) puppet agent ostensibly succeeds when environment directory has wrong permissions
Title: Message Title Chris Price commented on PUP-6241 Re: puppet agent ostensibly succeeds when environment directory has wrong permissions We've laid some initial groundwork for shipping JRuby from a fork, but we've never actually done it before, because they did a release of the things we needed before we finished ironing out the process. I'd prefer to avoid that except for a last-resort kind of situation; the build process for JRuby is pretty hairy and it seems like it wouldn't be too hard for us to screw something up This one seems like it'd be reasonably easy to solve in Ruby code, so maybe not worth those risks... WDYT? 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-6241) puppet agent ostensibly succeeds when environment directory has wrong permissions
Title: Message Title Henrik Lindberg commented on PUP-6241 Re: puppet agent ostensibly succeeds when environment directory has wrong permissions Chris Price sounds like a plan. OTOH - can we fix it and ship a patched version until it is accepted? 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-6241) puppet agent ostensibly succeeds when environment directory has wrong permissions
Title: Message Title Chris Price commented on PUP-6241 Re: puppet agent ostensibly succeeds when environment directory has wrong permissions Thomas Hallgren I would say that it depends on the proposed solution. If we want to file a bug with upstream JRuby and wait for a release that contains that fix, then yes, our team should take it. But if we think this is too urgent to wait for (it will be several months before they do another release since they just did one last week), and we want to put a permissions check directory into the Puppet Ruby code in the interim, then maybe not? In fact, having thought about it for a second, it seems like perhaps the best thing to do would be to do both? So we could keep this ticket for a short-term fix in the Puppet codebase, and I will spin off a separate ticket about filing/tracking an upstream JRuby bug? 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-6241) puppet agent ostensibly succeeds when environment directory has wrong permissions
Title: Message Title Thomas Hallgren assigned an issue to Chris Price Puppet / PUP-6241 puppet agent ostensibly succeeds when environment directory has wrong permissions Change By: Thomas Hallgren Assignee: Thomas Hallgren Chris Price 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-6241) puppet agent ostensibly succeeds when environment directory has wrong permissions
Title: Message Title Thomas Hallgren assigned an issue to Thomas Hallgren Puppet / PUP-6241 puppet agent ostensibly succeeds when environment directory has wrong permissions Change By: Thomas Hallgren Assignee: Thomas Hallgren 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-6241) puppet agent ostensibly succeeds when environment directory has wrong permissions
Title: Message Title Thomas Hallgren commented on PUP-6241 Re: puppet agent ostensibly succeeds when environment directory has wrong permissions The problem stems from a not so subtle difference between the Ruby and JRuby implementation of Pathname. When calling #read on a file that resides under a directory with permissions that prevent access, Ruby correctly raises Errno::EACCES: Permission denied whereas the JRuby implementation raises Errno::ENOENT: No such file or directory. The latter, of course, results in an ostensibly empty environment when the directory in question is the environment root. Chris Price, given that your team are experts on JRuby, is it OK if we hand this over? 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-6241) puppet agent ostensibly succeeds when environment directory has wrong permissions
Title: Message Title Thomas Hallgren assigned an issue to Unassigned Puppet / PUP-6241 puppet agent ostensibly succeeds when environment directory has wrong permissions Change By: Thomas Hallgren Assignee: John Duarte 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-6241) puppet agent ostensibly succeeds when environment directory has wrong permissions
Title: Message Title Thomas Hallgren commented on PUP-6241 Re: puppet agent ostensibly succeeds when environment directory has wrong permissions After some more investigation, I've come to the conclusion that this only happens when running puppet server. In essence, if the master is running puppet master --environimentpath= which I assume that the test is doing, then the problem is not reproduced. But if the master runs puppet resource service puppetserver ensure=running then the catalog is applied and the error seems to be silently ignored. 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
Jira (PUP-6241) puppet agent ostensibly succeeds when environment directory has wrong permissions
Title: Message Title James Stocks commented on PUP-6241 Re: puppet agent ostensibly succeeds when environment directory has wrong permissions John Duarte Thomas Hallgren - the acceptance test differs here from the intended reproduction steps, in that it reconfigures environmentpath instead of putting the faulty environment into the default environment path. I'm not sure if that is relevant; but it might relate to the unexpected stack trace in Thomas' last comment? 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-6241) puppet agent ostensibly succeeds when environment directory has wrong permissions
Title: Message Title Thomas Hallgren commented on PUP-6241 Re: puppet agent ostensibly succeeds when environment directory has wrong permissions I got some help from James Stocks (thanks) which finally led up to this command line: SHA=1d6dab1d6ba9960c830aee1f849ea42cf6c86a84 PUPPET_FORK=thallgren BEAKER_DESTROY=no BEAKER_HOSTS=vmpooler.cfg TESTS=tests/environment/negative rake ci:test:git Problem is, the test doesn't reproduce the problem. Instead, I get this trace (which matches what the ticket description lists as "Expected"): Error: Could not retrieve catalog; skipping run Error: Could not send report: Error 500 on SERVER: Server Error: Permission denied - /tmp/c97899_unreadable_envdir.tJcZ2Z/environments/testing/environment.conf /usr/local/lib/site_ruby/1.9.1/puppet/indirector/rest.rb:269:in `is_http_200?' /usr/local/lib/site_ruby/1.9.1/puppet/indirector/rest.rb:237:in `save' /usr/local/lib/site_ruby/1.9.1/puppet/indirector/indirection.rb:285:in `save' /usr/local/lib/site_ruby/1.9.1/puppet/configurer.rb:391:in `send_report' /usr/local/lib/site_ruby/1.9.1/puppet/configurer.rb:354:in `run_internal' /usr/local/lib/site_ruby/1.9.1/puppet/configurer.rb:221:in `block in run'
Jira (PUP-6241) puppet agent ostensibly succeeds when environment directory has wrong permissions
Title: Message Title Thomas Hallgren assigned an issue to John Duarte Puppet / PUP-6241 puppet agent ostensibly succeeds when environment directory has wrong permissions Change By: Thomas Hallgren Assignee: Thomas Hallgren John Duarte 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-6241) puppet agent ostensibly succeeds when environment directory has wrong permissions
Title: Message Title Thomas Hallgren commented on PUP-6241 Re: puppet agent ostensibly succeeds when environment directory has wrong permissions John Duarte, thanks for providing the acceptance test. I will need some help using it as I'm unable to find instructions on how to accomplish the following. 1. Run the test and verify that it fails using what's currently on my machine (after removing the except_failure wrapper) 2. Modify the puppet source 3. Run the test again to see if it still fails 4. Repeat step 2 and 3 until the failure is gone I seem to recall that it's written down somewhere. I might even have asked for this before, but I just can't find it. 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-6241) puppet agent ostensibly succeeds when environment directory has wrong permissions
Title: Message Title Henrik Lindberg assigned an issue to Thomas Hallgren Puppet / PUP-6241 puppet agent ostensibly succeeds when environment directory has wrong permissions Change By: Henrik Lindberg Assignee: Henrik Lindberg Thomas Hallgren 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-6241) puppet agent ostensibly succeeds when environment directory has wrong permissions
Title: Message Title John Duarte commented on PUP-6241 Re: puppet agent ostensibly succeeds when environment directory has wrong permissions Henrik Lindberg PR 5247 has been submitted with an acceptance test based on James Stocks reproduction steps. Rough placeholders for exit code and error message are included, but are wrapped in an `expect_failure` block. So, the test is currently green and will go red when these expectations are satisfied. Once that is done, the `expect_failure` block can be removed to ensure ongoing validation of the expected behavior. 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-6241) puppet agent ostensibly succeeds when environment directory has wrong permissions
Title: Message Title John Duarte assigned an issue to Henrik Lindberg Puppet / PUP-6241 puppet agent ostensibly succeeds when environment directory has wrong permissions Change By: John Duarte Assignee: John Duarte Henrik Lindberg 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-6241) puppet agent ostensibly succeeds when environment directory has wrong permissions
Title: Message Title John Duarte updated an issue Puppet / PUP-6241 puppet agent ostensibly succeeds when environment directory has wrong permissions Change By: John Duarte QA Risk Assessment: Medium High 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-6241) puppet agent ostensibly succeeds when environment directory has wrong permissions
Title: Message Title Henrik Lindberg assigned an issue to John Duarte This ticket would benefit greatly from having an acceptance test from the start that replicates the problem. Puppet / PUP-6241 puppet agent ostensibly succeeds when environment directory has wrong permissions Change By: Henrik Lindberg Assignee: John Duarte 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-6241) puppet agent ostensibly succeeds when environment directory has wrong permissions
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-6241 puppet agent ostensibly succeeds when environment directory has wrong permissions Change By: Henrik Lindberg Story Points: 1 Release Notes Summary: If an environment was unreadable due to wrong permissions a compilation would produce an empty catalog without indicating an error. 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 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-6241) puppet agent ostensibly succeeds when environment directory has wrong permissions
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-6241 puppet agent ostensibly succeeds when environment directory has wrong permissions Change By: Henrik Lindberg Sprint: Language Triage 2016-09-07 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-6241) puppet agent ostensibly succeeds when environment directory has wrong permissions
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-6241 puppet agent ostensibly succeeds when environment directory has wrong permissions Change By: Henrik Lindberg Fix Version/s: PUP 4.7.0 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-6241) puppet agent ostensibly succeeds when environment directory has wrong permissions
Title: Message Title Eric Thompson updated an issue Puppet / PUP-6241 puppet agent ostensibly succeeds when environment directory has wrong permissions Change By: Eric Thompson 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-6241) puppet agent ostensibly succeeds when environment directory has wrong permissions
Title: Message Title Eric Thompson updated an issue Puppet / PUP-6241 puppet agent ostensibly succeeds when environment directory has wrong permissions Change By: Eric Thompson QA Highest Test Level: Acceptance 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-6241) puppet agent ostensibly succeeds when environment directory has wrong permissions
Title: Message Title Eric Thompson updated an issue Puppet / PUP-6241 puppet agent ostensibly succeeds when environment directory has wrong permissions Change By: Eric Thompson QA Risk Assessment: Medium 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-6241) puppet agent ostensibly succeeds when environment directory has wrong permissions
Title: Message Title Eric Thompson updated an issue Puppet / PUP-6241 puppet agent ostensibly succeeds when environment directory has wrong permissions Change By: Eric Thompson Acceptance Criteria: agent should fail with some error if the environment is unreadable. 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-6241) puppet agent ostensibly succeeds when environment directory has wrong permissions
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-6241 puppet agent ostensibly succeeds when environment directory has wrong permissions Change By: Henrik Lindberg Sprint: Language Triage 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. 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-6241) puppet agent ostensibly succeeds when environment directory has wrong permissions
Title: Message Title Henrik Lindberg commented on PUP-6241 Re: puppet agent ostensibly succeeds when environment directory has wrong permissions Ping Chris Price & Kylo Ginsberg - not sure yet if there is a diff between puppet server and ruby master or if this is a general problem if manifests have the wrong permission / are unreadable. Also not sure if it is a caching problem or not. Ping Eric Thompson there should be acceptance testing for the expected behavior (failing if a manifest cannot be read) 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-6241) puppet agent ostensibly succeeds when environment directory has wrong permissions
Title: Message Title Henrik Lindberg assigned an issue to Unassigned Puppet / PUP-6241 puppet agent ostensibly succeeds when environment directory has wrong permissions Change By: Henrik Lindberg Assignee: James Stocks 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-6241) puppet agent ostensibly succeeds when environment directory has wrong permissions
Title: Message Title James Stocks commented on PUP-6241 Re: puppet agent ostensibly succeeds when environment directory has wrong permissions Henrik Lindberg - yes. It was using the pxp-agent pre-suite (here) - there is one "master" host and one agent. We start "puppetserver" service on the master; then set it as the puppet server for the agent and generate certs. 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-6241) puppet agent ostensibly succeeds when environment directory has wrong permissions
Title: Message Title Henrik Lindberg assigned an issue to James Stocks Puppet / PUP-6241 puppet agent ostensibly succeeds when environment directory has wrong permissions Change By: Henrik Lindberg Assignee: James Stocks 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-6241) puppet agent ostensibly succeeds when environment directory has wrong permissions
Title: Message Title Henrik Lindberg commented on PUP-6241 Re: puppet agent ostensibly succeeds when environment directory has wrong permissions James Stocks is this using Puppet server? 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-6241) puppet agent ostensibly succeeds when environment directory has wrong permissions
Title: Message Title James Stocks updated an issue Puppet / PUP-6241 puppet agent ostensibly succeeds when environment directory has wrong permissions Change By: James Stocks I noticed this when using beaker methods to create test environments*To reproduce:* * Create a new environment (e.g _cd /etc/puppetlabs/code/environments_ then _cp -r production my_test_ ) * Edit the environment so it has some resources e.g. edit site.pp to have something like{code}node default { notify {'Hello agent':}}{code} * On the agent, run _puppet agent -t --environment my_test_ and confirm that you see the notify resource being applied{code}[root@nhttpwkcahz856y ~]# puppet agent -t --environment my_testInfo: Using configured environment 'my_test'Info: Retrieving pluginfactsInfo: Retrieving pluginInfo: Caching catalog for nhttpwkcahz856y.delivery.puppetlabs.netInfo: Applying configuration version '1461841741'Notice: Hello agentNotice: /Stage[main]/Main/Node[default]/Notify[ Notify resources cause a Puppet run to have a 'changed' outcome Hello agent ]/message: defined 'message' as 'Hello agent'Notice: Applied catalog in 0.01 seconds{code} * On the master, apply _chmod 644 /etc/puppetlabs/code/environments/my_test * On the agent, run _puppet agent -t --environment my_test_ again*Expected:* * Permissions are wrong, agent should fail with some error that the environment was unusable.*Actual:* * The agent appears to succeed, but with no resources applied{code}[root@nhttpwkcahz856y ~]# puppet agent -t --environment my_testInfo: Using configured environment 'my_test'Info: Retrieving pluginfactsInfo: Retrieving pluginInfo: Caching catalog for nhttpwkcahz856y.delivery.puppetlabs.netInfo: Applying configuration version '1461841854'Notice: Applied catalog in 0.01 seconds{code} Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9)
Jira (PUP-6241) puppet agent ostensibly succeeds when environment directory has wrong permissions
Title: Message Title James Stocks created an issue Puppet / PUP-6241 puppet agent ostensibly succeeds when environment directory has wrong permissions Issue Type: Bug Affects Versions: PUP 4.4.2 Assignee: Unassigned Created: 2016/04/28 4:12 AM Environment: puppet-agent stable 1.4.1.139.ge06bf91 1x master and 1x agent - both el7 Priority: Normal Reporter: James Stocks I noticed this when using beaker methods to create test environments To reproduce: Create a new environment (e.g cd /etc/puppetlabs/code/environments then cp -r production my_test ) Edit the environment so it has some resources e.g. edit site.pp to have something like