Feature #30284
closed
Provide clearer Smart Proxy registration errors with as much context as possible based on the error
Added by Eric Helms almost 5 years ago.
Updated about 4 years ago.
Description
Handle the following:
* Apache can be down
* Connection refused or connection timeout
* Foreman can be down
* HTTP 502 or 503
* Foreman can throw an error
* Does not always return a proper error message
* Need to check/fix Foreman to return a proper JSON structured error message
* Typically a 500
* Authorization error
* Show a proper invalid credentials error
* Instruct users where to look for error messages
* Include in error message to look in production.log when appropriate
Related issues
1 (1 open — 0 closed)
- Description updated (diff)
- Description updated (diff)
- Related to Bug #30285: Smart proxy registration API does not always return a structured JSON error response added
- Pull request https://github.com/theforeman/puppet-foreman/pull/865 added
- Target version set to 2.2.0
Noting down so I don't forget: we can also retry on some HTTP errors, like 5xx errors on listing.
- Target version deleted (
2.2.0)
- Category set to Foreman modules
- Triaged changed from No to Yes
Removing the milestone since I don't think we'll get to this before 2.2.0 and it shouldn't block.
- Status changed from New to Ready For Testing
- Assignee set to William Clark
- Pull request https://github.com/theforeman/puppet-foreman/pull/912 added
- Fixed in Releases 2.4.0 added
- Status changed from Ready For Testing to Closed
Also available in: Atom
PDF