This is a multi-part message in MIME format.
--------------AA497A11D3475140C551FE6A
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Hi Yaniv
I have installed ovirt-provider-ovn-1.0-1.fc24.noarch.rpm and
ovirt-provider-ovn-driver-1.0-1.fc24.noarch.rpm
/Sverker
Den 2016-12-28 kl. 09:24, skrev Yaniv Dary:
Did you install the host side VIF driver?
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: ydary(a)redhat.com <mailto:ydary@redhat.com> IRC
: ydary
On Wed, Dec 28, 2016 at 1:39 AM, Sverker Abrahamsson
<sverker(a)abrahamsson.com <mailto:sverker@abrahamsson.com>> wrote:
Hi
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.
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.
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.
However, I can't start the VM as an exception is thrown in the log:
2016-12-28 00:13:33,350 ERROR
[org.ovirt.engine.core.bll.RunVmCommand] (default task-5)
[3c882d53] Error during ValidateFailure.:
java.lang.NullPointerException
at
org.ovirt.engine.core.bll.scheduling.policyunits.NetworkPolicyUnit.validateRequiredNetworksAvailable(NetworkPolicyUnit.java:140)
[bll.jar:]
at
org.ovirt.engine.core.bll.scheduling.policyunits.NetworkPolicyUnit.filter(NetworkPolicyUnit.java:69)
[bll.jar:]
at
org.ovirt.engine.core.bll.scheduling.SchedulingManager.runInternalFilters(SchedulingManager.java:597)
[bll.jar:]
at
org.ovirt.engine.core.bll.scheduling.SchedulingManager.runFilters(SchedulingManager.java:564)
[bll.jar:]
at
org.ovirt.engine.core.bll.scheduling.SchedulingManager.canSchedule(SchedulingManager.java:494)
[bll.jar:]
at
org.ovirt.engine.core.bll.validator.RunVmValidator.canRunVm(RunVmValidator.java:133)
[bll.jar:]
at
org.ovirt.engine.core.bll.RunVmCommand.validate(RunVmCommand.java:940)
[bll.jar:]
at
org.ovirt.engine.core.bll.CommandBase.internalValidate(CommandBase.java:886)
[bll.jar:]
at
org.ovirt.engine.core.bll.CommandBase.validateOnly(CommandBase.java:366)
[bll.jar:]
at
org.ovirt.engine.core.bll.PrevalidatingMultipleActionsRunner.canRunActions(PrevalidatingMultipleActionsRunner.java:113)
[bll.jar:]
at
org.ovirt.engine.core.bll.PrevalidatingMultipleActionsRunner.invokeCommands(PrevalidatingMultipleActionsRunner.java:99)
[bll.jar:]
at
org.ovirt.engine.core.bll.PrevalidatingMultipleActionsRunner.execute(PrevalidatingMultipleActionsRunner.java:76)
[bll.jar:]
at
org.ovirt.engine.core.bll.Backend.runMultipleActionsImpl(Backend.java:613)
[bll.jar:]
at
org.ovirt.engine.core.bll.Backend.runMultipleActions(Backend.java:583)
[bll.jar:]
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.
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.
/Sverker
Den 2016-12-27 kl. 17:10, skrev Marcin Mirecki:
> The following is a new meeting request:
>
> Subject: OVN Deep Dive for oVirt 4.1
> Organizer: "Marcin Mirecki"<mmirecki(a)redhat.com>
<mailto:mmirecki@redhat.com>
>
> Time: Wednesday, January 11, 2017, 4:00:00 PM - 5:00:00 PM GMT +01:00 Amsterdam,
Berlin, Bern, Rome, Stockholm, Vienna
>
> Invitees:users@ovirt.org <mailto:users@ovirt.org>
>
>
> *~*~*~*~*~*~*~*~*~*
>
> 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
(
https://blog.russellbryant.net/2016/12/19/comparing-openstack-neutron-ml2...
>
<
https://blog.russellbryant.net/2016/12/19/comparing-openstack-neutron-ml2...>)
>
>
> Session outline:
> - OVN overview
> - oVirt external network provider API overview
> - oVirt provider for OVN overview
>
> Session link:
>
https://www.youtube.com/watch?v=vGeouWfKJwA
> <
https://www.youtube.com/watch?v=vGeouWfKJwA>
>
> Feature Page:
>
https://www.ovirt.org//develop/release-management/features/ovirt-ovn-prov...
>
<
https://www.ovirt.org//develop/release-management/features/ovirt-ovn-prov...
> Blog Post:
>
https://www.ovirt.org/blog/2016/11/ovirt-provider-ovn/
> <
https://www.ovirt.org/blog/2016/11/ovirt-provider-ovn/>
>
> _______________________________________________
> Users mailing list
> Users(a)ovirt.org <mailto:Users@ovirt.org>
>
http://lists.ovirt.org/mailman/listinfo/users
> <
http://lists.ovirt.org/mailman/listinfo/users>
_______________________________________________ Users mailing list
Users(a)ovirt.org <mailto:Users@ovirt.org>
http://lists.ovirt.org/mailman/listinfo/users
<
http://lists.ovirt.org/mailman/listinfo/users>
--------------AA497A11D3475140C551FE6A
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit
<html>
<head>
<meta content="text/html; charset=utf-8"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hi Yaniv<br>
I have installed ovirt-provider-ovn-1.0-1.fc24.noarch.rpm and
ovirt-provider-ovn-driver-1.0-1.fc24.noarch.rpm<br>
/Sverker<br>
</p>
<div class="moz-cite-prefix">Den 2016-12-28 kl. 09:24, skrev Yaniv
Dary:<br>
</div>
<blockquote
cite="mid:CACKMAy-qB05M-EiLLEADsrdV=h_w-0K979GT4F=cmui9MKOhsg@mail.gmail.com"
type="cite">
<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 moz-do-not-send="true" href="mailto:ydary@redhat.com"
target="_blank">ydary(a)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
moz-do-not-send="true"
href="mailto:sverker@abrahamsson.com"
target="_blank">sverker(a)abrahamsson.com</a>&gt;</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 moz-do-not-send="true"
class="m_5516615152786296900moz-txt-link-rfc2396E"
href="mailto:mmirecki@redhat.com"
target="_blank">&lt;mmirecki(a)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 moz-do-not-send="true"
class="m_5516615152786296900moz-txt-link-abbreviated"
href="mailto:users@ovirt.org"
target="_blank">users(a)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 moz-do-not-send="true"
class="m_5516615152786296900moz-txt-link-freetext"
href="https://blog.russellbryant.net/2016/12/19/comparing-openstack-...
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 moz-do-not-send="true"
class="m_5516615152786296900moz-txt-link-freetext"
href="https://www.youtube.com/watch?v=vGeouWfKJwA"
target="_blank">https://www.youtube.com/watch?<wbr>v=v...
Feature Page:
<a moz-do-not-send="true"
class="m_5516615152786296900moz-txt-link-freetext"
href="https://www.ovirt.org//develop/release-management/features/ovi...
target="_blank">https://www.ovirt.org//<wbr>develop/re...
Blog Post:
<a moz-do-not-send="true"
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/1...
</pre>
<fieldset
class="m_5516615152786296900mimeAttachmentHeader"></fieldset>
<pre>______________________________<wbr>_________________
Users mailing list
<a moz-do-not-send="true"
class="m_5516615152786296900moz-txt-link-abbreviated"
href="mailto:Users@ovirt.org"
target="_blank">Users(a)ovirt.org</a>
<a moz-do-not-send="true"
class="m_5516615152786296900moz-txt-link-freetext"
href="http://lists.ovirt.org/mailman/listinfo/users"
target="_blank">http://lists.ovirt.org/<wbr>mailman/li...
</pre>
</blockquote>
</div>
______________________________<wbr>_________________
Users mailing list
<a moz-do-not-send="true"
href="mailto:Users@ovirt.org">Users@ovirt.org</a>
<a moz-do-not-send="true"
href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer"
target="_blank">http://lists.ovirt.org/<wbr>mailman/li...
</blockquote></div>
</div>
</blockquote>
</body></html>
--------------AA497A11D3475140C551FE6A--