cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Min Chen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CLOUDSTACK-6027) CreateVolume from snapshot is failing with S3 on Vmware
Date Tue, 04 Feb 2014 23:28:20 GMT

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

Min Chen resolved CLOUDSTACK-6027.
----------------------------------

    Resolution: Fixed

> CreateVolume from snapshot is failing with S3 on Vmware 
> --------------------------------------------------------
>
>                 Key: CLOUDSTACK-6027
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6027
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Storage Controller, VMware
>    Affects Versions: 4.3.0
>            Reporter: Min Chen
>            Assignee: Min Chen
>            Priority: Critical
>             Fix For: 4.3.0
>
>
> 1. Have CS with VMware5.1 HV and NFS secondary storage.
> 2. Create some VMs.
> 3. Migrate NFS to S3 secondary storage.
> 4. Create a snapshot of root volume of any existing VM.
> 5. Create volume from the snapshot.
> Observation:
> Creation of volume from snapshot after NFS to S3 migration is failing:
> 2014-01-30 21:43:20,512 DEBUG [c.c.a.t.Request] (AgentManager-Handler-2:null) Seq 3-1240727817:
Processing: { Ans: , MgmtId: 6758231703598, via: 3, Ver: v1, Flags: 10, [{"org.apache.cloudstack.storage.command.CopyCmdAnswer":{"result":false,"details":"create
volume from snapshot exception: Exception: java.lang.Exception\nMessage: Unable to find snapshot
OVA file at: /mnt/SecStorage/0e8da06e-0788-3efb-86a6-b0705a2205d3/snapshots/3/7/809872a8-2f7b-4ad2-99f8-d0b247b2d523.ova.ova\n","wait":0}}]
}
> 2014-01-30 21:43:20,512 DEBUG [c.c.a.t.Request] (Job-Executor-80:ctx-33355774 ctx-401f6262)
Seq 3-1240727817: Received: { Ans: , MgmtId: 6758231703598, via: 3, Ver: v1, Flags: 10,
> { CopyCmdAnswer }
> }
> 2014-01-30 21:43:20,543 WARN [o.a.c.s.d.ObjectInDataStoreManagerImpl] (Job-Executor-80:ctx-33355774
ctx-401f6262) Unsupported data object (VOLUME, org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@25f21cb4),
no need to delete from object in store ref table
> 2014-01-30 21:43:20,555 WARN [o.a.c.s.d.ObjectInDataStoreManagerImpl] (Job-Executor-80:ctx-33355774
ctx-401f6262) Snapshot 11 is not found on image store 2, so no need to delete
> 2014-01-30 21:43:20,555 DEBUG [o.a.c.e.o.VolumeOrchestrator] (Job-Executor-80:ctx-33355774
ctx-401f6262) Failed to create volume from snapshot:create volume from snapshot exception:
Exception: java.lang.Exception
> Message: Unable to find snapshot OVA file at: /mnt/SecStorage/0e8da06e-0788-3efb-86a6-b0705a2205d3/snapshots/3/7/809872a8-2f7b-4ad2-99f8-d0b247b2d523.ova.ova
> 2014-01-30 21:43:20,555 DEBUG [c.c.s.VolumeApiServiceImpl] (Job-Executor-80:ctx-33355774
ctx-401f6262) Failed to create volume: 14
> com.cloud.utils.exception.CloudRuntimeException: Failed to create volume from snapshot:create
volume from snapshot exception: Exception: java.lang.Exception
> Message: Unable to find snapshot OVA file at: /mnt/SecStorage/0e8da06e-0788-3efb-86a6-b0705a2205d3/snapshots/3/7/809872a8-2f7b-4ad2-99f8-d0b247b2d523.ova.ova
> at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.createVolumeFromSnapshot(VolumeOrchestrator.java:374)
> at com.cloud.storage.VolumeApiServiceImpl.createVolumeFromSnapshot(VolumeApiServiceImpl.java:785)
> at com.cloud.storage.VolumeApiServiceImpl.createVolume(VolumeApiServiceImpl.java:735)
> at com.cloud.storage.VolumeApiServiceImpl.createVolume(VolumeApiServiceImpl.java:177)
> 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:601)
> at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
> at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
> at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
> at com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:50)
> at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
> at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
> at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
> at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
> at $Proxy196.createVolume(Unknown Source)
> at org.apache.cloudstack.api.command.user.volume.CreateVolumeCmd.execute(CreateVolumeCmd.java:196)
> at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:161)
> at com.cloud.api.ApiAsyncJobDispatcher.runJobInContext(ApiAsyncJobDispatcher.java:109)
> at com.cloud.api.ApiAsyncJobDispatcher$1.run(ApiAsyncJobDispatcher.java:66)
> 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 com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:63)
> at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:509)
> 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.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> at java.lang.Thread.run(Thread.java:722)
> 2014-01-30 21:43:20,571 DEBUG [c.c.u.AccountManagerImpl] (Job-Executor-80:ctx-33355774
ctx-401f6262) Access granted to Acct[9a539118-899f-11e3-85a7-06258600002e-admin] to Domain:1/
by AffinityGroupAccessChecker
> 2014-01-30 21:43:20,577 INFO [c.c.r.ResourceLimitManagerImpl] (Job-Executor-80:ctx-33355774
ctx-401f6262) Discrepency in the resource count (original count=13958643712 correct count
= 9663676416) for type primary_storage for account ID 2 is fixed during resource count recalculation.
> 2014-01-30 21:43:20,597 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-80:ctx-33355774)
Complete async job-66, jobStatus: FAILED, resultCode: 530, result: org.apache.cloudstack.api.response.ExceptionResponse/null/
> {"uuidList":[],"errorcode":530,"errortext":"Failed to create a volume"}
> 2014-01-30 21:43:20,608 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-80:ctx-33355774)
Done executing org.apache.cloudstack.api.command.user.volume.CreateVolumeCmd for job-66



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message