cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florin Dumitrascu <florin.dumitra...@intunenetworks.com>
Subject RE: OVS plugin in CloudStack 4.3.0
Date Sun, 23 Feb 2014 20:00:40 GMT
Hi everyone,

Following Murali's guideline, I was able to use GRE with 4.3 RC (and XenServer 6.1)
There are actually 3 APIs one needs to invoke and I show the example below for anyone else
who is lost trying to get this working using solely the GUI.

I still strongly believe we need to have these APIs supported in the GUI for 4.3 release.
The API is a powerful tool, but the beginner/average user cannot be expected to use it like
this.
I would gladly volunteer for implementing this, but as my CS code learning curve is very steep,
I am sure there is someone else here who can do it ten times faster and in time for 4.3

Would really appreciate your help, and I am sure it would be for the benefit of many other
CS users.

1. Create OVS connectivity offering

http://192.168.20.112:8080/client/api?command=createNetworkOffering&sessionkey=0YutiBb19VkXgepJYf/wq2Wii4Q=&name=ovs-connectivity-offering&displayText=ovs-connectivity-offering&guestIpType=Isolated&lbType=publicLb&servicecapabilitylist[0].service=SourceNat&servicecapabilitylist[0].capabilitytype=SupportedSourceNatTypes&servicecapabilitylist[0].capabilityvalue=peraccount&servicecapabilitylist[1].service=lb&servicecapabilitylist[1].capabilitytype=SupportedLbIsolation&servicecapabilitylist[1].capabilityvalue=dedicated&availability=Optional&egresspolicy=ALLOW&state=Creating&status=Creating&allocationstate=Creating&supportedServices=Dhcp,Dns,Firewall,Lb,SourceNat,StaticNat,PortForwarding,Connectivity&specifyIpRanges=false&specifyVlan=false&isPersistent=false&conservemode=false&serviceProviderList[0].service=Dhcp&serviceProviderList[0].provider=VirtualRouter&serviceProviderList[1].service=Dns&serviceProviderList[1].provider=VirtualRouter&serviceProviderList[2].service=Firewall&serviceProviderList[2].provider=VirtualRouter&serviceProviderList[3].service=Lb&serviceProviderList[3].provider=VirtualRouter&serviceProviderList[4].service=SourceNat&serviceProviderList[4].provider=VirtualRouter&serviceProviderList[5].service=StaticNat&serviceProviderList[5].provider=VirtualRouter&serviceProviderList[6].service=PortForwarding&serviceProviderList[6].provider=VirtualRouter&serviceProviderList[7].service=Connectivity&serviceProviderList[7].provider=Ovs&egressdefaultpolicy=true&traffictype=GUEST

2. Get the OVS provider id

http://192.168.20.112:8080/client/api?command=listNetworkServiceProviders&sessionkey=Ztlr1jtjM8RlnpeBzHujm4Zh/DI=&name=Ovs

3. Enable OVS provider

http://192.168.20.112:8080/client/api?command=updateNetworkServiceProvider&sessionkey=CUBGAK4lfGgJIlQhuCfr3ZNlUbs=&id=b209154a-73bf-44d6-b2cf-41358a79cbf4&state=Enabled

Thanks and kind regards,
Florin


-----Original Message-----
From: Florin Dumitrascu [mailto:florin.dumitrascu@intunenetworks.com]
Sent: Friday, February 21, 2014 10:00 AM
To: dev@cloudstack.apache.org
Subject: RE: OVS plugin in CloudStack 4.3.0

Hi Murali,

Thanks for clarifying this.
However, I would not consider bug CLOUDSTACK-5967 fixed until UI support is restored for this
basic functionality.
It is a hack. We cannot expect an end user to go into that level of detail. Will look at how
much effort is involved to add UI support.
>From a personal point of view, this is a -1 for this release.

Regards,
Florin



-----Original Message-----
From: Murali Reddy [mailto:Murali.Reddy@citrix.com]
Sent: Thursday, February 20, 2014 5:48 PM
To: dev@cloudstack.apache.org
Subject: Re: OVS plugin in CloudStack 4.3.0

On 20/02/14 8:40 PM, "Florin Dumitrascu"
<florin.dumitrascu@intunenetworks.com> wrote:

