Project

General

Profile

Actions

Bug #25276

closed

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

Added by Ori Rabin over 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Compute resources - oVirt
Target version:
-
Difficulty:
Triaged:
No
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 1 (0 open1 closed)

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

Updated by Ori Rabin over 5 years ago

  • Status changed from New to Assigned
  • Assignee set to Ori Rabin
Actions #2

Updated by Ori Rabin almost 5 years ago

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

Updated by Ori Rabin almost 5 years ago

The fix exists in fog-ovirt 1.1.6

Actions #4

Updated by Shira Maximov over 4 years ago

  • Assignee changed from Ori Rabin to Shira Maximov
Actions #5

Updated by The Foreman Bot over 4 years ago

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

Updated by The Foreman Bot over 4 years ago

  • Fixed in Releases 1.24.0 added
Actions #7

Updated by Shira Maximov over 4 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF