Project

General

Profile

Actions

Bug #4346

closed

oVirt Compute Resource needs to be updated for rbovirt >0.0.21

Added by Anonymous about 10 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Compute resources
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Beginning with oVirt 3.4.0 beta 2 the CR connection does not work anymore, because the API changed (see Red Hat bugzilla #1038053).
https://github.com/abenari/rbovirt/commit/137da3b4021b3e0ac20cd5d24f51827370b9acad got it working again for us.

However, after updating rbovirt to 0.0.22, creating a new VM is leading to

Failed to create a compute XXX-VM (oVirt) instance testxxx.xxx: undefined method `reload' for #<Array:0x00000008ada068>
/usr/share/foreman/app/models/compute_resources/foreman/model/ovirt.rb:243:in `create_interfaces'
/usr/share/foreman/app/models/compute_resources/foreman/model/ovirt.rb:115:in `create_vm'
/usr/share/foreman/app/models/concerns/orchestration/compute.rb:59:in `setCompute'
/usr/share/foreman/app/models/concerns/orchestration.rb:148:in `execute'
/usr/share/foreman/app/models/concerns/orchestration.rb:88:in `block in process'
/usr/share/foreman/app/models/concerns/orchestration.rb:80:in `each'
/usr/share/foreman/app/models/concerns/orchestration.rb:80:in `process'
/usr/share/foreman/app/models/concerns/orchestration.rb:18:in `on_save'

Checking rbovirt 0.0.23 with oVirt 3.3 is leading to the same backtrace.


Related issues 2 (0 open2 closed)

Related to Foreman - Bug #4684: "undefined method `text' for nil:NilClass" error when trying to add ovirt 3.4 compute resourceResolved03/18/2014Actions
Blocked by Foreman - Tracker #4582: Upgrade to fog > 1.20Closed

Actions
Actions

Also available in: Atom PDF