cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "La Motta, David" <David.LaMo...@netapp.com>
Subject Re: Instance on KVM + NFS fails
Date Wed, 16 Apr 2014 15:58:17 GMT
I am running this on a fresh install of 4.3, all from RPMs.

2014-04-16 06:44:54,992 DEBUG [c.c.a.t.Request]
(Work-Job-Executor-7:job-30/job-33 ctx-c1a39369) Seq 5-968885921: Sending
{ Cmd , MgmtId: 345040294157, via: 5(rhelkvm1.demo.netapp.com), Ver: v1,
Flags: 100111, 
[{"org.apache.cloudstack.storage.command.CopyCommand":{"srcTO":{"org.apache
.cloudstack.storage.to.TemplateObjectTO":{"origUrl":"http://download.cloud.
com/templates/4.3/systemvm64template-2014-01-14-master-kvm.qcow2.bz2","uuid
":"bb63ad7c-bbfc-11e3-bb63-00505601110d","id":3,"format":"QCOW2","accountId
":1,"checksum":"85a1bed07bf43cbf022451cb2ecae4ff","hvm":false,"displayText"
:"SystemVM Template
(KVM)","imageDataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://192.
168.0.131/svm1_ccp_secondary","_role":"Image"}},"name":"routing-3","hypervi
sorType":"KVM"}},"destTO":{"org.apache.cloudstack.storage.to.TemplateObject
TO":{"origUrl":"http://download.cloud.com/templates/4.3/systemvm64template-
2014-01-14-master-kvm.qcow2.bz2","uuid":"bb63ad7c-bbfc-11e3-bb63-0050560111
0d","id":3,"format":"QCOW2","accountId":1,"checksum":"85a1bed07bf43cbf02245
1cb2ecae4ff","hvm":false,"displayText":"SystemVM Template
(KVM)","imageDataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://192.
168.0.131/kvmPrimary","_role":"Primary","uuid":"9e3145ae-6074-4aa8-bbbf-05f
2d8f284be"}},"name":"routing-3","hypervisorType":"KVM"}},"executeInSequence
":true,"options":{},"wait":10800}}] }


David La Motta
Technical Marketing Engineer | Integrated Infrastructures

NetApp
Office: 1.919.476.5042
Mobile: 1.919.413.5600




On 4/16/14, 11:46 AM, "Marcus" <shadowsor@gmail.com> wrote:

>The 4.3 released RPMs work with my NFS tests for a fresh install. Is
>this a fresh install or an upgrade? What code are you running, both on
>mgmt server and agent (rpms, debs, or from source and commit hash)? Do
>you have a CopyCommand in the logs that shows the full JSON objects
>representing the NfsTO being passed? Example:
>
>2014-04-16 09:40:34,979 DEBUG [cloud.agent.Agent]
>(agentRequest-Handler-5:null) Request:Seq 1-946470950:  { Cmd ,
>MgmtId: 90520735907663, via: 1, Ver: v1, Flags: 100011,
>[{"org.apache.cloudstack.storage.command.CopyCommand":{"srcTO":{"org.apach
>e.cloudstack.storage.to.TemplateObjectTO":{"path":"template/tmpl/2/202/daf
>8a242-226a-391e-afab-25b9598cc5c1.qcow2","origUrl":"http://marcus.mlsorens
>en.com/cloudstack-extras/tiny-centos-63.qcow2","uuid":"b4f4e742-7099-4dca-
>a589-1c75e2199ba9","id":202,"format":"QCOW2","accountId":2,"checksum":"44c
>d0e6330a59f031460bc18a40c95a2","hvm":true,"displayText":"tiny","imageDataS
>tore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://172.17.10.10/nfs/seco
>ndary","_role":"Image"}},"name":"202-2-f40033ea-61c3-3e02-823f-d279eeab3e4
>4","hypervisorType":"KVM"}},"destTO":{"org.apache.cloudstack.storage.to.Te
>mplateObjectTO":{"origUrl":"http://marcus.mlsorensen.com/cloudstack-extras
>/tiny-centos-63.qcow2","uuid":"b4f4e742-7099-4dca-a589-1c75e2199ba9","id":
>202,"format":"QCOW2","accountId":2,"checksum":"44cd0e6330a59f031460bc18a40
>c95a2","hvm":true,"displayText":"tiny","imageDataStore":{"org.apache.cloud
>stack.storage.to.PrimaryDataStoreTO":{"uuid":"2fe9a944-505e-38cb-bf87-7262
>3634be4a","id":2,"poolType":"NetworkFilesystem","host":"172.17.10.10","pat
>h":"/nfs/primary","port":2049,"url":"NetworkFilesystem://172.17.10.10//nfs
>/primary/?ROLE=Primary&STOREUUID=2fe9a944-505e-38cb-bf87-72623634be4a"}},"
>name":"202-2-f40033ea-61c3-3e02-823f-d279eeab3e44","hypervisorType":"KVM"}
>},"executeInSequence":false,"options":{},"wait":10800}}]
>}
>
>On Wed, Apr 16, 2014 at 9:34 AM, Marcus <shadowsor@gmail.com> wrote:
>> I'm positive I tested one of the last RCs with NFS, but I'm running
>> through a fresh install with the release RPMs to see if I can
>> reproduce it.
>>
>> On Wed, Apr 16, 2014 at 9:25 AM, Yitao Jiang <willierjyt@gmail.com>
>>wrote:
>>> Hi, David
>>>
>>> Did u see anything wrong within kvm agent log fileļ¼Ÿ
>>>
>>>
>>>
>>> Thanks,
>>>
>>> Yitao
>>>
>>>
>>> 2014-04-16 22:59 GMT+08:00 La Motta, David <David.LaMotta@netapp.com>:
>>>
>>>> Hey everybody, I am trying to deploy a VM instance in KVM using NFS
>>>>for
>>>> primary storage (on 4.3).  Unfortunately, this is the exception I am
>>>> getting:
>>>>
>>>> 2014-04-16 06:44:53,128 DEBUG [o.a.c.e.o.VolumeOrchestrator]
>>>> (Work-Job-Executor-6:job-30/job-31 ctx-b83982e8) Unable to create
>>>> Vol[4|vm=4|ROOT]:java.lang.ClassCastException:
>>>> com.cloud.agent.api.to.NfsTO cannot be cast to
>>>> org.apache.cloudstack.storage.to.PrimaryDataStoreTO
>>>> at
>>>> 
>>>>com.cloud.hypervisor.kvm.storage.KVMStorageProcessor.copyTemplateToPrim
>>>>aryS
>>>> torage(KVMStorageProcessor.java:150)
>>>> at
>>>> 
>>>>com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(S
>>>>tora
>>>> geSubsystemCommandHandlerBase.java:75)
>>>> at
>>>> 
>>>>com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleSto
>>>>rage
>>>> Commands(StorageSubsystemCommandHandlerBase.java:50)
>>>> at
>>>> 
>>>>com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeReque
>>>>st(L
>>>> ibvirtComputingResource.java:1359)
>>>> at com.cloud.agent.Agent.processRequest(Agent.java:498)
>>>> at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:806)
>>>> at com.cloud.utils.nio.Task.run(Task.java:83)
>>>> at
>>>> 
>>>>java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.ja
>>>>va:1
>>>> 110)
>>>> at
>>>> 
>>>>java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.j
>>>>ava:
>>>> 603)
>>>> at java.lang.Thread.run(Thread.java:722)
>>>>
>>>>
>>>> Is this a known issue or are there any gotchas that I am overlooking?
>>>>
>>>> Thanks!
>>>>
>>>> // David
>>>>
>>>>
>>>> P.s., good to have seen some of you at CCCNA14 last week.  Looking
>>>>forward
>>>> to Budapest.
>>>>
>>>>


Mime
View raw message