You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Alessandro Caviglione <c....@gmail.com> on 2015/12/29 22:24:58 UTC

Stuck Upgrading Virtual Router

Hi all,
I'm upgrading my little infrastructure from CS 4.4.4 to 4.5.2.
All worked fine but now the management server is stuck at upgrading VR
stage.
I run "nohup cloudstack-sysvmadm -d IPaddress -u cloud -p password -a >
sysvm.log 2>&1 &" command and the system replied:

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) .

After that, CS starts to upgrade Routing vm(s):

Stopping and starting 19 running routing vm(s)...


Now, after some hours, CS is still there.... but I see that all the VR and
VPC has been upgraded to 4.5.2.

How can I conclude the upgrade process?
Can I simply kill the cloudstack-sysvmadm process?

Thanks

Re: Stuck Upgrading Virtual Router

Posted by Dag Sonstebo <Da...@shapeblue.com>.
Alessandro,

if all your VRs are showing with “requires upgrade” set to "no" you should be OK.

Regards,
Dag Sonstebo
Cloud Architect
ShapeBlue






[ShapeBlue]<http://www.shapeblue.com>
Dag Sonstebo
ShapeBlue

d:       | s: +44 203 603 0540<tel:|%20s:%20+44%20203%20603%200540>

e:      Dag.Sonstebo@shapeblue.com | t: <mailto:Dag.Sonstebo@shapeblue.com%20|%20t:>     |      w:      www.shapeblue.com<http://www.shapeblue.com>

a:      53 Chandos Place, Covent Garden London WC2N 4HS UK


[cid:image9dc4fc.png@e5e23edb.43bf8c81]


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 SA Pty Ltd is a company registered by The Republic of South Africa and is traded 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.




On 30/12/2015, 11:07, "Alessandro Caviglione" <c....@gmail.com> wrote:

>Hi Andrei,
>how can I find the VR not started properly?
>I see that all system vms and VRs are already using the new template...
>
>Thanks
>
>On Wed, Dec 30, 2015 at 11:41 AM, Andrei Mikhailovsky <an...@arhont.com>
>wrote:
>
>> Hi Alessandro,
>>
>> I think I had a similar issue, which was caused by one of the VRs not
>> starting properly. I have fixed this by finding the VR and restarting its
>> network with the clean up option.
>>
>> The cloudstackc-sysvmadm is there to make things easier during the
>> upgrade. You can pretty much do it manually and it will achieve the same
>> thing. When you restart the network with the clean up option, ACS would
>> attempt to kill the existing router and recreate it. As you now have the
>> new systemvm template, the VR and system vms will be created from that
>> template.
>>
>> I would also take a look at all VRs and system vms to make sure they use
>> the new systemvm template.
>>
>> Andrei
>>
>> ----- Original Message -----
>> > From: "Alessandro Caviglione" <c....@gmail.com>
>> > To: "users" <us...@cloudstack.apache.org>
>> > Sent: Tuesday, 29 December, 2015 21:24:58
>> > Subject: Stuck Upgrading Virtual Router
>>
>> > Hi all,
>> > I'm upgrading my little infrastructure from CS 4.4.4 to 4.5.2.
>> > All worked fine but now the management server is stuck at upgrading VR
>> > stage.
>> > I run "nohup cloudstack-sysvmadm -d IPaddress -u cloud -p password -a >
>> > sysvm.log 2>&1 &" command and the system replied:
>> >
>> > 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) .
>> >
>> > After that, CS starts to upgrade Routing vm(s):
>> >
>> > Stopping and starting 19 running routing vm(s)...
>> >
>> >
>> > Now, after some hours, CS is still there.... but I see that all the VR
>> and
>> > VPC has been upgraded to 4.5.2.
>> >
>> > How can I conclude the upgrade process?
>> > Can I simply kill the cloudstack-sysvmadm process?
>> >
>> > Thanks
>>
Find out more about ShapeBlue and our range of CloudStack related services:
IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//> | CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/> | CloudStack Software Engineering<http://shapeblue.com/cloudstack-software-engineering/>
CloudStack Infrastructure Support<http://shapeblue.com/cloudstack-infrastructure-support/> | CloudStack Bootcamp Training Courses<http://shapeblue.com/cloudstack-training/>

