Bug 1438407 - In Hosted Engine setup when the lun is not empty and you choose Force this param not added to answer file
Summary: In Hosted Engine setup when the lun is not empty and you choose Force this pa...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: ovirt-hosted-engine-setup
Classification: oVirt
Component: General
Version: 2.1.0
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
: ---
Assignee: Simone Tiraboschi
QA Contact: Nikolai Sednev
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-04-03 11:23 UTC by Kobi Hakimi
Modified: 2022-02-25 15:33 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-06-25 07:34:11 UTC
oVirt Team: Integration
Embargoed:
sbonazzo: ovirt-4.3-


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHV-44954 0 None None None 2022-02-25 15:33:54 UTC

Description Kobi Hakimi 2017-04-03 11:23:46 UTC
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:

Comment 1 Yaniv Lavi 2017-04-12 11:15:01 UTC
*** Bug 1438412 has been marked as a duplicate of this bug. ***

Comment 2 Yaniv Lavi 2018-06-25 07:34:11 UTC
Closing old bugs.
Please reopen if still relevant.
Patches are welcomed.

Comment 3 Yedidyah Bar David 2018-06-25 07:48:59 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.