Re: [ovirt-users] OVN Provider setup issues

2016-11-23 Thread Andrea Fagiani

Marcin,

thanks! I keep forgetting that part of the configuration even exists.

After attaching the network to the cluster I was able to configure the 
vNics as intended.
I then had to disable iptables (as mentioned in the blog post) on the 
hosts running the VMs and I was able to establish connectivity between 
two VMs running on different hosts using the OVN-provided network!


Thanks everyone involved for the help,
I'll be sure to report back after further testing.

Regards,
Andrea


On 23/11/2016 11:27, Marcin Mirecki wrote:

Andrea,

Please check if the network is attached to the cluster.

Thanks,
Marcin

- Original Message -

From: "Andrea Fagiani" <andrea.fagi...@immobiliare.it>
To: users@ovirt.org
Cc: "Dan Kenigsberg" <dan...@redhat.com>, "Lance Richardson" 
<lrich...@redhat.com>, mmire...@redhat.com
Sent: Wednesday, November 23, 2016 11:02:10 AM
Subject: Re: [ovirt-users] OVN Provider setup issues

Hi Dan,

I was able to setup the OVN external provider building and loading the
updated OVS kernel module; I am currently running it on all 5 hosts,
ovs-vsctl shows all the tunnels correctly instantiated.

However, after importing the provider into the oVirt engine and setting
up a vNic profile, I cannot assign it to any VM; it doesn't show up in
the vNic profiles list.

Any suggestions?

Thanks,
Andrea


On 18/11/2016 12:33, Dan Kenigsberg wrote:

On Fri, Nov 18, 2016 at 09:13:53AM +0100, Andrea Fagiani wrote:

Hi Lance,

thanks, I have currently deployed oVirt using the oVirt Node images, so
indeed I would like to avoid updating;
out of curiosity, is there actually a beta/pre-release version of the node
avaiable?

I'm afraid that such version would be available only after the release
of centos7.3 and ovirt-4.1-beta. Now we're still speaking about
master-branch experiments.


I have since reinstalled the host to perform further testing but I'll give
it a shot as soon as soon as I find the time.

We'd love to hear how that works for you.

Regards,
Dan.




___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] OVN Provider setup issues

2016-11-23 Thread Marcin Mirecki
Andrea,

Please check if the network is attached to the cluster.

Thanks,
Marcin

- Original Message -
> From: "Andrea Fagiani" <andrea.fagi...@immobiliare.it>
> To: users@ovirt.org
> Cc: "Dan Kenigsberg" <dan...@redhat.com>, "Lance Richardson" 
> <lrich...@redhat.com>, mmire...@redhat.com
> Sent: Wednesday, November 23, 2016 11:02:10 AM
> Subject: Re: [ovirt-users] OVN Provider setup issues
> 
> Hi Dan,
> 
> I was able to setup the OVN external provider building and loading the
> updated OVS kernel module; I am currently running it on all 5 hosts,
> ovs-vsctl shows all the tunnels correctly instantiated.
> 
> However, after importing the provider into the oVirt engine and setting
> up a vNic profile, I cannot assign it to any VM; it doesn't show up in
> the vNic profiles list.
> 
> Any suggestions?
> 
> Thanks,
> Andrea
> 
> 
> On 18/11/2016 12:33, Dan Kenigsberg wrote:
> > On Fri, Nov 18, 2016 at 09:13:53AM +0100, Andrea Fagiani wrote:
> >> Hi Lance,
> >>
> >> thanks, I have currently deployed oVirt using the oVirt Node images, so
> >> indeed I would like to avoid updating;
> >> out of curiosity, is there actually a beta/pre-release version of the node
> >> avaiable?
> > I'm afraid that such version would be available only after the release
> > of centos7.3 and ovirt-4.1-beta. Now we're still speaking about
> > master-branch experiments.
> >
> >> I have since reinstalled the host to perform further testing but I'll give
> >> it a shot as soon as soon as I find the time.
> > We'd love to hear how that works for you.
> >
> > Regards,
> > Dan.
> 
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] OVN Provider setup issues

2016-11-18 Thread Dan Kenigsberg
On Fri, Nov 18, 2016 at 09:13:53AM +0100, Andrea Fagiani wrote:
> Hi Lance,
> 
> thanks, I have currently deployed oVirt using the oVirt Node images, so
> indeed I would like to avoid updating;
> out of curiosity, is there actually a beta/pre-release version of the node
> avaiable?

