[Nutanix] virt-who is failing 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".

021-08-04 15:55:46,522 [virtwho.rhsm_log DEBUG] MainProcess(685218):MainThread @config.py:init_config:1594 - [global]: Value for "interval" not set, using default: 3600
2021-08-04 15:55:46,523 [virtwho.rhsm_log DEBUG] MainProcess(685218):MainThread @config.py:init_config:1594 - [global]: Value for "log_file" not set, using default: rhsm.log
2021-08-04 15:55:46,523 [virtwho.rhsm_log DEBUG] MainProcess(685218):MainThread @config.py:init_config:1594 - [global]: Value for "log_dir" not set, using default: /var/log/rhsm
2021-08-04 15:55:46,523 [virtwho.rhsm_log WARNING] MainProcess(685218):MainThread @config.py:init_config:1594 - [virtwho-config]: Ignoring unknown configuration option "username"
2021-08-04 15:55:46,523 [virtwho.rhsm_log WARNING] MainProcess(685218):MainThread @config.py:init_config:1594 - [virtwho-config]: Ignoring unknown configuration option "hypervisor_id"
2021-08-04 15:55:46,523 [virtwho.rhsm_log WARNING] MainProcess(685218):MainThread @config.py:init_config:1594 - [virtwho-config]: Ignoring unknown configuration option "type"
2021-08-04 15:55:46,523 [virtwho.rhsm_log WARNING] MainProcess(685218):MainThread @config.py:init_config:1594 - [virtwho-config]: Ignoring unknown configuration option "encrypted_password"
2021-08-04 15:55:46,523 [virtwho.rhsm_log WARNING] MainProcess(685218):MainThread @config.py:init_config:1594 - [virtwho-config]: Ignoring unknown configuration option "owner"
2021-08-04 15:55:46,523 [virtwho.rhsm_log WARNING] MainProcess(685218):MainThread @config.py:init_config:1594 - [virtwho-config]: Ignoring unknown configuration option "server"
2021-08-04 15:55:46,523 [virtwho.rhsm_log WARNING] MainProcess(685218):MainThread @config.py:init_config:1594 - Dropping invalid configuration "virtwho-config"
2021-08-04 15:55:46,523 [virtwho.rhsm_log WARNING] MainProcess(685218):MainThread @config.py:init_config:1594 - No valid configurations found
2021-08-04 15:55:46,523 [virtwho.rhsm_log ERROR] MainProcess(685218):MainThread @main.py:main:143 - virt-who can't be started: no valid configuration found

Environment

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

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