Project

General

Profile

Bug #26183

Compute resource API returns 500 for unknown provider string

Added by Marek Hulán about 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Compute resources
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

E.g. if I try to create libvirt compute resouce through API, specifying Libvirt as a provider results in 500 if I don't have foreman-libvirt installed. I'd expect to get 422 as a response.

Associated revisions

Revision 52b80095 (diff)
Added by Marek Hulán about 4 years ago

Fixes #26183 - respond with 422 to invalid CR request

History

#1 Updated by The Foreman Bot about 4 years ago

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

#2 Updated by Tomer Brisker about 4 years ago

  • Fixed in Releases 1.22.0 added

#3 Updated by Marek Hulán about 4 years ago

  • Status changed from Ready For Testing to Closed

#4 Updated by Tomer Brisker almost 4 years ago

  • Subject changed from Compute resource API returns 500 for uknown provider string to Compute resource API returns 500 for unknown provider string

Also available in: Atom PDF