>Yes,
>
>sdn.ovs.controller = true
>sdn.ovs.controller.default.label = GUEST  // label used on XenServer
>guest network
>
>Without the OVS controller switched on, I think one will not see the
>OVS bridge created.
>The first part of the setup works, allocating a GRE key from the VLAN
>range, setting up the OVS bridge.
>The second part involving configuring the OVS bridge and creating the
>tunnel interface doesn't take place.

This issue was discussed in [1], and is fixed as part of the bug CLOUDSTACK-5967. So 'Ovs'
is added as provider of 'Connectivity' service as part of the fix. You need to create a network
offering with 'Ovs'
selected as 'Connectivity' service provider. When you create network with such network offering
you should see tunnels established as well. There no ui support unfortunaley , so you need
to use api. Please see [2] for sample api call to create network offering with 'Ovs' as 'Connectivity'
service provider

[1] http://markmail.org/message/h5pcpeeuo5zp42t6
[2] http://pastebin.com/n3fbdjAP


>
>I double checked to see that I am doing exactly the same steps as in
>4.1.1.
>
>Regards,
>Florin
>
>-----Original Message-----
>From: Paul Angus [mailto:paul.angus@shapeblue.com]
>Sent: Thursday, February 20, 2014 2:57 PM
>To: dev@cloudstack.apache.org
>Cc: Chiradeep Vittal; Murali Reddy (JIRA)
>Subject: RE: OVS plugin in CloudStack 4.3.0
>
>Have you set
>sdn.ovs.controller = true
>And
>sdn.ovs.controller.default.label = < >
>
>in the global settings (and restarted mgmt. server)
>
>Regards,
>
>Paul Angus
>Cloud Architect
>S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus
>paul.angus@shapeblue.com
>
>-----Original Message-----
>From: Florin Dumitrascu [mailto:florin.dumitrascu@intunenetworks.com]
>Sent: 20 February 2014 14:43
>To: dev@cloudstack.apache.org
>Cc: Chiradeep Vittal; Murali Reddy (JIRA)
>Subject: RE: OVS plugin in CloudStack 4.3.0
>
>Hi Paul,
>
>I would be very curious to hear your feedback.
>I am not able to get GRE working with RC6.
>The OVS bridge is created, but the GRE tunnel is not.
>
>So far I have tried (using XenServer 6.1.0):
>a) 2 hosts within different clusters and different pods
>b) 2 hosts within different cluster and same pod
>
>As with 4.2 release, the "create_tunnel" function doesn't seem to be
>invoked.
>Still looking at the logs ...
>
>Regards,
>Florin
>
>-----Original Message-----
>From: Paul Angus [mailto:paul.angus@shapeblue.com]
>Sent: Thursday, February 20, 2014 9:40 AM
>To: dev@cloudstack.apache.org
>Cc: Chiradeep Vittal; Murali Reddy (JIRA)
>Subject: RE: OVS plugin in CloudStack 4.3.0
>
>...so is it still the case that you can't migrate VMs when using GRE
>Tunnels?
>
>I hope to test GRE in RC6 today.
>
>
>Regards,
>
>Paul Angus
>Cloud Architect
>S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus
>paul.angus@shapeblue.com
>
>-----Original Message-----
>From: ng.tuna@gmail.com [mailto:ng.tuna@gmail.com] On Behalf Of Nguyen
>Anh Tu
>Sent: 20 February 2014 04:14
>To: dev@cloudstack.apache.org
>Cc: Chiradeep Vittal
>Subject: Re: OVS plugin in CloudStack 4.3.0
>
>Florin,
>
>There is still nothing changed from 4.2 release. Hope I can do in 4.3.1
>with XenServer 6.2 supported as well. Sorry I'm too busy with study
>program these days...
>
>--Tuna
>
>Sent from my GT-N7000
>On Feb 20, 2014 12:45 AM, "Florin Dumitrascu" <
>florin.dumitrascu@intunenetworks.com> wrote:
>
>> Hi Tuna,
>>
>> Can you please clarify what is the status of the functionality
>> described below in relation to 4.3 release:
>>
>> http://cloudstack.readthedocs.org/en/latest/networking/ovs-plugin.htm
>> l
>>
>> I am testing the last 4.3 release candidate at the moment and cannot
>>see OVS under "Network Service Providers".
>> Are these changes going to make it into 4.3 release or is there
>>nothing changed from 4.2.0 release ? (except the bug preventing GRE to
>>work).
>>
>> Thank you,
>> Florin
>>
>>
>> IMPORTANT NOTE: The information in this e-mail (and any attachments)
>>is confidential. The contents may not be disclosed or used by anyone
>>other than the addressee. If you are not the intended recipient,
>>please notify the sender immediately or telephone: +353 (0)1 6204700.
>> We cannot accept any responsibility for the accuracy or completeness
>>of this message as it has been transmitted over a public network. If
>>you suspect that the message may have been intercepted or amended,
>>please call the sender.
>>
>Need Enterprise Grade Support for Apache CloudStack?
>Our CloudStack Infrastructure
>Support<http://shapeblue.com/cloudstack-infrastructure-support/> offers
>the best 24/7 SLA for CloudStack Environments.
>
>Apache CloudStack Bootcamp training courses
>
>**NEW!** CloudStack 4.2.1
>training<http://shapeblue.com/cloudstack-training/>
>18th-19th February 2014, Brazil.
>Classroom<http://shapeblue.com/cloudstack-training/>
>17th-23rd March 2014, Region A. Instructor led,
>On-line<http://shapeblue.com/cloudstack-training/>
>24th-28th March 2014, Region B. Instructor led,
>On-line<http://shapeblue.com/cloudstack-training/>
>16th-20th June 2014, Region A. Instructor led,
>On-line<http://shapeblue.com/cloudstack-training/>
>23rd-27th June 2014, Region B. Instructor led,
>On-line<http://shapeblue.com/cloudstack-training/>
>
>This email and any attachments to it may be confidential and are
>intended solely for the use of the individual to whom it is addressed.
>Any views or opinions expressed are solely those of the author and do
>not necessarily represent those of Shape Blue Ltd or related companies.
>If you are not the intended recipient of this email, you must neither
>take any action based upon its contents, nor copy or show it to anyone.
>Please contact the sender if you believe you have received this email in error.
>Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue
>Services India LLP is a company incorporated in India and is operated
>under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda
>is a company incorporated in Brasil and is operated under license from
>Shape Blue Ltd. ShapeBlue is a registered trademark.
>
>IMPORTANT NOTE: The information in this e-mail (and any attachments) is
>confidential. The contents may not be disclosed or used by anyone other
>than the addressee. If you are not the intended recipient, please
>notify the sender immediately or telephone: +353 (0)1 6204700. We
>cannot accept any responsibility for the accuracy or completeness of
>this message as it has been transmitted over a public network. If you
>suspect that the message may have been intercepted or amended, please call the sender.
>This email and any attachments to it may be confidential and are
>intended solely for the use of the individual to whom it is addressed.
>Any views or opinions expressed are solely those of the author and do
>not necessarily represent those of Shape Blue Ltd or related companies.
>If you are not the intended recipient of this email, you must neither
>take any action based upon its contents, nor copy or show it to anyone.
>Please contact the sender if you believe you have received this email in error.
>Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue
>Services India LLP is a company incorporated in India and is operated
>under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda
>is a company incorporated in Brasil and is operated under license from
>Shape Blue Ltd. ShapeBlue is a registered trademark.
>
>IMPORTANT NOTE: The information in this e-mail (and any attachments) is
>confidential. The contents may not be disclosed or used by anyone other
>than the addressee. If you are not the intended recipient, please
>notify the sender immediately or telephone: +353 (0)1 6204700. We
>cannot accept any responsibility for the accuracy or completeness of
>this message as it has been transmitted over a public network. If you
>suspect that the message may have been intercepted or amended, please call the sender.
>



IMPORTANT NOTE: The information in this e-mail (and any attachments) is confidential. The
contents may not be disclosed or used by anyone other than the addressee. If you are not the
intended recipient, please notify the sender immediately or telephone: +353 (0)1 6204700.
We cannot accept any responsibility for the accuracy or completeness of this message as it
has been transmitted over a public network. If you suspect that the message may have been
intercepted or amended, please call the sender.

IMPORTANT NOTE: The information in this e-mail (and any attachments) is confidential. The
contents may not be disclosed or used by anyone other than the addressee. If you are not the
intended recipient, please notify the sender immediately or telephone: +353 (0)1 6204700.
We cannot accept any responsibility for the accuracy or completeness of this message as it
has been transmitted over a public network. If you suspect that the message may have been
intercepted or amended, please call the sender.

Mime
View raw message