Project

General

Profile

Bug #31191

Unrecognized status code :internal_error when scheduling a report fails

Added by Evgeni Golov about 1 month ago. Updated about 1 month ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Reporting
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

When generating/scheduling a report fails (in my case a POST /ansible/api/v2/ansible_inventories/schedule), the error returned is:

{   "error": {"message":"Unrecognized status code :internal_error"} }

Instead of something useful.


Related issues

Related to Foreman - Bug #30556: 'Host - compare content hosts packages' report fails with error 'undefined method '#first' for NilClass'Closed

Associated revisions

Revision f0f1d3e9 (diff)
Added by Evgeni Golov about 1 month ago

Fixes #31191 - use correct status when report scheduling fails

History

#1 Updated by Evgeni Golov about 1 month ago

  • Related to Bug #30556: 'Host - compare content hosts packages' report fails with error 'undefined method '#first' for NilClass' added

#2 Updated by Evgeni Golov about 1 month ago

  • Subject changed from Unrecognized status code :internal_error when generating/scheduling a report fails to Unrecognized status code :internal_error when scheduling a report fails

#3 Updated by The Foreman Bot about 1 month ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/8111 added

#4 Updated by The Foreman Bot about 1 month ago

  • Fixed in Releases 2.3.0 added

#5 Updated by Tomer Brisker about 1 month ago

  • Fixed in Releases 2.1.5, 2.2.0 added
  • Fixed in Releases deleted (2.3.0)

#6 Updated by Evgeni Golov about 1 month ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF