Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7CD1610C63 for ; Fri, 24 Oct 2014 08:32:48 +0000 (UTC) Received: (qmail 1507 invoked by uid 500); 24 Oct 2014 08:32:48 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 1454 invoked by uid 500); 24 Oct 2014 08:32:48 -0000 Mailing-List: contact dev-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 dev@cloudstack.apache.org Received: (qmail 1442 invoked by uid 99); 24 Oct 2014 08:32:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Oct 2014 08:32:46 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of nux@li.nux.ro designates 31.193.175.196 as permitted sender) Received: from [31.193.175.196] (HELO mailserver.lastdot.org) (31.193.175.196) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Oct 2014 08:32:43 +0000 Received: from localhost (localhost [IPv6:::1]) by mailserver.lastdot.org (Postfix) with ESMTP id DAE7C2C1174 for ; Fri, 24 Oct 2014 09:32:20 +0100 (BST) Received: from mailserver.lastdot.org ([IPv6:::1]) by localhost (mailserver.lastdot.org [IPv6:::1]) (amavisd-new, port 10032) with ESMTP id F-R6W2u8CnDm for ; Fri, 24 Oct 2014 09:32:19 +0100 (BST) Received: from localhost (localhost [IPv6:::1]) by mailserver.lastdot.org (Postfix) with ESMTP id 52C1C2C1176 for ; Fri, 24 Oct 2014 09:32:19 +0100 (BST) DKIM-Filter: OpenDKIM Filter v2.9.2 mailserver.lastdot.org 52C1C2C1176 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=li.nux.ro; s=C605E3A6-F3C6-11E3-AEB0-DFF9218DCAC4; t=1414139539; bh=Ve9eZnIEivf2u9rNgTDnVo0hWtguOBXeTcRYO50HHpE=; h=Date:From:To:Message-ID:Subject:MIME-Version:Content-Type: Content-Transfer-Encoding; b=XSL0UJ6nx4VEzi/Rzv1LQbHPUDpV1mP+6R8APV7J0duL+DnMiPlGHNLD70MoPmMNi WnRF6hYIE7o5JRrMnsmCy+uqkasjl6gMUmHla8dqCAd1QjQ7PAeF7XhdJm6ojLbcQa f2XWbkd4pzQD4xVvOFu7MvUspNtgSzqdP/OubDKk= X-Virus-Scanned: amavisd-new at mailserver.lastdot.org Received: from mailserver.lastdot.org ([IPv6:::1]) by localhost (mailserver.lastdot.org [IPv6:::1]) (amavisd-new, port 10026) with ESMTP id 6Y8HYPdVT_3S for ; Fri, 24 Oct 2014 09:32:19 +0100 (BST) Received: from mailserver.lastdot.org (mailserver.lastdot.org [31.193.175.196]) by mailserver.lastdot.org (Postfix) with ESMTP id 2029B2C1174 for ; Fri, 24 Oct 2014 09:32:19 +0100 (BST) Date: Fri, 24 Oct 2014 09:32:18 +0100 (BST) From: Nux! To: dev@cloudstack.apache.org Message-ID: <1379646179.28516.1414139538910.JavaMail.zimbra@li.nux.ro> In-Reply-To: References: <690391308.25510.1413937989929.JavaMail.zimbra@li.nux.ro> <1574079438.25823.1413978490956.JavaMail.zimbra@li.nux.ro> <1762756128.25855.1413980550575.JavaMail.zimbra@li.nux.ro> <1643642790.27795.1414106926088.JavaMail.zimbra@li.nux.ro> Subject: Re: 431 to 441, VR upgrade fails with VR config: execution failed: "/opt/cloud/bin/createipAlias.sh" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Mailer: Zimbra 8.5.0_GA_3042 (ZimbraWebClient - FF33 (Linux)/8.5.0_GA_3042) Thread-Topic: 431 to 441, VR upgrade fails with VR config: execution failed: "/opt/cloud/bin/createipAlias.sh" Thread-Index: qB0gyzH26jfXr3afcbkUyHprsS70eQ== X-Virus-Checked: Checked by ClamAV on apache.org Yep, https://issues.apache.org/jira/browse/CLOUDSTACK-7781 -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro ----- Original Message ----- > From: "Daan Hoogland" > To: "dev" > Sent: Friday, 24 October, 2014 08:03:59 > Subject: Re: 431 to 441, VR upgrade fails with VR config: execution failed: "/opt/cloud/bin/createipAlias.sh" > Lucian, did you make a ticket for this? It seems a blocker bug to me! > > On Fri, Oct 24, 2014 at 1:28 AM, Nux! wrote: >> Ok, so how I "solved" it: >> >> Followed the upgrade procedure to the letter, but before running >> cloudstack-sysvmadm to upgrade my sytemvms I have replaced the QCOW2 file in >> the secondary storage with a modified template in which I copied >> /opt/cloud/bin/createIpAlias.sh to /opt/cloud/bin/createipAlias.sh (and made it >> immutable, just to make sure it doesn't go anywhere) ... >> >> After that I ran "nohup cloudstack-sysvmadm -d IPaddress -u cloud -p password -a >> > sysvm.log 2>&1 &" >> >> Ugly, but it works. Thanks for helping me understand where the problem is >> exactly.. >> >> -- >> Sent from the Delta quadrant using Borg technology! >> >> Nux! >> www.nux.ro >> >> ----- Original Message ----- >>> From: "Daan Hoogland" >>> To: "dev" >>> Sent: Wednesday, 22 October, 2014 14:43:45 >>> Subject: Re: 431 to 441, VR upgrade fails with VR config: execution failed: >>> "/opt/cloud/bin/createipAlias.sh" >> >>> Jayapal, this was fixed but not in 4.4. why? and why does Lucian not >>> hit it in 4.3 that contains the same error? >>> >>> On Wed, Oct 22, 2014 at 2:22 PM, Nux! wrote: >>>> Ok, you lost me. So what do I need to modify to correct this? >>>> >>>> Would customising the sysvm template and symlinking >>>> /opt/cloud/bin/createIpAlias.sh to /opt/cloud/bin/createipAlias.sh solve the >>>> issue? >>>> >>>> -- >>>> Sent from the Delta quadrant using Borg technology! >>>> >>>> Nux! >>>> www.nux.ro >>>> >>>> ----- Original Message ----- >>>>> From: "Jayapal Reddy Uradi" >>>>> To: "" >>>>> Sent: Wednesday, 22 October, 2014 13:18:05 >>>>> Subject: Re: 431 to 441, VR upgrade fails with VR config: execution failed: >>>>> "/opt/cloud/bin/createipAlias.sh" >>>> >>>>> Hi Nux, >>>>> >>>>> The problem is not from the template. >>>>> The file in the systemvm.iso has correct file name. >>>>> VR config feature is referred it as incorrect. >>>>> >>>>> Thanks, >>>>> Jayapal >>>>> On 22-Oct-2014, at 5:18 PM, Nux! wrote: >>>>> >>>>>> Daan, >>>>>> >>>>>> It may be old, but I don't see the problem with the 4.3.0 sysvm tmpl (that I am >>>>>> still using, even with 4.3.1). >>>>>> >>>>>> -- >>>>>> Sent from the Delta quadrant using Borg technology! >>>>>> >>>>>> Nux! >>>>>> www.nux.ro >>>>>> >>>>>> ----- Original Message ----- >>>>>>> From: "Daan Hoogland" >>>>>>> To: "dev" >>>>>>> Sent: Wednesday, 22 October, 2014 11:40:09 >>>>>>> Subject: Re: 431 to 441, VR upgrade fails with VR config: execution failed: >>>>>>> "/opt/cloud/bin/createipAlias.sh" >>>>>> >>>>>>> Just checked, >>>>>>> >>>>>>> It is fixed in 4.5 but wasn't backported into 4.4. It is old code and >>>>>>> the problem is in 4.3 as well. >>>>>>> >>>>>>> On Wed, Oct 22, 2014 at 9:39 AM, Nux! wrote: >>>>>>>> Jayapal, >>>>>>>> >>>>>>>> Thanks, but why are we releasing a faulty systemvm template? Can't we upload a >>>>>>>> new one without the typo? >>>>>>>> >>>>>>>> Lucian >>>>>>>> >>>>>>>> -- >>>>>>>> Sent from the Delta quadrant using Borg technology! >>>>>>>> >>>>>>>> Nux! >>>>>>>> www.nux.ro >>>>>>>> >>>>>>>> ----- Original Message ----- >>>>>>>>> From: "Jayapal Reddy Uradi" >>>>>>>>> To: "" >>>>>>>>> Sent: Wednesday, 22 October, 2014 05:52:14 >>>>>>>>> Subject: Re: 431 to 441, VR upgrade fails with VR config: execution failed: >>>>>>>>> "/opt/cloud/bin/createipAlias.sh" >>>>>>>> >>>>>>>>> Hi Nux, >>>>>>>>> >>>>>>>>> There is spelling mistake 'i' instead of 'I' in the file name 'createipAlias.sh' >>>>>>>>> >>>>>>>>> Work around is in VR change createIpAlias.sh -> createipAlias.sh >>>>>>>>> Observe the MS log once the VR entered into Running state stop the MS so that VR >>>>>>>>> won't be destroyed. >>>>>>>>> Now go to VR and change the file name. >>>>>>>>> >>>>>>>>> This issue got fixed in 4.5 CLOUDSTACK-7246 >>>>>>>>> >>>>>>>>> Thanks, >>>>>>>>> Jayapal >>>>>>>>> On 22-Oct-2014, at 6:03 AM, Nux! wrote: >>>>>>>>> >>>>>>>>>> Hi, >>>>>>>>>> >>>>>>>>>> I almost upgraded from 4.3.1 to 4.4.1, everything went smoothly except the VR >>>>>>>>>> upgrade (the other sysvms are fine). It will not upgrade, even if I delete it >>>>>>>>>> and create another, same story: >>>>>>>>>> >>>>>>>>>> On the agent I see: >>>>>>>>>> >>>>>>>>>> 2014-10-22 01:17:17,857 DEBUG [kvm.resource.LibvirtComputingResource] >>>>>>>>>> (agentRequest-Handler-5:null) Executing: >>>>>>>>>> /usr/share/cloudstack-common/scripts/network/domr/router_proxy.sh vr_cfg.sh >>>>>>>>>> 169.254.1.228 -c /var/cache/cloud/VR-5109f323-dc37-4af2-b75d-41dd65acbf93.cfg >>>>>>>>>> 2014-10-22 01:17:17,934 DEBUG [kvm.resource.LibvirtComputingResource] >>>>>>>>>> (agentRequest-Handler-5:null) Exit value is 1 >>>>>>>>>> 2014-10-22 01:17:17,934 DEBUG [kvm.resource.LibvirtComputingResource] >>>>>>>>>> (agentRequest-Handler-5:null) VR config: execution failed: >>>>>>>>>> "/opt/cloud/bin/createipAlias.sh >>>>>>>>>> 289:10.13.208.78:255.255.255.248-224:10.187.71.194:255.255.255.192-", check >>>>>>>>>> /var/log/cloud.log in VR for details >>>>>>>>>> >>>>>>>>>> But the VR is being destroyed and I cannot investigate the /var/log/cloud.log >>>>>>>>>> ... >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On the management log: >>>>>>>>>> >>>>>>>>>> Unable to start instance due to Unable to start VM[DomainRouter|r-443-VM] due to >>>>>>>>>> error in finalizeStart, not retrying >>>>>>>>>> more here http://pastebin.com/raw.php?i=fY7v8Sak >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> Sent from the Delta quadrant using Borg technology! >>>>>>>>>> >>>>>>>>>> Nux! >>>>>>>>>> http://secure-web.cisco.com/1QTvqoF2kC8J2AVldxqw_eHOGu2lEYYQPIXQRv2AfAxFtBJkyYcGU9BExyL8RBhIRG7P2ubiMb3y4pE3uGE1bqL5YsDZRudJJY4-06h0_ISiM0scnTIC5qgQLx3NI9chTB64l33iEIMZFcsu49mvxV7PadSYmEtNCre8_xzMds-I/http%3A%2F%2Fwww.nux.ro >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>> >> Daan >>> >>> >>> >>> -- >>> Daan > > > > -- > Daan