Return-Path: X-Original-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7B204D997 for ; Fri, 5 Oct 2012 19:20:01 +0000 (UTC) Received: (qmail 95358 invoked by uid 500); 5 Oct 2012 19:20:01 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 95330 invoked by uid 500); 5 Oct 2012 19:20:01 -0000 Mailing-List: contact cloudstack-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-dev@incubator.apache.org Received: (qmail 95322 invoked by uid 99); 5 Oct 2012 19:20:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Oct 2012 19:20:01 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rohit.yadav@citrix.com designates 203.166.19.134 as permitted sender) Received: from [203.166.19.134] (HELO SMTP.CITRIX.COM.AU) (203.166.19.134) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Oct 2012 19:19:56 +0000 X-IronPort-AV: E=Sophos;i="4.80,541,1344211200"; d="scan'208";a="12987795" Received: from banpmailmx02.citrite.net ([10.103.128.74]) by SYDPIPO01.CITRIX.COM.AU with ESMTP/TLS/RC4-MD5; 05 Oct 2012 19:18:45 +0000 Received: from BANPMAILBOX01.citrite.net ([10.103.128.71]) by BANPMAILMX02.citrite.net ([10.103.128.74]) with mapi; Sat, 6 Oct 2012 00:48:45 +0530 From: Rohit Yadav To: "cloudstack-dev@incubator.apache.org" Date: Sat, 6 Oct 2012 00:47:52 +0530 Subject: RE: [VOTE] how to upgrade CloudStack from 3.0.x to 4.0 Thread-Topic: [VOTE] how to upgrade CloudStack from 3.0.x to 4.0 Thread-Index: Ac2jLWkzil2K65J5Si6HeHcMCz8QsAAALSYX Message-ID: <0BCCCE152323764BB7FD6AE6D7A1D906FE11C32D73@BANPMAILBOX01.citrite.net> References: , In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org +1 David. That would be great! I too dislike the ugly hack. =20 Thanks. ________________________________________ From: David Nalley [david@gnsa.us] Sent: Saturday, October 06, 2012 12:41 AM To: cloudstack-dev@incubator.apache.org Subject: Re: [VOTE] how to upgrade CloudStack from 3.0.x to 4.0 On Fri, Oct 5, 2012 at 3:06 PM, Edison Su wrote: > > >> -----Original Message----- >> From: Edison Su [mailto:Edison.su@citrix.com] >> Sent: Friday, October 05, 2012 11:20 AM >> To: cloudstack-dev@incubator.apache.org >> Subject: RE: [VOTE] how to upgrade CloudStack from 3.0.x to 4.0 >> >> >> >> > -----Original Message----- >> > From: David Nalley [mailto:david@gnsa.us] >> > Sent: Friday, October 05, 2012 11:05 AM >> > To: cloudstack-dev@incubator.apache.org >> > Subject: Re: [VOTE] how to upgrade CloudStack from 3.0.x to 4.0 >> > >> > On Fri, Oct 5, 2012 at 1:58 PM, Edison Su >> wrote: >> > > Refer to bug CLOUDSTACK-248, the root cause is : >> > > we change cloud-agent-scripts to cloud-scripts, and change the >> > installation path from /usr/lib64/cloud/agent to >> > /usr/lib64/cloud/common. >> > > But in the source code, there are some other places still use >> > /usr/lib64/cloud/agent. For backward compatibility, we link >> > /usr/lib64/cloud/common to /usr/lib64/cloud/agent during the cloud- >> > scripts installation. >> > > It works for a fresh 4.0 installation, but doesn't work for upgrade: >> > > During the upgrade, cloud-scripts will be installed first, then >> link >> > from /usr/lib64/cloud/common to /usr/lib64/cloud/agent will be >> created. >> > Then cloud-agent-scripts will be uninstalled automatically, thus >> > /usr/lib64/cloud/agent will be removed. When mgt server starts, it >> > complains can't find scripts under /usr/lib64/cloud/agent. >> > > >> > > Rohit fixes this issue by manually force upgrade cloud-scripts >> after >> > the upgrade process, which will install /usr/lib64/cloud/common and >> > create the link between /usr/lib64/cloud/common and >> > /usr/lib64/cloud/agent. >> > > >> > > Actually we can put this extra installation process >> into ./install.sh, >> > so it will become transparent for end users. >> > > Will it be reasonable/acceptable for the community? >> > > >> > >> > Does using Provides: cloud-agent-scripts in the scripts sections of >> > the spec file mean that this would be upgraded rather than install >> > then remove that currently happens? >> >> If " Provides: cloud-agent-scripts " just upgrade, not remove, then we >> don't need the extra manually process any more. >> Testing the latest build with Rohit's patch. > > Tested, clouda-agent-scripts still gets removed. I added a new fix on 4.0= branch, which will automatically install cloud-scripts. > And if they install via yum repo? I'll take this bug and get it fixed. --David