Project

General

Profile

Actions

Bug #23641

closed

undefined method `each_with_object' for nil:NilClass on creating a virt-who config for libvirt

Added by Marek Hulán almost 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Fixed in Releases:
Found in Releases:

Description

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

Description of problem:
whenever i try to create a config for a libvirt hypervisor (ui or cli) I get the following ISE:

Oops, we're sorry but something went wrong undefined method `each_with_object' for nil:NilClass

- i have a libvirt deployed on the same server as satellite. I doublechecked I'm able to remotely connect to the hypervisor using qemu+tcp

  1. hammer virt-who-config create --name virtfoo --satellite-url satfqdn.com --organization-id=1 --location-id=2 --hypervisor-username=admin --hypervisor-type=libvirt --hypervisor-server=qemu+tcp://satfqdn.com/system --hypervisor-id=hostname --interval=120 --filtering-mode=none

Version-Release number of selected component (if applicable):
6.4.0-2

Steps to Reproduce:
1. setup libvirt hypervisor to listen on all interfaces
2. o nsatellite: try to add a virt-who config pointing to the hypervisor

Actual results:
Oops, we're sorry but something went wrong undefined method `each_with_object' for nil:NilClass

Expected results:
config created or a human-readable message is generated if i missed anything

Actions #1

Updated by The Foreman Bot almost 6 years ago

  • Pull request https://github.com/theforeman/foreman_virt_who_configure/pull/88 added
Actions #2

Updated by Marek Hulán almost 6 years ago

  • Subject changed from undefined method `each_with_object' for nil:NilClass on creating a virt-who config for libvirt to undefined method `each_with_object' for nil:NilClass on creating a virt-who config for libvirt
  • translation missing: en.field_release set to 357
Actions #3

Updated by Marek Hulán almost 6 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF