Hi Wei,

So, I am able to spin up a VM using local storage now on VMware with your
PR; however, I still see the following exceptions thrown when I look at the
CS MS console:

INFO  [c.c.v.VirtualMachineManagerImpl] (Work-Job-Executor-6:ctx-6046512a
job-263/job-264 ctx-d61972a5) Unable to contact resource.
com.cloud.exception.StorageUnavailableException: Resource [StoragePool:22]
is unreachable: Unable to create Vol[43|vm=31|ROOT]:Unsupported command
issued: org.apache.cloudstack.storage.command.CopyCommand.  Are you sure
you got the right type of server?
    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.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    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.run(FutureTask.java:262)
    at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:744)
INFO  [c.c.h.v.r.VmwareResource] (DirectAgent-5:ctx-2e3c0597
192.168.129.121, job-263/job-264, cmd: StopCommand) Executing resource
StopCommand:
{"isProxy":false,"executeInSequence":true,"checkBeforeCleanup":false,"vmName":"i-2-31-VM","wait":0}
INFO  [c.c.h.v.m.HostMO] (DirectAgent-5:ctx-2e3c0597 192.168.129.121,
job-263/job-264, cmd: StopCommand) VM i-2-31-VM not found in host cache
INFO  [c.c.h.v.r.VmwareResource] (DirectAgent-5:ctx-2e3c0597
192.168.129.121, job-263/job-264, cmd: StopCommand) VM i-2-31-VM is no
longer in vSphere
ERROR [c.c.v.VmWorkJobHandlerProxy] (Work-Job-Executor-6:ctx-6046512a
job-263/job-264 ctx-d61972a5) Invocation exception, caused by:
com.cloud.exception.InsufficientServerCapacityException: Unable to create a
deployment for VM[User|i-2-31-VM]Scope=interface com.cloud.dc.DataCenter;
id=1
INFO  [c.c.v.VmWorkJobHandlerProxy] (Work-Job-Executor-6:ctx-6046512a
job-263/job-264 ctx-d61972a5) Rethrow exception
com.cloud.exception.InsufficientServerCapacityException: Unable to create a
deployment for VM[User|i-2-31-VM]Scope=interface com.cloud.dc.DataCenter;
id=1
ERROR [c.c.v.VmWorkJobDispatcher] (Work-Job-Executor-6:ctx-6046512a
job-263/job-264) Unable to complete AsyncJobVO {id:264, userId: 2,
accountId: 2, instanceType: null, instanceId: null, cmd:
com.cloud.vm.VmWorkStart, cmdInfo:
rO0ABXNyABhjb20uY2xvdWQudm0uVm1Xb3JrU3RhcnR9cMGsvxz73gIAC0oABGRjSWRMAAZhdm9pZHN0ADBMY29tL2Nsb3VkL2RlcGxveS9EZXBsb3ltZW50UGxhbm5lciRFeGNsdWRlTGlzdDtMAAljbHVzdGVySWR0ABBMamF2YS9sYW5nL0xvbmc7TAAGaG9zdElkcQB-AAJMAAtqb3VybmFsTmFtZXQAEkxqYXZhL2xhbmcvU3RyaW5nO0wAEXBoeXNpY2FsTmV0d29ya0lkcQB-AAJMAAdwbGFubmVycQB-AANMAAVwb2RJZHEAfgACTAAGcG9vbElkcQB-AAJMAAlyYXdQYXJhbXN0AA9MamF2YS91dGlsL01hcDtMAA1yZXNlcnZhdGlvbklkcQB-AAN4cgATY29tLmNsb3VkLnZtLlZtV29ya5-ZtlbwJWdrAgAESgAJYWNjb3VudElkSgAGdXNlcklkSgAEdm1JZEwAC2hhbmRsZXJOYW1lcQB-AAN4cAAAAAAAAAACAAAAAAAAAAIAAAAAAAAAH3QAGVZpcnR1YWxNYWNoaW5lTWFuYWdlckltcGwAAAAAAAAAAXBzcgAOamF2YS5sYW5nLkxvbmc7i-SQzI8j3wIAAUoABXZhbHVleHIAEGphdmEubGFuZy5OdW1iZXKGrJUdC5TgiwIAAHhwAAAAAAAAAAJzcQB-AAgAAAAAAAAABXBwcHNxAH4ACAAAAAAAAAABcHNyABFqYXZhLnV0aWwuSGFzaE1hcAUH2sHDFmDRAwACRgAKbG9hZEZhY3RvckkACXRocmVzaG9sZHhwP0AAAAAAAAx3CAAAABAAAAABdAAKVm1QYXNzd29yZHQAHHJPMEFCWFFBRG5OaGRtVmtYM0JoYzNOM2IzSmt4cA,
cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0,
result: null, initMsid: 52237617797, completeMsid: null, lastUpdated: null,
lastPolled: null, created: Fri Oct 23 13:22:38 MDT 2015}, job origin:263
com.cloud.exception.InsufficientServerCapacityException: Unable to create a
deployment for VM[User|i-2-31-VM]Scope=interface com.cloud.dc.DataCenter;
id=1
    at
com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:959)
    at
com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:4576)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    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.run(FutureTask.java:262)
    at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:744)
INFO  [o.a.c.f.j.i.AsyncJobMonitor] (Work-Job-Executor-6:ctx-6046512a
job-263/job-264) Remove job-264 from job monitoring
INFO  [o.a.c.f.j.i.AsyncJobMonitor] (Work-Job-Executor-7:ctx-b53128b5
job-263/job-265) Add job-265 into job monitoring
INFO  [c.c.s.StorageManagerImpl] (Work-Job-Executor-7:ctx-b53128b5
job-263/job-265 ctx-22e88eb4) Storage pool null (22) does not supply IOPS
capacity, assuming enough capacity
INFO  [c.c.s.StorageManagerImpl] (Work-Job-Executor-7:ctx-b53128b5
job-263/job-265 ctx-22e88eb4) Storage pool null (23) does not supply IOPS
capacity, assuming enough capacity
WARN  [c.c.a.r.v.VirtualRoutingResource] (DirectAgent-33:ctx-9d81a47a)
Expected 1 answers while executing DhcpEntryCommand but received 2
WARN  [c.c.a.r.v.VirtualRoutingResource] (DirectAgent-17:ctx-9b59298d)
Expected 1 answers while executing SavePasswordCommand but received 2
WARN  [c.c.a.r.v.VirtualRoutingResource] (DirectAgent-17:ctx-9b59298d)
Expected 1 answers while executing VmDataCommand but received 2
INFO  [o.a.c.s.v.VolumeServiceImpl] (Work-Job-Executor-7:ctx-b53128b5
job-263/job-265 ctx-22e88eb4) lock is acquired for VMTemplateStoragePool 21
WARN  [c.c.a.m.AgentManagerImpl] (Work-Job-Executor-7:ctx-b53128b5
job-263/job-265 ctx-22e88eb4) Unsupported Command: Unsupported command
issued: org.apache.cloudstack.storage.command.CopyCommand.  Are you sure
you got the right type of server?
INFO  [o.a.c.s.v.VolumeServiceImpl] (Work-Job-Executor-7:ctx-b53128b5
job-263/job-265 ctx-22e88eb4) releasing lock for VMTemplateStoragePool 21
INFO  [c.c.v.VirtualMachineManagerImpl] (Work-Job-Executor-7:ctx-b53128b5
job-263/job-265 ctx-22e88eb4) Unable to contact resource.
com.cloud.exception.StorageUnavailableException: Resource [StoragePool:22]
is unreachable: Unable to create Vol[43|vm=31|ROOT]:Unsupported command
issued: org.apache.cloudstack.storage.command.CopyCommand.  Are you sure
you got the right type of server?
    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.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    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.run(FutureTask.java:262)
    at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:744)
