virt-who が無効な設定で失敗する
Issue
- virt-who が設定ファイルを読み取れず、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
- virt-who 設定で暗号化されたパスワードの更新後、virt-who サービスが起動に失敗します。
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.