virt-who fails with no valid configuration found

Solution Verified - Updated -

Issue

  • 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] @config.py:xxxx - [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] @config.py:xxxx - [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] @config.py:xxxx - [vmware]: Ignoring unknown configuration option "env"
2021-09-07 10:20:54,676 [ERROR] @config.py:xxxx - [vmware]: Required option: "password" not set.
2021-09-07 10:20:54,676 [WARNING] @config.py:1556 - Dropping invalid configuration "vmware"
2021-09-07 10:20:54,676 [WARNING] @config.py:1556 - No valid configurations found
2021-09-07 10:20:54,676 [ERROR] @main.py:143 - 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.

Environment

  • 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