Jira (PUP-3302) Puppet resource broken when directory environments enabled
Title: Message Title Chris Spence created an issue Puppet / PUP-3302 Puppet resource broken when directory environments enabled Issue Type: Bug Affects Versions: 3.7.1 Assignee: Unassigned Created: 18/Sep/14 6:15 AM Priority: Normal Reporter: Chris Spence puppet resource file /usr/share/puppet-dashboard-mirror ensure=directory source=/usr/share/puppet-dashboard recurse=true ignore='*/log/' Error: /File[/usr/share/puppet-dashboard-mirror]: Failed to generate additional resources using 'eval_generate': Could not find a directory environment named 'none' anywhere in the path: /platform/puppet/environment. Does the directory exist? Error: /File[/usr/share/puppet-dashboard-mirror]: Could not evaluate: Could not retrieve file metadata for file:/usr/share/puppet-dashboard: Could not find a directory environment named 'none' anywhere in the path: /platform/puppet/environment. Does the directory exist? Wrapped exception: Could not find a directory environment named 'none' anywhere in the path: /platform/puppet/environment. Does the directory exist? Error: Could not run: Could not retrieve file metadata for file:/usr/share/puppet-dashboard: Could not find a directory environment named 'none' anywhere in the path: /platform/puppet/environment. Does the directory exist? Wrapped exception: Could not find a directory environment named 'none' anywhere in the path: /platform/puppet/environment. Does the directory exist?
Jira (PUP-3302) Puppet resource broken when directory environments enabled
Title: Message Title Chris Spence updated an issue Puppet / PUP-3302 Puppet resource broken when directory environments enabled Change By: Chris Spence # When running puppet resource , the command fails for want of a 'none' environment{quote} puppet resource file /usr/share/puppet-dashboard-mirror ensure=directory source=/usr/share/puppet-dashboard recurse=true ignore='* */ log / *'Error: /File[/usr/share/puppet-dashboard-mirror]: Failed to generate additional resources using 'eval_generate': Could not find a directory environment named 'none' anywhere in the path: /platform/puppet/environment. Does the directory exist?Error: /File[/usr/share/puppet-dashboard-mirror]: Could not evaluate: Could not retrieve file metadata for file:/usr/share/puppet-dashboard: Could not find a directory environment named 'none' anywhere in the path: /platform/puppet/environment. Does the directory exist?Wrapped exception:Could not find a directory environment named 'none' anywhere in the path: /platform/puppet/environment. Does the directory exist?Error: Could not run: Could not retrieve file metadata for file:/usr/share/puppet-dashboard: Could not find a directory environment named 'none' anywhere in the path: /platform/puppet/environment. Does the directory exist?Wrapped exception:Could not find a directory environment named 'none' anywhere in the path: /platform/puppet/environment. Does the directory exist? {quote}Note also - when a large number of directory environments exist, the valid_directories routine in /usr/lib/ruby/site_ruby/1.8/puppet/environments.rb takes a lot of time to stat the environment directory and work out whether all the directories are valid (I currently have 224 environments and the delay between e.g. a puppet agent -t --debug and the command even starting to display debug output is something like 10s (ymmv depending on IO etc) Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)
Jira (PUP-3302) Puppet resource broken when directory environments enabled
Title: Message Title Joshua Partlow assigned an issue to Joshua Partlow Puppet / PUP-3302 Puppet resource broken when directory environments enabled Change By: Joshua Partlow Assignee: Joshua Partlow Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3302) Puppet resource broken when directory environments enabled
Title: Message Title Joshua Partlow commented on an issue Re: Puppet resource broken when directory environments enabled I've reproduced this as well: jpartlow@percival:~/work/puppet$ be puppet resource file /tmp/bar ensure=directory source=/tmp/foo recurse=true Warning: hi Error: /File[/tmp/bar]: Failed to generate additional resources using 'eval_generate': Could not find a directory environment named 'none' anywhere in the path: /home/jpartlow/.puppet/environments. Does the directory exist? Error: /File[/tmp/bar]: Could not evaluate: Could not retrieve file metadata for file:/tmp/foo: Could not find a directory environment named 'none' anywhere in the path: /home/jpartlow/.puppet/environments. Does the directory exist? Wrapped exception: Could not find a directory environment named 'none' anywhere in the path: /home/jpartlow/.puppet/environments. Does the directory exist? Error: Could not run: Could not retrieve file metadata for file:/tmp/foo: Could not find a directory environment named 'none' anywhere in the path: /home/jpartlow/.puppet/environments. Does the directory exist? Wrapped exception: Could not find a directory environment named 'none' anywhere in the path: /home/jpartlow/.puppet/environments. Does the directory exist? A straight apply succeeds. jpartlow@percival:~/work/puppet$ be puppet apply -e "file { '/tmp/bar': ensure => directory, source => '/tmp/foo', recurse => true }" Notice: Compiled catalog for percival.corp.puppetlabs.net in environment production in 0.09 seconds Notice: /Stage[main]/Main/File[/tmp/bar]/ensure: created Notice: /Stage[main]/Main/File[/tmp/bar/thing.txt]/ensure: defined content as '{md5}764efa883dda1e11db47671c4a3bbd9e' Notice: Finished catalog run in 0.12 seconds It's failing in the Puppet::Resource.indirection.save call: https://github.com/puppetlabs/puppet/blob/stable/lib/puppet/application/resource.rb#L218 I haven't dug into the indirector to see exactly what's going on. But the 'none' environment is most likely Puppet::Node::Environment::NONE, which is the default for a Catalog. Add Comment
Jira (PUP-3302) Puppet resource broken when directory environments enabled
Title: Message Title Joshua Partlow updated an issue Puppet / PUP-3302 Puppet resource broken when directory environments enabled Change By: Joshua Partlow Component/s: Server Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3302) Puppet resource broken when directory environments enabled
Title: Message Title Joshua Partlow updated an issue Puppet / PUP-3302 Puppet resource broken when directory environments enabled Change By: Joshua Partlow Fix Version/s: 3.7.2 Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3302) Puppet resource broken when directory environments enabled
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-3302 Puppet resource broken when directory environments enabled Change By: Henrik Lindberg Sprint: Platform 2014-10-15 Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3302) Puppet resource broken when directory environments enabled
Title: Message Title Steve Barlow updated an issue Puppet / PUP-3302 Puppet resource broken when directory environments enabled Change By: Steve Barlow Story Points: 3 Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3302) Puppet resource broken when directory environments enabled
Title: Message Title Andy Parker updated an issue Puppet / PUP-3302 Puppet resource broken when directory environments enabled Change By: Andy Parker Flagged: Impediment Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3302) Puppet resource broken when directory environments enabled
Title: Message Title Joshua Partlow assigned an issue to Unassigned Puppet / PUP-3302 Puppet resource broken when directory environments enabled Change By: Joshua Partlow Assignee: Joshua Partlow Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3302) Puppet resource broken when directory environments enabled
Title: Message Title Britt Gresham assigned an issue to Britt Gresham Puppet / PUP-3302 Puppet resource broken when directory environments enabled Change By: Britt Gresham Assignee: Britt Gresham Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3302) Puppet resource broken when directory environments enabled
Title: Message Title Britt Gresham commented on an issue Re: Puppet resource broken when directory environments enabled Added PR-3198 Add Comment Puppet / PUP-3302 Puppet resource broken when directory environments enabled When running puppet resource, the command fails for want of a 'none' environment {quote} puppet resource file /usr/share/puppet-dashboard-mirror ensure=directory source=/usr/share/puppet-dashboard recurse=true ignore='*log*' Error: /File[/usr/share/puppet-dashboard-mirror]: Failed to generate additional resources using 'eval_generate': Could not find ... This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3302) Puppet resource broken when directory environments enabled
Title: Message Title Andy Parker assigned an issue to Andy Parker Puppet / PUP-3302 Puppet resource broken when directory environments enabled Change By: Andy Parker Assignee: Andy Parker Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3302) Puppet resource broken when directory environments enabled
Title: Message Title Steve Barlow updated an issue Puppet / PUP-3302 Puppet resource broken when directory environments enabled Change By: Steve Barlow Sprint: Platform Server 2014-10- 15 29 Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3302) Puppet resource broken when directory environments enabled
Title: Message Title Andy Parker assigned an issue to Britt Gresham Puppet / PUP-3302 Puppet resource broken when directory environments enabled Change By: Andy Parker Assignee: Andy Parker Britt Gresham Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3302) Puppet resource broken when directory environments enabled
Title: Message Title Rob Reynolds updated an issue Puppet / PUP-3302 Puppet resource broken when directory environments enabled Change By: Rob Reynolds Fix Version/s: PUP 3.7.2 Fix Version/s: PUP 3.7.3 Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3302) Puppet resource broken when directory environments enabled
Title: Message Title Rob Reynolds updated an issue Puppet / PUP-3302 Puppet resource broken when directory environments enabled Change By: Rob Reynolds Flagged: Impediment Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3302) Puppet resource broken when directory environments enabled
Title: Message Title Andy Parker updated an issue Puppet / PUP-3302 Puppet resource broken when directory environments enabled Change By: Andy Parker Affects Version/s: PUP 3.7.2 Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3302) Puppet resource broken when directory environments enabled
Title: Message Title Andy Parker updated an issue Puppet / PUP-3302 Puppet resource broken when directory environments enabled Change By: Andy Parker Flagged: Impediment Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3302) Puppet resource broken when directory environments enabled
Title: Message Title Britt Gresham assigned an issue to Britt Gresham Puppet / PUP-3302 Puppet resource broken when directory environments enabled Change By: Britt Gresham Assignee: Britt Gresham Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3302) Puppet resource broken when directory environments enabled
Title: Message Title Andy Parker assigned an issue to Andy Parker Puppet / PUP-3302 Puppet resource broken when directory environments enabled Change By: Andy Parker Assignee: Andy Parker Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3302) Puppet resource broken when directory environments enabled
Title: Message Title Andy Parker commented on an issue Re: Puppet resource broken when directory environments enabled Merged into stable in fbc7e1 Add Comment Puppet / PUP-3302 Puppet resource broken when directory environments enabled When running puppet resource, the command fails for want of a 'none' environment {quote} puppet resource file /usr/share/puppet-dashboard-mirror ensure=directory source=/usr/share/puppet-dashboard recurse=true ignore='*log*' Error: /File[/usr/share/puppet-dashboard-mirror]: Failed to generate additional resources using 'eval_generate': Could not find ... This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3302) Puppet resource broken when directory environments enabled
Title: Message Title Steve Barlow updated an issue Puppet / PUP-3302 Puppet resource broken when directory environments enabled Change By: Steve Barlow Sprint: Platform Server 2014-10-29 , Platform Server 2014-11-12 Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3302) Puppet resource broken when directory environments enabled
Title: Message Title Eric Thompson updated an issue Puppet / PUP-3302 Puppet resource broken when directory environments enabled Change By: Eric Thompson QA Contact: Kurt Wall Eric Thompson QA Status: Reviewed Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3302) Puppet resource broken when directory environments enabled
Title: Message Title Andy Parker updated an issue Puppet / PUP-3302 Puppet resource broken when directory environments enabled Change By: Andy Parker Flagged: Impediment Add Comment This message was sent by Atlassian JIRA (v6.3.7#6337-sha1:2ed701e) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.