[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-8671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sanjeev N updated CLOUDSTACK-8671:
----------------------------------
    Attachment: management-server.zip

Please look for job-322 in the attached MS log file for vm deployment failure.



> [VMWare] VM deployment from iso fails
> -------------------------------------
>
>                 Key: CLOUDSTACK-8671
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8671
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: ISO, VMware
>    Affects Versions: 4.6.0
>         Environment: Latest build from ACS master with commit 
> 2984acca83fff03c2ad8bdd28c097e797d4ce087 
> Hypervisor: VMWare
>            Reporter: Sanjeev N
>            Priority: Critical
>         Attachments: management-server.zip
>
>
> Failed to deploy vm from ISO
> Steps to reproduce:
> ================
> 1.Bring up CS in advanced zone with vmware cluster
> 2.Register one bootable iso
> 3.Try to deploy vm using that iso
> Result:
> ======
> VM Deployment failed due to failure in creating volume:
> 2015-07-23 16:48:29,712 ERROR [c.c.s.r.VmwareStorageProcessor] 
> (DirectAgent-196:ctx-18de08d8 10.81.28.111, job-322/job-323, cmd: 
> CreateObjectCommand) create volume failed due to Exception: 
> java.lang.NullPointerException
> Message: charsetName
> java.lang.NullPointerException: charsetName
>         at java.io.InputStreamReader.<init>(InputStreamReader.java:99)
>         at 
> com.cloud.hypervisor.vmware.util.VmwareContext.uploadResourceContent(VmwareContext.java:486)
>         at 
> com.cloud.hypervisor.vmware.mo.VirtualMachineMO.detachDisk(VirtualMachineMO.java:1217)
>         at 
> com.cloud.storage.resource.VmwareStorageProcessor.createVolume(VmwareStorageProcessor.java:1545)
>         at 
> com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:113)
>         at 
> com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:56)
>         at 
> com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:470)
>         at 
> com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:302)
>         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$201(ScheduledThreadPoolExecutor.java:178)
>         at 
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
>         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:722)
> 2015-07-23 16:48:29,713 DEBUG [c.c.a.m.DirectAgentAttache] 
> (DirectAgent-196:ctx-18de08d8) Seq 2-8089027880710832600: Response Received:
> 2015-07-23 16:48:29,713 DEBUG [c.c.a.t.Request] 
> (DirectAgent-196:ctx-18de08d8) Seq 2-8089027880710832600: Processing:  { Ans: 
> , MgmtId: 187822473365406, via: 2, Ver: v1, Flags: 10, 
> [{"org.apache.cloudstack.storage.command.CreateObjectAnswer":{"result":false,"details":"java.lang.NullPointerException:
>  charsetName","wait":0}}] }
> 2015-07-23 16:48:29,713 DEBUG [c.c.a.t.Request] 
> (Work-Job-Executor-113:ctx-a7571bd0 job-322/job-323 ctx-e5ca76c6) Seq 
> 2-8089027880710832600: Received:  { Ans: , MgmtId: 187822473365406, via: 2, 
> Ver: v1, Flags: 10, { CreateObjectAnswer } }
> 2015-07-23 16:48:29,720 WARN  [o.a.c.s.d.ObjectInDataStoreManagerImpl] 
> (Work-Job-Executor-113:ctx-a7571bd0 job-322/job-323 ctx-e5ca76c6) Unsupported 
> data object (VOLUME, 
> org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@392f6f34), no 
> need to delete from object in store ref table
> 2015-07-23 16:48:29,720 DEBUG [o.a.c.e.o.VolumeOrchestrator] 
> (Work-Job-Executor-113:ctx-a7571bd0 job-322/job-323 ctx-e5ca76c6) Unable to 
> create Vol[55|vm=50|ROOT]:java.lang.NullPointerException: charsetName
> 2015-07-23 16:48:29,720 INFO  [c.c.v.VirtualMachineManagerImpl] 
> (Work-Job-Executor-113:ctx-a7571bd0 job-322/job-323 ctx-e5ca76c6) Unable to 
> contact resource.
> com.cloud.exception.StorageUnavailableException: Resource [StoragePool:1] is 
> unreachable: Unable to create 
> Vol[55|vm=50|ROOT]:java.lang.NullPointerException: charsetName
>         at 
> org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreateVolume(VolumeOrchestrator.java:1278)
>         at 
> org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.prepare(VolumeOrchestrator.java:1336)
>         at 
> com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:1000)
>         at 
> com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:4576)
>         at sun.reflect.GeneratedMethodAccessor391.invoke(Unknown Source)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:601)
>         at 
> com.cloud.vm.VmWorkJobHandlerProxy.handleVmWorkJob(VmWorkJobHandlerProxy.java:107)
>         at 
> com.cloud.vm.VirtualMachineManagerImpl.handleVmWorkJob(VirtualMachineManagerImpl.java:4732)
>         at 
> com.cloud.vm.VmWorkJobDispatcher.runJob(VmWorkJobDispatcher.java:102)
>         at 
> org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:537)
>         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 
> org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:494)
>         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:722)
> 2015-07-23 16:48:29,723 DEBUG [c.c.v.VirtualMachineManagerImpl] 
> (Work-Job-Executor-113:ctx-a7571bd0 job-322/job-323 ctx-e5ca76c6) Cleaning up 
> resources for the vm VM[User|i-23-50-VM] in Starting state
> Please look for job-322 in the attached MS log file.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to