RE: cloudstack kvm openvswitch
On yesterday, we tried to install acs 4.4.2 and we found "ovs" in network service provider panel. It never appears in acs 4.5.1. Now we have to verify if a gre tunnel is automatically created with an ovs network offering. We are trying with centos 6.6 and ovs 2.3.1: we suggest to leave the ovs kernel module supplied by centos because the ovs 2.3.1 module causes some kernel panics. Il giorno 01/giu/2015 09:31, "Vadim Kimlaychuk" ha scritto: > Hello Ignazio, > >I haven't been working with KVM and OVS for a while, but my > previous experience with this plugin was unlucky. I will put some personal > thoughts here and do not pretend to be 100% correct in all the points: >1. There is a number of OVS versions and which one(s) are > officially supported -- don't know. Documentation said that is 1.9 (if you > patch it), but I have successfully used 2.x versions without errors. Think > documentation is outdated. Still I was not sure that it is properly > supported at CS level. >2. There are number of problems with plugin activation since > 4.4 version. Look here for example: > https://issues.apache.org/jira/browse/CLOUDSTACK-7446 >3. I've been using OVS with VLAN isolation and have seen it is > working with CS properly. What does exactly do "plugin activation" - don't > know. May be plugin should put some more network offers. But since it was > broken I was not able to test it. >4. Didn't try GRE. Have nothing to say here. >5. The overall feeling -- this functionality is not yet > mature. I also lacks documentation. Take it on your own risk > > Regards, > > Vadim > > -Original Message- > From: Ignazio Cassano [mailto:ignaziocass...@gmail.com] > Sent: Saturday, May 30, 2015 12:33 PM > To: users@cloudstack.apache.org; r...@remi.nl > Subject: Re: cloudstack kvm openvswitch > > Hi guys, last week we tried to install cloudstack 4.5.1 with two kvm > nodes defining an advanced zone with gre isolation. > Ovs never appears on network service providers but guests vlan are > automatically created on ovs. > Since gre tunnel between nodes has not automatically generated , we set up > it manually and now VMs can communicate between nodes. > Why ovs does not appear in network service provider panel ? > It should not appear if "vlan isolation" was been choosen in > configuration but we choose gre! > Why gre tunnel was not generated ? > Another question is related to the availability of ovs controllers ? > Has anyone tried to configure any opensource openvswitch controller with > cloudstack ? > Many thanks > Ignazio > Il giorno 24/apr/2015 10:50, "Remi Bergsma" ha scritto: > > > Hi, > > > > I recently worked on KVM with Open vSwitch, but controlled by NSX (aka > > Nicira). Apart from the controller and some settings, it should be the > > same. > > > > Some pointers: > > http://docs.cloudstack.apache.org/en/latest/networking/ovs-plugin.html > > https://cwiki.apache.org/confluence/display/CLOUDSTACK/KVM+with+OpenVS > > witch > > > > http://blog.remibergsma.com/2015/04/04/adding-a-kvm-cluster-with-nsx-n > > etworking-to-cloudstack/ > > (skip the NSX stuff) > > > > It is not needed anymore to compile ovs yourself. I worked with > > CentOS6 and > > 7 and Ubuntu 14.04 out of the box. There is some extra work to get STT > > to work, but since you do use GRE instead you can ignore it. > > > > This is a script I wrote to help setup KVM/OVS/CloudStack in my lab to > > be able to do quick POCs. It could help you too in setting up the > > bridges and > > interfaces: > > https://github.com/remibergsma/openvswitch-kvm-config > > > > To answer your question about the tunnels: in my case they are created > > on the fly. I would just give it a go and see if ovs creates any tunnels. > > > > Hope this helps. > > > > Regards, > > Remi > > > > > > > > 2015-04-24 7:50 GMT+02:00 Ignazio Cassano : > > > > > Thanks a lot. > > > What I need to know is how I must prepare kvm nodes for openvswitch: > > > for example if I must create a gre tunnel between nodes or if it is > > > enough adding an address on each openvswitch bridge. > > > Regards > > > Il giorno 24/apr/2015 06:22, "Sanjeev N" ha > > scritto: > > > > > > > Hi , > > > > > > > > We can't avoid configuring vlans on physical switched even if we > > > > use > > OVS > > > > instead of bridge more on KVM. One opt
RE: cloudstack kvm openvswitch
Hello Ignazio, I haven't been working with KVM and OVS for a while, but my previous experience with this plugin was unlucky. I will put some personal thoughts here and do not pretend to be 100% correct in all the points: 1. There is a number of OVS versions and which one(s) are officially supported -- don't know. Documentation said that is 1.9 (if you patch it), but I have successfully used 2.x versions without errors. Think documentation is outdated. Still I was not sure that it is properly supported at CS level. 2. There are number of problems with plugin activation since 4.4 version. Look here for example: https://issues.apache.org/jira/browse/CLOUDSTACK-7446 3. I've been using OVS with VLAN isolation and have seen it is working with CS properly. What does exactly do "plugin activation" - don't know. May be plugin should put some more network offers. But since it was broken I was not able to test it. 4. Didn't try GRE. Have nothing to say here. 5. The overall feeling -- this functionality is not yet mature. I also lacks documentation. Take it on your own risk Regards, Vadim -Original Message- From: Ignazio Cassano [mailto:ignaziocass...@gmail.com] Sent: Saturday, May 30, 2015 12:33 PM To: users@cloudstack.apache.org; r...@remi.nl Subject: Re: cloudstack kvm openvswitch Hi guys, last week we tried to install cloudstack 4.5.1 with two kvm nodes defining an advanced zone with gre isolation. Ovs never appears on network service providers but guests vlan are automatically created on ovs. Since gre tunnel between nodes has not automatically generated , we set up it manually and now VMs can communicate between nodes. Why ovs does not appear in network service provider panel ? It should not appear if "vlan isolation" was been choosen in configuration but we choose gre! Why gre tunnel was not generated ? Another question is related to the availability of ovs controllers ? Has anyone tried to configure any opensource openvswitch controller with cloudstack ? Many thanks Ignazio Il giorno 24/apr/2015 10:50, "Remi Bergsma" ha scritto: > Hi, > > I recently worked on KVM with Open vSwitch, but controlled by NSX (aka > Nicira). Apart from the controller and some settings, it should be the > same. > > Some pointers: > http://docs.cloudstack.apache.org/en/latest/networking/ovs-plugin.html > https://cwiki.apache.org/confluence/display/CLOUDSTACK/KVM+with+OpenVS > witch > > http://blog.remibergsma.com/2015/04/04/adding-a-kvm-cluster-with-nsx-n > etworking-to-cloudstack/ > (skip the NSX stuff) > > It is not needed anymore to compile ovs yourself. I worked with > CentOS6 and > 7 and Ubuntu 14.04 out of the box. There is some extra work to get STT > to work, but since you do use GRE instead you can ignore it. > > This is a script I wrote to help setup KVM/OVS/CloudStack in my lab to > be able to do quick POCs. It could help you too in setting up the > bridges and > interfaces: > https://github.com/remibergsma/openvswitch-kvm-config > > To answer your question about the tunnels: in my case they are created > on the fly. I would just give it a go and see if ovs creates any tunnels. > > Hope this helps. > > Regards, > Remi > > > > 2015-04-24 7:50 GMT+02:00 Ignazio Cassano : > > > Thanks a lot. > > What I need to know is how I must prepare kvm nodes for openvswitch: > > for example if I must create a gre tunnel between nodes or if it is > > enough adding an address on each openvswitch bridge. > > Regards > > Il giorno 24/apr/2015 06:22, "Sanjeev N" ha > scritto: > > > > > Hi , > > > > > > We can't avoid configuring vlans on physical switched even if we > > > use > OVS > > > instead of bridge more on KVM. One option would be to use GRE > > > isolation instead of VLAN based in creating Physical network in a zone. > > > > > > -Sanjeev > > > > > > On Thu, Apr 23, 2015 at 4:05 PM, Ignazio Cassano < > > ignaziocass...@gmail.com > > > > > > > wrote: > > > > > > > Hi all, > > > > I would like to install a new cloudstack infrastracture with kvm > nodes > > > but > > > > I also would like to use OVS to configure guests vlan avoiding > > > > to > > > configure > > > > them on > > > > physical switches. > > > > I am planning to user three kvm nodes but I do not know how > > > > prepare > > them > > > to > > > > use OVS: must I create a gre tunnel between nodes ? > > > > Regards > > > > > > > > > >
Re: cloudstack kvm openvswitch
Hi guys, last week we tried to install cloudstack 4.5.1 with two kvm nodes defining an advanced zone with gre isolation. Ovs never appears on network service providers but guests vlan are automatically created on ovs. Since gre tunnel between nodes has not automatically generated , we set up it manually and now VMs can communicate between nodes. Why ovs does not appear in network service provider panel ? It should not appear if "vlan isolation" was been choosen in configuration but we choose gre! Why gre tunnel was not generated ? Another question is related to the availability of ovs controllers ? Has anyone tried to configure any opensource openvswitch controller with cloudstack ? Many thanks Ignazio Il giorno 24/apr/2015 10:50, "Remi Bergsma" ha scritto: > Hi, > > I recently worked on KVM with Open vSwitch, but controlled by NSX (aka > Nicira). Apart from the controller and some settings, it should be the > same. > > Some pointers: > http://docs.cloudstack.apache.org/en/latest/networking/ovs-plugin.html > https://cwiki.apache.org/confluence/display/CLOUDSTACK/KVM+with+OpenVSwitch > > http://blog.remibergsma.com/2015/04/04/adding-a-kvm-cluster-with-nsx-networking-to-cloudstack/ > (skip the NSX stuff) > > It is not needed anymore to compile ovs yourself. I worked with CentOS6 and > 7 and Ubuntu 14.04 out of the box. There is some extra work to get STT to > work, but since you do use GRE instead you can ignore it. > > This is a script I wrote to help setup KVM/OVS/CloudStack in my lab to be > able to do quick POCs. It could help you too in setting up the bridges and > interfaces: > https://github.com/remibergsma/openvswitch-kvm-config > > To answer your question about the tunnels: in my case they are created on > the fly. I would just give it a go and see if ovs creates any tunnels. > > Hope this helps. > > Regards, > Remi > > > > 2015-04-24 7:50 GMT+02:00 Ignazio Cassano : > > > Thanks a lot. > > What I need to know is how I must prepare kvm nodes for openvswitch: for > > example if I must create a gre tunnel between nodes or if it is enough > > adding an address on each openvswitch bridge. > > Regards > > Il giorno 24/apr/2015 06:22, "Sanjeev N" ha > scritto: > > > > > Hi , > > > > > > We can't avoid configuring vlans on physical switched even if we use > OVS > > > instead of bridge more on KVM. One option would be to use GRE isolation > > > instead of VLAN based in creating Physical network in a zone. > > > > > > -Sanjeev > > > > > > On Thu, Apr 23, 2015 at 4:05 PM, Ignazio Cassano < > > ignaziocass...@gmail.com > > > > > > > wrote: > > > > > > > Hi all, > > > > I would like to install a new cloudstack infrastracture with kvm > nodes > > > but > > > > I also would like to use OVS to configure guests vlan avoiding to > > > configure > > > > them on > > > > physical switches. > > > > I am planning to user three kvm nodes but I do not know how prepare > > them > > > to > > > > use OVS: must I create a gre tunnel between nodes ? > > > > Regards > > > > > > > > > >
Re: cloudstack kvm openvswitch
I'll try asap. Many thanks Il giorno 24/apr/2015 10:50, "Remi Bergsma" ha scritto: > Hi, > > I recently worked on KVM with Open vSwitch, but controlled by NSX (aka > Nicira). Apart from the controller and some settings, it should be the > same. > > Some pointers: > http://docs.cloudstack.apache.org/en/latest/networking/ovs-plugin.html > https://cwiki.apache.org/confluence/display/CLOUDSTACK/KVM+with+OpenVSwitch > > http://blog.remibergsma.com/2015/04/04/adding-a-kvm-cluster-with-nsx-networking-to-cloudstack/ > (skip the NSX stuff) > > It is not needed anymore to compile ovs yourself. I worked with CentOS6 and > 7 and Ubuntu 14.04 out of the box. There is some extra work to get STT to > work, but since you do use GRE instead you can ignore it. > > This is a script I wrote to help setup KVM/OVS/CloudStack in my lab to be > able to do quick POCs. It could help you too in setting up the bridges and > interfaces: > https://github.com/remibergsma/openvswitch-kvm-config > > To answer your question about the tunnels: in my case they are created on > the fly. I would just give it a go and see if ovs creates any tunnels. > > Hope this helps. > > Regards, > Remi > > > > 2015-04-24 7:50 GMT+02:00 Ignazio Cassano : > > > Thanks a lot. > > What I need to know is how I must prepare kvm nodes for openvswitch: for > > example if I must create a gre tunnel between nodes or if it is enough > > adding an address on each openvswitch bridge. > > Regards > > Il giorno 24/apr/2015 06:22, "Sanjeev N" ha > scritto: > > > > > Hi , > > > > > > We can't avoid configuring vlans on physical switched even if we use > OVS > > > instead of bridge more on KVM. One option would be to use GRE isolation > > > instead of VLAN based in creating Physical network in a zone. > > > > > > -Sanjeev > > > > > > On Thu, Apr 23, 2015 at 4:05 PM, Ignazio Cassano < > > ignaziocass...@gmail.com > > > > > > > wrote: > > > > > > > Hi all, > > > > I would like to install a new cloudstack infrastracture with kvm > nodes > > > but > > > > I also would like to use OVS to configure guests vlan avoiding to > > > configure > > > > them on > > > > physical switches. > > > > I am planning to user three kvm nodes but I do not know how prepare > > them > > > to > > > > use OVS: must I create a gre tunnel between nodes ? > > > > Regards > > > > > > > > > >
Re: cloudstack kvm openvswitch
Hi, I recently worked on KVM with Open vSwitch, but controlled by NSX (aka Nicira). Apart from the controller and some settings, it should be the same. Some pointers: http://docs.cloudstack.apache.org/en/latest/networking/ovs-plugin.html https://cwiki.apache.org/confluence/display/CLOUDSTACK/KVM+with+OpenVSwitch http://blog.remibergsma.com/2015/04/04/adding-a-kvm-cluster-with-nsx-networking-to-cloudstack/ (skip the NSX stuff) It is not needed anymore to compile ovs yourself. I worked with CentOS6 and 7 and Ubuntu 14.04 out of the box. There is some extra work to get STT to work, but since you do use GRE instead you can ignore it. This is a script I wrote to help setup KVM/OVS/CloudStack in my lab to be able to do quick POCs. It could help you too in setting up the bridges and interfaces: https://github.com/remibergsma/openvswitch-kvm-config To answer your question about the tunnels: in my case they are created on the fly. I would just give it a go and see if ovs creates any tunnels. Hope this helps. Regards, Remi 2015-04-24 7:50 GMT+02:00 Ignazio Cassano : > Thanks a lot. > What I need to know is how I must prepare kvm nodes for openvswitch: for > example if I must create a gre tunnel between nodes or if it is enough > adding an address on each openvswitch bridge. > Regards > Il giorno 24/apr/2015 06:22, "Sanjeev N" ha scritto: > > > Hi , > > > > We can't avoid configuring vlans on physical switched even if we use OVS > > instead of bridge more on KVM. One option would be to use GRE isolation > > instead of VLAN based in creating Physical network in a zone. > > > > -Sanjeev > > > > On Thu, Apr 23, 2015 at 4:05 PM, Ignazio Cassano < > ignaziocass...@gmail.com > > > > > wrote: > > > > > Hi all, > > > I would like to install a new cloudstack infrastracture with kvm nodes > > but > > > I also would like to use OVS to configure guests vlan avoiding to > > configure > > > them on > > > physical switches. > > > I am planning to user three kvm nodes but I do not know how prepare > them > > to > > > use OVS: must I create a gre tunnel between nodes ? > > > Regards > > > > > >
Re: cloudstack kvm openvswitch
Thanks a lot. What I need to know is how I must prepare kvm nodes for openvswitch: for example if I must create a gre tunnel between nodes or if it is enough adding an address on each openvswitch bridge. Regards Il giorno 24/apr/2015 06:22, "Sanjeev N" ha scritto: > Hi , > > We can't avoid configuring vlans on physical switched even if we use OVS > instead of bridge more on KVM. One option would be to use GRE isolation > instead of VLAN based in creating Physical network in a zone. > > -Sanjeev > > On Thu, Apr 23, 2015 at 4:05 PM, Ignazio Cassano > > wrote: > > > Hi all, > > I would like to install a new cloudstack infrastracture with kvm nodes > but > > I also would like to use OVS to configure guests vlan avoiding to > configure > > them on > > physical switches. > > I am planning to user three kvm nodes but I do not know how prepare them > to > > use OVS: must I create a gre tunnel between nodes ? > > Regards > > >
Re: cloudstack kvm openvswitch
Hi , We can't avoid configuring vlans on physical switched even if we use OVS instead of bridge more on KVM. One option would be to use GRE isolation instead of VLAN based in creating Physical network in a zone. -Sanjeev On Thu, Apr 23, 2015 at 4:05 PM, Ignazio Cassano wrote: > Hi all, > I would like to install a new cloudstack infrastracture with kvm nodes but > I also would like to use OVS to configure guests vlan avoiding to configure > them on > physical switches. > I am planning to user three kvm nodes but I do not know how prepare them to > use OVS: must I create a gre tunnel between nodes ? > Regards >