INFO  [c.c.h.v.r.VmwareResource] (DirectAgent-34:ctx-e78b19ce
192.168.129.121, job-263/job-265, cmd: StopCommand) Executing resource
StopCommand:
{"isProxy":false,"executeInSequence":true,"checkBeforeCleanup":false,"vmName":"i-2-31-VM","wait":0}
INFO  [c.c.h.v.m.HostMO] (DirectAgent-34:ctx-e78b19ce 192.168.129.121,
job-263/job-265, cmd: StopCommand) VM i-2-31-VM not found in host cache
INFO  [c.c.h.v.r.VmwareResource] (DirectAgent-34:ctx-e78b19ce
192.168.129.121, job-263/job-265, cmd: StopCommand) VM i-2-31-VM is no
longer in vSphere
INFO  [c.c.s.StorageManagerImpl] (Work-Job-Executor-7:ctx-b53128b5
job-263/job-265 ctx-22e88eb4) Storage pool null (23) does not supply IOPS
capacity, assuming enough capacity
WARN  [c.c.a.r.v.VirtualRoutingResource] (DirectAgent-9:ctx-b1bff3de)
Expected 1 answers while executing DhcpEntryCommand but received 2
WARN  [c.c.a.r.v.VirtualRoutingResource] (DirectAgent-35:ctx-a303d3a2)
Expected 1 answers while executing SavePasswordCommand but received 2
INFO  [o.a.c.f.j.i.AsyncJobManagerImpl]
(AsyncJobMgr-Heartbeat-1:ctx-554aec1e) Begin cleanup expired async-jobs
INFO  [o.a.c.f.j.i.AsyncJobManagerImpl]
(AsyncJobMgr-Heartbeat-1:ctx-554aec1e) End cleanup expired async-jobs
WARN  [c.c.a.r.v.VirtualRoutingResource] (DirectAgent-35:ctx-a303d3a2)
Expected 1 answers while executing VmDataCommand but received 2
INFO  [c.c.s.r.VmwareStorageProcessor] (DirectAgent-18:ctx-253c4747
192.168.129.75, job-263/job-265, cmd: CopyCommand) creating full clone from
template
INFO  [o.a.c.f.j.i.AsyncJobManagerImpl]
(AsyncJobMgr-Heartbeat-1:ctx-be1c52ce) Begin cleanup expired async-jobs
INFO  [o.a.c.f.j.i.AsyncJobManagerImpl]
(AsyncJobMgr-Heartbeat-1:ctx-be1c52ce) End cleanup expired async-jobs


Thanks!
Mike

On Fri, Oct 23, 2015 at 3:21 AM, Wei ZHOU <ustcweiz...@gmail.com> wrote:

