<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hi<br>
      For long time I've been looking for proper support in ovirt for
      Open vSwitch so I'm happy that it is moving in the right
      direction. However, there seems to still be a dependency on a
      ovirtmgmt bridge and I'm unable to move that to the OVN provider.</p>
    <p>The hosting center where I rent hw instances has a bit special
      network setup, so I have one physical network port with a /32
      netmask and point-to-point config to router. The physical port I
      connect to a ovs bridge which has the public ip. Since ovirt
      always messes up the network config when I've tried to let it have
      access to the network config for the physical port, I've set eht0
      and ovsbridge0 as hidden in vdsm.conf.<br>
    </p>
    <p>I then create a bridge for use with ovirt, with a private
      address. With the OVN provider I am now able to import these into
      the engine and it looks good. When creating a VM I can select that
      it will have a vNic on my OVS bridge.</p>
    <p>However, I can't start the VM as an exception is thrown in the
      log:</p>
    <p>2016-12-28 00:13:33,350 ERROR
      [org.ovirt.engine.core.bll.RunVmCommand] (default task-5)
      [3c882d53] Error during ValidateFailure.:
      java.lang.NullPointerException<br>
              at
org.ovirt.engine.core.bll.scheduling.policyunits.NetworkPolicyUnit.validateRequiredNetworksAvailable(NetworkPolicyUnit.java:140)
      [bll.jar:]<br>
              at
org.ovirt.engine.core.bll.scheduling.policyunits.NetworkPolicyUnit.filter(NetworkPolicyUnit.java:69)
      [bll.jar:]<br>
              at
org.ovirt.engine.core.bll.scheduling.SchedulingManager.runInternalFilters(SchedulingManager.java:597)
      [bll.jar:]<br>
              at
org.ovirt.engine.core.bll.scheduling.SchedulingManager.runFilters(SchedulingManager.java:564)
      [bll.jar:]<br>
              at
org.ovirt.engine.core.bll.scheduling.SchedulingManager.canSchedule(SchedulingManager.java:494)
      [bll.jar:]<br>
              at
org.ovirt.engine.core.bll.validator.RunVmValidator.canRunVm(RunVmValidator.java:133)
      [bll.jar:]<br>
              at
      org.ovirt.engine.core.bll.RunVmCommand.validate(RunVmCommand.java:940)
      [bll.jar:]<br>
              at
org.ovirt.engine.core.bll.CommandBase.internalValidate(CommandBase.java:886)
      [bll.jar:]<br>
              at
      org.ovirt.engine.core.bll.CommandBase.validateOnly(CommandBase.java:366)
      [bll.jar:]<br>
              at
org.ovirt.engine.core.bll.PrevalidatingMultipleActionsRunner.canRunActions(PrevalidatingMultipleActionsRunner.java:113)
      [bll.jar:]<br>
              at
org.ovirt.engine.core.bll.PrevalidatingMultipleActionsRunner.invokeCommands(PrevalidatingMultipleActionsRunner.java:99)
      [bll.jar:]<br>
              at
org.ovirt.engine.core.bll.PrevalidatingMultipleActionsRunner.execute(PrevalidatingMultipleActionsRunner.java:76)
      [bll.jar:]<br>
              at
org.ovirt.engine.core.bll.Backend.runMultipleActionsImpl(Backend.java:613)
      [bll.jar:]<br>
              at
      org.ovirt.engine.core.bll.Backend.runMultipleActions(Backend.java:583)
      [bll.jar:]<br>
    </p>
    <p>Looking at that section of code where the exception is thrown, I
      see that it iterates over host networks to find required networks,
      which I assume is ovirtmgmt. In the host network setup dialog I
      don't see any networks at all but it lists ovirtmgmt as required.
      It also list the OVN networks but these can't be statically
      assigned as they are added dynamically when needed, which is fine.</p>
    <p>I believe that I either need to remove ovirtmgmt network or
      configure that it is provided by the OVN provider, but neither is
      possible. Preferably it shouldn't be hardcoded which network is
      management and mandatory but be possible to configure.</p>
    <p>/Sverker<br>
    </p>
    <div class="moz-cite-prefix">Den 2016-12-27 kl. 17:10, skrev Marcin
      Mirecki:<br>
    </div>
    <blockquote
      cite="mid:577578472.5696628.1482855035519.JavaMail.zimbra@redhat.com"
      type="cite">
      <pre wrap="">The following is a new meeting request:

Subject: OVN Deep Dive for oVirt 4.1 
Organizer: "Marcin Mirecki" <a class="moz-txt-link-rfc2396E" href="mailto:mmirecki@redhat.com">&lt;mmirecki@redhat.com&gt;</a> 

Time: Wednesday, January 11, 2017, 4:00:00 PM - 5:00:00 PM GMT +01:00 Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna
 
Invitees: <a class="moz-txt-link-abbreviated" href="mailto:users@ovirt.org">users@ovirt.org</a> 


*~*~*~*~*~*~*~*~*~*

OVN (Open Virtual Networking) is a new network virtualization project that
brings virtual networking to Open vSwitch.
OVN is now availble to use as a tech preview in oVirt. It is made available
using the oVirt external network providers API, which allows using external
network management software inside environments managed by oVirt.
The integration with OVN will allow users to take advantage of native OVS
support for software defined networks.

The advantages of using OVN:
- ability to use large number of networks with no need for multiple host NICs
  or VLAN use
- ability to set up new network without any changes to the physical infrastructure
- easier to maintain due to centralized management
- good traffic isolation due to Openflow rules
- improved performance over neutron OVS plugin (<a class="moz-txt-link-freetext" href="https://blog.russellbryant.net/2016/12/19/comparing-openstack-neutron-ml2ovs-and-ovn-control-plane/">https://blog.russellbryant.net/2016/12/19/comparing-openstack-neutron-ml2ovs-and-ovn-control-plane/</a>)


Session outline:
- OVN overview
- oVirt external network provider API overview
- oVirt provider for OVN overview

Session link:
<a class="moz-txt-link-freetext" href="https://www.youtube.com/watch?v=vGeouWfKJwA">https://www.youtube.com/watch?v=vGeouWfKJwA</a>

Feature Page:
<a class="moz-txt-link-freetext" href="https://www.ovirt.org//develop/release-management/features/ovirt-ovn-provider/">https://www.ovirt.org//develop/release-management/features/ovirt-ovn-provider/</a>
Blog Post:
<a class="moz-txt-link-freetext" href="https://www.ovirt.org/blog/2016/11/ovirt-provider-ovn/">https://www.ovirt.org/blog/2016/11/ovirt-provider-ovn/</a>
</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org">Users@ovirt.org</a>
<a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>