Virt-who parameters 'filter_host_parents' and 'filter_hosts' do not behave as expected when set in a single /etc/virt-who.d/virt-who-config-X.conf file

Solution Verified - Updated -

Issue

Setting the Virt-who parameter filter_hosts along with the filter_host_parents parameter in a single /etc/virt-who.d/virt-who-config-X.conf file, Virt-who does not identify hypervisors and guests on both the ESX clusters as well as the standalone ESX hosts:

# tail -f /var/log/rhsm/rhsm.log

2021-12-14 18:14:05,221 [INFO] @virt.py:651 - Hosts-to-guests mapping for config "virt-who-config-3": 0 hypervisors and 0 guests found

Environment

  • Red Hat Enterprise Linux Server release 7.9 (Maipo)
  • virt-who-0.28.10-1

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