I'm afraid that such version would be available only after the release
of centos7.3 and ovirt-4.1-beta. Now we're still speaking about
master-branch experiments.

> 
> I have since reinstalled the host to perform further testing but I'll give
> it a shot as soon as soon as I find the time.

We'd love to hear how that works for you.

Regards,
Dan.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] OVN Provider setup issues

2016-11-18 Thread Andrea Fagiani

Hi Lance,

thanks, I have currently deployed oVirt using the oVirt Node images, so 
indeed I would like to avoid updating;
out of curiosity, is there actually a beta/pre-release version of the 
node avaiable?


I have since reinstalled the host to perform further testing but I'll 
give it a shot as soon as soon as I find the time.


Regards,
Andrea


On 17/11/2016 21:57, Lance Richardson wrote:

From: "Lance Richardson" <lrich...@redhat.com>
To: "Andrea Fagiani" <andrea.fagi...@immobiliare.it>
Cc: "Dan Kenigsberg" <dan...@redhat.com>, users@ovirt.org, mmire...@redhat.com
Sent: Wednesday, November 16, 2016 12:37:57 PM
Subject: Re: [ovirt-users] OVN Provider setup issues


From: "Andrea Fagiani" <andrea.fagi...@immobiliare.it>
To: "Dan Kenigsberg" <dan...@redhat.com>
Cc: users@ovirt.org, "Lance Richardson" <lrich...@redhat.com>,
mmire...@redhat.com
Sent: Wednesday, November 16, 2016 12:24:15 PM
Subject: Re: [ovirt-users] OVN Provider setup issues

On 16/11/2016 17:23, Dan Kenigsberg wrote:

On Tue, Nov 08, 2016 at 09:21:13AM +0100, Andrea Fagiani wrote:

Hi all,

I've been messing around with the ovirt-ovn-provider [1] and I've run
into
some issues during the initial setup.

I have a 5-node cluster (running the hosted-engine VA), LEGACY virtual
switch; this test was done on a single host. Following the instructions
from
the aforementioned blog post, I have downloaded the ovirt-provider-ovn
and
ovirt-provider-ovn-driver rpms, and built the rpm packages for:

- openvswitch (2.6.90)
- openvswitch-ovn-common
- openvswitch-ovn-host
- openvswitch-ovn-central
- python-openvswitch

I set up a dedicated VM for the OVN controller, installed ovs and
ovn-central, started the ovn-northd and ovirt-provider-ovn services. So
far
so good. I then moved on to the oVirt host and installed the above
packages
(minus ovn-central) as well as the ovirt-provider-ovn-driver provided,
started the ovn-controller service and ran

# vdsm-tool ovn-config  

Executing the suggested checks I noticed that something didn't quite go
as
planned. Below is the /var/log/openvswitch/ovn-controller.log from the
host
machine. There are no firewalls involved (not even on the servers) and I
also tried disabling SELinux but to no avail.

Any ideas?

Thanks,
Andrea

[1] http://www.ovirt.org/blog/2016/11/ovirt-provider-ovn/


2016-11-07T14:22:09.552Z|1|vlog|INFO|opened log file
/var/log/openvswitch/ovn-controller.log
2016-11-07T14:22:09.553Z|2|reconnect|INFO|unix:/var/run/openvswitch/db.sock:
connecting...
2016-11-07T14:22:09.553Z|3|reconnect|INFO|unix:/var/run/openvswitch/db.sock:
connected
2016-11-07T14:22:09.555Z|4|reconnect|INFO|tcp:10.100.248.11:6642:
connecting...
2016-11-07T14:22:09.555Z|5|reconnect|INFO|tcp:10.100.248.11:6642:
connected
2016-11-07T14:22:09.556Z|6|ofctrl|INFO|unix:/var/run/openvswitch/br-int.mgmt:
connecting to switch
2016-11-07T14:22:09.556Z|7|rconn|INFO|unix:/var/run/openvswitch/br-int.mgmt:
connecting...
2016-11-07T14:22:09.557Z|8|pinctrl|INFO|unix:/var/run/openvswitch/br-int.mgmt:
connecting to switch
2016-11-07T14:22:09.557Z|9|rconn|INFO|unix:/var/run/openvswitch/br-int.mgmt:
connecting...
2016-11-07T14:22:09.557Z|00010|rconn|INFO|unix:/var/run/openvswitch/br-int.mgmt:
connected
2016-11-07T14:22:09.557Z|00011|rconn|INFO|unix:/var/run/openvswitch/br-int.mgmt:
connected
2016-11-07T14:22:09.558Z|00012|ofctrl|INFO|OpenFlow error: OFPT_ERROR
(OF1.3) (xid=0x9): OFPBMC_BAD_FIELD
OFPT_FLOW_MOD (OF1.3) (xid=0x9):
(***truncated to 64 bytes from 240***)
  04 0e 00 f0 00 00 00 09-00 00 00 00 00 00 00 00
||
0010  00 00 00 00 00 00 00 00-22 00 00 00 00 00 00 00
|"...|
0020  ff ff ff ff ff ff ff ff-ff ff ff ff 00 00 00 00
||
0030  00 01 00 04 00 00 00 00-00 04 00 b8 00 00 00 00
||

Andrea, could you tell (mostly Lance) which kernel version are you
using?

Here is the yum info output for the kernel package on the offending host:

Installed Packages
Name  : kernel
Arch: x86_64
Version   : 3.10.0
Release   : 327.36.3.el7

Andrea


OK, the 327 kernel did not support conntrack and cannot be used for OVN.

RHEL 7.3 or newer is the minimum requirement for OVN.

Lance



Hi Andrea,

If you'd like to avoid upgrading to 7.3, one workaround would be to
build and install the OVS kernel module RPM. The easiest way to build
the OVS kernel RPM would be, from the ovs directory where you already
executed "./boot.sh" and "./configure", to execute:

make rpm-fedora-kmod

(Don't be misled by the name, this also works for CentOS and RHEL).

The resulting RPM will be under the ./rpm/RPMS/ directory, something
like:

 ./rpm/rpmbuild/RPMS/x86_64/openvswitch-kmod-2.6.90-1.el7.centos.x86_64.rpm

Regards,

 Lance



  


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] OVN Provider setup issues

