Description of problem: In Hosted Engine setup when the lun is not empty and you choose Force this param not added to answer file Version-Release number of selected component (if applicable): Red Hat Virtualization Manager Version: 4.1.1.2-0.1.el7 How reproducible: 100% Steps to Reproduce: 1. Deploy manually the hosted-engine on not empty lun with generate-answer like: hosted-engine --deploy --generate-answer=/etc/ansible-ovirt/answer 2. Choose the correct lun and when you get the following condition: The selected device is already used. To create a vg on this device, you must use Force. WARNING: This will destroy existing data on the device. (Force, Abort)[Abort]? 3. Type "Force" and continue. 4. In the end of deploy open the generated answer file. Actual results: The Force parameter not exist in the answer file Expected results: To see this parameter: OVEHOSTED_ENGINE/forceCreateVG=bool:True in the answer file. IMHO the answer file should reflect the setup as the user type during the setup process Additional info:
*** Bug 1438412 has been marked as a duplicate of this bug. ***
Closing old bugs. Please reopen if still relevant. Patches are welcomed.
We should probably fix this and similar bugs by using otopi-generated answer files also in hosted-engine-setup, like bug 1518697. Not sure this will be so easy, because we use the answer files for different things, not only for unattended re-runs of manual first-host setups. So not sure we'll ever do this.