Bug 1522941

Summary: cannot create node and hosted engine on same subnet
Product: [oVirt] ovirt-hosted-engine-setup Reporter: Hetz Ben Hamo <hetz>
Component: GeneralAssignee: Simone Tiraboschi <stirabos>
Status: CLOSED DUPLICATE QA Contact: meital avital <mavital>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.2.0CC: bugs, didi
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-06 21:37:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Network RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Hetz Ben Hamo 2017-12-06 19:14:06 UTC
Description of problem:
It looks like since today (I'm using latest ISO ovirt-node-ng-installer-ovirt-4.2-pre-2017120512) I cannot create a vm which will be the node (on 192.168.0.102) and the HE on 192.168.0.101

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

How reproducible:
Always

Steps to Reproduce:
1. build a VM and install the ISO, set the IP on 192.168.0.101 (for example)
2. Either through web gui or cli (by running ovirt-hosted-engine-setup) give a hostname (that is written in DNS) like ovirt.home with IP 192.168.0.102
3. You'll see error message

Actual results:
[ ERROR ] The Engine VM (192.168.0.101/32) and this host (192.168.0.102/32) will not be in the same IP subnet. Static routing configuration are not supported on automatic VM configuration.

Expected results:
It should work. tons of places cannot create different subnets or vlans. If this is a correct behavior, then it should be an option, not mandatory. I'm just trying to install the Node, the HE, and record a youtube video on the upcoming version. Now I can't do that..

Comment 1 Hetz Ben Hamo 2017-12-06 19:44:41 UTC
I tried to reformat the machine and reinstall the latest snapshot ISO. Surprise, it worked...

Comment 2 Hetz Ben Hamo 2017-12-06 21:15:12 UTC
And I think I found the bug..

Using the web UI, when configuring everything, the VM engine IP that I'm entering - doesn't get any subnet (while the host itself has the correct /24 subnet), so the HE engine install failed.

running the ovirt-hosted-engine-setup through terminal, the script adds the /24 to the HE VM and it seems to work.

Comment 3 Yedidyah Bar David 2017-12-06 21:37:05 UTC

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