Description of problem: Calling ovirt-vr validate with an encrypted password file will fail with the following error message: [Validate Mapping File] Can not read passwords from vault. Will try to read as plain file. [Validate Mapping File] Can not read passwords from file If a simple password file is used the validate operation is successfull Version-Release number of selected component (if applicable): ovirt-ansible-disaster-recovery-1.1.0-1.el7ev.noarch How reproducible: 100% Steps to Reproduce: 1. ovirt-dr validate with encypted password file 2. 3. Actual results: Validate fails Expected results: Should pass Additional info:
There is a regression which was reported recently in ansible on this usecase (see [1]) but it seems that it was closed on the reason that python API is not the public API ansible is using. I will try to find an alternative in out code [1] https://github.com/ansible/ansible/issues/30969
Verified with the following code: --------------------------------------- ovirt-ansible-disaster-recovery-1.1.1-1.el7ev.noarch Verified with the following scenario: ---------------------------------------- 1. Ovirt-dr validate 2. enter password for source and destination >>>>> Validation is successfull Moving to VERIFIED!
This bugzilla is included in oVirt 4.2.5 release, published on July 30th 2018. Since the problem described in this bug report should be resolved in oVirt 4.2.5 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report.