Bug 1492791

Summary: Engine VM has no external connectivity due to unconfigured default gateway if deployed with static IP
Product: [oVirt] ovirt-hosted-engine-setup Reporter: Simone Tiraboschi <stirabos>
Component: NetworkAssignee: Simone Tiraboschi <stirabos>
Status: CLOSED CURRENTRELEASE QA Contact: Nikolai Sednev <nsednev>
Severity: high Docs Contact:
Priority: unspecified    
Version: 2.2.0CC: bugs, fgarciad, mavital, pmatyas
Target Milestone: ovirt-4.1.7Keywords: Triaged, ZStream
Target Release: 2.1.4Flags: rule-engine: ovirt-4.1+
rule-engine: blocker+
mavital: testing_plan_complete?
sbonazzo: devel_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: hosted-engine Doc Type: Bug Fix
Doc Text:
Cause: Due to an upstream cloud-init bug, the gateway address wasn't set on RHEL 7.4 based appliance choosing to deploy with static IP addressing. Consequence: No external connectivity on the engine VM. Fix: Workaround on gateway address on cloud-init side. Result: The gateway address is correctly set.
Story Points: ---
Clone Of:
: 1493390 (view as bug list) Environment:
Last Closed: 2017-11-13 12:25:16 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:
Bug Depends On:    
Bug Blocks: 1440101, 1493390    

Description Simone Tiraboschi 2017-09-18 15:57:37 UTC
Description of problem:
Due to an upstream cloud-init bug ( https://bugs.launchpad.net/cloud-init/+bug/1686856 ), the default gateway is not configured on the Engine VM if deployed with static IP.

It affects RHEL 7.4 and Centos 7.4 (used as the base of the engine-appliance, not related to host OS).

Version-Release number of selected component (if applicable):
The issue is cloud-init on the engine VM OS: 7.4

How reproducible:
100%

Steps to Reproduce:
1. deploy hosted-engine with static IP for the engine VM
2.
3.

Actual results:
The engine VM has no gateway and so no network connectivity

Expected results:
The default gateway on the engine VM is correctly configured

Additional info:

It affects RHEL 7.4 and Centos 7.4 (used as the base of the engine-appliance, not related to host OS)

Comment 1 Sandro Bonazzola 2017-09-19 05:33:40 UTC
Not depending on bug #1492726 since we can workaround it. Moved bug #1492726 to see also.

Comment 2 Yedidyah Bar David 2017-09-19 10:13:21 UTC
*** Bug 1493070 has been marked as a duplicate of this bug. ***

Comment 5 Nikolai Sednev 2017-09-28 13:52:38 UTC
Successfully deployed SHE with static IP using cloud-init, over NFS on RHEL7.4 host, using rhvm-appliance-4.1.20170927.0-1.el7.noarch with ovirt-engine-setup-4.1.7.1-0.1.el7.noarch inside and ovirt-hosted-engine-setup-2.1.4-1.el7ev.noarch on host.
Moving to verified.