Bug 1319076

Summary: Adding hypervisors with virt-who fails with can't cast ActiveSupport::HashWithIndifferentAccess to string
Product: Red Hat Satellite Reporter: Stefan Meyer <smeyer>
Component: HostsAssignee: Tom McKay <tomckay>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: high Docs Contact:
Priority: medium    
Version: 6.2.0CC: bbuckingham, cwelton, erik-fedora, ktordeur, rjerrido, tomckay, will_darton
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
URL: http://projects.theforeman.org/issues/14274
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-03 19:33:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Stefan Meyer 2016-03-18 15:23:56 UTC
Description of problem:
Adding hypervisors with virt-who fails with can't cast ActiveSupport::HashWithIndifferentAccess to string

Version-Release number of selected component (if applicable):
- Satellite 6.2 (6.2.0-4.beta.el7sat)
- RHEL 7.2
- virt-who (0.14-9.el7)

How reproducible:
# /usr/bin/virt-who --one-shot --sam --libvirt --libvirt-owner=redhat --libvirt-server=kvm.example.com --libvirt-env=Library

The same error was also reproducible with a RHEV 3.6 hypervisor.

As agreed with Thomas McKay he will fill in the reproducer.

Comment 5 Tom McKay 2016-03-18 16:23:12 UTC
Created redmine issue http://projects.theforeman.org/issues/14274 from this bug

Comment 6 Bryan Kearney 2016-03-18 18:10:23 UTC
Upstream bug component is Content Management

Comment 9 Bryan Kearney 2016-08-03 18:13:13 UTC
Upstream bug component is Hosts

Comment 10 Tom McKay 2016-08-03 19:33:39 UTC
I have re-run the reproducer against Sat-6.2 and this now works without error.