virt-who one shot gives the correct output but running a virt-who service fails to map the correct hyperviosr-guest.

Solution Verified - Updated -

Issue

  • When running a virt-who one shot specifying the name of one configuration file gives the correct mapping of hypervisors to guests, but if only virt-who service is running or not specified the name, it returns the wrong data/mapping.

  • Output when file name specified:

# virt-who -odc config1.conf
2019-04-25 14:44:06,269 [virtwho.destination_-6565174713917789106 INFO] MainProcess(43687):Thread-3 @virt.py:_send_data:598 - Hosts-to-guests mapping for config "config1.conf": 5 hypervisors and 824 guests found
  • Output when the file name is not specified:
# virt-who -od
2019-04-25 14:42:25,356 [virtwho.destination_-6565174713917789106 INFO] MainProcess(42925):Thread-9 @virt.py:_send_data:598 - Hosts-to-guests mapping for config "config1.conf": 2 hypervisors and 7 guests found

Environment

  • Red Hat Satellite 6.3.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content