Project

General

Profile

Bug #14274

Adding hypervisors with virt-who fails with can't cast ActiveSupport::HashWithIndifferentAccess to string

Added by Thomas McKay over 3 years ago. Updated about 1 year ago.

Status:
Rejected
Priority:
Normal
Assignee:
Category:
Hosts
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1319076
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:
  1. /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.

History

#1 Updated by Thomas McKay over 3 years ago

Different errors but likely related. I get a mass-assignment error on uuid

https://github.com/Katello/katello/blob/master/app/lib/actions/katello/host/hypervisors_update.rb#L46

should be

host.sub_facet.uuid = hypervisor_json[:uuid]

#2 Updated by Eric Helms over 3 years ago

  • Legacy Backlogs Release (now unused) set to 144

#3 Updated by Eric Helms about 3 years ago

  • Legacy Backlogs Release (now unused) changed from 144 to 168

#4 Updated by Eric Helms about 3 years ago

  • Legacy Backlogs Release (now unused) deleted (168)

#5 Updated by Justin Sherrill about 3 years ago

  • Category set to Hosts
  • Status changed from New to Rejected
  • Assignee set to Thomas McKay
  • Legacy Backlogs Release (now unused) set to 114

We believe this is resolved in a previous release

Also available in: Atom PDF