Project

General

Profile

Bug #25276

"undefined method `href' for nil:NilClass" when provisioning host without --interface

Added by Ori Rabin over 1 year ago. Updated 9 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=1634760

Description of problem:
Running 'hammer host create ...' without --interface specification leads to error in $SUBJ

I tried it with Sat 6.3 and didn't reproduce it (got a nice message "Could not create the host: Could not find virtual machine network interface matching 192.168.1.116") => seems like regression

Version-Release number of selected component (if applicable):
Reproduced on Sat 6.4 snap 24

How reproducible:
Deterministic

Steps to Reproduce:
1. Run 'hammer host create' command without specifying --interface parameter

Actual results:
[DEBUG 2018-10-01T16:19:57 Exception] Using exception handler HammerCLIForeman::ExceptionHandler#handle_unprocessable_entity
[ERROR 2018-10-01T16:19:57 Exception] Failed to create a compute rhev4 (RHV) instance fish.example.com: Ovirt client returned an error: undefined method `href' for nil:NilClass

Could not create the host:
Failed to create a compute rhev4 (RHV) instance fish.example.com: Ovirt client returned an error: undefined method `href' for nil:NilClass

Expected results:
Host created successfully

Additional info:
Traceback attached


Related issues

Has duplicate Foreman - Bug #26168: Ovirt client returned an error: undefined method `href' for nil:NilClassClosed

Associated revisions

Revision cd8d9444 (diff)
Added by Shira Maximov 9 months ago

Fixes #26168,#25276 - Create ovirt interface/volume if not empty

History

#1 Updated by Ori Rabin over 1 year ago

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

#2 Updated by Ori Rabin over 1 year ago

  • Has duplicate Bug #26168: Ovirt client returned an error: undefined method `href' for nil:NilClass added

#3 Updated by Ori Rabin over 1 year ago

The fix exists in fog-ovirt 1.1.6

#4 Updated by Shira Maximov 11 months ago

  • Assignee changed from Ori Rabin to Shira Maximov

#5 Updated by The Foreman Bot 10 months ago

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

#6 Updated by The Foreman Bot 9 months ago

  • Fixed in Releases 1.24.0 added

#7 Updated by Shira Maximov 9 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF