cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Likitha Shetty (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-7662) [VMware] Resize of detached volumes fails
Date Wed, 01 Oct 2014 09:17:34 GMT
Likitha Shetty created CLOUDSTACK-7662:
------------------------------------------

             Summary: [VMware] Resize of detached volumes fails
                 Key: CLOUDSTACK-7662
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7662
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: VMware, Volumes
    Affects Versions: 4.5.0
            Reporter: Likitha Shetty
            Assignee: Likitha Shetty
            Priority: Critical
             Fix For: 4.5.0


+Problem+
Resize of detached volumes fails with the following error
{noformat}
INFO [o.a.c.f.j.i.AsyncJobMonitor] (API-Job-Executor-9:ctx-39d10699 job-4056) Add job-4056
into job monitoring 
ERROR [c.c.h.v.r.VmwareResource] (DirectAgent-103:ctx-145f612d gheodc01app51.gs2beta-ad.local.com)
VM none does not exist in VMware datacenter 
ERROR [c.c.h.v.r.VmwareResource] (DirectAgent-103:ctx-145f612d gheodc01app51.gs2beta-ad.local.com)
Unable to resize volume 
java.lang.Exception: VM none does not exist in VMware datacenter 
at com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:657) 
at com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:594)

at com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:215)

at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:50)

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:47)

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.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)

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) 
WARN [o.a.c.s.d.ObjectInDataStoreManagerImpl] (API-Job-Executor-9:ctx-39d10699 job-4056 ctx-b2cc315e)
Unsupported data object (VOLUME, org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@39f054d9),
no need to delete from object in store ref table 
WARN [c.c.s.VolumeApiServiceImpl] (API-Job-Executor-9:ctx-39d10699 job-4056 ctx-b2cc315e)
Failed to resize the volume Vol[225|vm=null|DATADISK] 
INFO [o.a.c.f.j.i.AsyncJobMonitor] (API-Job-Executor-9:ctx-39d10699 job-4056) Remove job-4056
from job monitoring 
INFO [c.c.h.v.m.HostMO] (DirectAgent-17:ctx-38b22e90 gheodc01app51.gs2beta-ad.local.com) VM
i-2-168-VM not found in host cache 
INFO [c.c.h.v.r.VmwareResource] (DirectAgent-331:ctx-894aa11d) Scan hung worker VM to recycle

INFO [c.c.h.v.r.VmwareResource] (DirectAgent-17:ctx-f20cffed) Scan hung worker VM to recycle

{noformat}

+Root Cause Analysis+
In case of VMware, for disk re-size we use the VM associated with the disk to perform the
re-size operation. For a detached volume since there is no associated VM the re-size failed
with 'VM does not exist' error.

+Steps to reproduce+
# Setup a VMware DC
# Create a VM with a Datadisk - choose Disk offering 'Small' for the Datadisk
# Detach the Datadisk
# Attempt to resize the Datadisk - choose New Offering 'Medium Disk, 20 GB'
The above will fail with a UI message 'Failed to resize volume'.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message