2016-11-17 Thread Lance Richardson
> From: "Lance Richardson" <lrich...@redhat.com>
> To: "Andrea Fagiani" <andrea.fagi...@immobiliare.it>
> Cc: "Dan Kenigsberg" <dan...@redhat.com>, users@ovirt.org, mmire...@redhat.com
> Sent: Wednesday, November 16, 2016 12:37:57 PM
> Subject: Re: [ovirt-users] OVN Provider setup issues
> 
> > From: "Andrea Fagiani" <andrea.fagi...@immobiliare.it>
> > To: "Dan Kenigsberg" <dan...@redhat.com>
> > Cc: users@ovirt.org, "Lance Richardson" <lrich...@redhat.com>,
> > mmire...@redhat.com
> > Sent: Wednesday, November 16, 2016 12:24:15 PM
> > Subject: Re: [ovirt-users] OVN Provider setup issues
> > 
> > On 16/11/2016 17:23, Dan Kenigsberg wrote:
> > > On Tue, Nov 08, 2016 at 09:21:13AM +0100, Andrea Fagiani wrote:
> > >> Hi all,
> > >>
> > >> I've been messing around with the ovirt-ovn-provider [1] and I've run
> > >> into
> > >> some issues during the initial setup.
> > >>
> > >> I have a 5-node cluster (running the hosted-engine VA), LEGACY virtual
> > >> switch; this test was done on a single host. Following the instructions
> > >> from
> > >> the aforementioned blog post, I have downloaded the ovirt-provider-ovn
> > >> and
> > >> ovirt-provider-ovn-driver rpms, and built the rpm packages for:
> > >>
> > >> - openvswitch (2.6.90)
> > >> - openvswitch-ovn-common
> > >> - openvswitch-ovn-host
> > >> - openvswitch-ovn-central
> > >> - python-openvswitch
> > >>
> > >> I set up a dedicated VM for the OVN controller, installed ovs and
> > >> ovn-central, started the ovn-northd and ovirt-provider-ovn services. So
> > >> far
> > >> so good. I then moved on to the oVirt host and installed the above
> > >> packages
> > >> (minus ovn-central) as well as the ovirt-provider-ovn-driver provided,
> > >> started the ovn-controller service and ran
> > >>
> > >> # vdsm-tool ovn-config  
> > >>
> > >> Executing the suggested checks I noticed that something didn't quite go
> > >> as
> > >> planned. Below is the /var/log/openvswitch/ovn-controller.log from the
> > >> host
> > >> machine. There are no firewalls involved (not even on the servers) and I
> > >> also tried disabling SELinux but to no avail.
> > >>
> > >> Any ideas?
> > >>
> > >> Thanks,
> > >> Andrea
> > >>
> > >> [1] http://www.ovirt.org/blog/2016/11/ovirt-provider-ovn/
> > >>
> > >>
> > >> 2016-11-07T14:22:09.552Z|1|vlog|INFO|opened log file
> > >> /var/log/openvswitch/ovn-controller.log
> > >> 2016-11-07T14:22:09.553Z|2|reconnect|INFO|unix:/var/run/openvswitch/db.sock:
> > >> connecting...
> > >> 2016-11-07T14:22:09.553Z|3|reconnect|INFO|unix:/var/run/openvswitch/db.sock:
> > >> connected
> > >> 2016-11-07T14:22:09.555Z|4|reconnect|INFO|tcp:10.100.248.11:6642:
> > >> connecting...
> > >> 2016-11-07T14:22:09.555Z|5|reconnect|INFO|tcp:10.100.248.11:6642:
> > >> connected
> > >> 2016-11-07T14:22:09.556Z|6|ofctrl|INFO|unix:/var/run/openvswitch/br-int.mgmt:
> > >> connecting to switch
> > >> 2016-11-07T14:22:09.556Z|7|rconn|INFO|unix:/var/run/openvswitch/br-int.mgmt:
> > >> connecting...
> > >> 2016-11-07T14:22:09.557Z|8|pinctrl|INFO|unix:/var/run/openvswitch/br-int.mgmt:
> > >> connecting to switch
> > >> 2016-11-07T14:22:09.557Z|9|rconn|INFO|unix:/var/run/openvswitch/br-int.mgmt:
> > >> connecting...
> > >> 2016-11-07T14:22:09.557Z|00010|rconn|INFO|unix:/var/run/openvswitch/br-int.mgmt:
> > >> connected
> > >> 2016-11-07T14:22:09.557Z|00011|rconn|INFO|unix:/var/run/openvswitch/br-int.mgmt:
> > >> connected
> > >> 2016-11-07T14:22:09.558Z|00012|ofctrl|INFO|OpenFlow error: OFPT_ERROR
> > >> (OF1.3) (xid=0x9): OFPBMC_BAD_FIELD
> > >> OFPT_FLOW_MOD (OF1.3) (xid=0x9):
> > >> (***truncated to 64 bytes from 240***)
> > >>   04 0e 00 f0 00 00 00 09-00 00 00 00 00 00 00 00
> > >> ||
> > >> 0010  00 00 00 00 00 00 00 00-22 00 00 00 00 00 00 00
> > >> |"...|
> > >> 0020  ff ff ff ff ff ff ff ff-ff ff ff ff 00 00 00 00
> > >&

Re: [ovirt-users] OVN Provider setup issues

2016-11-17 Thread Lance Richardson
> From: "Dan Kenigsberg" 
> > OK, the 327 kernel did not support conntrack and cannot be used for OVN.
> > 
> > RHEL 7.3 or newer is the minimum requirement for OVN.
> 
> Lance, can you encode this requirement in openvswitch-ovn-host.rpm ?
> 
> Regards,
> Dan.
> 

Hi Dan,

The distribution rpms should have correct dependencies, but we don't
have those yet. Unfortunately there's no practical way to do that for
packages built from upstream sources.

We are looking into improving error messages for this condition in OVN,
FWIW, which will at least make it easier to spot.

Regards,

   Lance
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] OVN Provider setup issues

