Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2088466

Summary: Add a warning to explicitly use either IPv4 or IPv6 during deloyment.
Product: [oVirt] ovirt-hosted-engine-setup Reporter: Nikolai Sednev <nsednev>
Component: GeneralAssignee: Asaf Rachmani <arachman>
Status: CLOSED UPSTREAM QA Contact: meital avital <mavital>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 2.6.2CC: bugs, michal.skrivanek, stirabos
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: 2022-05-25 11:42:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Integration RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nikolai Sednev 2022-05-19 14:01:02 UTC
Description of problem:
Add a warning to explicitly use either IPv4 or IPv6 during deloyment.
The default for 4.3 and bellow was IPv4, from 4.5 and above we have this one changed to use IPv6 as default method during the deployment on dualstack environments. Please add warning for the users in initial state of the deployment, to use either --4 or --6 instead of not using anything and simply running hosted-engine --deploy, as this may severely impact on 4.3->4.5 or 4.5 restore or simple 4.5 clean deployments. 
If possible and customer made a choice, either hosted-engine --deploy --4 or hosted-engine --deploy --6, then the warning should not be shown during the deployment, just like it happens for tmux.

This request comes from https://bugzilla.redhat.com/show_bug.cgi?id=2087735 issue, caused by this flow.

Version-Release number of selected component (if applicable):
latest 4.5

How reproducible:
100%

Steps to Reproduce:
1.Deploy HE using default deployment mode on dualstack environment.

Actual results:
No warning shown to customers.

Expected results:
4.5 prefers IPv6 by default on dualstack, users should be warned to make implicit choice.

Additional info:

Comment 1 Nikolai Sednev 2022-05-19 14:44:55 UTC
There was also mentioned here https://bugzilla.redhat.com/show_bug.cgi?id=2021975#c15 about this issue.

Comment 2 Michal Skrivanek 2022-05-25 11:42:42 UTC
tracked in https://github.com/oVirt/ovirt-hosted-engine-setup/issues/47