Project

General

Profile

Bug #26919

NoMethodError: undefined method `storage_domain' for nil:NilClass

Added by Ori Rabin about 1 year ago. Updated 7 months ago.

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

Description

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

Description of problem:
When creating a new host (tested with image-based provisioning), I get "NoMethodError: undefined method `storage_domain' for nil:NilClass" upon submitting the form and the VM is not created. Traceback attached.

Version-Release number of selected component (if applicable):
Reproduced on Sat 6.6 snap 4.

How reproducible:
Always, at least on my configuration

Steps to Reproduce:
1. Hosts -> Create host
2. Fill in the form
3. Submit

Actual results:
NoMethodError: undefined method `storage_domain' for nil:NilClass

Expected results:
No error, host and VM created

Associated revisions

Revision 10c89053 (diff)
Added by Ori Rabin 11 months ago

Fixes #26919 - Resolve nil error in ovirt disk clone

History

#1 Updated by Ori Rabin about 1 year ago

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

#2 Updated by The Foreman Bot about 1 year ago

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

#3 Updated by The Foreman Bot 11 months ago

  • Fixed in Releases 1.24.0 added

#4 Updated by Ori Rabin 11 months ago

  • Status changed from Ready For Testing to Closed

#5 Updated by Wagner Sartori Junior 7 months ago

Is it possible to backport this to 1.23?

#6 Updated by Tomer Brisker 7 months ago

  • Fixed in Releases 1.23.2 added

Pulled it in to the stable 1.23 branch, it will be included in the next release.

#7 Updated by Wagner Sartori Junior 7 months ago

Cool... Thank you very much Tomer.

Also available in: Atom PDF