Re: failed to start virtual router

2014-05-01 Thread Ian Young
I downgraded to 4.2.1, restored the database backup I made during the initial upgrade to 4.3, copied the rpmsave files over /etc/cloudstack/agent/agent.properties and /etc/cloudstack/managment/db.properties, and started the agent and management services. The service_ip field in the mshost table ch

Re: failed to start virtual router

2014-04-30 Thread Ian Young
I read this article about upgrading the system VMs: https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+4.2+(KVM)+System+Vm+Upgrade However, there's just an empty set in the template_host_ref table. Is this no longer used in 4.3? On Wed, Apr 30, 2014 at 5:41 PM, Ian Young wrote:

Re: failed to start virtual router

2014-04-30 Thread Ian Young
I've tried upgrading to 4.3 again. After poking around some more in the database, I've discovered that the KVM system VM template was only 27% downloaded. I think this is why the virtual router was unable to start--the template was incomplete. Is there a way to force it to resume downloading?

Re: failed to start virtual router

2014-04-30 Thread Ian Young
I notice my dashboard says "Management server node 127.0.0.1 is up." It used to have an actual address, not localhost. Could this be causing problems and if so, how can I set it back? On Wed, Apr 30, 2014 at 12:40 PM, Ian Young wrote: > Yes, I replaced the new files with the rpmsave ones, whi

Re: failed to start virtual router

2014-04-30 Thread Ian Young
The address in Infrastructure > Hosts > (management server) is set to the correct IP address, not 127.0.0.1. Why are the logs referring to 127.0.0.1? On Wed, Apr 30, 2014 at 3:00 PM, Ian Young wrote: > I notice my dashboard says "Management server node 127.0.0.1 is up." It > used to have an a

Re: failed to start virtual router

2014-04-30 Thread Ian Young
Yes, I replaced the new files with the rpmsave ones, which allowed the agent to start. However, most of the functions in the management console fail. On Wed, Apr 30, 2014 at 12:34 PM, stevenliang wrote: > Do you have the file db.properties.rpmsave on management server and > agent.properties.rp

Re: failed to start virtual router

2014-04-30 Thread stevenliang
Do you have the file db.properties.rpmsave on management server and agent.properties.rpmsave on agents? If so, and the date is correct, you can use it rather than db.properties and agent.properties. And then restart management and agent services. On 30/04/14 03:26 PM, Ian Young wrote: Yes, I r

Re: failed to start virtual router

2014-04-30 Thread Ian Young
Yes, I restored the DB from the backup. When I try to start the router it says: Resource [Host:1] is unreachable: Host 1: Unable to start instance due to Unable to start VM[DomainRouter|r-63-VM] due to error in finalizeStart, not retrying The management server log says: 2014-04-30 12:20:52,485

Re: failed to start virtual router

2014-04-30 Thread stevenliang
I think you had backed up database, when you upgraded. When you downgraded CS, you also need to restore DB. On 30/04/14 02:58 PM, Ian Young wrote: I think my problem stems from a partially downloaded system VM template. I just noticed systemvm-kvm-4.3 is stuck at 27% downloaded. It must have b

Re: failed to start virtual router

2014-04-30 Thread Ian Young
I think my problem stems from a partially downloaded system VM template. I just noticed systemvm-kvm-4.3 is stuck at 27% downloaded. It must have been interrupted during the upgrade to 4.3. At the moment I've rolled back to 4.2.1 with a somewhat usable management interface, although the system V

Re: failed to start virtual router

2014-04-29 Thread Ian Young
Ok, so I've figured out a way to identify volumes in the filesystem. For instance, /var/storage/primary/4d324e1a-e3a6-4da8-9c4d-44ad723482ad is the root volume for an instance I want to back up. Is this in qcow2 format or something else? I'm using KVM. On Tue, Apr 29, 2014 at 7:38 PM, Ian Youn

Re: failed to start virtual router

2014-04-29 Thread Ian Young
Now I can't start cloudstack-agent. The agent.log says: Unable to start agent: Failed to get private nic name I know this is because the network bridge is no longer set up correctly. I used to have a cloud0 and a cloudbr0 interface. Now I only have cloudbr0. I haven't changed my network confi

Re: failed to start virtual router

2014-04-29 Thread ma y
I got the same problem, and how to downgrade CS 4.3.0 to 4.2.1 safely? 2014-04-30 8:45 GMT+08:00 Ian Young : > Ok, my Cloudstack installation is now so broken that I think it's probably > best to backup all my instances and templates, wipe the databases, and > start from scratch. However, I can

Re: failed to start virtual router

2014-04-29 Thread Ian Young
Ok, my Cloudstack installation is now so broken that I think it's probably best to backup all my instances and templates, wipe the databases, and start from scratch. However, I can't take snapshots or download volumes anymore. What's causing these errors? 2014-04-29 17:40:51,264 DEBUG [o.a.c.s.m

Re: failed to start virtual router

2014-04-29 Thread Ian Young
I downgraded to 4.2.1 again but cloudstack-management won't start because the database is version 4.3. Is it safe to restore the database backup I made prior to this whole process? In the meantime I have destroyed and created system VMs, so I'm not sure it's a good idea. On Apr 29, 2014 3:09 PM, "I

Re: failed to start virtual router

2014-04-29 Thread Ian Young
@stevenliang: I take it back--you can't set the VM size when you register the template. On Tue, Apr 29, 2014 at 3:02 PM, motty cruz wrote: > yes, you would have to shutdown the router, then click on "Change Service > Offering" > restart the VR. > > To Ian, > > I suspect you forgot the last step

Re: failed to start virtual router

2014-04-29 Thread motty cruz
yes, you would have to shutdown the router, then click on "Change Service Offering" restart the VR. To Ian, I suspect you forgot the last step: " cloudstack-setup-management" that would fix your issue, I think, Thanks, --- I downgraded to 4.2.1 and then upgraded to 4.3. Now the cloudstack-mana

Re: failed to start virtual router

2014-04-29 Thread stevenliang
oh, then change service offering for vr? On 29/04/14 05:53 PM, motty cruz wrote: for my VR, I created a new "System Offering For Software Router" CPU in (MHz) 1.00GHz Memory (in MB) 1.00GB this are my current offerings, I'm sure the more RAM and CPU better performance. Thanks, On Tue, Ap

Re: failed to start virtual router

2014-04-29 Thread Ian Young
I downgraded to 4.2.1 and then upgraded to 4.3. Now the cloudstack-management service can't start because it can't connect to the database. 2014-04-29 14:51:36,424 ERROR [c.c.u.d.Merovingian2] (main:null) Unable to get a new db connection Caused by: java.sql.SQLException: Access denied for user '

Re: failed to start virtual router

2014-04-29 Thread Ian Young
I think you can do that when you register the new templates in step 1 of this guide: http://docs.cloudstack.apache.org/projects/cloudstack-release-notes/en/latest/rnotes.html#upgrade-from-4-2-x-to-4-3 On Tue, Apr 29, 2014 at 2:53 PM, motty cruz wrote: > for my VR, I created a new > > "System

Re: failed to start virtual router

2014-04-29 Thread motty cruz
for my VR, I created a new "System Offering For Software Router" CPU in (MHz) 1.00GHz Memory (in MB) 1.00GB this are my current offerings, I'm sure the more RAM and CPU better performance. Thanks, On Tue, Apr 29, 2014 at 2:44 PM, stevenliang wrote: > Thank you again, motty. > I didn't noti

Re: failed to start virtual router

2014-04-29 Thread stevenliang
Thank you again, motty. I didn't notice this earlier. BTW, how did you make your vr had 1GB CPU and 512MB RAM? On 29/04/14 05:33 PM, motty cruz wrote: Stevellang, I not sure if you saw this in the forums earlier : http://mail-archives.apache.org/mod_mbox/cloudstack-users/201404.mbox/%3CCALoOYy6

Re: failed to start virtual router

2014-04-29 Thread motty cruz
Stevellang, I not sure if you saw this in the forums earlier : http://mail-archives.apache.org/mod_mbox/cloudstack-users/201404.mbox/%3CCALoOYy6A10bz1zOQQs1VyFb9epqLfhf7mu6hc=c2rfedroy...@mail.gmail.com%3E I don't know if the bug was fixed yet, I will try upgrade in the next couple of days on a t

Re: failed to start virtual router

2014-04-29 Thread stevenliang
Thank you, motty. I am also running kvm. Since that time I failed upgrade, I am still using 4.2.1. I'll try as your advice. On 29/04/14 05:19 PM, motty cruz wrote: Stevenllang, I had the similar issue with VR, I notice it was because I leave the default system specs on the VR, for instance by

Re: failed to start virtual router

2014-04-29 Thread motty cruz
Stevenllang, I had the similar issue with VR, I notice it was because I leave the default system specs on the VR, for instance by default 500MHz on CPU and 128MB on RAM, if you upgrade to at least 1GB on CPU and 512MB of RAM your VR will survive the upgrade from 4.2.1 to 4.3.1. I am running KVM,

Re: failed to start virtual router

2014-04-29 Thread stevenliang
You can check my mail on March 26 "vrouters cannot start after upgrade from 4.2.1 to 4.3" On 29/04/14 04:54 PM, Ian Young wrote: Did rolling back to 4.2 fix the problem? On Tue, Apr 29, 2014 at 1:22 PM, stevenliang wrote: I met your situation before. Finally I rolled back to 4.2 On 29/04

Re: failed to start virtual router

2014-04-29 Thread stevenliang
Yes, I had two zones(one is basic, another is advanced mode). After I upgraded from 4.2.1 to 4.3, the vrouter lost. So I rolled back to 4.2.1, the vrouter came back. On 29/04/14 04:54 PM, Ian Young wrote: Did rolling back to 4.2 fix the problem? On Tue, Apr 29, 2014 at 1:22 PM, stevenliang wr

Re: failed to start virtual router

2014-04-29 Thread Ian Young
Did rolling back to 4.2 fix the problem? On Tue, Apr 29, 2014 at 1:22 PM, stevenliang wrote: > I met your situation before. Finally I rolled back to 4.2 > > > On 29/04/14 04:18 PM, Ian Young wrote: > >> I destroyed the old virtual router and was able to create a new one by >> adding a new insta

Re: failed to start virtual router

2014-04-29 Thread stevenliang
I met your situation before. Finally I rolled back to 4.2 On 29/04/14 04:18 PM, Ian Young wrote: I destroyed the old virtual router and was able to create a new one by adding a new instance. However, this new router also failed to start, citing the same error. After that, the expungement delay

Re: failed to start virtual router

2014-04-29 Thread Ian Young
I destroyed the old virtual router and was able to create a new one by adding a new instance. However, this new router also failed to start, citing the same error. After that, the expungement delay elapsed and the virtual router was expunged, so now I have none. On Mon, Apr 28, 2014 at 8:52 PM,

failed to start virtual router

2014-04-28 Thread Ian Young
I upgraded from 4.2.1 to 4.3.0 tonight, following the instructions here: http://docs.cloudstack.apache.org/projects/cloudstack-release-notes/en/latest/rnotes.html#upgrade-from-4-2-x-to-4-3 At the last step, I tried to restart the system VMs. The virtual router failed to start. Here is the messa