Bug 1894463

Summary: Missing information about password.yml for disaster recovery failover playbook
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: SATHEESARAN <sasundar>
Component: doc-Maintaining_RHHIAssignee: storage-doc
Status: CLOSED DUPLICATE QA Contact: SATHEESARAN <sasundar>
Severity: high Docs Contact:
Priority: unspecified    
Version: rhhiv-1.8CC: asriram, rhs-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-12-09 12:17:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description SATHEESARAN 2020-11-04 10:45:15 UTC
Describe the issue:
--------------------
Maintenance guide[1] of RHHI-V in section 3.4.3 explains about the creation of failover playbook, but it missed to explain about passwords.yml.

This inventory file passwords.yml is included in the playbook should contain the password for RHV Manager instance at the primary and secondary site. The content of playbook will be encrypted.

Contents of playbook should be:
<snip>
---
# This file is in plain text, if you want to
# encrypt this file, please execute following command:
#
# $ ansible-vault encrypt passwords.yml
#
# It will ask you for a password, which you must then pass to
# ansible interactively when executing the playbook.
#
# $ ansible-playbook myplaybook.yml --ask-vault-pass
#
dr_sites_primary_password: primary_password
dr_sites_secondary_password: secondary_password
</snip>

Add a note for the users to encrypt this file

<snip>
Note
For extra security you can encrypt the password file. However, you will need to use the --ask-vault-pass parameter when running the playbook. 
</snip>

Document URL:
-------------
[1] - https://access.redhat.com/documentation/en-us/red_hat_hyperconverged_infrastructure_for_virtualization/1.8/html-single/maintaining_red_hat_hyperconverged_infrastructure_for_virtualization/index#config-backup-recovery-failover-playbook

Chapter/Section Number and Title:
---------------------------------
Section 3.4.3 Creating a failover playbook between source and target clusters

Any other versions of this document that also needs this update:
-----------------------------------------------------------------
RHHI-V 1.7 Maintenance guide too

Comment 1 SATHEESARAN 2020-12-09 12:17:09 UTC
Doc content changes made in the bug 1895193 covers this bug too

*** This bug has been marked as a duplicate of bug 1895193 ***