cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoff Higginbottom <geoff.higginbot...@shapeblue.com>
Subject RE: System / Virtual router VM state after 4.2 to 4.3 upgrade
Date Tue, 08 Apr 2014 15:52:03 GMT
Appreciate it's too late now, but for the benefit of others who make the same mistake you could
have simply re-seeded secondary storage with the correct template in exactly the same was
you would do when deploying a new 4.3 deployment, the -F tells it to over write any existing
templates

mkdir /mnt/secondary
mount -t nfs nn.nn.nn.nn:/nfs/xxxxxx mnt/secondary
/usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt -m /mnt/secondary
-u http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-xen.vhd.bz2
-h xenserver -F
umount /mnt/secondary

Regards

Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

geoff.higginbottom@shapeblue.com

-----Original Message-----
From: Jonathan Gowar [mailto:jon@whiteheat.org.uk]
Sent: 08 April 2014 14:50
To: users@cloudstack.apache.org
Subject: Re: System / Virtual router VM state after 4.2 to 4.3 upgrade

Hi,

  I had created the templete, but not given it time to download before upgrading.

The short of it is, things got too messy; without enough CS know how, so I started over with
a new 4.3 install.

Thanks for your reply.

Regards,
JOn

On Tue, 2014-04-08 at 11:01 +0000, Geoff Higginbottom wrote:
> Hi Jonathan,
>
> Did you download the new system vm template before upgrading ?
>
> Regards
>
> Geoff Higginbottom
>
> D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581
>
> geoff.higginbottom@shapeblue.com
>
> -----Original Message-----
> From: Jonathan Gowar [mailto:jon@whiteheat.org.uk]
> Sent: 08 April 2014 11:32
> To: users@cloudstack.apache.org
> Subject: System / Virtual router VM state after 4.2 to 4.3 upgrade
>
> Hi,
>
>   I had an issue with the router VM on 4.2 and thought upgrading to 4.3 might resolve
that.  So, I deleted the router VM and upgraded.
>
> Now booting on 4.3, it appears the UI has upgraded, but I have no
> router VM, 2x secondary storage VMs (1 UP and the other Disconnected
> and Expunging), and 1x Console Proxy VM that won't start:-
>
> 2014-04-08 11:29:48,065 DEBUG [c.c.c.CapacityManagerImpl]
> (consoleproxy-1:ctx-a09815ec) release mem from host: 4, old used:
> 1073741824,reserved: 0, total: 16825044992; new used: 0,reserved:0;
> movedfromreserved: false,moveToReserveredfalse
> 2014-04-08 11:29:48,149 WARN  [c.c.c.ConsoleProxyManagerImpl]
> (consoleproxy-1:ctx-a09815ec) Exception while trying to start console
> proxy
> com.cloud.exception.AgentUnavailableException: Resource [Host:4] is
> unreachable: Host 4: Unable to start instance due to can't find ready
> template: 204 for data center 1
>         at
> com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:1072)
>         at
> com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:761)
>         at
> com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:745)
>         at
> com.cloud.consoleproxy.ConsoleProxyManagerImpl.startProxy(ConsoleProxyManagerImpl.java:555)
>         at
> com.cloud.consoleproxy.ConsoleProxyManagerImpl.allocCapacity(ConsoleProxyManagerImpl.java:941)
>         at
> com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:1666)
>         at
> com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:157)
>         at
> com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:118)
>         at com.cloud.vm.SystemVmLoadScanner.access
> $100(SystemVmLoadScanner.java:35)
>         at com.cloud.vm.SystemVmLoadScanner
> $1.reallyRun(SystemVmLoadScanner.java:88)
>         at com.cloud.vm.SystemVmLoadScanner
> $1.runInContext(SystemVmLoadScanner.java:79)
>         at
> org.apache.cloudstack.managed.context.ManagedContextRunnable
> $1.run(ManagedContextRunnable.java:49)
>         at
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext
> $1.call(DefaultManagedContext.java:56)
>         at
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
>         at
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
>         at
> org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
>         at java.util.concurrent.Executors
> $RunnableAdapter.call(Executors.java:471)
>         at java.util.concurrent.FutureTask
> $Sync.innerRunAndReset(FutureTask.java:351)
>         at
> java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
>         at java.util.concurrent.ScheduledThreadPoolExecutor
> $ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165)
>         at java.util.concurrent.ScheduledThreadPoolExecutor
> $ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267)
>         at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
>         at java.util.concurrent.ThreadPoolExecutor
> $Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:701)
> Caused by: com.cloud.utils.exception.CloudRuntimeException: can't find ready template:
204 for data center 1
>         at
> org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreateVolume(VolumeOrchestrator.java:1188)
>         at
> org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.prepare(VolumeOrchestrator.java:1254)
>         at
> com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:962)
>         ... 23 more
>
>
>
> Help with all these issues would be appreciated.
>
> Kind regards,
> Jon
>
> 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/>
> 28th-29th May 2014, Bangalore.
> Classromm<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/>
> 15th-20th September 2014, Region A. Instructor led,
> On-line<http://shapeblue.com/cloudstack-training/>
> 22nd-27th September 2014, Region B. Instructor led,
> On-line<http://shapeblue.com/cloudstack-training/>
> 1st-6th December 2014, Region A. Instructor led,
> On-line<http://shapeblue.com/cloudstack-training/>
> 8th-12th December 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.


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.

Mime
View raw message