<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    After having problems with a bond and the ovirtmgmt interface on
    3.5.1, I skipped bond0 and just added bond1 for gluster and bond2
    for internet.<br>
    <br>
    When restarting, I loose all the bonds and I cannot use the "Setup
    Host networks" anymore:<br>
    <br>
    <img src="cid:part1.06040705.04040202@netbulae.eu" alt=""><br>
    <br>
    In the engine log, I see the following:<br>
    <br>
    <br>
    <blockquote>2015-02-10 17:29:41,799 INFO 
      [org.ovirt.vdsm.jsonrpc.client.reactors.ReactorClient] (SSL Stomp
      Reactor) Connecting to test4.netbulae.test/xx.xx.xx.xx<br>
      2015-02-10 17:29:42,414 ERROR
      [org.ovirt.engine.core.vdsbroker.vdsbroker.SetupNetworksVDSCommand]
      (ajp--127.0.0.1-8702-4) [4be2b53a] Failed in SetupNetworksVDS
      method<br>
      2015-02-10 17:29:42,414 WARN 
      [org.ovirt.vdsm.jsonrpc.client.internal.ResponseWorker]
      (ResponseWorker) Exception thrown during message processing<br>
      2015-02-10 17:29:42,414 ERROR
      [org.ovirt.engine.core.vdsbroker.vdsbroker.SetupNetworksVDSCommand]
      (ajp--127.0.0.1-8702-4) [4be2b53a]
      org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException:
      VDSGenericException: VDSErrorException: Failed to
      SetupNetworksVDS, error = Missing required nics for bonding
      device., code = 21<br>
      2015-02-10 17:29:42,416 ERROR
      [org.ovirt.engine.core.vdsbroker.vdsbroker.SetupNetworksVDSCommand]
      (ajp--127.0.0.1-8702-4) [4be2b53a] Command
      SetupNetworksVDSCommand(HostName = test4.netbulae.test, HostId =
      c4e1f226-a243-4a9a-8fa9-fc65f4518114, force=false,
      checkConnectivity=true, conectivityTimeout=120,<br>
          networks=[gluster {id=123ff683-fcf8-407b-94ca-f323c1fba326,
      description=null, comment=null, subnet=null, gateway=null,
      type=null, vlanId=null, stp=false,
      dataCenterId=00000002-0002-0002-0002-00000000031a, mtu=9000,
      vmNetwork=false, cluster=NetworkCluster {id={clusterId=null,
      networkId=null}, status=OPERATIONAL, display=false, required=true,
      migration=true}, providedBy=null, label=null, qosId=null},<br>
              uplink {id=51a63339-5570-4b58-b00c-9d54a534ff20,
      description=null, comment=null, subnet=null, gateway=null,
      type=null, vlanId=null, stp=false,
      dataCenterId=00000002-0002-0002-0002-00000000031a, mtu=0,
      vmNetwork=true, cluster=NetworkCluster {id={clusterId=null,
      networkId=null}, status=OPERATIONAL, display=false, required=true,
      migration=false}, providedBy=null, label=null, qosId=null}],<br>
          bonds=[bond1 {id=64135fde-a5de-404c-89a3-2ce13a1a7d84,
      vdsId=c4e1f226-a243-4a9a-8fa9-fc65f4518114, name=bond1,
      macAddress=**:**:**:**:**:**, networkName=gluster,
      bondOptions=mode=4 miimon=100, bootProtocol=STATIC_IP, address=,
      subnet=, gateway=, mtu=9000, bridged=false, type=0,
      networkImplementationDetails={inSync=true, managed=true}},<br>
              bond2 {id=f2f26c27-85f3-413a-abb0-79db4b323c0e,
      vdsId=c4e1f226-a243-4a9a-8fa9-fc65f4518114, name=bond2,
      macAddress=**:**:**:**:**:**, networkName=null, bondOptions=mode=4
      miimon=100, bootProtocol=NONE, address=, subnet=, gateway=null,
      mtu=1500, bridged=false, type=0,
      networkImplementationDetails=null}],<br>
          interfaces=[enp2s0 {id=542b77c3-a412-4435-87f1-182663317893,
      vdsId=c4e1f226-a243-4a9a-8fa9-fc65f4518114, name=enp2s0,
      macAddress=**:**:**:**:**:**, networkName=null, bondName=null,
      bootProtocol=DHCP, address=, subnet=, gateway=null, mtu=1500,
      bridged=false, speed=0, type=0,
      networkImplementationDetails=null},<br>
              enp9s0f1 {id=f5cc13ec-ac66-446c-b2b4-c6561c10a62b,
      vdsId=c4e1f226-a243-4a9a-8fa9-fc65f4518114, name=enp9s0f1,
      macAddress=**:**:**:**:**:**, networkName=null, bondName=bond2,
      bootProtocol=NONE, address=, subnet=, gateway=null, mtu=1500,
      bridged=false, speed=0, type=0,
      networkImplementationDetails=null},<br>
              enp9s0f0 {id=6bf7215a-ca7e-4634-8225-5762f5bd3620,
      vdsId=c4e1f226-a243-4a9a-8fa9-fc65f4518114, name=enp9s0f0,
      macAddress=**:**:**:**:**:**, networkName=null, bondName=bond2,
      bootProtocol=NONE, address=, subnet=, gateway=null, mtu=1500,
      bridged=false, speed=0, type=0,
      networkImplementationDetails=null},<br>
              enp1s0 {id=e5319631-6c7e-4be2-8914-a24df70f26af,
      vdsId=c4e1f226-a243-4a9a-8fa9-fc65f4518114, name=enp1s0,
      macAddress=**:**:**:**:**:**, networkName=ovirtmgmt,
      bondName=null, bootProtocol=DHCP, address=xx.xx.xx.xx,
      subnet=255.255.255.0, gateway=*.*.*.*, mtu=1500, bridged=true,
      speed=1000, type=2, networkImplementationDetails={inSync=true,
      managed=true}},<br>
              enp7s0f1 {id=665c7d78-0ce3-46d9-9458-6828eecf23e7,
      vdsId=c4e1f226-a243-4a9a-8fa9-fc65f4518114, name=enp7s0f1,
      macAddress=**:**:**:**:**:**, networkName=null, bondName=bond1,
      bootProtocol=NONE, address=, subnet=, gateway=null, mtu=9000,
      bridged=false, speed=0, type=0,
      networkImplementationDetails=null},<br>
              enp7s0f0 {id=3bb50de2-590d-451e-841f-805ebba1d1b6,
      vdsId=c4e1f226-a243-4a9a-8fa9-fc65f4518114, name=enp7s0f0,
      macAddress=**:**:**:**:**:**, networkName=null, bondName=bond1,
      bootProtocol=NONE, address=, subnet=, gateway=null, mtu=9000,
      bridged=false, speed=0, type=0,
      networkImplementationDetails=null},<br>
              bond1 {id=null, vdsId=null, name=bond1, macAddress=null,
      networkName=gluster, bondOptions=mode=4 miimon=100,
      bootProtocol=STATIC_IP, address=xx.xx.xx.xx, subnet=255.255.255.0,
      gateway=null, mtu=9000, bridged=false, type=0,
      networkImplementationDetails=null},<br>
              bond2 {id=null, vdsId=null, name=bond2, macAddress=null,
      networkName=uplink, bondOptions=mode=4 miimon=100,
      bootProtocol=NONE, address=null, subnet=null, gateway=null, mtu=0,
      bridged=true, type=0, networkImplementationDetails=null}],<br>
          removedNetworks=[],<br>
          removedBonds=[]) execution failed. Exception:
      VDSErrorException: VDSGenericException: VDSErrorException: Failed
      to SetupNetworksVDS, error = Missing required nics for bonding
      device., code = 21<br>
      2015-02-10 17:29:42,425 ERROR
      [org.ovirt.engine.core.bll.network.host.SetupNetworksCommand]
      (ajp--127.0.0.1-8702-4) [4be2b53a] Command
      org.ovirt.engine.core.bll.network.host.SetupNetworksCommand throw
      Vdc Bll exception. With error message VdcBLLException:
      org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException:
      VDSGenericException: VDSErrorException: Failed to
      SetupNetworksVDS, error = Missing required nics for bonding
      device., code = 21 (Failed with error ERR_BAD_PARAMS and code 21)<br>
      2015-02-10 17:30:00,053 INFO 
      [org.ovirt.engine.core.bll.AutoRecoveryManager]
      (DefaultQuartzScheduler_Worker-32) Autorecovering 2 hosts<br>
      2015-02-10 17:30:00,053 INFO 
      [org.ovirt.engine.core.bll.AutoRecoveryManager]
      (DefaultQuartzScheduler_Worker-32) Autorecovering hosts id:
      c4e1f226-a243-4a9a-8fa9-fc65f4518114, name : test4.netbulae.test<br>
      2015-02-10 17:30:00,075 INFO 
      [org.ovirt.engine.core.bll.ActivateVdsCommand]
      (DefaultQuartzScheduler_Worker-32) [655e85c2] Lock Acquired to
      object EngineLock [exclusiveLocks= key:
      c4e1f226-a243-4a9a-8fa9-fc65f4518114 value: VDS<br>
      , sharedLocks= ]<br>
    </blockquote>
    <br>
    When I check the host I see somehow bond0 has appeared and all the
    ip's have been lost.  But I never configured bond0!!!<br>
    <br>
    <br>
    What's up with the bonding?<br>
    <br>
    <blockquote><br>
    </blockquote>
    <br>
    <br>
  <BR />
<BR />
<b style="color:#604c78"></b><br><span style="color:#604c78;"><font color="000000"><span style="mso-fareast-language:en-gb;" lang="NL">Met vriendelijke groet, With kind regards,<br><br></span>Jorick Astrego</font></span><b style="color:#604c78"><br><br>Netbulae Virtualization Experts </b><br><hr style="border:none;border-top:1px solid #ccc;"><table style="width: 522px"><tbody><tr><td style="width: 130px;font-size: 10px">Tel:  053 20 30 270</td>    <td style="width: 130px;font-size: 10px">info@netbulae.eu</td>    <td style="width: 130px;font-size: 10px">Staalsteden 4-3A</td>    <td style="width: 130px;font-size: 10px">KvK 08198180</td></tr><tr>    <td style="width: 130px;font-size: 10px">Fax: 053 20 30 271</td>    <td style="width: 130px;font-size: 10px">www.netbulae.eu</td>    <td style="width: 130px;font-size: 10px">7547 TA Enschede</td>    <td style="width: 130px;font-size: 10px">BTW NL821234584B01</td></tr></tbody></table><br><hr style="border:none;border-top:1px solid #ccc;"><BR />
</body>
</html>