2016-11-17 Thread Lance Richardson
> From: "Andrea Fagiani" <andrea.fagi...@immobiliare.it>
> To: "Dan Kenigsberg" <dan...@redhat.com>
> Cc: users@ovirt.org, "Lance Richardson" <lrich...@redhat.com>, 
> mmire...@redhat.com
> Sent: Wednesday, November 16, 2016 12:24:15 PM
> Subject: Re: [ovirt-users] OVN Provider setup issues
> 
> On 16/11/2016 17:23, Dan Kenigsberg wrote:
> > On Tue, Nov 08, 2016 at 09:21:13AM +0100, Andrea Fagiani wrote:
> >> Hi all,
> >>
> >> I've been messing around with the ovirt-ovn-provider [1] and I've run into
> >> some issues during the initial setup.
> >>
> >> I have a 5-node cluster (running the hosted-engine VA), LEGACY virtual
> >> switch; this test was done on a single host. Following the instructions
> >> from
> >> the aforementioned blog post, I have downloaded the ovirt-provider-ovn and
> >> ovirt-provider-ovn-driver rpms, and built the rpm packages for:
> >>
> >> - openvswitch (2.6.90)
> >> - openvswitch-ovn-common
> >> - openvswitch-ovn-host
> >> - openvswitch-ovn-central
> >> - python-openvswitch
> >>
> >> I set up a dedicated VM for the OVN controller, installed ovs and
> >> ovn-central, started the ovn-northd and ovirt-provider-ovn services. So
> >> far
> >> so good. I then moved on to the oVirt host and installed the above
> >> packages
> >> (minus ovn-central) as well as the ovirt-provider-ovn-driver provided,
> >> started the ovn-controller service and ran
> >>
> >> # vdsm-tool ovn-config  
> >>
> >> Executing the suggested checks I noticed that something didn't quite go as
> >> planned. Below is the /var/log/openvswitch/ovn-controller.log from the
> >> host
> >> machine. There are no firewalls involved (not even on the servers) and I
> >> also tried disabling SELinux but to no avail.
> >>
> >> Any ideas?
> >>
> >> Thanks,
> >> Andrea
> >>
> >> [1] http://www.ovirt.org/blog/2016/11/ovirt-provider-ovn/
> >>
> >>
> >> 2016-11-07T14:22:09.552Z|1|vlog|INFO|opened log file
> >> /var/log/openvswitch/ovn-controller.log
> >> 2016-11-07T14:22:09.553Z|2|reconnect|INFO|unix:/var/run/openvswitch/db.sock:
> >> connecting...
> >> 2016-11-07T14:22:09.553Z|3|reconnect|INFO|unix:/var/run/openvswitch/db.sock:
> >> connected
> >> 2016-11-07T14:22:09.555Z|4|reconnect|INFO|tcp:10.100.248.11:6642:
> >> connecting...
> >> 2016-11-07T14:22:09.555Z|5|reconnect|INFO|tcp:10.100.248.11:6642:
> >> connected
> >> 2016-11-07T14:22:09.556Z|6|ofctrl|INFO|unix:/var/run/openvswitch/br-int.mgmt:
> >> connecting to switch
> >> 2016-11-07T14:22:09.556Z|7|rconn|INFO|unix:/var/run/openvswitch/br-int.mgmt:
> >> connecting...
> >> 2016-11-07T14:22:09.557Z|8|pinctrl|INFO|unix:/var/run/openvswitch/br-int.mgmt:
> >> connecting to switch
> >> 2016-11-07T14:22:09.557Z|9|rconn|INFO|unix:/var/run/openvswitch/br-int.mgmt:
> >> connecting...
> >> 2016-11-07T14:22:09.557Z|00010|rconn|INFO|unix:/var/run/openvswitch/br-int.mgmt:
> >> connected
> >> 2016-11-07T14:22:09.557Z|00011|rconn|INFO|unix:/var/run/openvswitch/br-int.mgmt:
> >> connected
> >> 2016-11-07T14:22:09.558Z|00012|ofctrl|INFO|OpenFlow error: OFPT_ERROR
> >> (OF1.3) (xid=0x9): OFPBMC_BAD_FIELD
> >> OFPT_FLOW_MOD (OF1.3) (xid=0x9):
> >> (***truncated to 64 bytes from 240***)
> >>   04 0e 00 f0 00 00 00 09-00 00 00 00 00 00 00 00
> >> ||
> >> 0010  00 00 00 00 00 00 00 00-22 00 00 00 00 00 00 00
> >> |"...|
> >> 0020  ff ff ff ff ff ff ff ff-ff ff ff ff 00 00 00 00
> >> ||
> >> 0030  00 01 00 04 00 00 00 00-00 04 00 b8 00 00 00 00
> >> ||
> > Andrea, could you tell (mostly Lance) which kernel version are you
> > using?
> Here is the yum info output for the kernel package on the offending host:
> 
> Installed Packages
> Name  : kernel
> Arch: x86_64
> Version   : 3.10.0
> Release   : 327.36.3.el7
> 
> Andrea
> 

OK, the 327 kernel did not support conntrack and cannot be used for OVN.

RHEL 7.3 or newer is the minimum requirement for OVN.

   Lance

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] OVN Provider setup issues

