Bug #23836

RHEV API v4 VM Import: undefined method `update_vm'

Added by Ori Rabin about 1 month ago. Updated 4 days ago.

Status:Closed
Priority:Normal
Assignee:Ori Rabin
Category:Compute resources - oVirt
Target version:1.19.0
Difficulty: Team Backlog:
Triaged:No Fixed in Releases:
Bugzilla link:1587905 Found in Releases:
Pull request:https://github.com/theforeman/foreman-packaging/pull/2746, https://github.com/theforeman/foreman/pull/5828

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1587905

Description of problem:
When importing a VM from RHEV using APIv4, a NoMethodError appears in log and in WebUI and the action fails.

Version-Release number of selected component (if applicable):
Sat 6.4 snap 6

How reproducible:
Deterministic

Steps to Reproduce:
1. Have a Sat with RHEV CR with 'Use APIv4' checked and some VM in that RHEV
2. Go to CR -> <cr> -> VM tab, in the dropdown menu of some VM, click Import
3. Fill in the rest of the form, click Submit while tailing logs

Actual results:
Traceback, error, fail

Expected results:
VM added successfully

Additional info:
Tested also with APIv3, it does NOT happen with it


Related issues

Related to Foreman - Tracker #19568: Migrate to oVirt APIv4 API New 05/16/2017

Associated revisions

Revision 0daa4fac
Added by Ori Rabin 5 days ago

Fixes #23836 - Bump fog-ovirt version for update_vm addition

Revision 7fa3fffa
Added by Ivan Necas 4 days ago

Refs #23836 - update fog-ovirt deps

History

#1 Updated by Ori Rabin about 1 month ago

  • Assignee set to Ori Rabin
  • Status changed from New to Assigned

#2 Updated by Ori Rabin 29 days ago

#3 Updated by Ivan Necas 5 days ago

  • Triaged set to No
  • Target version set to 1.19.0
  • Status changed from Assigned to Closed

#4 Updated by Ivan Necas 5 days ago

  • Pull request https://github.com/theforeman/foreman/pull/5828 added

#5 Updated by The Foreman Bot 4 days ago

  • Pull request https://github.com/theforeman/foreman-packaging/pull/2746 added

Also available in: Atom PDF