Jira (PUP-5290) Puppet::Error raised by an indirector save method leads to silent exit
Title: Message Title Kylo Ginsberg updated an issue Puppet / PUP-5290 Puppet::Error raised by an indirector save method leads to silent exit Change By: Kylo Ginsberg Story Points: 1 Add Comment This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4) -- 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-5290) Puppet::Error raised by an indirector save method leads to silent exit
Title: Message Title Kylo Ginsberg updated an issue Puppet / PUP-5290 Puppet::Error raised by an indirector save method leads to silent exit Change By: Kylo Ginsberg Sprint: Client 2015-10-14 Add Comment This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4) -- 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-5290) Puppet::Error raised by an indirector save method leads to silent exit
Title: Message Title Kylo Ginsberg updated an issue Puppet / PUP-5290 Puppet::Error raised by an indirector save method leads to silent exit Change By: Kylo Ginsberg Scrum Team: Client Platform Add Comment This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4) -- 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-5290) Puppet::Error raised by an indirector save method leads to silent exit
Title: Message Title Erik Dalén commented on PUP-5290 Re: Puppet::Error raised by an indirector save method leads to silent exit https://github.com/puppetlabs/puppet/pull/4303 Add Comment This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4) -- 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-5290) Puppet::Error raised by an indirector save method leads to silent exit
Title: Message Title Erik Dalén created an issue Puppet / PUP-5290 Puppet::Error raised by an indirector save method leads to silent exit Issue Type: Bug Affects Versions: PUP 4.2.2 Assignee: Unassigned Created: 2015/09/29 2:43 AM Priority: Normal Reporter: Erik Dalén When the PuppetDB raises a Puppet::Error during catalog save (for example here: https://github.com/puppetlabs/puppetdb/blob/3.1.1/puppet/lib/puppet/indirector/catalog/puppetdb.rb#L326) it is silently dropped by the apply application here: https://github.com/puppetlabs/puppet/blob/4.2.2/lib/puppet/application/apply.rb#L257-L260 This leads to a silent exit where no clue what the error is is given to the user. I think a decent solution would be to add an exception handler to the indirector caching that logs exceptions (and doesn't abort if they happen as caching failure shouldn't be critical). That would be here: https://github.com/puppetlabs/puppet/blob/4.2.2/lib/puppet/indirector/indirection.rb#L199 Add Comment