Re: unable to deploy ubuntu as guest vm
Hi, installing Ubuntu from ISO is not supported on XenServer [1]. Instead, perform a network installation of Ubuntu on a standalone XenServer, copy the VHD to a web server, and import it as a template to CloudStack. Kirk [1] http://docs.vmd.citrix.com/XenServer/6.2.0/1.0/en_gb/guest.html#install_linux On 02/24/2014 05:27 AM, Tejas Gadaria wrote: > Hi, > > I am using CS 4.0.2 with basic zone, xenserver (6.0.2) as hypervisor. > I am able to deploy Windows 7 vm from ISO but not ubuntu. > Also I tried to deploy centOS 5 from ISO, where graphics doesn't supports. > > Any help would be appreciated. > > > > 2014-02-24 17:33:17,601 DEBUG [xen.resource.CitrixResourceBase] > (DirectAgent-26:null) Creating VIF for i-2-3-VM on nic > [Nic:Guest-10.129.151.107-vlan://untagged] > 2014-02-24 17:33:17,653 DEBUG [xen.resource.CitrixResourceBase] > (DirectAgent-26:null) Created a vif a77b6f5e-c663-f0a4-29fb-4be2511479b8 on > 0 > 2014-02-24 17:33:17,936 DEBUG [agent.manager.DirectAgentAttache] > (DirectAgent-13:null) Ping from 1 > 2014-02-24 17:33:18,320 DEBUG [agent.manager.DirectAgentAttache] > (DirectAgent-148:null) Seq 1-410714114: Executing request > 2014-02-24 17:33:18,549 WARN [xen.resource.CitrixResourceBase] > (DirectAgent-148:null) Ignoring VM i-2-3-VM in transition state starting. > 2014-02-24 17:33:18,549 DEBUG [agent.manager.DirectAgentAttache] > (DirectAgent-148:null) Seq 1-410714114: Response Received: > 2014-02-24 17:33:18,550 DEBUG [agent.transport.Request] > (DirectAgent-148:null) Seq 1-410714114: Processing: { Ans: , MgmtId: > 345049281638, via: 1, Ver: v1, Flags: 10, > [{"ClusterSyncAnswer":{"_clusterId":1,"_newStates":{},"_isExecuted":false,"result":true,"wait":0}}] > } > 2014-02-24 17:33:18,639 DEBUG [cloud.server.StatsCollector] > (StatsCollector-3:null) StorageCollector is running... > 2014-02-24 17:33:18,695 DEBUG [agent.transport.Request] > (StatsCollector-3:null) Seq 4-356385005: Received: { Ans: , MgmtId: > 345049281638, via: 4, Ver: v1, Flags: 10, { GetStorageStatsAnswer } } > 2014-02-24 17:33:18,699 DEBUG [agent.manager.DirectAgentAttache] > (DirectAgent-130:null) Seq 1-410714197: Executing request > 2014-02-24 17:33:19,192 DEBUG [agent.manager.DirectAgentAttache] > (DirectAgent-130:null) Seq 1-410714197: Response Received: > 2014-02-24 17:33:19,193 DEBUG [agent.transport.Request] > (StatsCollector-3:null) Seq 1-410714197: Received: { Ans: , MgmtId: > 345049281638, via: 1, Ver: v1, Flags: 10, { GetStorageStatsAnswer } } > 2014-02-24 17:33:20,792 DEBUG [cloud.server.StatsCollector] > (StatsCollector-3:null) HostStatsCollector is running... > 2014-02-24 17:33:20,800 DEBUG [agent.manager.DirectAgentAttache] > (DirectAgent-129:null) Seq 1-410714198: Executing request > 2014-02-24 17:33:20,976 DEBUG [agent.manager.DirectAgentAttache] > (DirectAgent-129:null) Seq 1-410714198: Response Received: > 2014-02-24 17:33:20,977 DEBUG [agent.transport.Request] > (StatsCollector-3:null) Seq 1-410714198: Received: { Ans: , MgmtId: > 345049281638, via: 1, Ver: v1, Flags: 10, { GetHostStatsAnswer } } > 2014-02-24 17:33:21,712 WARN [xen.resource.CitrixResourceBase] > (DirectAgent-26:null) Task failed! Task record: uuid: > 8f05db8d-5b3e-2fc9-0a35-919336415ca1 >nameLabel: Async.VM.start_on > nameDescription: >allowedOperations: [] >currentOperations: {} > created: Mon Feb 24 17:33:17 IST 2014 > finished: Mon Feb 24 17:33:20 IST 2014 > status: FAILURE > residentOn: com.xensource.xenapi.Host@dadd4d39 > progress: 1.0 > type: > result: >errorInfo: [INVALID_SOURCE, Unable to access a required file in > the specified repository: > file:///tmp/cdrom-repo-5hkOHp/install.amd/xen/vmlinuz., ] > otherConfig: {} >subtaskOf: com.xensource.xenapi.Task@aaf13f6f > subtasks: [] > > 2014-02-24 17:33:21,719 WARN [xen.resource.CitrixResourceBase] > (DirectAgent-26:null) Unable to start VM(i-2-3-VM) on > host(f8701eb8-3edb-4b58-94e4-1889da729595) due to Task failed! Task > record: uuid: 8f05db8d-5b3e-2fc9-0a35-919336415ca1 >nameLabel: Async.VM.start_on > nameDescription: >allowedOperations: [] >currentOperations: {} > created: Mon Feb 24 17:33:17 IST 2014 > finished: Mon Feb 24 17:33:20 IST 2014 > status: FAILURE > residentOn: com.xensource.xenapi.Host@dadd4d39 > progress: 1.0 > type: > result: >errorInfo: [INVALID_SOURCE, Unable to access a required file in > the specified repository: > file:///tmp/cdrom-repo-5hkOHp/install.amd/xen/vmlinuz., ] > otherConfig: {} >subtaskOf: com.xensource.xenapi.Task@aaf13f6f > subtasks: [] > > Task failed! Task record: uuid: > 8f05db8d-5b3e-2fc9-0a35-919336415ca1 >nameLabel: Async.VM.start_on > nameDescripti
Not able to ping to outside network from system VMs
Hi All, I am setting up a 2-node cloudstack environment. Management Server :10.44.189.125 Host Server : 10.44.65.143 I am able to see the system VMs in running state. But not able ping to outside network from system VMs. I am not able to ping to corporate DNS or Google DNS from system VMs. Also not able to ping gateway from system VMs. Health Check : root@s-20-VM:/usr/local/cloud/systemvm# ./ssvm-check.sh First DNS server is 8.8.8.8 PING 8.8.8.8 (8.8.8.8): 56 data bytes 64 bytes from 10.44.188.14: Destination Host Unreachable Vr HL TOS Len ID Flg off TTL Pro cks Src Dst Data 4 5 00 5400 0 0040 40 01 5f64 10.44.188.14 8.8.8.8 64 bytes from 10.44.188.14: Destination Host Unreachable Vr HL TOS Len ID Flg off TTL Pro cks Src Dst Data 4 5 00 5400 0 0040 40 01 5f64 10.44.188.14 8.8.8.8 --- 8.8.8.8 ping statistics --- 2 packets transmitted, 0 packets received, 100% packet loss WARNING: cannot ping DNS server route follows Kernel IP routing table Destination Gateway Genmask Flags Metric RefUse Iface 8.8.8.8 10.44.188.3 255.255.255.255 UGH 0 00 eth1 10.44.188.0 0.0.0.0 255.255.254.0 U 0 00 eth1 10.44.188.0 0.0.0.0 255.255.254.0 U 0 00 eth2 10.44.188.0 0.0.0.0 255.255.254.0 U 0 00 eth3 169.254.0.0 0.0.0.0 255.255.0.0 U 0 00 eth0 0.0.0.0 10.44.188.3 0.0.0.0 UG0 00 eth2 ERROR: DNS not resolving download.cloud.com resolv.conf follows nameserver 8.8.8.8 nameserver 8.8.8.8 root@s-20-VM:/usr/local/cloud/systemvm# Route information on system VM : root@s-20-VM:/usr/local/cloud/systemvm# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric RefUse Iface 8.8.8.8 10.44.188.3 255.255.255.255 UGH 0 00 eth1 10.44.188.0 0.0.0.0 255.255.254.0 U 0 00 eth1 10.44.188.0 0.0.0.0 255.255.254.0 U 0 00 eth2 10.44.188.0 0.0.0.0 255.255.254.0 U 0 00 eth3 169.254.0.0 0.0.0.0 255.255.0.0 U 0 00 eth0 0.0.0.0 10.44.188.3 0.0.0.0 UG0 00 eth2 root@s-20-VM:/usr/local/cloud/systemvm# Please help me in getting out of this issue. Thanks, Jitendra DISCLAIMER == This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.
RE: Unable to deploy vm
Hi, Root cause and workaround are listed in the bug details @ https://issues.apache.org/jira/browse/CLOUDSTACK-1403?focusedCommentId=13588714&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13588714 Analysis & Root cause:- Due to connection issues the first attempt to download template from secondary storage failed while importing OVA template. This left a stale template object in the datacenter. Next attempt to download the template has returned success as only existance of template with the specific uuid is checked. No more attempts made to setup the template again. The answer shows template size as 0. Atleast at this point the corruption in template should have been detected. The answer from logs is - [{"storage.PrimaryStorageDownloadAnswer":{"installPath":"e372770297f73702b26a7898d041f3f8","templateSize":0,"result":true,"wait":0}}] } Any subsequent VM deployment would look to create a volume from this template which fails as expected. After a successful import of OVA on primary storage, a snapshot is taken to create a base snapshot from which volumes are created. But due to IOException encountered while uploading the file to URL this snapshot attempt was not made. Fix:- Handle IOException while uploading template to primary storage URL and cleanup stale template. Working on unit testing now. We have work around for this issue. Delete the stale template that was created in datacenter due to failed PrimaryStorageDownloadCommand. Subsequently a template would be setup again freshly. Thanks, Sailaja.M -Original Message- From: Tejas Gadaria [mailto:refond.g...@gmail.com] Sent: 27 February 2014 10:35 To: users@cloudstack.apache.org Subject: Re: Unable to deploy vm Hi, thanks for replay, Is there any workaround for this ? OR how can I update 4.0.2 to 4.1.0 ? Regards, Tejas On Wed, Feb 26, 2014 at 2:55 PM, Sailaja Mada wrote: > Hi, > > Error log seems to be same as the bug @ > https://issues.apache.org/jira/browse/CLOUDSTACK-1403 - This got fixed > in > 4.1.0 . > > Thanks, > Sailaja.M > > > -Original Message- > From: Tejas Gadaria [mailto:refond.g...@gmail.com] > Sent: 26 February 2014 13:21 > To: users@cloudstack.apache.org > Subject: Unable to deploy vm > > Hi, > > I am using CS 4.0.3 with vmware hypervisor. > > SSVM and CPVM is running both public and private IP are pinging from > management server. > > while trying to deploy vm from template, it.s giving , > > 2014-02-26 12:50:18,182 ERROR [vmware.resource.VmwareResource] > (DirectAgent-418:10.129.150.22) Unable to find template base snapshot, > invalid template > 2014-02-26 12:50:18,182 ERROR [vmware.resource.VmwareResource] > (DirectAgent-418:10.129.150.22) CreateCommand failed due to Exception: > java.lang.Exception > Message: Unable to find template base snapshot, invalid template > > java.lang.Exception: Unable to find template base snapshot, invalid > template > at > > com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:3756) > at > > com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:335) > at > > com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:191) > 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:1110) > at > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) > at java.lang.Thread.run(Thread.java:679) > 2014-02-26 12:50:18,183 DEBUG [agent.manager.DirectAgentAttache] > (DirectAgent-486:null) Seq 28-1947012159: Response Received: > 2014-02-26 12:50:18,183 DEBUG [agent.transport.Request] > (StatsCollector-1:null) Seq 28-1947012159: Received: { Ans: , MgmtId: > 345051457089, via: 28, Ver: v1, Flags: 10, { GetHostStatsAnswer } } > 2014-02-26 12:50:18,183 DEBUG [agent.manager.DirectAgentAttache] > (DirectAgent-418:null) Seq 28-1947012160: Response Received: > 2014-02-26 12:50:18,183 DEBUG [agent.transport.Request] > (DirectAgent-418:null) Seq 28-1947012160: Processing: { Ans: , MgmtId: > 345051457089, via: 28, Ver: v1, Flags: 110, > > [{"storage.CreateAnswer":{"requestTemplateReload":false,"result":false,"details":"Exception: > java.lang.Exception\nMessage: java.lang.Exception: Unable to find > template base
RE: Unable to deploy vm
Please follow the instructions given at : [1] to upgrade from 4.0.x to 4.1.0: [1]: http://svn.apache.org/repos/asf/cloudstack/docsite/html/docs/en-US/Apache_CloudStack/4.1.0/html/Release_Notes/upgrade-instructions.html#upgrade-from-4.0-to-4.1 Thanks, Sanjeev -Original Message- From: Tejas Gadaria [mailto:refond.g...@gmail.com] Sent: Thursday, February 27, 2014 11:48 AM To: d...@cloudstack.apache.org; users@cloudstack.apache.org Subject: Fwd: Unable to deploy vm Hi, thanks for replay, Is there any workaround for this ? OR how can I update 4.0.2 to 4.1.0 ? Regards, Tejas On Wed, Feb 26, 2014 at 2:55 PM, Sailaja Mada wrote: > Hi, > > Error log seems to be same as the bug @ > https://issues.apache.org/jira/browse/CLOUDSTACK-1403 - This got fixed > in > 4.1.0 . > > Thanks, > Sailaja.M > > > -Original Message- > From: Tejas Gadaria [mailto:refond.g...@gmail.com] > Sent: 26 February 2014 13:21 > To: users@cloudstack.apache.org > Subject: Unable to deploy vm > > Hi, > > I am using CS 4.0.3 with vmware hypervisor. > > SSVM and CPVM is running both public and private IP are pinging from > management server. > > while trying to deploy vm from template, it.s giving , > > 2014-02-26 12:50:18,182 ERROR [vmware.resource.VmwareResource] > (DirectAgent-418:10.129.150.22) Unable to find template base snapshot, > invalid template > 2014-02-26 12:50:18,182 ERROR [vmware.resource.VmwareResource] > (DirectAgent-418:10.129.150.22) CreateCommand failed due to Exception: > java.lang.Exception > Message: Unable to find template base snapshot, invalid template > > java.lang.Exception: Unable to find template base snapshot, invalid > template > at > > com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:3756) > at > > com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:335) > at > > com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:191) > 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:1110) > at > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) > at java.lang.Thread.run(Thread.java:679) > 2014-02-26 12:50:18,183 DEBUG [agent.manager.DirectAgentAttache] > (DirectAgent-486:null) Seq 28-1947012159: Response Received: > 2014-02-26 12:50:18,183 DEBUG [agent.transport.Request] > (StatsCollector-1:null) Seq 28-1947012159: Received: { Ans: , MgmtId: > 345051457089, via: 28, Ver: v1, Flags: 10, { GetHostStatsAnswer } } > 2014-02-26 12:50:18,183 DEBUG [agent.manager.DirectAgentAttache] > (DirectAgent-418:null) Seq 28-1947012160: Response Received: > 2014-02-26 12:50:18,183 DEBUG [agent.transport.Request] > (DirectAgent-418:null) Seq 28-1947012160: Processing: { Ans: , MgmtId: > 345051457089, via: 28, Ver: v1, Flags: 110, > > [{"storage.CreateAnswer":{"requestTemplateReload":false,"result":false,"details":"Exception: > java.lang.Exception\nMessage: java.lang.Exception: Unable to find > template base snapshot, invalid template\nStack: java.lang.Exception: > java.lang.Exception: Unable to find template base snapshot, invalid > template\n\tat > com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareReso > urce.java:3833)\n\tat > > com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(Vmw > areResource.java:335)\n\tat > > com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache > .java:191)\n\tat > > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471 > )\n\tat > java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)\n\t > at java.util.concurrent.FutureTask.run(FutureTask.java:166)\n\tat > > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.a > ccess$101(ScheduledThreadPoolExecutor.java:165)\n\tat > > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.r > un(ScheduledThreadPoolExecutor.java:266)\n\tat > > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.j > ava:1110)\n\tat > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor. > java:603)\n\tat java.lang.Thread.run(Thread.java:679)\nCaused by: > java.lang.Exception: > Unable to find template base snapshot, invalid template\n\tat > com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:3756)\n\t... > 10 more\n","wait":0}}] } > 2014-02-26 12:50:18,183 DEBUG [agent.manager.AgentAttache] > (DirectAgent-418:null) Seq 28-1947012160: No more commands fo
RE: Unable to open Cloud stack 4.2 UI
Hi Shubham Can you please check tomcat6 service is in running state? If not check what is the issue by looking at catalina.out log file. Regards, Sanjeev -Original Message- From: Santosh [mailto:vsj...@gmail.com] Sent: Wednesday, February 26, 2014 3:21 PM To: users@cloudstack.apache.org Subject: Unable to open Cloud stack 4.2 UI Hi Team, I am unable to open the UI for Cloudstack 4.2, I have followed the build steps: http://itsprite.com/how-to-install-cloudstack-4-2-on-centos-6-4/ Also, followed the official installation guide. But the UI doesn't come up. It always says *"type Status reportmessage description The requested resource () is not available."* Please help. Thanks, Shubham
Fwd: Unable to deploy vm
Hi, thanks for replay, Is there any workaround for this ? OR how can I update 4.0.2 to 4.1.0 ? Regards, Tejas On Wed, Feb 26, 2014 at 2:55 PM, Sailaja Mada wrote: > Hi, > > Error log seems to be same as the bug @ > https://issues.apache.org/jira/browse/CLOUDSTACK-1403 - This got fixed in > 4.1.0 . > > Thanks, > Sailaja.M > > > -Original Message- > From: Tejas Gadaria [mailto:refond.g...@gmail.com] > Sent: 26 February 2014 13:21 > To: users@cloudstack.apache.org > Subject: Unable to deploy vm > > Hi, > > I am using CS 4.0.3 with vmware hypervisor. > > SSVM and CPVM is running both public and private IP are pinging from > management server. > > while trying to deploy vm from template, it.s giving , > > 2014-02-26 12:50:18,182 ERROR [vmware.resource.VmwareResource] > (DirectAgent-418:10.129.150.22) Unable to find template base snapshot, > invalid template > 2014-02-26 12:50:18,182 ERROR [vmware.resource.VmwareResource] > (DirectAgent-418:10.129.150.22) CreateCommand failed due to Exception: > java.lang.Exception > Message: Unable to find template base snapshot, invalid template > > java.lang.Exception: Unable to find template base snapshot, invalid > template > at > > com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:3756) > at > > com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:335) > at > > com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:191) > 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:1110) > at > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) > at java.lang.Thread.run(Thread.java:679) > 2014-02-26 12:50:18,183 DEBUG [agent.manager.DirectAgentAttache] > (DirectAgent-486:null) Seq 28-1947012159: Response Received: > 2014-02-26 12:50:18,183 DEBUG [agent.transport.Request] > (StatsCollector-1:null) Seq 28-1947012159: Received: { Ans: , MgmtId: > 345051457089, via: 28, Ver: v1, Flags: 10, { GetHostStatsAnswer } } > 2014-02-26 12:50:18,183 DEBUG [agent.manager.DirectAgentAttache] > (DirectAgent-418:null) Seq 28-1947012160: Response Received: > 2014-02-26 12:50:18,183 DEBUG [agent.transport.Request] > (DirectAgent-418:null) Seq 28-1947012160: Processing: { Ans: , MgmtId: > 345051457089, via: 28, Ver: v1, Flags: 110, > > [{"storage.CreateAnswer":{"requestTemplateReload":false,"result":false,"details":"Exception: > java.lang.Exception\nMessage: java.lang.Exception: Unable to find template > base snapshot, invalid template\nStack: java.lang.Exception: > java.lang.Exception: Unable to find template base snapshot, invalid > template\n\tat > com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:3833)\n\tat > > com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:335)\n\tat > > com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:191)\n\tat > > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)\n\tat > java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)\n\tat > java.util.concurrent.FutureTask.run(FutureTask.java:166)\n\tat > > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)\n\tat > > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)\n\tat > > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)\n\tat > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)\n\tat > java.lang.Thread.run(Thread.java:679)\nCaused by: java.lang.Exception: > Unable to find template base snapshot, invalid template\n\tat > com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:3756)\n\t... > 10 more\n","wait":0}}] } > 2014-02-26 12:50:18,183 DEBUG [agent.manager.AgentAttache] > (DirectAgent-418:null) Seq 28-1947012160: No more commands found > 2014-02-26 12:50:18,183 DEBUG [agent.transport.Request] > (Job-Executor-5:job-97) Seq 28-1947012160: Received: { Ans: , MgmtId: > 345051457089, via: 28, Ver: v1, Flags: 110, { CreateAnswer } } > 2014-02-26 12:50:18,183 DEBUG [cloud.storage.StorageManagerImpl] > (Job-Executor-5:job-97) Unable to create volume Vol[628|vm=531|ROOT] > 2014-02-26 12:50:18,222 INFO [cloud.vm.VirtualMachineManagerImpl] > (Job-Executor-5:job-97) Unable to contact resource. > com.cloud.exception.StorageUnavailableException: Reso
Re: Unable to deploy vm
Hi, thanks for replay, Is there any workaround for this ? OR how can I update 4.0.2 to 4.1.0 ? Regards, Tejas On Wed, Feb 26, 2014 at 2:55 PM, Sailaja Mada wrote: > Hi, > > Error log seems to be same as the bug @ > https://issues.apache.org/jira/browse/CLOUDSTACK-1403 - This got fixed in > 4.1.0 . > > Thanks, > Sailaja.M > > > -Original Message- > From: Tejas Gadaria [mailto:refond.g...@gmail.com] > Sent: 26 February 2014 13:21 > To: users@cloudstack.apache.org > Subject: Unable to deploy vm > > Hi, > > I am using CS 4.0.3 with vmware hypervisor. > > SSVM and CPVM is running both public and private IP are pinging from > management server. > > while trying to deploy vm from template, it.s giving , > > 2014-02-26 12:50:18,182 ERROR [vmware.resource.VmwareResource] > (DirectAgent-418:10.129.150.22) Unable to find template base snapshot, > invalid template > 2014-02-26 12:50:18,182 ERROR [vmware.resource.VmwareResource] > (DirectAgent-418:10.129.150.22) CreateCommand failed due to Exception: > java.lang.Exception > Message: Unable to find template base snapshot, invalid template > > java.lang.Exception: Unable to find template base snapshot, invalid > template > at > > com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:3756) > at > > com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:335) > at > > com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:191) > 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:1110) > at > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) > at java.lang.Thread.run(Thread.java:679) > 2014-02-26 12:50:18,183 DEBUG [agent.manager.DirectAgentAttache] > (DirectAgent-486:null) Seq 28-1947012159: Response Received: > 2014-02-26 12:50:18,183 DEBUG [agent.transport.Request] > (StatsCollector-1:null) Seq 28-1947012159: Received: { Ans: , MgmtId: > 345051457089, via: 28, Ver: v1, Flags: 10, { GetHostStatsAnswer } } > 2014-02-26 12:50:18,183 DEBUG [agent.manager.DirectAgentAttache] > (DirectAgent-418:null) Seq 28-1947012160: Response Received: > 2014-02-26 12:50:18,183 DEBUG [agent.transport.Request] > (DirectAgent-418:null) Seq 28-1947012160: Processing: { Ans: , MgmtId: > 345051457089, via: 28, Ver: v1, Flags: 110, > > [{"storage.CreateAnswer":{"requestTemplateReload":false,"result":false,"details":"Exception: > java.lang.Exception\nMessage: java.lang.Exception: Unable to find template > base snapshot, invalid template\nStack: java.lang.Exception: > java.lang.Exception: Unable to find template base snapshot, invalid > template\n\tat > com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:3833)\n\tat > > com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:335)\n\tat > > com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:191)\n\tat > > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)\n\tat > java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)\n\tat > java.util.concurrent.FutureTask.run(FutureTask.java:166)\n\tat > > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)\n\tat > > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)\n\tat > > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)\n\tat > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)\n\tat > java.lang.Thread.run(Thread.java:679)\nCaused by: java.lang.Exception: > Unable to find template base snapshot, invalid template\n\tat > com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:3756)\n\t... > 10 more\n","wait":0}}] } > 2014-02-26 12:50:18,183 DEBUG [agent.manager.AgentAttache] > (DirectAgent-418:null) Seq 28-1947012160: No more commands found > 2014-02-26 12:50:18,183 DEBUG [agent.transport.Request] > (Job-Executor-5:job-97) Seq 28-1947012160: Received: { Ans: , MgmtId: > 345051457089, via: 28, Ver: v1, Flags: 110, { CreateAnswer } } > 2014-02-26 12:50:18,183 DEBUG [cloud.storage.StorageManagerImpl] > (Job-Executor-5:job-97) Unable to create volume Vol[628|vm=531|ROOT] > 2014-02-26 12:50:18,222 INFO [cloud.vm.VirtualMachineManagerImpl] > (Job-Executor-5:job-97) Unable to contact resource. > com.cloud.exception.StorageUnavailableException: Reso
Re: RE: Password of Xenserver host changed.
I found an encrypted password in table host_details. Then, how do I get my new password encrypted ? Thanks. Best wishes! Dean Song Gao From: Rajesh Battala Date: 2014-02-26 18:57 To: users@cloudstack.apache.org; gao.song Subject: RE: Password of Xenserver host changed. If you don't have permissions to modify the db. Remove and add the host again. Else you can stop the mgmt. server change the password for the host in db and start again. Thanks Rajesh Battala -Original Message- From: Song Gao [mailto:gao.s...@neusoft.com] Sent: Wednesday, February 26, 2014 4:21 PM To: users@cloudstack.apache.org Subject: Password of Xenserver host changed. Hi there, What should I do to keep the Cloudstack working well, if the password of one Xenserver host has been changed ? Thanks. Best wishes! Dean Song Gao --- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful.If you have received this communication in error,please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. --- --- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful.If you have received this communication in error,please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. ---
Re: CloudStack-setup-management
Yes - unless you compiled packages yourself. You need a 64-bit arch distribution of linux for the packages supplied by the community. --David On Wed, Feb 26, 2014 at 7:55 PM, María Noelia Gil wrote: > I have installed ubuntu 32 bits, can be the problem? > > El 27/02/2014, a las 01:46, María Noelia Gil escribió: > >> When running "service management CloudStack-start", no information is >> displayed in the log file. >> >> El 27/02/2014, a las 01:41, David Nalley escribió: >> >>> Look in /var/log/cloudstack/management/catalina.out and see what the >>> problem is. >> >
Re: CloudStack-setup-management
I have installed ubuntu 32 bits, can be the problem? El 27/02/2014, a las 01:46, María Noelia Gil escribió: > When running "service management CloudStack-start", no information is > displayed in the log file. > > El 27/02/2014, a las 01:41, David Nalley escribió: > >> Look in /var/log/cloudstack/management/catalina.out and see what the >> problem is. >
Re: CloudStack-setup-management
When running "service management CloudStack-start", no information is displayed in the log file. El 27/02/2014, a las 01:41, David Nalley escribió: > Look in /var/log/cloudstack/management/catalina.out and see what the > problem is.
Re: CloudStack-setup-management
Look in /var/log/cloudstack/management/catalina.out and see what the problem is. --David On Wed, Feb 26, 2014 at 7:29 PM, María Noelia Gil wrote: > When I run "service management CloudStack-start", the following is displayed: > > * Starting Tomcat servlet CloudStack-specific engine CloudStack-management > [fail] > > El 27/02/2014, a las 01:24, David Nalley escribió: > >> service >> cloudstack-management star >
Re: CloudStack-setup-management
When I run "service management CloudStack-start", the following is displayed: * Starting Tomcat servlet CloudStack-specific engine CloudStack-management [fail] El 27/02/2014, a las 01:24, David Nalley escribió: > service > cloudstack-management star
Re: CloudStack-setup-management
Don't start tomcat using 'service tomcat6 (re)start' ensure that it's stopped (service tomcat6 stop) and then use 'service cloudstack-management start' --David On Wed, Feb 26, 2014 at 7:22 PM, María Noelia Gil wrote: > Hello, I have looked / var / log / CloudStack / management / > management-server.log and the problem is that tomcat is not running: > > DEBUG: root: Failed to execute: * CloudStack-specific Tomcat servlet engine > is not running. > > I do not know how to start it, because "service tomcat6 restart" restart the > service, but now tomcat can not find the resource /client. > > > El 27/02/2014, a las 01:10, Erdősi Péter escribió: > >> / ? >
Re: CloudStack-setup-management
Hello, I have looked / var / log / CloudStack / management / management-server.log and the problem is that tomcat is not running: DEBUG: root: Failed to execute: * CloudStack-specific Tomcat servlet engine is not running. I do not know how to start it, because "service tomcat6 restart" restart the service, but now tomcat can not find the resource /client. El 27/02/2014, a las 01:10, Erdősi Péter escribió: > / ?
Re: CloudStack-setup-management
Hy Maria! 2014.02.27. 1:02 keltezéssel, María Noelia Gil írta: Hi, I installed the CloudStack-setup-management package, after I installed the database and have made the necessary settings, but I can not access http://localhost:8080/client. Any solution? Can you be more specific about "necessary settings"? did you run /cloudstack-setup-database/ and /cloudstack-setup-management/ ? Is your service running? What /netstat -alnp |grep 8080/ says? What do you see in //var/log/cloudstack/management/management-server.log/ ? Regards, Peter
CloudStack-setup-management
Hi, I installed the CloudStack-setup-management package, after I installed the database and have made the necessary settings, but I can not access http://localhost:8080/client. Any solution? thanks
Re: Secondary Storage Not working properly (CS 4.2.1 CentOS 6.5 64bits)
Hello! 2014.02.26. 15:49 keltezéssel, Jardel Marceno írta: com.cloud.exception.InsufficientAddressCapacityException: Insufficient address capacityScope=interface It's looks like IP address space problem for me.. How your network(s) looks like? Did you configured public and management space too? (are you using basic or advanced setup?) Regards, Fazy
Re: Secondary Storage Not working properly (CS 4.2.1 CentOS 6.5 64bits)
On 26.02.2014 14:49, Jardel Marceno wrote: I'm really having a hard time puting a CS enviroment to work (management server, DB and host [kvm] on the same machine). Give this a read: https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM,+templates,+Secondary+storage+troubleshooting -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Unable to open Cloud stack 4.2 UI
Hi Team, I am unable to open the UI for Cloudstack 4.2, I have followed the build steps: http://itsprite.com/how-to-install-cloudstack-4-2-on-centos-6-4/ Also, followed the official installation guide. But the UI doesn't come up. It always says *"type Status reportmessage description The requested resource () is not available."* Please help. Thanks, Shubham
Secondary Storage Not working properly (CS 4.2.1 CentOS 6.5 64bits)
I'm really having a hard time puting a CS enviroment to work (management server, DB and host [kvm] on the same machine). I installed and evething appears to be working just fine and as expected, except for the secondary storage. As an impact I can't use create a new VM, as ISO and Templates are not showing up when I try to run the wizard and they get a "host time out message" when I try to use add then. I can't really understand whats is going on: 1. NFS is mounting: Filesystem Size Used Avail Use% Mounted on /dev/sda3 1.4T 2.2G 1.3T 1% / tmpfs 7.7G 0 7.7G 0% /dev/shm /dev/sda1 504M 43M 436M 9% /boot /dev/sdb1 1.4T 2.5G 1.3T 1% /mnt/disk1 127.0.0.1:/mnt/disk1/exports/secondary 1.4T 2.5G 1.3T 1% /var/cloudstack/mnt/secStorage/12586151-8de7-34fe-bdf5-966fbfa71853 2. Service VM's are getting a hard time starting (machine is empty and have 8 cores and 16GB RAM, so it can't be resources): 2014-02-26 15:26:38,956 DEBUG [db.Transaction.Transaction] (consoleproxy-1:null) Rolling back the transaction: Time = 2 Name = -SystemVmLoadScanner$1.run:70-Executors$RunnableAdapter.call:471-FutureTask$Sync.innerRunAndReset:351-FutureTask.runAndReset:178-ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201:165-ScheduledThreadPoolExecutor$ScheduledFutureTask.run:267-ThreadPoolExecutor.runWorker:1146-ThreadPoolExecutor$Worker.run:615-Thread.run:701; called by -Transaction.rollback:897-Transaction.removeUpTo:840-Transaction.close:664-TransactionContextBuilder.interceptException:63-ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept:133-NetworkManagerImpl.assignPublicIpAddress:376-DirectPodBasedNetworkGuru.getIp:186-ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept:125-DirectPodBasedNetworkGuru.reserve:153-ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept:125-NetworkManagerImpl.prepareNic:2166-NetworkManagerImpl.prepare:2136 com.cloud.exception.InsufficientAddressCapacityException: Insufficient address capacityScope=interface com.cloud.dc.Pod; id=1 2014-02-26 15:26:39,797 DEBUG [cloud.capacity.CapacityManagerImpl] (secstorage-1:null) VM state transitted from :Starting to Stopped with event: OperationFailedvm's original host id: null new host id: null host id before state transition: 1 2014-02-26 15:26:40,220 WARN [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Exception while trying to start secondary storage vm com.cloud.exception.InsufficientServerCapacityException: Unable to create a deployment for VM[SecondaryStorageVm|s-31-VM]Scope=interface com.cloud.dc.DataCenter; id=1 2014-02-26 15:26:40,221 INFO [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Unable to start secondary storage vm for standby capacity, secStorageVm vm Id : 31, will recycle it and start a new one 2014-02-26 15:26:40,339 DEBUG [cloud.capacity.CapacityManagerImpl] (consoleproxy-1:null) VM state transitted from :Starting to Stopped with event: OperationFailedvm's original host id: null new host id: null host id before state transition: 1 2014-02-26 15:26:40,689 WARN [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null) Exception while trying to start console proxy com.cloud.exception.InsufficientServerCapacityException: Unable to create a deployment for VM[ConsoleProxy|v-2-VM]Scope=interface com.cloud.dc.DataCenter; id=1 2014-02-26 15:27:08,829 DEBUG [db.Transaction.Transaction] (consoleproxy-1:null) Rolling back the transaction: Time = 3 Name = -SystemVmLoadScanner$1.run:70-Executors$RunnableAdapter.call:471-FutureTask$Sync.innerRunAndReset:351-FutureTask.runAndReset:178-ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201:165-ScheduledThreadPoolExecutor$ScheduledFutureTask.run:267-ThreadPoolExecutor.runWorker:1146-ThreadPoolExecutor$Worker.run:615-Thread.run:701; called by -Transaction.rollback:897-Transaction.removeUpTo:840-Transaction.close:664-TransactionContextBuilder.interceptException:63-ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept:133-NetworkManagerImpl.assignPublicIpAddress:376-DirectPodBasedNetworkGuru.getIp:186-ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept:125-DirectPodBasedNetworkGuru.reserve:153-ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept:125-NetworkManagerImpl.prepareNic:2166-NetworkManagerImpl.prepare:2136 com.cloud.exception.InsufficientAddressCapacityException: Insufficient address capacityScope=interface com.cloud.dc.Pod; id=1 2014-02-26 15:27:09,335 DEBUG [db.Transaction.Transaction] (secstorage-1:null) Rolling back the transaction: Time = 3 Name = -SystemVmLoadScanner$1.run:70-Executors$RunnableAdapter.call:471-FutureTask$Sync.innerRunAndReset:351-FutureTask.runAndReset:178-ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201:165-ScheduledThreadPoolExecutor$Sc
RE: Password of Xenserver host changed.
If you don't have permissions to modify the db. Remove and add the host again. Else you can stop the mgmt. server change the password for the host in db and start again. Thanks Rajesh Battala -Original Message- From: Song Gao [mailto:gao.s...@neusoft.com] Sent: Wednesday, February 26, 2014 4:21 PM To: users@cloudstack.apache.org Subject: Password of Xenserver host changed. Hi there, What should I do to keep the Cloudstack working well, if the password of one Xenserver host has been changed ? Thanks. Best wishes! Dean Song Gao --- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful.If you have received this communication in error,please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. ---
Password of Xenserver host changed.
Hi there, What should I do to keep the Cloudstack working well, if the password of one Xenserver host has been changed ? Thanks. Best wishes! Dean Song Gao --- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful.If you have received this communication in error,please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. ---
Re: Failed to create a template
Hi Sailaja, Thanks for replay, I am always running Management server under root. Do I need to delete stale systemvm.iso and try it? Regards, Tejas On Wed, Feb 26, 2014 at 2:52 PM, Sailaja Mada wrote: > Hi, > > This seems similar to the bug @ > https://issues.apache.org/jira/browse/CLOUDSTACK-3604 . It is root > caused to permissions set on the folder. > > Can you please check the permissions set on the secondary storage folder . > > Thanks, > Sailaja.M > > -Original Message- > From: Tejas Gadaria [mailto:refond.g...@gmail.com] > Sent: 26 February 2014 14:45 > To: users@cloudstack.apache.org; d...@cloudstack.apache.org > Subject: Failed to create a template > > Hi, > > I am trying to create template on vmware with CS 4.0.2, its giving > > 2014-02-26 14:21:44,578 DEBUG [agent.transport.Request] > (AgentManager-Handler-1:null) Seq 39-1804402824: Processing: { Ans: , > MgmtId: 345051457089, via: 39, Ver: v1, Flags: 10, > [{"storage.CreatePrivateTemplateAnswer":{"_virtualSize":0,"_physicalSize":0,"result":false,"details":"CreatePrivateTemplateFromVolumeCommand > exception: java.lang.Exception: unable to prepare template directory: > template/tmpl/4/256, storage: nfs://10.129.150.25/vol/Cloud/Secondary, > error msg: mkdir: cannot create directory > `/mnt/SecStorage/72b70605-0c7c-37af-bb6e-4cf0b65760db/template/tmpl/4/256': > Permission > > denied\ncom.cloud.hypervisor.vmware.manager.VmwareStorageManagerImpl.createTemplateFromVolume(VmwareStorageManagerImpl.java:497)\ncom.cloud.hypervisor.vmware.manager.VmwareStorageManagerImpl.execute(VmwareStorageManagerImpl.java:277)\ncom.cloud.storage.resource.VmwareSecondaryStorageResourceHandler.execute(VmwareSecondaryStorageResourceHandler.java:121)\ncom.cloud.storage.resource.VmwareSecondaryStorageResourceHandler.executeRequest(VmwareSecondaryStorageResourceHandler.java:73)\ncom.cloud.storage.resource.PremiumSecondaryStorageResource.executeRequest(PremiumSecondaryStorageResource.java:54)\ncom.cloud.agent.Agent.processRequest(Agent.java:518)\ncom.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:831)\ncom.cloud.utils.nio.Task.run(Task.java:83)\njava.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)\njava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)\njava.lang.Thread.run(Thread.java:662)\n","wait":0}}] > } > 2014-02-26 14:21:44,578 DEBUG [agent.transport.Request] > (Job-Executor-7:job-99) Seq 39-1804402824: Received: { Ans: , MgmtId: > 345051457089, via: 39, Ver: v1, Flags: 10, { CreatePrivateTemplateAnswer } > } > 2014-02-26 14:21:44,718 DEBUG [cloud.server.StatsCollector] > (StatsCollector-3:null) VmStatsCollector is running... > 2014-02-26 14:21:44,727 DEBUG [agent.manager.DirectAgentAttache] > (DirectAgent-278:null) Seq 28-1947018449: Executing request > 2014-02-26 14:21:44,782 DEBUG [agent.manager.DirectAgentAttache] > (DirectAgent-294:null) Seq 21-1191253522: Response Received: > 2014-02-26 14:21:44,782 DEBUG [agent.transport.Request] > (StatsCollector-2:null) Seq 21-1191253522: Received: { Ans: , MgmtId: > 345051457089, via: 21, Ver: v1, Flags: 10, { GetHostStatsAnswer } } > 2014-02-26 14:21:44,786 DEBUG [agent.manager.DirectAgentAttache] > (DirectAgent-222:null) Seq 28-1947018450: Executing request > 2014-02-26 14:21:44,801 ERROR [cloud.api.ApiDispatcher] > (Job-Executor-7:job-99) Exception while executing CreateTemplateCmd: > com.cloud.utils.exception.CloudRuntimeException: Failed to create a > template > at > > com.cloud.vm.UserVmManagerImpl.createPrivateTemplate(UserVmManagerImpl.java:1662) > at > > com.cloud.utils.component.ComponentLocator$InterceptorDispatcher.intercept(ComponentLocator.java:1231) > at > > com.cloud.vm.UserVmManagerImpl.createPrivateTemplate(UserVmManagerImpl.java:237) > at > > com.cloud.api.commands.CreateTemplateCmd.execute(CreateTemplateCmd.java:265) > at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:138) > at > com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:432) > 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.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) > at > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) > at java.lang.Thread.run(Thread.java:679) > 2014-02-26 14:21:44,801 DEBUG [cloud.async.AsyncJobManagerImpl] > (Job-Executor-7:job-99) Complete async job-99, jobStatus: 2, resultCode: > 530, result: Error Code: 530 Error text: Failed to create a template > > > Need help > > Regards, > Tejas >
RE: Unable to deploy vm
Hi, Error log seems to be same as the bug @ https://issues.apache.org/jira/browse/CLOUDSTACK-1403 - This got fixed in 4.1.0 . Thanks, Sailaja.M -Original Message- From: Tejas Gadaria [mailto:refond.g...@gmail.com] Sent: 26 February 2014 13:21 To: users@cloudstack.apache.org Subject: Unable to deploy vm Hi, I am using CS 4.0.3 with vmware hypervisor. SSVM and CPVM is running both public and private IP are pinging from management server. while trying to deploy vm from template, it.s giving , 2014-02-26 12:50:18,182 ERROR [vmware.resource.VmwareResource] (DirectAgent-418:10.129.150.22) Unable to find template base snapshot, invalid template 2014-02-26 12:50:18,182 ERROR [vmware.resource.VmwareResource] (DirectAgent-418:10.129.150.22) CreateCommand failed due to Exception: java.lang.Exception Message: Unable to find template base snapshot, invalid template java.lang.Exception: Unable to find template base snapshot, invalid template at com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:3756) at com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:335) at com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:191) 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:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:679) 2014-02-26 12:50:18,183 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-486:null) Seq 28-1947012159: Response Received: 2014-02-26 12:50:18,183 DEBUG [agent.transport.Request] (StatsCollector-1:null) Seq 28-1947012159: Received: { Ans: , MgmtId: 345051457089, via: 28, Ver: v1, Flags: 10, { GetHostStatsAnswer } } 2014-02-26 12:50:18,183 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-418:null) Seq 28-1947012160: Response Received: 2014-02-26 12:50:18,183 DEBUG [agent.transport.Request] (DirectAgent-418:null) Seq 28-1947012160: Processing: { Ans: , MgmtId: 345051457089, via: 28, Ver: v1, Flags: 110, [{"storage.CreateAnswer":{"requestTemplateReload":false,"result":false,"details":"Exception: java.lang.Exception\nMessage: java.lang.Exception: Unable to find template base snapshot, invalid template\nStack: java.lang.Exception: java.lang.Exception: Unable to find template base snapshot, invalid template\n\tat com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:3833)\n\tat com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:335)\n\tat com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:191)\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)\n\tat java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:166)\n\tat java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)\n\tat java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)\n\tat java.lang.Thread.run(Thread.java:679)\nCaused by: java.lang.Exception: Unable to find template base snapshot, invalid template\n\tat com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:3756)\n\t... 10 more\n","wait":0}}] } 2014-02-26 12:50:18,183 DEBUG [agent.manager.AgentAttache] (DirectAgent-418:null) Seq 28-1947012160: No more commands found 2014-02-26 12:50:18,183 DEBUG [agent.transport.Request] (Job-Executor-5:job-97) Seq 28-1947012160: Received: { Ans: , MgmtId: 345051457089, via: 28, Ver: v1, Flags: 110, { CreateAnswer } } 2014-02-26 12:50:18,183 DEBUG [cloud.storage.StorageManagerImpl] (Job-Executor-5:job-97) Unable to create volume Vol[628|vm=531|ROOT] 2014-02-26 12:50:18,222 INFO [cloud.vm.VirtualMachineManagerImpl] (Job-Executor-5:job-97) Unable to contact resource. com.cloud.exception.StorageUnavailableException: Resource [StoragePool:206] is unreachable: Unable to create Vol[628|vm=531|ROOT] at com.cloud.storage.StorageManagerImpl.prepare(StorageManagerImpl.java:3361) at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:754) at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:472) at com.cloud.vm.U
RE: Failed to create a template
Hi, This seems similar to the bug @ https://issues.apache.org/jira/browse/CLOUDSTACK-3604 . It is root caused to permissions set on the folder. Can you please check the permissions set on the secondary storage folder . Thanks, Sailaja.M -Original Message- From: Tejas Gadaria [mailto:refond.g...@gmail.com] Sent: 26 February 2014 14:45 To: users@cloudstack.apache.org; d...@cloudstack.apache.org Subject: Failed to create a template Hi, I am trying to create template on vmware with CS 4.0.2, its giving 2014-02-26 14:21:44,578 DEBUG [agent.transport.Request] (AgentManager-Handler-1:null) Seq 39-1804402824: Processing: { Ans: , MgmtId: 345051457089, via: 39, Ver: v1, Flags: 10, [{"storage.CreatePrivateTemplateAnswer":{"_virtualSize":0,"_physicalSize":0,"result":false,"details":"CreatePrivateTemplateFromVolumeCommand exception: java.lang.Exception: unable to prepare template directory: template/tmpl/4/256, storage: nfs://10.129.150.25/vol/Cloud/Secondary, error msg: mkdir: cannot create directory `/mnt/SecStorage/72b70605-0c7c-37af-bb6e-4cf0b65760db/template/tmpl/4/256': Permission denied\ncom.cloud.hypervisor.vmware.manager.VmwareStorageManagerImpl.createTemplateFromVolume(VmwareStorageManagerImpl.java:497)\ncom.cloud.hypervisor.vmware.manager.VmwareStorageManagerImpl.execute(VmwareStorageManagerImpl.java:277)\ncom.cloud.storage.resource.VmwareSecondaryStorageResourceHandler.execute(VmwareSecondaryStorageResourceHandler.java:121)\ncom.cloud.storage.resource.VmwareSecondaryStorageResourceHandler.executeRequest(VmwareSecondaryStorageResourceHandler.java:73)\ncom.cloud.storage.resource.PremiumSecondaryStorageResource.executeRequest(PremiumSecondaryStorageResource.java:54)\ncom.cloud.agent.Agent.processRequest(Agent.java:518)\ncom.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:831)\ncom.cloud.utils.nio.Task.run(Task.java:83)\njava.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)\njava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)\njava.lang.Thread.run(Thread.java:662)\n","wait":0}}] } 2014-02-26 14:21:44,578 DEBUG [agent.transport.Request] (Job-Executor-7:job-99) Seq 39-1804402824: Received: { Ans: , MgmtId: 345051457089, via: 39, Ver: v1, Flags: 10, { CreatePrivateTemplateAnswer } } 2014-02-26 14:21:44,718 DEBUG [cloud.server.StatsCollector] (StatsCollector-3:null) VmStatsCollector is running... 2014-02-26 14:21:44,727 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-278:null) Seq 28-1947018449: Executing request 2014-02-26 14:21:44,782 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-294:null) Seq 21-1191253522: Response Received: 2014-02-26 14:21:44,782 DEBUG [agent.transport.Request] (StatsCollector-2:null) Seq 21-1191253522: Received: { Ans: , MgmtId: 345051457089, via: 21, Ver: v1, Flags: 10, { GetHostStatsAnswer } } 2014-02-26 14:21:44,786 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-222:null) Seq 28-1947018450: Executing request 2014-02-26 14:21:44,801 ERROR [cloud.api.ApiDispatcher] (Job-Executor-7:job-99) Exception while executing CreateTemplateCmd: com.cloud.utils.exception.CloudRuntimeException: Failed to create a template at com.cloud.vm.UserVmManagerImpl.createPrivateTemplate(UserVmManagerImpl.java:1662) at com.cloud.utils.component.ComponentLocator$InterceptorDispatcher.intercept(ComponentLocator.java:1231) at com.cloud.vm.UserVmManagerImpl.createPrivateTemplate(UserVmManagerImpl.java:237) at com.cloud.api.commands.CreateTemplateCmd.execute(CreateTemplateCmd.java:265) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:138) at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:432) 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.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:679) 2014-02-26 14:21:44,801 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-7:job-99) Complete async job-99, jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text: Failed to create a template Need help Regards, Tejas
Failed to create a template
Hi, I am trying to create template on vmware with CS 4.0.2, its giving 2014-02-26 14:21:44,578 DEBUG [agent.transport.Request] (AgentManager-Handler-1:null) Seq 39-1804402824: Processing: { Ans: , MgmtId: 345051457089, via: 39, Ver: v1, Flags: 10, [{"storage.CreatePrivateTemplateAnswer":{"_virtualSize":0,"_physicalSize":0,"result":false,"details":"CreatePrivateTemplateFromVolumeCommand exception: java.lang.Exception: unable to prepare template directory: template/tmpl/4/256, storage: nfs://10.129.150.25/vol/Cloud/Secondary, error msg: mkdir: cannot create directory `/mnt/SecStorage/72b70605-0c7c-37af-bb6e-4cf0b65760db/template/tmpl/4/256': Permission denied\ncom.cloud.hypervisor.vmware.manager.VmwareStorageManagerImpl.createTemplateFromVolume(VmwareStorageManagerImpl.java:497)\ncom.cloud.hypervisor.vmware.manager.VmwareStorageManagerImpl.execute(VmwareStorageManagerImpl.java:277)\ncom.cloud.storage.resource.VmwareSecondaryStorageResourceHandler.execute(VmwareSecondaryStorageResourceHandler.java:121)\ncom.cloud.storage.resource.VmwareSecondaryStorageResourceHandler.executeRequest(VmwareSecondaryStorageResourceHandler.java:73)\ncom.cloud.storage.resource.PremiumSecondaryStorageResource.executeRequest(PremiumSecondaryStorageResource.java:54)\ncom.cloud.agent.Agent.processRequest(Agent.java:518)\ncom.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:831)\ncom.cloud.utils.nio.Task.run(Task.java:83)\njava.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)\njava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)\njava.lang.Thread.run(Thread.java:662)\n","wait":0}}] } 2014-02-26 14:21:44,578 DEBUG [agent.transport.Request] (Job-Executor-7:job-99) Seq 39-1804402824: Received: { Ans: , MgmtId: 345051457089, via: 39, Ver: v1, Flags: 10, { CreatePrivateTemplateAnswer } } 2014-02-26 14:21:44,718 DEBUG [cloud.server.StatsCollector] (StatsCollector-3:null) VmStatsCollector is running... 2014-02-26 14:21:44,727 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-278:null) Seq 28-1947018449: Executing request 2014-02-26 14:21:44,782 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-294:null) Seq 21-1191253522: Response Received: 2014-02-26 14:21:44,782 DEBUG [agent.transport.Request] (StatsCollector-2:null) Seq 21-1191253522: Received: { Ans: , MgmtId: 345051457089, via: 21, Ver: v1, Flags: 10, { GetHostStatsAnswer } } 2014-02-26 14:21:44,786 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-222:null) Seq 28-1947018450: Executing request 2014-02-26 14:21:44,801 ERROR [cloud.api.ApiDispatcher] (Job-Executor-7:job-99) Exception while executing CreateTemplateCmd: com.cloud.utils.exception.CloudRuntimeException: Failed to create a template at com.cloud.vm.UserVmManagerImpl.createPrivateTemplate(UserVmManagerImpl.java:1662) at com.cloud.utils.component.ComponentLocator$InterceptorDispatcher.intercept(ComponentLocator.java:1231) at com.cloud.vm.UserVmManagerImpl.createPrivateTemplate(UserVmManagerImpl.java:237) at com.cloud.api.commands.CreateTemplateCmd.execute(CreateTemplateCmd.java:265) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:138) at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:432) 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.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:679) 2014-02-26 14:21:44,801 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-7:job-99) Complete async job-99, jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text: Failed to create a template Need help Regards, Tejas