Project

General

Profile

Actions

Bug #14274

closed

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

Added by Thomas McKay about 8 years ago. Updated almost 4 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
Category:
Hosts
Target version:
Difficulty:
Triaged:
Yes
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.

Actions #1

Updated by Thomas McKay about 8 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]

Actions #2

Updated by Eric Helms about 8 years ago

  • translation missing: en.field_release set to 144
Actions #3

Updated by Eric Helms almost 8 years ago

  • translation missing: en.field_release changed from 144 to 168
Actions #4

Updated by Eric Helms almost 8 years ago

  • translation missing: en.field_release deleted (168)
Actions #5

Updated by Justin Sherrill over 7 years ago

  • Category set to Hosts
  • Status changed from New to Rejected
  • Assignee set to Thomas McKay
  • translation missing: en.field_release set to 114

We believe this is resolved in a previous release

Actions #6

Updated by Jonathon Turel almost 4 years ago

  • Target version changed from Katello Backlog to Katello Recycle Bin
Actions

Also available in: Atom PDF