Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5944A178C0 for ; Mon, 16 Mar 2015 03:44:55 +0000 (UTC) Received: (qmail 64473 invoked by uid 500); 16 Mar 2015 03:44:34 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 64401 invoked by uid 500); 16 Mar 2015 03:44:33 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 64369 invoked by uid 500); 16 Mar 2015 03:44:33 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 64364 invoked by uid 99); 16 Mar 2015 03:44:33 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Mar 2015 03:44:33 +0000 Date: Mon, 16 Mar 2015 03:44:33 +0000 (UTC) From: "Rajani Karuturi (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CLOUDSTACK-6320) Upgrade 4.1.1 -> 4.3.0 OVS provider should be inserted to the physical network MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-6320?page=3Dcom.atl= assian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rajani Karuturi updated CLOUDSTACK-6320: ---------------------------------------- Fix Version/s: (was: 4.5.0) 4.5.1 > Upgrade 4.1.1 -> 4.3.0 OVS provider should be inserted to the physical ne= twork > -------------------------------------------------------------------------= ----- > > Key: CLOUDSTACK-6320 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-632= 0 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the defa= ult.)=20 > Components: Management Server > Affects Versions: 4.3.0 > Environment: Upgrading from CS 4.1.1 to CS 4.3.0, using Xenserver= 6.1.0 > Advanced zone with GRE isolation is configured before upgrade.=20 > Reporter: Florin Dumitrascu > Fix For: 4.4.3, 4.5.1 > > > When you create an Advanced zone in 4.3 code, server-side will=20 > automatically add OVS provider to its physical network. > However, since your zone was created in 4.1 code and upgraded to 4.3,=20 > server-side won't automatically add OVS provider to its physical network. > Full message thread: > -----Original Message----- > From: Alena Prokharchyk > Sent: Friday, March 21, 2014 4:18 PM > To: Jessica Wang; Florin Dumitrascu; Murali Reddy > Cc: Nguyen Anh Tu (tuna@apache.org); dev@cloudstack.apache.org > Subject: Re: GRE isolation - no in service upgrade (4.1.1 to 4.3.0) - Is = your zone an Advanced zone or Basic zone? (2) > Then its a DB upgrade bug. If the GRE isolation is supported on the netwo= rk in 4.1.1, DB upgrade should have inserted the provider to physical netwo= rk. > On 3/21/14, 3:51 PM, "Jessica Wang" wrote: > >> [Alena] Not exactly like that. > >> [Alena] None of the providers are added to the physical network by=20 > >>default if execute createPhysicalNetwork call via API. > >> [Alena] Our CS UI does this job - adding the providers to the network= =20 > >>- for you by calling addNetworkServiceProvider call. > > > >Actually, OVS provider is an exception. > >UI doesn't do the job because server-side already does the job. > >When you create an Advanced zone in 4.3 code, server-side will=20 > >automatically add OVS provider to its physical network. > >However, since your zone was created in 4.1 code and upgraded to 4.3,=20 > >server-side won't automatically add OVS provider to its physical network= . > > > >Murali, please confirm. > > > > > > > >-----Original Message----- > >From: Alena Prokharchyk > >Sent: Friday, March 21, 2014 2:44 PM > >To: Florin Dumitrascu; Jessica Wang; Murali Reddy; Florin Dumitrascu > >Cc: Nguyen Anh Tu (tuna@apache.org); dev@cloudstack.apache.org > >Subject: Re: GRE isolation - no in service upgrade (4.1.1 to 4.3.0) -=20 > >Is your zone an Advanced zone or Basic zone? (2) > > > > > > > >On 3/21/14, 2:34 PM, "Florin Dumitrascu" > > wrote: > > > >>Hi, > >> > >>Alena, my assumption is that the Ovs provider is created when you=20 > >>create the physical network with GRE isolation (if someone can confirm = ...). > >>When I configured CS RC8 from scratch, I could see the provider and=20 > >>enable it in the GUI. > > > >Not exactly like that. None of the providers are added to the physical= =20 > >network by default if execute createPhysicalNetwork call via API. Our=20 > >CS UI does this job - adding the providers to the network - for you by= =20 > >calling addNetworkServiceProvider call. > > > > > > > >>But when I have upgraded from CS 4.1.1 to 4.3.0 RC9, I have preserved= =20 > >>the existing configuration with the existing physical network. > >>So my assumption is that the physical network was not updated with the= =20 > >>OVS provider (such a provider was not needed in CS 4.1.1). > > > >So while you were on 4.1.1, GRE isolation was disabled? Did you enable= =20 > >it on 4.3? If there is a way to enable new isolation on the physical=20 > >network, on my opinion - the UI should perform the background call and= =20 > >add all the providers associated with this option, to the physical=20 > >network. So it would be a UI issue. > > > >Or the case was the following - the GRE isolation was enabled on your=20 > >network while on 4.1.1, but new provider - OVS - was added in 4.3. And= =20 > >this provider wasn't added to existing physical networks during the=20 > >upgrade. Then its a database upgrade bug. > > > > > >Please confirm which one from the above is correct. > > > >> > >>Jessica, I am building CentOS RPM packages from the RC source, using=20 > >>"package.sh" script in the source packaging folder. Not aware about=20 > >>the difference between "oss" and "noredist". > >>Also, my setup is for an advanced zone. > >> > >>Kind Regards, > >>Florin > >> > >> > >> > >>-----Original Message----- > >>From: Jessica Wang [mailto:Jessica.Wang@citrix.com] > >>Sent: Friday, March 21, 2014 8:28 PM > >>To: Florin Dumitrascu; Murali Reddy > >>Cc: Nguyen Anh Tu (tuna@apache.org); dev@cloudstack.apache.org; Alena= =20 > >>Prokharchyk > >>Subject: RE: GRE isolation - no in service upgrade (4.1.1 to 4.3.0) -= =20 > >>Is your zone an Advanced zone or Basic zone? (2) > >> > >>Florin, > >>UI doesn't show OVS service provider because database doesn't have OVS= =20 > >>service provider. > >>The reasons might be: > >>(1) You are using oss build (should be using noredist build). > >>(2) Your zone is a Basic zone (OVS service provider is only supported= =20 > >>in Advanced zone) > >> > >> > >>Murali, > >>Is there other possibility? > >> > >> > >>Jessica > >> > >>-----Original Message----- > >>From: Jessica Wang > >>Sent: Friday, March 21, 2014 1:15 PM > >>To: Alena Prokharchyk; Florin Dumitrascu > >>Cc: Nguyen Anh Tu (tuna@apache.org); Murali Reddy;=20 > >>dev@cloudstack.apache.org > >>Subject: RE: GRE isolation - no in service upgrade (4.1.1 to 4.3.0) -= =20 > >>Is your zone an Advanced zone or Basic zone? > >> > >>Florin, > >> > >>Is your zone an Advanced zone or Basic zone? > >> > >>Jessica > >> > >>-----Original Message----- > >>From: Alena Prokharchyk > >>Sent: Friday, March 21, 2014 11:53 AM > >>To: dev@cloudstack.apache.org; Florin Dumitrascu; Jessica Wang > >>Cc: Nguyen Anh Tu (tuna@apache.org); Murali Reddy > >>Subject: Re: GRE isolation - no in service upgrade (4.1.1 to 4.3.0) > >> > >>Florin, you have to add the provider to the physical network first,=20 > >>and then enable it. To add a provider to physical network, use=20 > >>addNetworkServiceProvider. To enable it after, use=20 > >>updateNetworkServiceProvider . Not sure why our UI doesn=C2=B9t have th= is=20 > >>functionality enabled. Jessica, can you check out if the UI supports=20 > >>adding physical network providers, and under what conditions? > >> > >>Thanks, > >>Alena. > >> > >> > >>On 3/21/14, 11:47 AM, "Florin Dumitrascu" > >> wrote: > >> > >>>Hi, > >>> > >>>I have successfully tested GRE isolation with CS 4.3.0 RC8 installed= =20 > >>>from scratch on a minimal setup. > >>> > >>>I have moved then on to upgrading a more complex lab setup from CS=20 > >>>4.1.1 to CS 4.3.0 RC9. > >>>I have followed the guidelines here for doing the upgrade: > >>>http://apache-cloudstack-release-notes.readthedocs.org/en/latest/rnote= s. > >>>h > >>>t > >>>ml#upgrade-from-4-1-x-to-4-3 > >>> > >>>Once CS was back up and running, I have created an OVS network=20 > >>>offering using the GUI fix up from > >>>https://issues.apache.org/jira/browse/CLOUDSTACK-6162 > >>> > >>>I tried then to enable the OVS service provider on the physical=20 > >>>network, but discovered that no such provider is created. > >>>None in the GUI: > >>>http://imgur.com/ar8c7sX > >>> > >>>And none in the database: > >>>http://imgur.com/MsIdYrw > >>> > >>>So this means I pretty much need to re-configure the whole zone from= =20 > >>>scratch, since I do not know of another way to change the physical=20 > >>>networks. > >>> > >>>If GRE is to be used in the production, this is a major drawback. > >>> > >>>Any thoughts ? > >>> > >>>Best Regards, > >>>Florin -- This message was sent by Atlassian JIRA (v6.3.4#6332)