Project

General

Profile

Bug #26351

allow for duplicate virt-who hypervisor names when uploading with hypervisor_id=uuid

Added by Justin Sherrill 8 months ago. Updated 8 months ago.

Status:
Closed
Priority:
Normal
Category:
Subscriptions
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

To reproduce:

Download attached localhost_data.json file, put it in /etc/virt-who.d/

add a virt-who config:


[fake]
type=fake
file=/etc/virt-who.d/localhost_data.json
owner=Default_Organization
env=Library
hypervisor_id=uuid
rhsm_hostname=192.168.121.119
rhsm_username=admin
rhsm_password=changeme
rhsm_prefix=/rhsm

making sure to change rhsm_hostname to your katello's ip, then run:

$ virt-who -od

Currently this fails with: Validation failed: Name has already been taken

localhost_data.json localhost_data.json 1.21 KB virt-who fake json Justin Sherrill, 03/13/2019 09:02 PM

Associated revisions

Revision b92de0e6 (diff)
Added by Justin Sherrill 8 months ago

Fixes #26351 - use hypervisorId for virt-who hypevisor name

History

#2 Updated by The Foreman Bot 8 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/8016 added

#3 Updated by Justin Sherrill 8 months ago

  • Bugzilla link set to 1687378

#4 Updated by Justin Sherrill 8 months ago

  • Status changed from Ready For Testing to Closed

#5 Updated by Jonathon Turel 8 months ago

  • Triaged changed from No to Yes
  • Target version set to Katello 3.12.0

Also available in: Atom PDF