Project

General

Profile

Actions

Bug #26351

closed

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

Added by Justin Sherrill almost 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Subscriptions
Target version:
Difficulty:
Triaged:
Yes
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


Files

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

Updated by The Foreman Bot almost 6 years ago

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

Updated by Justin Sherrill almost 6 years ago

  • Bugzilla link set to 1687378
Actions #4

Updated by Justin Sherrill almost 6 years ago

  • Status changed from Ready For Testing to Closed
Actions #5

Updated by Jonathon Turel almost 6 years ago

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

Also available in: Atom PDF