Project

General

Profile

Actions

Bug #28749

open

find_vm_by_uuid returns different error in different compute resources

Added by yifat makias over 4 years ago. Updated about 4 years ago.

Status:
Ready For Testing
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

When using find_vm_by_uuid on different compute resources a different error occurs when the VM is not found.

For example:
In ovirt the error is:
OvirtSDK4::NotFoundError: HTTP response code is 404. The response body is empty.

In VMware the error is:
ActiveRecord::RecordNotFound

It should be for all:
ActiveRecord::RecordNotFound

Actions #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/7438 added
Actions

Also available in: Atom PDF