Jira (PUP-11058) Detailed exitcode for 503s

17 views
Skip to first unread message

Dylan Ratcliffe (Jira)

unread,
May 10, 2021, 9:10:02 AM5/10/21
to puppe...@googlegroups.com
Dylan Ratcliffe created an issue
 
Puppet / Bug PUP-11058
Detailed exitcode for 503s
Issue Type: Bug Bug
Assignee: Unassigned
Created: 2021/05/10 6:09 AM
Priority: Normal Normal
Reporter: Dylan Ratcliffe

Puppet Version: All
Puppet Server Version: All
OS Name/Version: All

When the Puppetserver is unavailable due to high load it will return a 503 error, which the agent handles gracefully by waiting for a specified period then running again. However when run manually with detailed exitcodes, there is no way to determine the difference between a 500 error due to failed catalog compilation and a 503 due to high load.

Desired Behavior: A new exitcode is created for when the agent recieves a 503 from the server

Actual Behavior: There is no specific exitcode

 

An example use case could be as part of a build process. You want the build to fail quickly if the Puppet run fails, but retry if there is too much load on the servers and detailed exit codes could be used for this.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)
Atlassian logo

Mihai Buzgau (Jira)

unread,
May 11, 2021, 11:00:02 AM5/11/21
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Sprint: Triaged tickets

Mihai Buzgau (Jira)

unread,
May 11, 2021, 11:00:04 AM5/11/21
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Team: Night's Watch

Gheorghe Popescu (Jira)

unread,
Jul 28, 2021, 5:04:03 AM7/28/21
to puppe...@googlegroups.com
Gheorghe Popescu assigned an issue to Gheorghe Popescu
Change By: Gheorghe Popescu
Assignee: Gheorghe Popescu

Gheorghe Popescu (Jira)

unread,
Jul 28, 2021, 10:12:04 AM7/28/21
to puppe...@googlegroups.com
Gheorghe Popescu assigned an issue to Unassigned

Ciprian Badescu (Jira)

unread,
Sep 7, 2021, 4:25:03 AM9/7/21
to puppe...@googlegroups.com
Ciprian Badescu updated an issue
Change By: Ciprian Badescu
Sprint: Triaged tickets

Ciprian Badescu (Jira)

unread,
Sep 21, 2021, 6:25:02 AM9/21/21
to puppe...@googlegroups.com
Ciprian Badescu updated an issue
 
Puppet / Improvement PUP-11058
Detailed exitcode for 503s
Change By: Ciprian Badescu
Issue Type: Bug Improvement
Reply all
Reply to author
Forward
0 new messages