Bug #23641
closedundefined method `each_with_object' for nil:NilClass on creating a virt-who config for libvirt
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
- 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
Updated by The Foreman Bot almost 7 years ago
- Pull request https://github.com/theforeman/foreman_virt_who_configure/pull/88 added
Updated by Marek Hulán over 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
Updated by Marek Hulán over 6 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
Applied in changeset foreman_virt_who_configure|3eed89b5a16a88b68dae11d4014f2f65a73583a3.