Re: failed to start virtual router
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'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.AncientDataMotionStrategy] > (Job-Executor-11:ctx-0a3ead79 ctx-315eda05) copy object failed: > com.cloud.utils.exception.CloudRuntimeException: Failed to send command, > due to Agent:1, com.cloud.exception.OperationTimedoutException: Commands > 841744457 to Host 1 timed out after 21600 > 2014-04-29 17:40:51,265 DEBUG [o.a.c.s.m.AncientDataMotionStrategy] > (Job-Executor-11:ctx-0a3ead79 ctx-315eda05) copy failed > com.cloud.utils.exception.CloudRuntimeException: > com.cloud.utils.exception.CloudRuntimeException: Failed to send command, > due to Agent:1, com.cloud.exception.OperationTimedoutException: Commands > 841744457 to Host 1 timed out after 21600 > 2014-04-29 17:40:51,269 WARN [o.a.c.s.d.ObjectInDataStoreManagerImpl] > (Job-Executor-11:ctx-0a3ead79 ctx-315eda05) Unsupported data object > (VOLUME, > org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@7bbbd901), no > need to delete from object in store ref table > 2014-04-29 17:40:51,280 ERROR [c.c.a.ApiAsyncJobDispatcher] > (Job-Executor-11:ctx-0a3ead79) Unexpected exception while executing > org.apache.cloudstack.api.command.user.volume.ExtractVolumeCmd > com.cloud.utils.exception.CloudRuntimeException: Failed to copy the volume > from the source primary storage pool to secondary storage. > 2014-04-29 17:40:51,282 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] > (Job-Executor-11:ctx-0a3ead79) Complete async job-501, jobStatus: FAILED, > resultCode: 530, result: > > org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":530,"errortext":"Failed > to copy the volume from the source primary storage pool to secondary > storage."} > > > On Tue, Apr 29, 2014 at 4:15 PM, Ian Young wrote: > > > 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, "Ian Young" wrote: > > > >> @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: " 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-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 'cloud'@ > >>> 'localhost' > >>> (using password: YES) > >>> > >>> Where are the credentials stored? > >>> > >>> > >>> On Tue, Apr 29, 2014 at 2:57 PM, stevenliang > >>> wrote: > >>> > >>> > 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, Apr 29, 2014 at 2:44 PM, stevenliang > > >>> >> wrote: > >>> >> > >>> >> 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/% > >>> 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 testing > cluster, > >>> will > >>> report back if the bug was fixed. > >>> > >>> Thanks, > >>> > >>> > >>> On Tue, Apr 29, 2014 at 2:25 PM, stevenliang < > stevenli...@yesup.com > >>> > > >>> wrote: > >>> > >>> Thank you, motty. > >>> > >>> > I am also running kvm. Since that time I failed upgrade, I am > still > >>> > us
Message: Publickey authentication failed
Hi The log for creating VR: 2014-04-25 09:43:50,898 INFO [c.c.h.v.r.VmwareResource] (DirectAgent-461:ctx-a8c5fa15 10.10.5.205) Executing resource NetworkUsageCommand 2014-04-25 09:43:50,959 DEBUG [c.c.n.ExternalDeviceUsageManagerImpl] (ExternalNetworkMonitor-1:ctx-2cbdf80b) External devices stats collector is running... 2014-04-25 09:43:50,964 DEBUG [c.c.n.ExternalDeviceUsageManagerImpl] (ExternalNetworkMonitor-1:ctx-2cbdf80b) Network 205 is not configured for external networking, so skipping usage check. 2014-04-25 09:43:50,965 DEBUG [c.c.n.ExternalDeviceUsageManagerImpl] (ExternalNetworkMonitor-1:ctx-2cbdf80b) Network 207 is not configured for external networking, so skipping usage check. 2014-04-25 09:43:50,967 DEBUG [c.c.n.ExternalDeviceUsageManagerImpl] (ExternalNetworkMonitor-1:ctx-2cbdf80b) Network 232 is not configured for external networking, so skipping usage check. 2014-04-25 09:43:50,971 DEBUG [c.c.n.ExternalDeviceUsageManagerImpl] (ExternalNetworkMonitor-1:ctx-2cbdf80b) Network 215 is not configured for external networking, so skipping usage check. 2014-04-25 09:43:50,972 DEBUG [c.c.n.ExternalDeviceUsageManagerImpl] (ExternalNetworkMonitor-1:ctx-2cbdf80b) Network 234 is not configured for external networking, so skipping usage check. 2014-04-25 09:43:51,031 DEBUG [c.c.s.s.SnapshotSchedulerImpl] (SnapshotPollTask:ctx-1e79dc01) Snapshot scheduler.poll is being called at 2014-04-25 01:43:51 GMT 2014-04-25 09:43:51,032 DEBUG [c.c.s.s.SnapshotSchedulerImpl] (SnapshotPollTask:ctx-1e79dc01) Got 0 snapshots to be executed at 2014-04-25 01:43:51 GMT 2014-04-25 09:43:51,417 ERROR [c.c.h.v.r.VmwareResource] (DirectAgent-461:ctx-a8c5fa15 10.10.5.205) Unable to execute NetworkUsage command on DomR (10.10.5.241), domR may not be ready yet. failure due to Exception: java.io.IOException Message: Publickey authentication failed. java.io.IOException: Publickey authentication failed. at com.trilead.ssh2.auth.AuthenticationManager.authenticatePublicKey(AuthenticationManager.java:262) at com.trilead.ssh2.Connection.authenticateWithPublicKey(Connection.java:444) at com.trilead.ssh2.Connection.authenticateWithPublicKey(Connection.java:497) at com.cloud.utils.ssh.SshHelper.sshExecute(SshHelper.java:141) at com.cloud.utils.ssh.SshHelper.sshExecute(SshHelper.java:37) at com.cloud.hypervisor.vmware.resource.VmwareResource.networkUsage(VmwareResource.java:6768) at com.cloud.hypervisor.vmware.resource.VmwareResource.getNetworkStats(VmwareResource.java:6784) at com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:690) at com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:523) at com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:216) 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.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266) 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: java.io.IOException: Invalid PEM structure, '-BEGIN...' missing at com.trilead.ssh2.crypto.PEMDecoder.parsePEM(PEMDecoder.java:138) at com.trilead.ssh2.crypto.PEMDecoder.decode(PEMDecoder.java:313) at com.trilead.ssh2.auth.AuthenticationManager.authenticatePublicKey(AuthenticationManager.java:171) ... 22 more 2014-04-25 09:43:51,423 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-461:ctx-a8c5fa15) Seq 11-153440938: Response Received: 2014-04-25 09:43:51,423 DEBUG [c.c.a.t.Request] (DirectAgent-461:ctx-a8c5fa15) Seq 11-153440938: Processing: { Ans: , MgmtId: 132129487565621, via: 11, Ver: v1, Flags: 10, [{"com.cloud.agent.api.NetworkUsageAnswer":{"routerName":"r-53-VM","bytesSent":0,"bytesReceived":0,"result":true,"details":"","wait":0}}] } 2014-04-25 09:43:51,423 DEBUG [c.c.a.t.Request] (RouterMonitor-1:ctx-2af2a1
Why my virtual router boot up to runlevel 0 ?
cloudstack 4.3.0 + kvm Because VR can't boot sucessfully,so i use vnc viewer to see what happend when VR is booting. I finally found after boot up , the VR is turn to runlevel 0. What's this mean ? Hope someone can give me some directions. Thks.
4.2.1 update to 4.3.0 and create VR get a problem
I follow this instruction " http://docs.cloudstack.apache.org/projects/cloudstack-release-notes/en/latest/rnotes.html#upgrade-from-4-2-0-to-4-3"; to do update work. When create a new VR , i get this : WARN [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) Timed out: /usr/share/cloudstack-common/scripts/vm/hypervisor/kvm/patchviasocket.pl -n r-171-VM -p %template=domP%name=r-171-VM%eth2ip=192.168.28.4%eth2mask=255.255.255.0%gateway=192.168.28.254%eth0ip=10.1.1.1%eth0mask=255.255.255.0%domain= cloud.uc888.cn%dhcprange=10.1.1.1%eth1ip=169.254.1.146%eth1mask=255.255.0.0%type=router%disable_rp_filter=true%dns1=192.168.20.121%dns2=192.168.20.122 . Output is: The log above is kvm agent log. How to resolve it ? Thanks!
Re: When i update 4.2.1 to 4.3.0,console don't work
I updated my CS from 4.2.1 to 4.3.0. Once operation has been completed , the "console" feature in UI can't work yet, then i try your method to change global config "*.realhostip.com"(default) to "realhostip.com" and it works. Hope this can help u .
Re: When i update 4.2.1 to 4.3.0,console don't work
Thk u ! It works. However , is this a bug for 4.3.0 ? 2014-04-02 10:02 GMT+08:00 Amogh Vasekar : > Hi, > > Please change global config "console proxy.url.domain" to realhostip.com > > Thanks, > Amogh > > On 4/1/14 6:59 PM, "ma y" wrote: > > >When i open vm console, i got this info from management server log ,like " > >https://192-168-28-2.*.realhostip.com/...",and it don't work. > >I think the problem is my computer can't resolve this domain name > >"192-168-28-2.*.realhostip.com". > >In CS 4.2.1 , that domain name like "192-168-28-2.realhostip.com" , and > it > >works well. > >So, is this a bug for CS 4.3.0 ? How to fix this? > >Thks! > >
When i update 4.2.1 to 4.3.0,console don't work
When i open vm console, i got this info from management server log ,like " https://192-168-28-2.*.realhostip.com/...",and it don't work. I think the problem is my computer can't resolve this domain name "192-168-28-2.*.realhostip.com". In CS 4.2.1 , that domain name like "192-168-28-2.realhostip.com" , and it works well. So, is this a bug for CS 4.3.0 ? How to fix this? Thks!
Re: 4.2 KVM vnc connect need password?
i-2-148-VM d7584c96-3dca-4e46-9736-9708464ae3d6 CentOS 5.5 (64-bit) 1048576 208896 1 200 hvm destroy restart destroy /usr/libexec/qemu-kvm As you can see,there is no "password" option about vnc. 2013/11/15 卢惠勇 > login the Hypervisor and run "virsh dumpxml s-1-VM",replace "s-1-VM" with > your vm name .you can find the vnc password > > > 2013/11/15 ma y > > > Hi,everyone. > > My environment :Cloudstack4.2 + centos6.4(KVM). > > When i use vnc viwer connect a VM,type "192.168.1.100:0",it shows need a > > password to continue. > > Is that a new feature for KVM vnc ? How can i use vnc viwer to connect > it > > and what that "password" is . > > thk you ! > > > > > > -- > > -- > 金山网络运维部-卢惠勇 > 分机:2477 > 手机:15018838589 > qq:313024095 >
4.2 KVM vnc connect need password?
Hi,everyone. My environment :Cloudstack4.2 + centos6.4(KVM). When i use vnc viwer connect a VM,type "192.168.1.100:0",it shows need a password to continue. Is that a new feature for KVM vnc ? How can i use vnc viwer to connect it and what that "password" is . thk you !
Re: How do i remove a redundant secondary storage server in my zone?
Yah,i'm root Admin. [image: 内嵌图片 1] 2013/7/23 Kirk Jantzer > Please use an image sharing service (like imgur) to share images as they > get stripped from the mailing list. > > On a side note, are you doing this as a root Admin? > > Regards, > > Kirk Jantzer > http://about.me/kirkjantzer > On Jul 22, 2013 8:39 PM, "ma y" wrote: > > > [image: 内嵌图片 1]As you can see,i can't delete the template for there's no > > button to use.. > > Is that a bug ? > > > > > > 2013/7/22 Nitin Mehta > > > >> Can you go into templates section and check ? If there you don¹t find > >> template, I would say its a bug and request you to please file it. > >> > >> On 22/07/13 12:58 PM, "ma y" wrote: > >> > >> >Thanks for reply. > >> >However,in the WEB UI,there's no button for removing templates , it's > >> >blank.. > >> >So i'm confuse about that. > >> > > >> > > >> >2013/7/22 Nitin Mehta > >> > > >> >> You need to delete the templates and snapshots on this secondary > >> storage > >> >> and retry deleting > >> >> > >> >> On 22/07/13 7:40 AM, "ma y" wrote: > >> >> > >> >> >The error message is "Can not delete this secondary storage since it > >> >> >contains private templates". > >> >> >Thanks! > >> >> > >> >> > >> > >> > > >
Re: How do i remove a redundant secondary storage server in my zone?
[image: 内嵌图片 1]As you can see,i can't delete the template for there's no button to use.. Is that a bug ? 2013/7/22 Nitin Mehta > Can you go into templates section and check ? If there you don¹t find > template, I would say its a bug and request you to please file it. > > On 22/07/13 12:58 PM, "ma y" wrote: > > >Thanks for reply. > >However,in the WEB UI,there's no button for removing templates , it's > >blank.. > >So i'm confuse about that. > > > > > >2013/7/22 Nitin Mehta > > > >> You need to delete the templates and snapshots on this secondary storage > >> and retry deleting > >> > >> On 22/07/13 7:40 AM, "ma y" wrote: > >> > >> >The error message is "Can not delete this secondary storage since it > >> >contains private templates". > >> >Thanks! > >> > >> > >
Re: How do i remove a redundant secondary storage server in my zone?
Thanks for reply. However,in the WEB UI,there's no button for removing templates , it's blank.. So i'm confuse about that. 2013/7/22 Nitin Mehta > You need to delete the templates and snapshots on this secondary storage > and retry deleting > > On 22/07/13 7:40 AM, "ma y" wrote: > > >The error message is "Can not delete this secondary storage since it > >contains private templates". > >Thanks! > >
How do i remove a redundant secondary storage server in my zone?
The error message is "Can not delete this secondary storage since it contains private templates". Thanks!