<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        mso-fareast-language:EN-US;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hello everybody,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US">I installed oVirt Engine on a CentOS 6.3 host (also serving repositories via HTTP and NFS, running puppet, razor and svn as well as xinetd/TFTP, NFS, DNS and DHCP). When I set up a new node with a minimal CentOS 6.3 install
and then use the OVirt GUI to install vdsm on it, I get an error setting up the bridging.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">As a next step, I set up the node again and installed vdsm and vdsm-cli manually before setting up the node via the GUI. This time, I don’t see any errors in the event log of the node in ovirt GUI. However, the bridge
is not created and the node marked as “not operational”. When I click on the node and click “set up Networks”, I can assign the ovirtmgmt network to eth0. When I click on OK, I get “Error while executing action Setup Networks: Internal oVirt Engine Error”
in the gui. The engine.log shows the following messages:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New"">2012-09-05 10:49:03,833 INFO [org.ovirt.engine.core.bll.SetupNetworksCommand] (ajp--127.0.0.1-8702-7) [3e1fa402] Running command: SetupNetworksCommand internal: false. Entities affected
: ID: 0c6f61b8-f72b-11e1-add6-1cc1de08c55e Type: VDS<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New"">2012-09-05 10:49:03,838 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.SetupNetworksVDSCommand] (ajp--127.0.0.1-8702-7) [3e1fa402] START, SetupNetworksVDSCommand(vdsId = 0c6f61b8-f72b-11e1-add6-1cc1de08c55e),
log id: 50e63074<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New"">2012-09-05 10:49:03,839 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.SetupNetworksVDSCommand] (ajp--127.0.0.1-8702-7) [3e1fa402] FINISH, SetupNetworksVDSCommand, log id: 50e63074<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New"">2012-09-05 10:49:04,356 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] (ajp--127.0.0.1-8702-7) [3e1fa402] org.ovirt.engine.core.vdsbroker.vdsbroker.VDSNetworkException:
VDSGenericException: VDSNetworkException: Specified netmask or gateway but not ip<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New"">2012-09-05 10:49:04,357 ERROR [org.ovirt.engine.core.vdsbroker.VDSCommandBase] (ajp--127.0.0.1-8702-7) [3e1fa402] Command SetupNetworksVDS execution failed. Exception: RuntimeException:
org.ovirt.engine.core.vdsbroker.vdsbroker.VDSNetworkException: VDSGenericException: VDSNetworkException: Specified netmask or gateway but not ip<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">In the installation log /tmp/vdsm-bootstrap-phase1-20120905092647.log on the node, I see these errors<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New"">Wed, 05 Sep 2012 09:27:19 DEBUG deployUtil 386 Bridge ovirtmgmt not found, need to create it.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New"">Wed, 05 Sep 2012 09:27:19 DEBUG deployUtil 438 getAddress Entry. url=http://mgmt0.be.tng:80/Components/vds/<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New"">Wed, 05 Sep 2012 09:27:19 DEBUG deployUtil 460 getAddress return. address=mgmt0.be.tng port=80<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New"">Wed, 05 Sep 2012 09:27:19 DEBUG deployUtil 859 makeBridge begin.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New"">Wed, 05 Sep 2012 09:27:19 DEBUG deployUtil 343 _getMGTIface: read host name: mgmt0.be.tng<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New"">Wed, 05 Sep 2012 09:27:19 DEBUG deployUtil 350 _getMGTIface: using host name mgmt0.be.tng strIP= 10.4.116.9<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New"">Wed, 05 Sep 2012 09:27:19 DEBUG deployUtil 356 _getMGTIface IP=10.4.116.9 strIface=eth0<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New"">Wed, 05 Sep 2012 09:27:19 DEBUG deployUtil 897 makeBridge found the following bridge paramaters: ['BOOTPROTO=dhcp', 'IPV6INIT=yes', 'MTU=1500', 'ONBOOT=yes', 'UUID=79df5c4c-8df0-474b-9e98-22f3fb9b54c9']<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New"">Wed, 05 Sep 2012 09:27:19 DEBUG deployUtil 122 ['/usr/share/vdsm/addNetwork', 'ovirtmgmt', '', '', 'eth0', 'BOOTPROTO=dhcp', 'IPV6INIT=yes', 'MTU=1500', 'ONBOOT=yes', 'UUID=79df5c4c-8df0-474b-9e98-22f3fb9b54c9',
'blockingdhcp=true']<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New"">Wed, 05 Sep 2012 09:27:20 DEBUG deployUtil 126 Specified netmask or gateway but not ip<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New"">Wed, 05 Sep 2012 09:27:20 DEBUG deployUtil 127 WARNING:Storage.LVM:Cannot create env file [Errno 2] No such file or directory: '/var/run/vdsm/lvm.env'<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New"">WARNING:root:options BOOTPROTO is deprecated. Use bootproto instead<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New"">WARNING:root:options ONBOOT is deprecated. Use onboot instead<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New"">Traceback (most recent call last):<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New""> File "/usr/share/vdsm/configNetwork.py", line 1382, in <module><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New""> main()<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New""> File "/usr/share/vdsm/configNetwork.py", line 1351, in main<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New""> addNetwork(bridge, **kwargs)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New""> File "/usr/share/vdsm/configNetwork.py", line 835, in addNetwork<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New""> bridged=bridged, **options)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New""> File "/usr/share/vdsm/configNetwork.py", line 771, in _addNetworkValidation<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New""> "Specified netmask or gateway but not ip")<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New"">ConfigNetworkError: (22, 'Specified netmask or gateway but not ip')<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New"">Wed, 05 Sep 2012 09:27:20 DEBUG deployUtil 930 makeBridge Failed to add ovirtmgmt bridge out=Specified netmask or gateway but not ip<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New"">err=WARNING:Storage.LVM:Cannot create env file [Errno 2] No such file or directory: '/var/run/vdsm/lvm.env'<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New"">WARNING:root:options BOOTPROTO is deprecated. Use bootproto instead<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New"">WARNING:root:options ONBOOT is deprecated. Use onboot instead<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New"">Traceback (most recent call last):<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New""> File "/usr/share/vdsm/configNetwork.py", line 1382, in <module><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New""> main()<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New""> File "/usr/share/vdsm/configNetwork.py", line 1351, in main<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New""> addNetwork(bridge, **kwargs)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New""> File "/usr/share/vdsm/configNetwork.py", line 835, in addNetwork<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New""> bridged=bridged, **options)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New""> File "/usr/share/vdsm/configNetwork.py", line 771, in _addNetworkValidation<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New""> "Specified netmask or gateway but not ip")<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New"">ConfigNetworkError: (22, 'Specified netmask or gateway but not ip')<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New"">ret=22<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New"">Wed, 05 Sep 2012 09:27:20 ERROR deployUtil 947 makeBridge errored: out=Specified netmask or gateway but not ip<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">The node gets its IP on eth0 (backend network) via dhcp. The other nic, eth1, is currently not connected but will be connected to the frontend network and also get its IP via DHCP.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Any help how to resolve the error </span>
<span lang="EN-US" style="font-family:"Courier New"">'Specified netmask or gateway but not ip'
</span><span lang="EN-US">is appreciated.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Kind regards<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Jörn<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="333" style="width:249.75pt">
<tbody>
<tr style="height:13.5pt">
<td width="333" style="width:249.75pt;padding:0cm 0cm 0cm 0cm;height:13.5pt">
<p class="MsoNormal"><b><span style="font-family:"Tahoma","sans-serif";color:#2C2A70;mso-fareast-language:DE">Jörn Ott</span></b><span style="font-size:12.0pt;mso-fareast-language:DE"><o:p></o:p></span></p>
</td>
</tr>
<tr style="height:9.0pt">
<td width="333" style="width:249.75pt;padding:0cm 0cm 0cm 0cm;height:9.0pt">
<p class="MsoNormal" style="line-height:9.0pt"><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#2C2A70;mso-fareast-language:DE">Senior Consultant IT</span><span style="font-size:12.0pt;mso-fareast-language:DE"><o:p></o:p></span></p>
</td>
</tr>
<tr style="height:9.0pt">
<td width="333" style="width:249.75pt;padding:0cm 0cm 0cm 0cm;height:9.0pt">
<p class="MsoNormal" style="line-height:9.0pt"><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#666666;mso-fareast-language:DE">Phone +49 89 203 007 497</span><span style="font-size:12.0pt;mso-fareast-language:DE"><o:p></o:p></span></p>
</td>
</tr>
<tr style="height:9.0pt">
<td width="333" style="width:249.75pt;padding:0cm 0cm 0cm 0cm;height:9.0pt">
<p class="MsoNormal" style="line-height:9.0pt"><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#666666;mso-fareast-language:DE">Fax +49 89 35043366</span><span style="font-size:12.0pt;mso-fareast-language:DE"><o:p></o:p></span></p>
</td>
</tr>
<tr style="height:9.0pt">
<td width="333" style="width:249.75pt;padding:0cm 0cm 0cm 0cm;height:9.0pt">
<p class="MsoNormal" style="line-height:9.0pt"><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#666666;mso-fareast-language:DE">Shopping Guide GmbH</span><span style="font-size:12.0pt;mso-fareast-language:DE"><o:p></o:p></span></p>
</td>
</tr>
<tr style="height:9.0pt">
<td width="333" style="width:249.75pt;padding:0cm 0cm 0cm 0cm;height:9.0pt">
<p class="MsoNormal" style="line-height:9.0pt"><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#666666;mso-fareast-language:DE">Leopoldstrasse 236, 80807 Munich</span><span style="font-size:12.0pt;mso-fareast-language:DE"><o:p></o:p></span></p>
</td>
</tr>
<tr style="height:7.5pt">
<td width="333" style="width:249.75pt;padding:0cm 0cm 0cm 0cm;height:7.5pt">
<p class="MsoNormal" style="line-height:7.5pt"><span style="font-size:7.5pt;font-family:"Tahoma","sans-serif";color:#666666;mso-fareast-language:DE">HRB 195968, Geschäftsführer: Olivier Sichel</span><span style="font-size:12.0pt;mso-fareast-language:DE"><o:p></o:p></span></p>
</td>
</tr>
<tr style="height:10.5pt">
<td width="333" style="width:249.75pt;padding:0cm 0cm 0cm 0cm;height:10.5pt">
<p class="MsoNormal" style="mso-line-height-alt:10.5pt"><span style="mso-fareast-language:DE"><a href="mailto:joern.ott@ciao.leguide.com"><span style="font-size:10.5pt;font-family:"Tahoma","sans-serif";color:#2C2A70">joern.ott@ciao.leguide.com</span></a></span><span style="font-size:12.0pt;mso-fareast-language:DE"><o:p></o:p></span></p>
</td>
</tr>
<tr style="height:9.0pt">
<td width="333" style="width:249.75pt;padding:0cm 0cm 0cm 0cm;height:9.0pt">
<p class="MsoNormal" style="mso-line-height-alt:9.0pt"><span style="mso-fareast-language:DE"> </span><span style="font-size:12.0pt;mso-fareast-language:DE"><o:p></o:p></span></p>
</td>
</tr>
<tr style="height:67.5pt">
<td width="333" style="width:249.75pt;padding:0cm 0cm 0cm 0cm;height:67.5pt">
<p class="MsoNormal" align="center" style="text-align:center"><span style="mso-fareast-language:DE"><img border="0" width="333" height="90" id="_x0000_i1025" src="cid:image001.jpg@01CD8B4E.C37CD320" alt="Description: http://img.leguide.com/signature/v4/signature_corpo_ciao_de_reseau.jpg"></span><span style="font-size:12.0pt;mso-fareast-language:DE"><o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span style="mso-fareast-language:DE"><o:p> </o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>