2016-11-16 Thread Dan Kenigsberg
On Wed, Nov 16, 2016 at 12:37:57PM -0500, Lance Richardson wrote:
> > From: "Andrea Fagiani" <andrea.fagi...@immobiliare.it>
> > To: "Dan Kenigsberg" <dan...@redhat.com>
> > Cc: users@ovirt.org, "Lance Richardson" <lrich...@redhat.com>, 
> > mmire...@redhat.com
> > Sent: Wednesday, November 16, 2016 12:24:15 PM
> > Subject: Re: [ovirt-users] OVN Provider setup issues
> > 
> > On 16/11/2016 17:23, Dan Kenigsberg wrote:
> > > On Tue, Nov 08, 2016 at 09:21:13AM +0100, Andrea Fagiani wrote:
> > >> Hi all,
> > >>
> > >> I've been messing around with the ovirt-ovn-provider [1] and I've run 
> > >> into
> > >> some issues during the initial setup.
> > >>
> > >> I have a 5-node cluster (running the hosted-engine VA), LEGACY virtual
> > >> switch; this test was done on a single host. Following the instructions
> > >> from
> > >> the aforementioned blog post, I have downloaded the ovirt-provider-ovn 
> > >> and
> > >> ovirt-provider-ovn-driver rpms, and built the rpm packages for:
> > >>
> > >> - openvswitch (2.6.90)
> > >> - openvswitch-ovn-common
> > >> - openvswitch-ovn-host
> > >> - openvswitch-ovn-central
> > >> - python-openvswitch
> > >>
> > >> I set up a dedicated VM for the OVN controller, installed ovs and
> > >> ovn-central, started the ovn-northd and ovirt-provider-ovn services. So
> > >> far
> > >> so good. I then moved on to the oVirt host and installed the above
> > >> packages
> > >> (minus ovn-central) as well as the ovirt-provider-ovn-driver provided,
> > >> started the ovn-controller service and ran
> > >>
> > >> # vdsm-tool ovn-config  
> > >>
> > >> Executing the suggested checks I noticed that something didn't quite go 
> > >> as
> > >> planned. Below is the /var/log/openvswitch/ovn-controller.log from the
> > >> host
> > >> machine. There are no firewalls involved (not even on the servers) and I
> > >> also tried disabling SELinux but to no avail.
> > >>
> > >> Any ideas?
> > >>
> > >> Thanks,
> > >> Andrea
> > >>
> > >> [1] http://www.ovirt.org/blog/2016/11/ovirt-provider-ovn/
> > >>
> > >>
> > >> 2016-11-07T14:22:09.552Z|1|vlog|INFO|opened log file
> > >> /var/log/openvswitch/ovn-controller.log
> > >> 2016-11-07T14:22:09.553Z|2|reconnect|INFO|unix:/var/run/openvswitch/db.sock:
> > >> connecting...
> > >> 2016-11-07T14:22:09.553Z|3|reconnect|INFO|unix:/var/run/openvswitch/db.sock:
> > >> connected
> > >> 2016-11-07T14:22:09.555Z|4|reconnect|INFO|tcp:10.100.248.11:6642:
> > >> connecting...
> > >> 2016-11-07T14:22:09.555Z|5|reconnect|INFO|tcp:10.100.248.11:6642:
> > >> connected
> > >> 2016-11-07T14:22:09.556Z|6|ofctrl|INFO|unix:/var/run/openvswitch/br-int.mgmt:
> > >> connecting to switch
> > >> 2016-11-07T14:22:09.556Z|7|rconn|INFO|unix:/var/run/openvswitch/br-int.mgmt:
> > >> connecting...
> > >> 2016-11-07T14:22:09.557Z|8|pinctrl|INFO|unix:/var/run/openvswitch/br-int.mgmt:
> > >> connecting to switch
> > >> 2016-11-07T14:22:09.557Z|9|rconn|INFO|unix:/var/run/openvswitch/br-int.mgmt:
> > >> connecting...
> > >> 2016-11-07T14:22:09.557Z|00010|rconn|INFO|unix:/var/run/openvswitch/br-int.mgmt:
> > >> connected
> > >> 2016-11-07T14:22:09.557Z|00011|rconn|INFO|unix:/var/run/openvswitch/br-int.mgmt:
> > >> connected
> > >> 2016-11-07T14:22:09.558Z|00012|ofctrl|INFO|OpenFlow error: OFPT_ERROR
> > >> (OF1.3) (xid=0x9): OFPBMC_BAD_FIELD
> > >> OFPT_FLOW_MOD (OF1.3) (xid=0x9):
> > >> (***truncated to 64 bytes from 240***)
> > >>   04 0e 00 f0 00 00 00 09-00 00 00 00 00 00 00 00
> > >> ||
> > >> 0010  00 00 00 00 00 00 00 00-22 00 00 00 00 00 00 00
> > >> |"...|
> > >> 0020  ff ff ff ff ff ff ff ff-ff ff ff ff 00 00 00 00
> > >> ||
> > >> 0030  00 01 00 04 00 00 00 00-00 04 00 b8 00 00 00 00
> > >> ||
> > > Andrea, could you tell (mostly Lance) which kernel version are you
> > > using?
> > Here is the yum info output for the kernel package on the offending host:
> > 
> > Installed Packages
> > Name  : kernel
> > Arch: x86_64
> > Version   : 3.10.0
> > Release   : 327.36.3.el7
> > 
> > Andrea
> > 
> 
> OK, the 327 kernel did not support conntrack and cannot be used for OVN.
> 
> RHEL 7.3 or newer is the minimum requirement for OVN.

