virt-who fails with no valid configuration found

Solution Verified - Updated -


  • Virt-who is unable to read the configuration file and failing with "virt-who can't be started: no valid configuration found".
2021-09-07 10:20:54,675 [ERROR] - [vmware]: Unable to read key file: [Errno 2] No such file or directory: '/var/lib/virt-who/key'
2021-09-07 10:20:54,676 [WARNING] - [vmware]: "filter_hosts" is set, but filter_type is not set. Possible values of filter_type: "regex, wildcards". Using default: "wildcards".
2021-09-07 10:20:54,676 [WARNING] - [vmware]: Ignoring unknown configuration option "env"
2021-09-07 10:20:54,676 [ERROR] - [vmware]: Required option: "password" not set.
2021-09-07 10:20:54,676 [WARNING] - Dropping invalid configuration "vmware"
2021-09-07 10:20:54,676 [WARNING] - No valid configurations found
2021-09-07 10:20:54,676 [ERROR] - virt-who can't be started: no valid configuration found
  • Post encrypted password update in the virt-who configuration, virt-who service fails to start.


  • Subscription-Manager/RHSM
  • virt-who
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8

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