Bug 1676928 - Add flags to let the user explicitly force IPv6 or IPv4
Summary: Add flags to let the user explicitly force IPv6 or IPv4
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-hosted-engine-setup
Classification: oVirt
Component: Network
Version: 2.3.2
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ovirt-4.3.1
: ---
Assignee: Simone Tiraboschi
QA Contact: Michael Burman
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-02-13 15:57 UTC by Simone Tiraboschi
Modified: 2019-03-01 10:17 UTC (History)
2 users (show)

Fixed In Version: ovirt-hosted-engine-setup-2.3.5
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-03-01 10:17:46 UTC
oVirt Team: Integration
sbonazzo: ovirt-4.3?


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github oVirt ovirt-ansible-hosted-engine-setup pull 118 0 'None' 'closed' 'Make IPv4/IPv6 configurable' 2019-11-14 17:28:07 UTC
oVirt gerrit 97740 0 'None' 'MERGED' 'ipv6: make it configurable' 2019-11-14 17:28:07 UTC
oVirt gerrit 97824 0 'None' 'MERGED' 'ipv6: make it configurable' 2019-11-14 17:28:07 UTC

Description Simone Tiraboschi 2019-02-13 15:57:43 UTC
Description of problem:
Not the setup chooses to deploy the engine VM with IPv4 or IPv6 according to how the host address got resolved (as other tools do) but this could be confusing or error prone in mixed env not properly configured.

Let's add a couple of flags to force IPv4 or IPv6; they should be added also on the cockpit wizard.

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

How reproducible:
100%

Steps to Reproduce:
1. try to deploy hosted-engine on a mixed IPv4/IPv6 env
2.
3.

Actual results:
There is no way to explicitly choose between IPv4 and IPv6

Expected results:
The user can user -4 or -6 flags to force IPv4 or IPv6; they have to be added also to the cockpit wizard.


Additional info:

Comment 1 Michael Burman 2019-02-27 08:58:38 UTC
The user can now explicitly force IPv4 or IPv6 

By Running cmd 

hosted-engine --deploy --4
[ INFO  ] Stage: Initializing
[ INFO  ] Stage: Environment setup

hosted-engine --deploy --6
[ INFO  ] Stage: Initializing
[ INFO  ] Stage: Environment setup


--4 Force IPv4 on dual stack env

--6 Force IPv6 on dual stack env

Verified on - ovirt-hosted-engine-setup-2.3.5-1.el7ev.noarch
ovirt-hosted-engine-ha-2.3.1-1.el7ev.noarch
ovirt-ansible-hosted-engine-setup-1.0.11-1.el7ev.noarch
4.3.1.1-0.1.el7
vdsm-4.30.9-1.el7ev.x86_64
using rhvh-4.3.0.5-0.20190225.0+1 and rhvm-appliance-4.3-20190220.2.el7.x86_64

Comment 2 Sandro Bonazzola 2019-03-01 10:17:46 UTC
This bugzilla is included in oVirt 4.3.1 release, published on February 28th 2019.

Since the problem described in this bug report should be
resolved in oVirt 4.3.1 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.


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