Lance, can you encode this requirement in openvswitch-ovn-host.rpm ?

Regards,
Dan.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] OVN Provider setup issues

2016-11-16 Thread Dan Kenigsberg
On Tue, Nov 08, 2016 at 09:21:13AM +0100, Andrea Fagiani wrote:
> Hi all,
> 
> I've been messing around with the ovirt-ovn-provider [1] and I've run into
> some issues during the initial setup.
> 
> I have a 5-node cluster (running the hosted-engine VA), LEGACY virtual
> switch; this test was done on a single host. Following the instructions from
> the aforementioned blog post, I have downloaded the ovirt-provider-ovn and
> ovirt-provider-ovn-driver rpms, and built the rpm packages for:
> 
> - openvswitch (2.6.90)
> - openvswitch-ovn-common
> - openvswitch-ovn-host
> - openvswitch-ovn-central
> - python-openvswitch
> 
> I set up a dedicated VM for the OVN controller, installed ovs and
> ovn-central, started the ovn-northd and ovirt-provider-ovn services. So far
> so good. I then moved on to the oVirt host and installed the above packages
> (minus ovn-central) as well as the ovirt-provider-ovn-driver provided,
> started the ovn-controller service and ran
> 
> # vdsm-tool ovn-config  
> 
> Executing the suggested checks I noticed that something didn't quite go as
> planned. Below is the /var/log/openvswitch/ovn-controller.log from the host
> machine. There are no firewalls involved (not even on the servers) and I
> also tried disabling SELinux but to no avail.
> 
> Any ideas?
> 
> Thanks,
> Andrea
> 
> [1] http://www.ovirt.org/blog/2016/11/ovirt-provider-ovn/
> 
> 
> 2016-11-07T14:22:09.552Z|1|vlog|INFO|opened log file
> /var/log/openvswitch/ovn-controller.log
> 2016-11-07T14:22:09.553Z|2|reconnect|INFO|unix:/var/run/openvswitch/db.sock:
> connecting...
> 2016-11-07T14:22:09.553Z|3|reconnect|INFO|unix:/var/run/openvswitch/db.sock:
> connected
> 2016-11-07T14:22:09.555Z|4|reconnect|INFO|tcp:10.100.248.11:6642:
> connecting...
> 2016-11-07T14:22:09.555Z|5|reconnect|INFO|tcp:10.100.248.11:6642:
> connected
> 2016-11-07T14:22:09.556Z|6|ofctrl|INFO|unix:/var/run/openvswitch/br-int.mgmt:
> connecting to switch
> 2016-11-07T14:22:09.556Z|7|rconn|INFO|unix:/var/run/openvswitch/br-int.mgmt:
> connecting...
> 2016-11-07T14:22:09.557Z|8|pinctrl|INFO|unix:/var/run/openvswitch/br-int.mgmt:
> connecting to switch
> 2016-11-07T14:22:09.557Z|9|rconn|INFO|unix:/var/run/openvswitch/br-int.mgmt:
> connecting...
> 2016-11-07T14:22:09.557Z|00010|rconn|INFO|unix:/var/run/openvswitch/br-int.mgmt:
> connected
> 2016-11-07T14:22:09.557Z|00011|rconn|INFO|unix:/var/run/openvswitch/br-int.mgmt:
> connected
> 2016-11-07T14:22:09.558Z|00012|ofctrl|INFO|OpenFlow error: OFPT_ERROR
> (OF1.3) (xid=0x9): OFPBMC_BAD_FIELD
> OFPT_FLOW_MOD (OF1.3) (xid=0x9):
> (***truncated to 64 bytes from 240***)
>   04 0e 00 f0 00 00 00 09-00 00 00 00 00 00 00 00 ||
> 0010  00 00 00 00 00 00 00 00-22 00 00 00 00 00 00 00 |"...|
> 0020  ff ff ff ff ff ff ff ff-ff ff ff ff 00 00 00 00 ||
> 0030  00 01 00 04 00 00 00 00-00 04 00 b8 00 00 00 00 ||

