Bug 1332232

Summary: hosted-engine --deploy errors out with code "29" -- "no link present"
Product: [oVirt] ovirt-hosted-engine-setup Reporter: Daniel Beckman <daniel.beckman>
Component: NetworkAssignee: Yedidyah Bar David <didi>
Status: CLOSED DUPLICATE QA Contact: meital avital <mavital>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 2.0.0CC: bugs, danken, mmirecki
Target Milestone: ---Flags: mmirecki: needinfo+
rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-04 08:25:57 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:
Attachments:
Description Flags
ovirt hosted engine setup log none

Description Daniel Beckman 2016-05-02 14:55:57 UTC
Created attachment 1152983 [details]
ovirt hosted engine setup log

Description of problem:

When I run hosted-engine --deploy, it errors out with the error in summary. 
Some background: I have 10G Ethernet interfaces that take a while to start up - "ifup" run the first time fails with "..no link present". Running "ifup" a second time completes without error. As a workaround, my ifcfg file includes "LINKDELAY=10". But ovirt setup does not appear to support the LINKDELAY option. Per Edy Haas (ehaas):
"As an workaround, you could use a VDSM before_ifcfg_write hook to add this parameter for the specific nic.
Please open a bug on this so we can track it."


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

Latest release of 3.6 from standard oVirt repos


How reproducible:


Steps to Reproduce:
1. run "hosted-engine --depoy" using an Intel 10-Gigabit interface (X540-AT2) with delayed link initialization


Actual results:
Setup errors out with above error

Expected results:
Setup would be able to insert a delay so that interfaces that take longer to come up aren't immediately flagged as down

Additional info:

Log from setup attached.

Comment 1 Daniel Beckman 2016-05-02 17:13:02 UTC
Hello,

I'd like to try out the VDSM hook "before_ifcfg_write" but despite reading through the available documentation I'm not sure how to implement that.

Comment 2 Dan Kenigsberg 2016-05-04 08:25:57 UTC
Marcin, can you point Daniel to your sample ifcfg hook?

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

Comment 3 Marcin Mirecki 2016-06-27 13:17:41 UTC
There is a blog entry on this:
https://www.ovirt.org/blog/2016/05/modify-ifcfg-files/