Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 0B1FC200B27 for ; Wed, 8 Jun 2016 06:37:03 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 09A8B160A4F; Wed, 8 Jun 2016 04:37:03 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 2BDDD160A36 for ; Wed, 8 Jun 2016 06:37:02 +0200 (CEST) Received: (qmail 31403 invoked by uid 500); 8 Jun 2016 04:37:00 -0000 Mailing-List: contact users-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cloudstack.apache.org Delivered-To: mailing list users@cloudstack.apache.org Received: (qmail 31391 invoked by uid 99); 8 Jun 2016 04:37:00 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Jun 2016 04:37:00 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 8992E18052A for ; Wed, 8 Jun 2016 04:36:59 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.28 X-Spam-Level: * X-Spam-Status: No, score=1.28 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=sg-or-id.20150623.gappssmtp.com Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 9-AW8VzS3Pec for ; Wed, 8 Jun 2016 04:36:56 +0000 (UTC) Received: from mail-oi0-f49.google.com (mail-oi0-f49.google.com [209.85.218.49]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id 5E3A25F245 for ; Wed, 8 Jun 2016 04:36:55 +0000 (UTC) Received: by mail-oi0-f49.google.com with SMTP id e72so310065408oib.1 for ; Tue, 07 Jun 2016 21:36:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sg-or-id.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=Z8Bx4n4JsogMpZnTPsD8ClJ/3X99VWXQTMzP9PXeBTU=; b=N+cGQJJ0d5Eji6PwUWLc2hqZAzp8FBc5ef1XlKgMyk6l++B1uINHu3YQxwnywJkqeD ayErTfeIPnSChHYxLfeSdAPZ8IaIp2w4+yNnbUh19FnmMha1xty5K8YTPNN/OAQFEHt5 AOOul/I5tN+UdEu9wWoh0ZU0rlbXXfJel4dphJuuDVF+hMikeFSgDacI0fqa74JvWss+ DqWuDTfGBM878G0dLaNSC6+7gUuplAcdb8aPgLnOx1JQJDASXUQmy9TZEUuXVKjDRW9y x6K1ZA67K7wsi207tRNMTONulaFZuzuig/B6kd8nQmZ3DrkkKKxnXMQ4CBm9+roy2KH1 y/GQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=Z8Bx4n4JsogMpZnTPsD8ClJ/3X99VWXQTMzP9PXeBTU=; b=Jp6UKZsiVwLQH4Fw6Zj18iU+RjuqiQj+V/QcUZKsrt342zrdEaCddqEBUtKz3UtjoQ 8fdJWKyx7LPTSFtknzeKvlaY89ZTvRWPlSAS3WwQtsJIpXUHPWTQe+l0AE1FHrlBA04/ jlSjt340F9sjltz9Owph1aj4b58p3qjxgaPnXZjxNHPTexvVCx6c79KXkjdduj3g4mBW s4pkf3BqcnkxP9JMx50APV1Fg742PLbNxWUcyu/HkWqe8/ynDW4rKns7bIvalIC46s+2 Yvv3Cw5iSY3ydlMvg/drDdfIogc7/axoeELvEyQonRiuzfJjVQFq1q4NrkOJ3ImaPmWh Lj4Q== X-Gm-Message-State: ALyK8tI/v47UPPhPgzfl3TGQ8ZHboZe4pmrBNHJhZTilVye22xDutn79fxKfNAGoc67bJe/kH4YDzdu1QO4DKg== MIME-Version: 1.0 X-Received: by 10.202.240.68 with SMTP id o65mr1776717oih.0.1465360607827; Tue, 07 Jun 2016 21:36:47 -0700 (PDT) Received: by 10.202.212.195 with HTTP; Tue, 7 Jun 2016 21:36:47 -0700 (PDT) In-Reply-To: <292C43EA54B6154389E16FC7AF57D6682FAFB8C8@MRCSERVER.mistercertified.local> References: <292C43EA54B6154389E16FC7AF57D6682FAFB8C8@MRCSERVER.mistercertified.local> Date: Wed, 8 Jun 2016 12:36:47 +0800 Message-ID: Subject: Re: Upgrading from ACS 4.2 to 4.8 - VR upgrade issue From: Cloud List To: users@cloudstack.apache.org Content-Type: multipart/alternative; boundary=94eb2c08fa667f6f480534bcdabc archived-at: Wed, 08 Jun 2016 04:37:03 -0000 --94eb2c08fa667f6f480534bcdabc Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Sam, Thanks for your reply. My SSVM and CPVM seems to work fine -- although I can't verify if they are really using the new template or not, but my VR doesn't work even after I destroy the VR and restart the network with clean-up option. So the VR is never able to be started up after the upgrade. It kept on "Starting" state and agent.log file shows it keeps on trying to connect to the link local IP but never able to connect. I tested the upgrade on a staging environment with just 1 VR, I have reverted back the setup to 4.2 and now re-doing the upgrade again for the second attempt, will see if it works. My production has around 10+ networks so I need to ensure this works before I initiate the upgrade on my production server. Thank you. On Wed, Jun 8, 2016 at 12:26 PM, Sam Ceylani wrote: > Same thing happened to me, upgrading from 4.5.2 to 4.8 and I had to > restart network with clean-up option checked for each network which > rebuilds the router VM. If your SSVM works > And if you can test it then I don=E2=80=99t see any problem rebuilding > network(router vm) with new template which took about 30 minutes for abou= t > 20 networks in total...may not be an option > for large installations...how many routers you are running? > > -----Original Message----- > From: Cloud List [mailto:cloud-list@sg.or.id] > Sent: Wednesday, June 8, 2016 12:23 AM > To: users@cloudstack.apache.org; dev@cloudstack.apache.org > Subject: Re: Upgrading from ACS 4.2 to 4.8 - VR upgrade issue > > Dear all, > > Could it be the VR is not able to use the new systemVM template because w= e > registered the template as Routing =3D NO? Will it resolve the problem if > during upgrade, we register the template as Routing =3D YES? > > Based on the upgrade instruction at > > http://cloudstack-release-notes.readthedocs.io/ja/stable/upgrade/upgrade-= 4.2.html > , it says that routing option should be "no", is this correct? Since the > systemVM template will also be used by VR? > > Any advice is appreciated. > > Looking forward to your reply, thank you. > > Cheers. > > -ip- > > > On Tue, Jun 7, 2016 at 10:22 AM, Cloud List wrote: > > > Hi Kirk, > > > > Thanks for your reply. > > > > Here's the status of the CPVM and SSVM in the UI: > > > > Name v-2-VM > > ID fc6d23bf-58ac-4641-af9b-506d1dc46df3 > > State Running > > Type Console Proxy VM > > Zone sc-test-cs42-zone > > Public IP Address 192.168.0.162 > > Private IP Address 192.168.0.160 > > Link Local IP Address 169.254.3.147 > > Host sc-test-kvm-03 > > Gateway 192.168.0.1 > > Created 31 May 2016 15:24:20 > > Active Sessions 0 > > > > Name s-29-VM > > ID d26f54f8-1c1f-4f3d-9862-fc0405159620 > > State Running > > Type Secondary Storage VM > > Zone sc-test-cs42-zone > > Public IP Address 192.168.0.161 > > Private IP Address 192.168.0.151 > > Link Local IP Address 169.254.1.207 > > Host sc-test-kvm-03 > > Gateway 192.168.0.1 > > Created 06 Jun 2016 00:31:04 > > Active Sessions > > > > Both system VMs seem to be on "Running" state but I can't verify what > > template version they are using, whether they are already on 4.6/4.8 > > template or still using 4.2 template, are you able to advise how can I > > tell? The SSVM creation date seem to be after we performed the upgrade > > but the CPVM created date is before the upgrade. > > > > How to ensure that all systemVMs using the new version template? Shall > > I destroy the system VMs so new ones will be created, or shall I > > re-run the /usr/bin/cloudstack-sysvmadm again in full? > > > > Looking forward to your reply, thank you. > > > > Cheers. > > > > -ip- > > > > > > > > On Tue, Jun 7, 2016 at 7:22 AM, Kirk Kosinski > > > > wrote: > > > >> Hi, what is the status of the CPVM and SSVM in the UI? Were they > >> really upgraded successfully? > >> > >> Also, are there any errors in the management-server.log? > >> > >> kirk.kosinski@shapeblue.com > >> www.shapeblue.com > >> 53 Chandos Place, Covent Garden, London WC2N 4HS @shapeblue > >> > >> > >> > >> -----Original Message----- > >> From: Cloud List [mailto:cloud-list@sg.or.id] > >> Sent: Monday, June 06, 2016 9:51 AM > >> To: users@cloudstack.apache.org; dev@cloudstack.apache.org > >> Subject: Upgrading from ACS 4.2 to 4.8 - VR upgrade issue > >> > >> Hi, > >> > >> I tried upgrading our CloudStack 4.2.0 on our test environment to 4.8.= 0, > >> and I am having issues on VR upgrade. I followed the upgrade > instructions > >> at below URL: > >> > >> > >> > http://cloudstack-release-notes.readthedocs.io/ja/stable/upgrade/upgrade-= 4.2.html > >> > >> On the last step to restart all the system VMs and VRs, it seems that > the > >> cloudstack-sysvmadm script managed to restart the system VMs (SSVM and > >> CPVM) but not the VR. > >> > >> # nohup cloudstack-sysvmadm -d IPaddress -u cloud -p password -a > > >> sysvm.log 2>&1 & > >> > >> Here's the output of the sysvm.log file: > >> > >> =3D=3D=3D=3D > >> nohup: ignoring input > >> /usr/bin/cloudstack-sysvmadm: line 21: /etc/rc.d/init.d/functions: No > >> such file or directory > >> > >> Stopping and starting 1 secondary storage vm(s)... > >> Done stopping and starting secondary storage vm(s) > >> > >> Stopping and starting 1 console proxy vm(s)... > >> Done stopping and starting console proxy vm(s) . > >> > >> Stopping and starting 1 running routing vm(s)... > >> *ERROR: Failed to restart domainRouter with id 5* > >> > >> Done restarting router(s). > >> =3D=3D=3D=3D > >> > >> Output of the cloud.log file: > >> > >> =3D=3D=3D=3D > >> [2016.06.05-22.28.40] Stopping and starting 1 secondary storage vm(s).= .. > >> [2016.06.05-22.28.40] INFO: Stopping secondary storage vm with id 3 > >> [2016.06.05-22.28.46] INFO: Starting secondary storage vm with id 3 > >> [2016.06.05-23.29.00] ERROR: Failed to startSystemVm id=3D3; jobId is > >> 121c5d89-745a-4e8e-9f96-0b348ef42abf > >> [2016.06.05-23.29.00] ERROR: Failed to start secondary storage vm with > id > >> 3 [2016.06.05-23.29.00] ERROR: Failed to start secondary storage vm > with id > >> 3 [2016.06.05-23.29.00] Done stopping and starting secondary storage > vm(s). > >> [2016.06.05-23.29.00] Stopping and starting 1 console proxy vm(s)... > >> [2016.06.05-23.29.00] INFO: Stopping console proxy with id 2 > >> [2016.06.05-23.29.06] INFO: Starting console proxy vm with id 2 > >> [2016.06.05-23.30.49] Done stopping and starting console proxy vm(s) . > >> [2016.06.05-23.30.49] Stopping and starting 1 running routing vm(s)... > >> [2016.06.05-23.30.49] INFO: Restarting router with id 5 > >> [2016.06.06-00.30.59] ERROR: Failed to restart domainRouter with id 5; > >> jobId 4a3f681e-c4a6-4856-9d42-0d3b79bffdae > >> [2016.06.06-00.31.04] Done restarting router(s). > >> =3D=3D=3D=3D > >> > >> Initially I noted that the VR remains in 4.2.0 version (instead of the > >> expected 4.8.0 version), tried to destroy the router so it'll be > recreated > >> but it doesn't get created successfully. > >> > >> Tried to run the cloudstack-sysvmadm manually with the -r option to > >> restart only the VR, and the problem still persists. > >> > >> At the moment, the version of the VR is "UNKNOWN" and the "Require > >> Upgrade" > >> state is "Yes". > >> > >> Any advice how to make the VR back up and running? > >> > >> Looking forward to your reply, thank you. > >> > >> Cheers. > >> > >> -ip- > >> > > > > > --94eb2c08fa667f6f480534bcdabc--