> As I said in previous mail, the request should be sent to
> KVMHypervisorGuru, not others.
> Mike, can you try my PR:  https://github.com/apache/cloudstack/pull/954
>
> 2015-10-23 8:49 GMT+02:00 Rajani Karuturi <rajani.karut...@citrix.com>:
>
> > Interesting. Incase of KVM, its the reverse. The command which is
> supposed
> > to goto SSVM ended up on KVM host.
> >
> > ~Rajani
> >
> >
> >
> > On 23-Oct-2015, at 10:49 am, Mike Tutkowski <
> mike.tutkow...@solidfire.com>
> > wrote:
> >
> > > Hi Rajani,
> > >
> > > I seem to get the same error.
> > >
> > > "Are you sure you got the right type of server?" is listed again in the
> > > output.
> > >
> > > It seems VMwareGuru is invoked and it passes the CopyCommand on to the
> > > SSVM, which claims it doesn't support the command.
> > >
> > > Thanks,
> > > Mike
> > >
> > > On Thu, Oct 22, 2015 at 10:56 PM, Rajani Karuturi <
> > > rajani.karut...@citrix.com> wrote:
> > >
> > >> Yes. This is the pr.  We have some design issues to fix to make sure
> > >> hypervisor gurus doesn't cross boundaries. But, until then, we have to
> > fix
> > >> the respective hv gurus. You can find more details on the bug which
> nux
> > >> shared.
> > >>
> > >> You could also test with hypervisor gurus exclude global Param and
> > exclude
> > >> ovm3guru to be sure that this is the issue. (exact configuration and
> its
> > >> value is on bug comments)
> > >>
> > >> ~Rajani
> > >> Sent from my Windows Phone
> > >> ________________________________
> > >> From: Mike Tutkowski<mailto:mike.tutkow...@solidfire.com>
> > >> Sent: ‎23-‎10-‎15 09:56
> > >> To: dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org>
> > >> Subject: Re: [4.6] Can't create template or volume from snapshot
> > >>
> > >> Hi Rajani,
> > >>
> > >> Just checking to make sure this is the PR you intended. It looks
> > related to
> > >> OVM3 only.
> > >>
> > >> Thanks!
> > >> Mike
> > >>
> > >> On Thu, Oct 22, 2015 at 9:39 PM, Rajani Karuturi <
> > >> rajani.karut...@citrix.com
> > >>> wrote:
> > >>
> > >>> Mike,
> > >>> Can you please test on PR
> > https://github.com/apache/cloudstack/pull/962?
> > >>> It fixes this issue.
> > >>>
> > >>> ~Rajani
> > >>>
> > >>>
> > >>>
> > >>> On 23-Oct-2015, at 7:29 am, Mike Tutkowski <
> > mike.tutkow...@solidfire.com
> > >>>
> > >>> wrote:
> > >>>
> > >>>> I guess I should point out that my system VMs are all running on
> > >>> XenServer,
> > >>>> but I don't think that should be a problem.
> > >>>>
> > >>>> On Thu, Oct 22, 2015 at 7:57 PM, Mike Tutkowski <
> > >>>> mike.tutkow...@solidfire.com> wrote:
> > >>>>
> > >>>>> I seem to be having a similar problem with deploying a VM on VMware
> > >> (on
> > >>>>> 4.6). I first tried with my (SolidFire) plug-in and then with just
> > >> local
> > >>>>> storage. In both cases, I get an error saying "Are you sure you got
> > >> the
> > >>>>> right type of server?"
> > >>>>>
> > >>>>> On Sun, Oct 18, 2015 at 2:29 AM, Nux! <n...@li.nux.ro> wrote:
> > >>>>>
> > >>>>>> All I get is a "Are you sure you got the right type of server?"
> > >>>>>>
> > >>>>>> More info at
> https://issues.apache.org/jira/browse/CLOUDSTACK-8964
> > >>>>>>
> > >>>>>> Lucian
> > >>>>>>
> > >>>>>> --
> > >>>>>> Sent from the Delta quadrant using Borg technology!
> > >>>>>>
> > >>>>>> Nux!
> > >>>>>> www.nux.ro
> > >>>>>>
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>> --
> > >>>>> *Mike Tutkowski*
> > >>>>> *Senior CloudStack Developer, SolidFire Inc.*
> > >>>>> e: mike.tutkow...@solidfire.com
> > >>>>> o: 303.746.7302
> > >>>>> Advancing the way the world uses the cloud
> > >>>>> <http://solidfire.com/solution/overview/?video=play>*™*
> > >>>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>> --
> > >>>> *Mike Tutkowski*
> > >>>> *Senior CloudStack Developer, SolidFire Inc.*
> > >>>> e: mike.tutkow...@solidfire.com
> > >>>> o: 303.746.7302
> > >>>> Advancing the way the world uses the cloud
> > >>>> <http://solidfire.com/solution/overview/?video=play>*™*
> > >>>
> > >>>
> > >>
> > >>
> > >> --
> > >> *Mike Tutkowski*
> > >> *Senior CloudStack Developer, SolidFire Inc.*
> > >> e: mike.tutkow...@solidfire.com
> > >> o: 303.746.7302
> > >> Advancing the way the world uses the cloud
> > >> <http://solidfire.com/solution/overview/?video=play>*™*
> > >>
> > >
> > >
> > >
> > > --
> > > *Mike Tutkowski*
> > > *Senior CloudStack Developer, SolidFire Inc.*
> > > e: mike.tutkow...@solidfire.com
> > > o: 303.746.7302
> > > Advancing the way the world uses the cloud
> > > <http://solidfire.com/solution/overview/?video=play>*™*
> >
> >
>



-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkow...@solidfire.com
o: 303.746.7302
Advancing the way the world uses the cloud
<http://solidfire.com/solution/overview/?video=play>*™*

Reply via email to