cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Likitha Shetty (JIRA)" <>
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
             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

Resize of detached volumes fails with the following error
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
VM none does not exist in VMware datacenter 
ERROR [c.c.h.v.r.VmwareResource] (DirectAgent-103:ctx-145f612d
Unable to resize volume 
java.lang.Exception: VM none does not exist in VMware datacenter 


at org.apache.cloudstack.managed.context.ManagedContextRunnable$

at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$

at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(

at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(


at java.util.concurrent.Executors$ 
at java.util.concurrent.FutureTask$Sync.innerRun( 
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(

at java.util.concurrent.ScheduledThreadPoolExecutor$

at java.util.concurrent.ThreadPoolExecutor.runWorker( 
at java.util.concurrent.ThreadPoolExecutor$ 
WARN [o.a.c.s.d.ObjectInDataStoreManagerImpl] (API-Job-Executor-9:ctx-39d10699 job-4056 ctx-b2cc315e)
Unsupported data object (VOLUME,,
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 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


+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

View raw message