Andrea, could you tell (mostly Lance) which kernel version are you
using?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] OVN Provider setup issues

2016-11-08 Thread Andrea Fagiani

Hi all,

I've been messing around with the ovirt-ovn-provider [1] and I've run 
into some issues during the initial setup.


I have a 5-node cluster (running the hosted-engine VA), LEGACY virtual 
switch; this test was done on a single host. Following the instructions 
from the aforementioned blog post, I have downloaded the 
ovirt-provider-ovn and ovirt-provider-ovn-driver rpms, and built the rpm 
packages for:


- openvswitch (2.6.90)
- openvswitch-ovn-common
- openvswitch-ovn-host
- openvswitch-ovn-central
- python-openvswitch

I set up a dedicated VM for the OVN controller, installed ovs and 
ovn-central, started the ovn-northd and ovirt-provider-ovn services. So 
far so good. I then moved on to the oVirt host and installed the above 
packages (minus ovn-central) as well as the ovirt-provider-ovn-driver 
provided, started the ovn-controller service and ran


# vdsm-tool ovn-config  

Executing the suggested checks I noticed that something didn't quite go 
as planned. Below is the /var/log/openvswitch/ovn-controller.log from 
the host machine. There are no firewalls involved (not even on the 
servers) and I also tried disabling SELinux but to no avail.


Any ideas?

Thanks,
Andrea

[1] http://www.ovirt.org/blog/2016/11/ovirt-provider-ovn/


2016-11-07T14:22:09.552Z|1|vlog|INFO|opened log file 
/var/log/openvswitch/ovn-controller.log
2016-11-07T14:22:09.553Z|2|reconnect|INFO|unix:/var/run/openvswitch/db.sock: 
connecting...
2016-11-07T14:22:09.553Z|3|reconnect|INFO|unix:/var/run/openvswitch/db.sock: 
connected
2016-11-07T14:22:09.555Z|4|reconnect|INFO|tcp:10.100.248.11:6642: 
connecting...
2016-11-07T14:22:09.555Z|5|reconnect|INFO|tcp:10.100.248.11:6642: 
connected
2016-11-07T14:22:09.556Z|6|ofctrl|INFO|unix:/var/run/openvswitch/br-int.mgmt: 
connecting to switch
2016-11-07T14:22:09.556Z|7|rconn|INFO|unix:/var/run/openvswitch/br-int.mgmt: 
connecting...
2016-11-07T14:22:09.557Z|8|pinctrl|INFO|unix:/var/run/openvswitch/br-int.mgmt: 
connecting to switch
2016-11-07T14:22:09.557Z|9|rconn|INFO|unix:/var/run/openvswitch/br-int.mgmt: 
connecting...
2016-11-07T14:22:09.557Z|00010|rconn|INFO|unix:/var/run/openvswitch/br-int.mgmt: 
connected
2016-11-07T14:22:09.557Z|00011|rconn|INFO|unix:/var/run/openvswitch/br-int.mgmt: 
connected
2016-11-07T14:22:09.558Z|00012|ofctrl|INFO|OpenFlow error: OFPT_ERROR 
(OF1.3) (xid=0x9): OFPBMC_BAD_FIELD

OFPT_FLOW_MOD (OF1.3) (xid=0x9):
(***truncated to 64 bytes from 240***)
  04 0e 00 f0 00 00 00 09-00 00 00 00 00 00 00 00 
||
0010  00 00 00 00 00 00 00 00-22 00 00 00 00 00 00 00 
|"...|
0020  ff ff ff ff ff ff ff ff-ff ff ff ff 00 00 00 00 
||
0030  00 01 00 04 00 00 00 00-00 04 00 b8 00 00 00 00 
||


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users