Re: unable to start System VM Hyper-V
In these logs there are logs for destroy and stop command. Please provide below logs 1. From management server paste logs around the exception. At least from startCommand send to Hyper-V agent. 2. Same command from the Hyper-V agent logs. Also what is the time difference between startCommand sent and timing out? Have you enabled any firewall? If so try disabling them to figure out the issue. On 03/06/16, 4:35 PM, "Logeswaran" wrote: >Hi Ansul, > > > >Thanks for your reply. Below are logs which I found in the event viewer. > > > >2016-06-03 03:58:17,349 [6] INFO HypervResource.HypervResourceController >[0533e556-495c-4983-a084-f347ca73706e] - { > > "com.cloud.agent.api.Answer": { > >"result": true, > >"details": "success - NOP for PingRoutingCommand", > >"_reconnect": false, > >"contextMap": {} > > } > >} > > > > > >2016-06-03 04:00:10,714 [6] INFO HypervResource.HypervResourceController >[7a0b4b57-9b9a-4a72-8e21-f17228e3d546] - >com.cloud.agent.api.storage.DestroyCommand{ > > "data": { > >"org.apache.cloudstack.storage.to.VolumeObjectTO": { > > "uuid": "9e90c892-135d-4967-ad64-0b18d523108e", > > "volumeType": "ROOT", > > "dataStore": { > >"org.apache.cloudstack.storage.to.PrimaryDataStoreTO": { > > "uuid": "034077a6-b784-3f37-a8ef-d890844b0838", > > "id": 14, > > "poolType": "SMB", > > "host": "192.168.2.175", > > "path": "/Cloudprimary", > > "port": 445, > > "url": >"SMB://192.168.2.175/Cloudprimary/?ROLE=Primary&STOREUUID=034077a6-b784-3f37 >-a8ef-d890844b0838" > >} > > }, > > "name": "ROOT-4868", > > "size": 0, > > "path": "9e90c892-135d-4967-ad64-0b18d523108e", > > "volumeId": 4868, > > "vmName": "s-4868-VM", > > "accountId": 1, > > "format": "VHD", > > "provisioningType": "THIN", > > "id": 4868, > > "deviceId": 0, > > "hypervisorType": "Hyperv" > >} > > }, > > "contextMap": { > >"logid": "e8606cca", > >"job": "job-13979" > > }, > > "wait": 0 > >} > > > > > >2016-06-03 04:00:07,566 [6] INFO HypervResource.HypervResourceController >[a1975214-d84b-4b51-9129-8fed1367e9de] - com.cloud.agent.api.StopCommand{ > > "isProxy": false, > > "executeInSequence": false, > > "checkBeforeCleanup": false, > > "vmName": "s-4868-VM", > > "contextMap": { > >"logid": "510ed428", > >"job": "job-13979/job-14771" > > }, > > "wait": 0 > >} > > > >Also I noticed that cloudstack is not showing the secondary storage space in >the dashboard. But it displaying the primary storage space correctly. I'm >trying with advance networking and I have not enabled the security group >option. > > > >I have exactly all the steps as specified the in cloudstack documentation >(http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/4.6/h >ypervisor/hyperv.html) > > > >Regards, >Loges > DISCLAIMER == This e-mail may contain privileged and confidential information which is the property of Accelerite, a Persistent Systems business. 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. Accelerite, a Persistent Systems business does not accept any liability for virus infected mails.
Re: unable to start System VM Hyper-V
Hi Ansul, Thanks for your reply. Below are logs which I found in the event viewer. 2016-06-03 03:58:17,349 [6] INFO HypervResource.HypervResourceController [0533e556-495c-4983-a084-f347ca73706e] - { "com.cloud.agent.api.Answer": { "result": true, "details": "success - NOP for PingRoutingCommand", "_reconnect": false, "contextMap": {} } } 2016-06-03 04:00:10,714 [6] INFO HypervResource.HypervResourceController [7a0b4b57-9b9a-4a72-8e21-f17228e3d546] - com.cloud.agent.api.storage.DestroyCommand{ "data": { "org.apache.cloudstack.storage.to.VolumeObjectTO": { "uuid": "9e90c892-135d-4967-ad64-0b18d523108e", "volumeType": "ROOT", "dataStore": { "org.apache.cloudstack.storage.to.PrimaryDataStoreTO": { "uuid": "034077a6-b784-3f37-a8ef-d890844b0838", "id": 14, "poolType": "SMB", "host": "192.168.2.175", "path": "/Cloudprimary", "port": 445, "url": "SMB://192.168.2.175/Cloudprimary/?ROLE=Primary&STOREUUID=034077a6-b784-3f37 -a8ef-d890844b0838" } }, "name": "ROOT-4868", "size": 0, "path": "9e90c892-135d-4967-ad64-0b18d523108e", "volumeId": 4868, "vmName": "s-4868-VM", "accountId": 1, "format": "VHD", "provisioningType": "THIN", "id": 4868, "deviceId": 0, "hypervisorType": "Hyperv" } }, "contextMap": { "logid": "e8606cca", "job": "job-13979" }, "wait": 0 } 2016-06-03 04:00:07,566 [6] INFO HypervResource.HypervResourceController [a1975214-d84b-4b51-9129-8fed1367e9de] - com.cloud.agent.api.StopCommand{ "isProxy": false, "executeInSequence": false, "checkBeforeCleanup": false, "vmName": "s-4868-VM", "contextMap": { "logid": "510ed428", "job": "job-13979/job-14771" }, "wait": 0 } Also I noticed that cloudstack is not showing the secondary storage space in the dashboard. But it displaying the primary storage space correctly. I'm trying with advance networking and I have not enabled the security group option. I have exactly all the steps as specified the in cloudstack documentation (http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/4.6/h ypervisor/hyperv.html) Regards, Loges
Re: unable to start System VM Hyper-V
Is Hyper-V agent running fine on host? If so then please paste some logs from hyperv agent. You can find the logs in event viewer. Also Hyper-V works with advanced networking without security groups. On 03/06/16, 10:30 AM, "Logeswaran" wrote: >Hi Team, > > > >We have installed cloudstack 4.7.0 and created a new zone. Hyper-v servers >are added successfully. But System VM is keep on creating in loop. We found >the below log in the cloud stack management server. > > > >com.cloud.utils.exception.CloudRuntimeException: Unable to get answer that >is of class com.cloud.agent.api.StartAnswer > >at com.cloud.agent.manager.Commands.getAnswer(Commands.java:80) > >at >com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManage >rImpl.java:1030) > >at >com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManage >rImpl.java:4578) > >at sun.reflect.GeneratedMethodAccessor232.invoke(Unknown Source) > >at >sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl >.java:43) > >at java.lang.reflect.Method.invoke(Method.java:498) > >at >com.cloud.vm.VmWorkJobHandlerProxy.handleVmWorkJob(VmWorkJobHandlerProxy.jav >a:107) > >at >com.cloud.vm.VirtualMachineManagerImpl.handleVmWorkJob(VirtualMachineManager >Impl.java:4734) > >at >com.cloud.vm.VmWorkJobDispatcher.runJob(VmWorkJobDispatcher.java:102) > >at >org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext >(AsyncJobManagerImpl.java:554) > >at >org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedCo >ntextRunnable.java:49) > >at >org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(Defa >ultManagedContext.java:56) > >at >org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithCon >text(DefaultManagedContext.java:103) > >at >org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithCont >ext(DefaultManagedContext.java:53) > >at >org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedCont >extRunnable.java:46) > >at >org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJob >ManagerImpl.java:502) > >at >java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > >at java.util.concurrent.FutureTask.run(FutureTask.java:266) > >at >java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:11 >42) > >at >java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:6 >17) > >at java.lang.Thread.run(Thread.java:745) > >2016-06-03 10:17:34,631 INFO [o.a.c.s.SecondaryStorageManagerImpl] >(secstorage-1:ctx-7bcfbadc) (logid:a44da7fb) Unable to start secondary >storage vm for standby capacity, vm id : 4580, will recycle it and start a >new one > > > > > >Here is the configuration details for Hyper-V. > > > >OS : windows 2012 R2 > >Hyper-V switch name : External > > > >We created SMB share for primary and secondary as the per the instructions >given in >http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/4.6/hy >pervisor/hyperv.html URL. > > > >We downloaded and install the cloudstack agent from the URL >http://jenkins.buildacloud.org/job/cloudstack-master-hyperv-agent/lastSucces >sfulBuild/artifact/bin/cloudstack-master-1070-hypervagent.zip > > > >While creating the zone we specify the physical network name as External in >cloud stack. > > > >Can you guys guide us to resolve the issue? > > > >Regards, > >Loges > > > > > DISCLAIMER == This e-mail may contain privileged and confidential information which is the property of Accelerite, a Persistent Systems business. 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. Accelerite, a Persistent Systems business does not accept any liability for virus infected mails.
Re: Unable to Start System VM
Have you seeded the system VM's for xen server? On Tue, Apr 8, 2014 at 7:31 PM, Diego Spinola Castro < spinolacas...@gmail.com> wrote: > I just updated my Xenservers to 6.2 and i can't start my vrouters. > As far as i could debug CS is starting system vms with Debian 5.0 template: > > Management-server.log: > > Can't find the guest os: Debian GNU/Linux 5.0 (32-bit) mapping into > XenServer 6.2.0 guestOS type, start it as HVM guest > -- Thanks & Regards, Anoop Mohan
RE: Unable to start System VM
Chitra, Have you read cloudstack install guide? Specifically section 4.5.8? Regards Ilya From: Chitra Manjunath [mailto:chitra_manjun...@infosys.com] Sent: Thursday, August 01, 2013 8:41 AM To: users@cloudstack.apache.org Subject: Unable to start System VM Hi All, I attached the management server log file. log saying Zone is not Ready, templates are not ready. But I added the Zone and is enabled. Where we need to download the System VM template? Please anyone solve this problem. Very Urgent Thanks Chitra.M CAUTION - Disclaimer * This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system. ***INFOSYS End of Disclaimer INFOSYS***