<div dir="ltr">Did you install the host side VIF driver?</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><pre cols="72"><span style="font-family:arial,helvetica,sans-serif">Yaniv Dary
Technical Product Manager
Red Hat Israel Ltd.
34 Jerusalem Road
Building A, 4th floor
Ra'anana, Israel 4350109
Tel : +972 (9) 7692306
8272306
Email: <a href="mailto:ydary@redhat.com" target="_blank">ydary@redhat.com</a>
IRC : ydary</span></pre>
</div></div></div></div></div>
<br><div class="gmail_quote">On Wed, Dec 28, 2016 at 1:39 AM, Sverker Abrahamsson <span dir="ltr"><<a href="mailto:sverker@abrahamsson.com" target="_blank">sverker@abrahamsson.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div 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.<wbr>RunVmCommand] (default task-5)
[3c882d53] Error during ValidateFailure.:
java.lang.NullPointerException<br>
at
org.ovirt.engine.core.bll.<wbr>scheduling.policyunits.<wbr>NetworkPolicyUnit.<wbr>validateRequiredNetworksAvaila<wbr>ble(NetworkPolicyUnit.java:<wbr>140)
[bll.jar:]<br>
at
org.ovirt.engine.core.bll.<wbr>scheduling.policyunits.<wbr>NetworkPolicyUnit.filter(<wbr>NetworkPolicyUnit.java:69)
[bll.jar:]<br>
at
org.ovirt.engine.core.bll.<wbr>scheduling.SchedulingManager.<wbr>runInternalFilters(<wbr>SchedulingManager.java:597)
[bll.jar:]<br>
at
org.ovirt.engine.core.bll.<wbr>scheduling.SchedulingManager.<wbr>runFilters(SchedulingManager.<wbr>java:564)
[bll.jar:]<br>
at
org.ovirt.engine.core.bll.<wbr>scheduling.SchedulingManager.<wbr>canSchedule(SchedulingManager.<wbr>java:494)
[bll.jar:]<br>
at
org.ovirt.engine.core.bll.<wbr>validator.RunVmValidator.<wbr>canRunVm(RunVmValidator.java:<wbr>133)
[bll.jar:]<br>
at
org.ovirt.engine.core.bll.<wbr>RunVmCommand.validate(<wbr>RunVmCommand.java:940)
[bll.jar:]<br>
at
org.ovirt.engine.core.bll.<wbr>CommandBase.internalValidate(<wbr>CommandBase.java:886)
[bll.jar:]<br>
at
org.ovirt.engine.core.bll.<wbr>CommandBase.validateOnly(<wbr>CommandBase.java:366)
[bll.jar:]<br>
at
org.ovirt.engine.core.bll.<wbr>PrevalidatingMultipleActionsRu<wbr>nner.canRunActions(<wbr>PrevalidatingMultipleActionsRu<wbr>nner.java:113)
[bll.jar:]<br>
at
org.ovirt.engine.core.bll.<wbr>PrevalidatingMultipleActionsRu<wbr>nner.invokeCommands(<wbr>PrevalidatingMultipleActionsRu<wbr>nner.java:99)
[bll.jar:]<br>
at
org.ovirt.engine.core.bll.<wbr>PrevalidatingMultipleActionsRu<wbr>nner.execute(<wbr>PrevalidatingMultipleActionsRu<wbr>nner.java:76)
[bll.jar:]<br>
at
org.ovirt.engine.core.bll.<wbr>Backend.<wbr>runMultipleActionsImpl(<wbr>Backend.java:613)
[bll.jar:]<br>
at
org.ovirt.engine.core.bll.<wbr>Backend.runMultipleActions(<wbr>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="m_5516615152786296900moz-cite-prefix">Den 2016-12-27 kl. 17:10, skrev Marcin
Mirecki:<br>
</div>
<blockquote type="cite">
<pre>The following is a new meeting request:
Subject: OVN Deep Dive for oVirt 4.1
Organizer: "Marcin Mirecki" <a class="m_5516615152786296900moz-txt-link-rfc2396E" href="mailto:mmirecki@redhat.com" target="_blank"><mmirecki@redhat.com></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="m_5516615152786296900moz-txt-link-abbreviated" href="mailto:users@ovirt.org" target="_blank">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="m_5516615152786296900moz-txt-link-freetext" href="https://blog.russellbryant.net/2016/12/19/comparing-openstack-neutron-ml2ovs-and-ovn-control-plane/" target="_blank">https://blog.russellbryant.<wbr>net/2016/12/19/comparing-<wbr>openstack-neutron-ml2ovs-and-<wbr>ovn-control-plane/</a>)
Session outline:
- OVN overview
- oVirt external network provider API overview
- oVirt provider for OVN overview
Session link:
<a class="m_5516615152786296900moz-txt-link-freetext" href="https://www.youtube.com/watch?v=vGeouWfKJwA" target="_blank">https://www.youtube.com/watch?<wbr>v=vGeouWfKJwA</a>
Feature Page:
<a class="m_5516615152786296900moz-txt-link-freetext" href="https://www.ovirt.org//develop/release-management/features/ovirt-ovn-provider/" target="_blank">https://www.ovirt.org//<wbr>develop/release-management/<wbr>features/ovirt-ovn-provider/</a>
Blog Post:
<a class="m_5516615152786296900moz-txt-link-freetext" href="https://www.ovirt.org/blog/2016/11/ovirt-provider-ovn/" target="_blank">https://www.ovirt.org/blog/<wbr>2016/11/ovirt-provider-ovn/</a>
</pre>
<br>
<fieldset class="m_5516615152786296900mimeAttachmentHeader"></fieldset>
<br>
<pre>______________________________<wbr>_________________
Users mailing list
<a class="m_5516615152786296900moz-txt-link-abbreviated" href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a>
<a class="m_5516615152786296900moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
<br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>