cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sowmya Krishnan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CLOUDSTACK-5249) [Hyper-V] System VMs fail to launch, throws NPE while trying create VM
Date Fri, 22 Nov 2013 14:21:36 GMT

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

Sowmya Krishnan updated CLOUDSTACK-5249:
----------------------------------------

    Attachment: sysvmerror.log

Attached details Management server logs

> [Hyper-V] System VMs fail to launch, throws NPE while trying create VM
> ----------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-5249
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5249
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Hypervisor Controller
>    Affects Versions: 4.3.0
>         Environment: Advanced zone, Hyper-V
>            Reporter: Sowmya Krishnan
>            Priority: Blocker
>              Labels: hyper-V,
>             Fix For: 4.3.0
>
>         Attachments: sysvmerror.log
>
>
> Environment: Advanced zone, Hyper-V, rpm set up created from latest 4.3 branch
> Started the java process as ROOT user due to issue CLOUDSTACK-5248
> We try to copy System VM template from secondary to primary and then, the following is
seen:
> 2013-11-22 16:02:05,879 DEBUG [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-2:ctx-1a886c3f)
POST response is[{"org.apache.cloudstack.storage.command.CopyCmdAnswer":{"result":true,"details":null,"newData":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"origUrl":"http://10.102.123.240:/cloudstack/hyperv/4382fd85-7259-4392-a9a9-4990718bd48f.vhd","uuid":"82af1284-534f-11e3-9253-fef34996d384","id":9,"format":"VHD","accountId":1,"checksum":"fb1b6e032a160d86f2c28feb5add6d83","hvm":false,"displayText":"SystemVM
Template (HyperV)","imageDataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"7d3b7953-a8bd-3467-b5df-f3e906ea2ea0-HypervResource","id":1,"poolType":"Filesystem","host":"10.102.192.39","path":"C:\\Users\\Public\\Documents\\Hyper-V\\Virtual
Hard Disks","port":0,"url":"Filesystem://10.102.192.39/C:\\Users\\Public\\Documents\\Hyper-V\\Virtual
Hard Disks/?ROLE=Primary&STOREUUID=7d3b7953-a8bd-3467-b5df-f3e906ea2ea0-HypervResource"}},"name":"routing-9","hypervisorType":"Hyperv"}}}}]
> 2013-11-22 16:02:05,882 DEBUG [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-2:ctx-1a886c3f)
executeRequest received response [{"org.apache.cloudstack.storage.command.CopyCmdAnswer":{"newData":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"origUrl":"http://10.102.123.240:/cloudstack/hyperv/4382fd85-7259-4392-a9a9-4990718bd48f.vhd","uuid":"82af1284-534f-11e3-9253-fef34996d384","id":9,"format":"VHD","accountId":1,"checksum":"fb1b6e032a160d86f2c28feb5add6d83","hvm":false,"displayText":"SystemVM
Template (HyperV)","imageDataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"7d3b7953-a8bd-3467-b5df-f3e906ea2ea0-HypervResource","id":1,"poolType":"Filesystem","host":"10.102.192.39","path":"C:\\Users\\Public\\Documents\\Hyper-V\\Virtual
Hard Disks","port":0,"url":"Filesystem://10.102.192.39/C:\\Users\\Public\\Documents\\Hyper-V\\Virtual
Hard Disks/?ROLE\u003dPrimary\u0026STOREUUID\u003d7d3b7953-a8bd-3467-b5df-f3e906ea2ea0-HypervResource"}},"name":"routing-9","hypervisorType":"Hyperv"}},"result":true,"wait":0}}]
> 2013-11-22 16:02:05,882 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-2:ctx-1a886c3f)
Seq 1-2137260039: Response Received:
> 2013-11-22 16:02:05,882 DEBUG [c.c.a.t.Request] (DirectAgent-2:ctx-1a886c3f) Seq 1-2137260039:
Processing:  { Ans: , MgmtId: 280320865129348, via: 1, Ver: v1, Flags: 10, [{"org.apache.cloudstack.storage.command.CopyCmdAnswer":{"newData":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"origUrl":"http://10.102.123.240:/cloudstack/hyperv/4382fd85-7259-4392-a9a9-4990718bd48f.vhd","uuid":"82af1284-534f-11e3-9253-fef34996d384","id":9,"format":"VHD","accountId":1,"checksum":"fb1b6e032a160d86f2c28feb5add6d83","hvm":false,"displayText":"SystemVM
Template (HyperV)","imageDataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"7d3b7953-a8bd-3467-b5df-f3e906ea2ea0-HypervResource","id":1,"poolType":"Filesystem","host":"10.102.192.39","path":"C:\\Users\\Public\\Documents\\Hyper-V\\Virtual
Hard Disks","port":0,"url":"Filesystem://10.102.192.39/C:\\Users\\Public\\Documents\\Hyper-V\\Virtual
Hard Disks/?ROLE=Primary&STOREUUID=7d3b7953-a8bd-3467-b5df-f3e906ea2ea0-HypervResource"}},"name":"routing-9","hypervisorType":"Hyperv"}},"result":true,"wait":0}}]
}
> 2013-11-22 16:02:05,883 DEBUG [c.c.a.t.Request] (secstorage-1:ctx-200c993a) Seq 1-2137260039:
Received:  { Ans: , MgmtId: 280320865129348, via: 1, Ver: v1, Flags: 10, { CopyCmdAnswer }
}
> 2013-11-22 16:02:05,883 DEBUG [o.a.c.s.m.AncientDataMotionStrategy] (secstorage-1:ctx-200c993a)
copy object failed:
> java.lang.NullPointerException
>         at com.cloud.agent.api.Command.getContextParam(Command.java:70)
>         at com.cloud.hypervisor.vmware.manager.VmwareManagerImpl.processAnswers(VmwareManagerImpl.java:855)
>         at com.cloud.agent.manager.AgentManagerImpl.notifyAnswersToMonitors(AgentManagerImpl.java:301)
>         at com.cloud.agent.manager.AgentManagerImpl.send(AgentManagerImpl.java:395)
>         at com.cloud.agent.manager.AgentManagerImpl.send(AgentManagerImpl.java:347)
>         at org.apache.cloudstack.storage.RemoteHostEndPoint.sendMessage(RemoteHostEndPoint.java:108)
>         at org.apache.cloudstack.storage.motion.AncientDataMotionStrategy.copyObject(AncientDataMotionStrategy.java:172)
>         at org.apache.cloudstack.storage.motion.AncientDataMotionStrategy.copyAsync(AncientDataMotionStrategy.java:423)
>         at org.apache.cloudstack.storage.motion.DataMotionServiceImpl.copyAsync(DataMotionServiceImpl.java:70)
>         at org.apache.cloudstack.storage.volume.VolumeServiceImpl.createBaseImageAsync(VolumeServiceImpl.java:452)
>         at org.apache.cloudstack.storage.volume.VolumeServiceImpl.createVolumeFromTemplateAsync(VolumeServiceImpl.java:583)
>         at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreateVolume(VolumeOrchestrator.java:1084)
>         at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.prepare(VolumeOrchestrator.java:1138)
>         at com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:901)
>         at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:706)
>         at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:696)
>         at com.cloud.storage.secondary.SecondaryStorageManagerImpl.startSecStorageVm(SecondaryStorageManagerImpl.java:261)
>         at com.cloud.storage.secondary.SecondaryStorageManagerImpl.allocCapacity(SecondaryStorageManagerImpl.java:693)
>         at com.cloud.storage.secondary.SecondaryStorageManagerImpl.expandPool(SecondaryStorageManagerImpl.java:1265)
>         at com.cloud.secstorage.PremiumSecondaryStorageManagerImpl.scanPool(PremiumSecondaryStorageManagerImpl.java:123)
>         at com.cloud.secstorage.PremiumSecondaryStorageManagerImpl.scanPool(PremiumSecondaryStorageManagerImpl.java:50)
>         at com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:101)
>         at com.cloud.vm.SystemVmLoadScanner.access$100(SystemVmLoadScanner.java:33)
>         at com.cloud.vm.SystemVmLoadScanner$1.reallyRun(SystemVmLoadScanner.java:78)
>         at com.cloud.vm.SystemVmLoadScanner$1.runInContext(SystemVmLoadScanner.java:71)
>         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.innerRunAndReset(FutureTask.java:351)
>         at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165)
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267)
>         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)
> 2013-11-22 16:02:05,884 DEBUG [o.a.c.s.m.AncientDataMotionStrategy] (secstorage-1:ctx-200c993a)
copy failed
> com.cloud.utils.exception.CloudRuntimeException: java.lang.NullPointerException
> Not sure why VMwareManagerImpl is being invoked in Hyper-V setup



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message