Description of problem:
execute virt-who-password command to create an encrypted_password, it will show error msg:
" Keyfile /var/lib/virt-who/key doesn't exist and can't be created, rerun as root"
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. deploy rhev-hypervisor7-ng-3.6-20160506.0
2. login rhev-h by root account
3. run virt-who-password and input "admin"
Keyfile /var/lib/virt-who/key doesn't exist and can't be created, rerun as root
create encrypted_password failed
the encrypted_password value should be created normally
This is caused by the fact that the filesystem is readonly in RHEV-H.
Can be the file /var/lib/virt-who/key made writable? Or rather whole directory /var/lib/virt-who/? virt-who uses this directory for its internal files which are required for its correct operation. Thanks.
This bug appeared on RHEV-H NG which has a writable filesystem on /var.
Thus it is not a read-only problem.
Eko, do you have a traceback or more detailed logs?
Fabian, I checked it again with rhev-hypervisor7-ng-3.6-20160518.0.x86_64.
can't reproduce this issue any more. verified it.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.