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

Abhinandan Prateek reassigned CLOUDSTACK-1547:
----------------------------------------------

    Assignee: edison su
    
> ZWPS: attach volume fails because it is unable to find the storage pool
> -----------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-1547
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1547
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Volumes
>    Affects Versions: 4.2.0
>            Reporter: Srikanteswararao Talluri
>            Assignee: edison su
>             Fix For: 4.2.0
>
>
> Steps to reproduce:
> =============
> 1. create a disk offering "testdiskoffering"with tag "test"
> 2. create a storage pool (zone wide) with tag "test"
> 3. create a volume "vol" with disk offering "testdiskoffering"
> 4. attach "vol" to a running VM
> ===START===  10.101.254.233 -- GET  
> command=attachVolume&id=bdf0fb0f-fdfa-4ba1-a793-33deef1950a5&virtualMachineId=dee1832b-52de-4cb3-be48-b8af0f614a8e&response=json&sessionkey=xGQfkE5LwNJfYwz7DsA0KekDfXc%3D&_=1362593871866
> 2013-03-06 18:47:16,079 DEBUG [xen.resource.CitrixResourceBase] 
> (DirectAgent-429:null) VBD 44b0c979-0638-8681-8fca-c4231c7c283d created for 
> Vol[33|ROOT|66f34739-96f2-44ee-9c28-e4ad84b0e2fa|2147483648]
> 2013-03-06 18:47:16,099 DEBUG [cloud.async.AsyncJobManagerImpl] 
> (catalina-exec-14:null) submit async job-115, details: AsyncJobVO {id:115, 
> userId: 2, accountId: 2, sessionKey: null, instanceType: null, instanceId: 
> 20, cmd: org.apache.cloudstack.api.command.user.volume.AttachVolumeCmd, 
> cmdOriginator: null, cmdInfo: 
> {"response":"json","id":"bdf0fb0f-fdfa-4ba1-a793-33deef1950a5","sessionkey":"xGQfkE5LwNJfYwz7DsA0KekDfXc\u003d","ctxUserId":"2","virtualMachineId":"dee1832b-52de-4cb3-be48-b8af0f614a8e","_":"1362593871866","ctxAccountId":"2","ctxStartEventId":"132"},
>  cmdVersion: 0, callbackType: 0, callbackAddress: null, status: 0, 
> processStatus: 0, resultCode: 0, result: null, initMsid: 7367009763457, 
> completeMsid: null, lastUpdated: null, lastPolled: null, created: null}
> 2013-03-06 18:47:16,105 DEBUG [cloud.api.ApiServlet] (catalina-exec-14:null) 
> ===END===  10.101.254.233 -- GET  
> command=attachVolume&id=bdf0fb0f-fdfa-4ba1-a793-33deef1950a5&virtualMachineId=dee1832b-52de-4cb3-be48-b8af0f614a8e&response=json&sessionkey=xGQfkE5LwNJfYwz7DsA0KekDfXc%3D&_=1362593871866
> 2013-03-06 18:47:16,109 DEBUG [cloud.async.AsyncJobManagerImpl] 
> (Job-Executor-142:job-115) Executing 
> org.apache.cloudstack.api.command.user.volume.AttachVolumeCmd for job-115
> 2013-03-06 18:47:16,132 DEBUG [xen.resource.CitrixResourceBase] 
> (DirectAgent-429:null) Creating VIF for r-30-QA on nic 
> [Nic:Public-10.147.53.67-vlan://53]
> 2013-03-06 18:47:16,178 DEBUG [agent.manager.AgentManagerImpl] 
> (AgentManager-Handler-7:null) Ping from 14
> 2013-03-06 18:47:16,187 DEBUG [xen.resource.CitrixResourceBase] 
> (DirectAgent-429:null) Found a network called 
> VLAN-0da683fd-e1a6-1bec-a2db-c203f409298d-53 on host=10.147.40.15;  
> Network=de67c3bd-e8a8-7af7-6c0a-9eb5ac5b98c1; 
> pif=1995dce2-a08c-2d9e-0b94-f81de66204ee
> 2013-03-06 18:47:16,216 DEBUG [xen.resource.CitrixResourceBase] 
> (DirectAgent-429:null) Created a vif 99e6a0d7-3f2f-16fb-4485-d328fbc1d32c on 2
> 2013-03-06 18:47:16,216 DEBUG [xen.resource.CitrixResourceBase] 
> (DirectAgent-429:null) Creating VIF for r-30-QA on nic 
> [Nic:Guest-10.1.1.1-vlan://1069]
> 2013-03-06 18:47:16,217 WARN  [cloud.storage.VolumeManagerImpl] 
> (Job-Executor-142:job-115) Unable to find storage poll when create volume z
> 2013-03-06 18:47:16,217 ERROR [cloud.async.AsyncJobManagerImpl] 
> (Job-Executor-142:job-115) Unexpected exception while executing 
> org.apache.cloudstack.api.command.user.volume.AttachVolumeCmd
> com.cloud.utils.exception.CloudRuntimeException: Unable to find storage poll 
> when create volumez
>         at 
> com.cloud.storage.VolumeManagerImpl.createVolume(VolumeManagerImpl.java:661)
>         at 
> com.cloud.storage.VolumeManagerImpl.createVolumeOnPrimaryStorage(VolumeManagerImpl.java:1421)
>         at 
> com.cloud.storage.VolumeManagerImpl.attachVolumeToVM(VolumeManagerImpl.java:1685)
>         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:616)
>         at 
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)
>         at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
>         at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
>         at 
> org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
>         at 
> com.cloud.event.ActionEventInterceptor.AroundAnyMethod(ActionEventInterceptor.java:53)
>         at sun.reflect.GeneratedMethodAccessor232.invoke(Unknown Source)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:616)
>         at 
> org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
>         at 
> org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
>         at 
> org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
>         at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
>         at 
> org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
>         at 
> com.cloud.utils.db.TransactionContextBuilder.AroundAnyMethod(TransactionContextBuilder.java:40)
>         at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:616)
>         at 
> org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
>         at 
> org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
>         at 
> org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
>         at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
>         at 
> org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)
>         at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
>         at 
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
>         at $Proxy290.attachVolumeToVM(Unknown Source)
>         at 
> org.apache.cloudstack.api.command.user.volume.AttachVolumeCmd.execute(AttachVolumeCmd.java:122)
>         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:163)
>         at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
>         at 
> org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:689)
>         at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
>         at 
> org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
>         at 
> com.cloud.utils.db.TransactionContextBuilder.AroundAnyMethod(TransactionContextBuilder.java:40)
>         at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:616)
>         at 
> org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
>         at 
> org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
>         at 
> org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
>         at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
>         at 
> org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)
>         at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
>         at 
> org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:622)
>         at 
> com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:437)
>         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:679)
> 2013-03-06 18:47:16,222 DEBUG [cloud.async.AsyncJobManagerImpl] 
> (Job-Executor-142:job-115) Complete async job-115, jobStatus: 2, resultCode: 
> 530, result: Error Code: 530 Error text: Unable to find storage poll when 
> create volumez

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to