Re: Stuck Upgrading Virtual Router

Posted by Alessandro Caviglione <c....@gmail.com>.
Hi Andrei,
how can I find the VR not started properly?
I see that all system vms and VRs are already using the new template...

Thanks

On Wed, Dec 30, 2015 at 11:41 AM, Andrei Mikhailovsky <an...@arhont.com>
wrote:

> Hi Alessandro,
>
> I think I had a similar issue, which was caused by one of the VRs not
> starting properly. I have fixed this by finding the VR and restarting its
> network with the clean up option.
>
> The cloudstackc-sysvmadm is there to make things easier during the
> upgrade. You can pretty much do it manually and it will achieve the same
> thing. When you restart the network with the clean up option, ACS would
> attempt to kill the existing router and recreate it. As you now have the
> new systemvm template, the VR and system vms will be created from that
> template.
>
> I would also take a look at all VRs and system vms to make sure they use
> the new systemvm template.
>
> Andrei
>
> ----- Original Message -----
> > From: "Alessandro Caviglione" <c....@gmail.com>
> > To: "users" <us...@cloudstack.apache.org>
> > Sent: Tuesday, 29 December, 2015 21:24:58
> > Subject: Stuck Upgrading Virtual Router
>
> > Hi all,
> > I'm upgrading my little infrastructure from CS 4.4.4 to 4.5.2.
> > All worked fine but now the management server is stuck at upgrading VR
> > stage.
> > I run "nohup cloudstack-sysvmadm -d IPaddress -u cloud -p password -a >
> > sysvm.log 2>&1 &" command and the system replied:
> >
> > 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) .
> >
> > After that, CS starts to upgrade Routing vm(s):
> >
> > Stopping and starting 19 running routing vm(s)...
> >
> >
> > Now, after some hours, CS is still there.... but I see that all the VR
> and
> > VPC has been upgraded to 4.5.2.
> >
> > How can I conclude the upgrade process?
> > Can I simply kill the cloudstack-sysvmadm process?
> >
> > Thanks
>

Re: Stuck Upgrading Virtual Router

Posted by Andrei Mikhailovsky <an...@arhont.com>.
Hi Alessandro,

I think I had a similar issue, which was caused by one of the VRs not starting properly. I have fixed this by finding the VR and restarting its network with the clean up option.

The cloudstackc-sysvmadm is there to make things easier during the upgrade. You can pretty much do it manually and it will achieve the same thing. When you restart the network with the clean up option, ACS would attempt to kill the existing router and recreate it. As you now have the new systemvm template, the VR and system vms will be created from that template.

I would also take a look at all VRs and system vms to make sure they use the new systemvm template.

Andrei

----- Original Message -----
> From: "Alessandro Caviglione" <c....@gmail.com>
> To: "users" <us...@cloudstack.apache.org>
> Sent: Tuesday, 29 December, 2015 21:24:58
> Subject: Stuck Upgrading Virtual Router

> Hi all,
> I'm upgrading my little infrastructure from CS 4.4.4 to 4.5.2.
> All worked fine but now the management server is stuck at upgrading VR
> stage.
> I run "nohup cloudstack-sysvmadm -d IPaddress -u cloud -p password -a >
> sysvm.log 2>&1 &" command and the system replied:
> 
> 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) .
> 
> After that, CS starts to upgrade Routing vm(s):
> 
> Stopping and starting 19 running routing vm(s)...
> 
> 
> Now, after some hours, CS is still there.... but I see that all the VR and
> VPC has been upgraded to 4.5.2.
> 
> How can I conclude the upgrade process?
> Can I simply kill the cloudstack-sysvmadm process?
> 
> Thanks