RHEV API v4 VM Import: undefined method `update_vm'
|Category:||Compute resources - oVirt|
|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 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
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
Traceback, error, fail
VM added successfully
Tested also with APIv3, it does NOT happen with it