Jira (BOLT-1397) The wait_until_available() function should return (or make accessible) details of why it timed out.
Title: Message Title Joshua Partlow commented on BOLT-1397 Re: The wait_until_available() function should return (or make accessible) details of why it timed out. Some notes from Cas: "I think that instead of batch_connected and connected? simply rescuing connection errors and returning false, they would need to pass along the connection error. https://github.com/puppetlabs/bolt/blob/b062fa3faed7fa8600ef17275a46933b37a12bc6/lib/bolt/transport/base.rb#L175 https://github.com/puppetlabs/bolt/blob/b062fa3faed7fa8600ef17275a46933b37a12bc6/lib/bolt/transport/ssh.rb#L79-L83 That way instead of the timeout error we could give the pass through the connection error." Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.312526.1560550967000.48331.1560555180200%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
Jira (BOLT-1397) The wait_until_available() function should return (or make accessible) details of why it timed out.
Title: Message Title Alex Dreyer commented on BOLT-1397 Re: The wait_until_available() function should return (or make accessible) details of why it timed out. This probably means tracking the last error received from each host and making it available in the details of the timeout error Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.312526.1560550967000.48290.1560551700178%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
Jira (BOLT-1397) The wait_until_available() function should return (or make accessible) details of why it timed out.
Title: Message Title Joshua Partlow created an issue Puppet Task Runner / BOLT-1397 The wait_until_available() function should return (or make accessible) details of why it timed out. Issue Type: Improvement Assignee: Unassigned Created: 2019/06/14 3:22 PM Priority: Normal Reporter: Joshua Partlow If a user has a basic connection problem, such as needing --no-host-key-check or --user=root, Bolt provides a useful error message explaining the problem. It would be nice if the error returned included the underlying reason for failure, or at least made it possible to find this via _catch_errors. Example of a host key error: jpartlow@work1804:~/work/src/enterprise_tasks$ bolt plan run enterprise_tasks::testing::install_pe master=n7il9hevr7qj949.delivery.puppetlabs.net tarball=/home/jpartlow/pe_builds/puppet-enterprise-2019.2.0-rc1-1 58-ga04d97d-ubuntu-18.04-amd64.tar Starting: plan enterprise_tasks::testing::install_pe