cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daan Hoogland (JIRA)" <>
Subject [jira] [Created] (CLOUDSTACK-9991) ACS tries to delete a root disk in zone wide primary storage
Date Tue, 11 Jul 2017 11:21:00 GMT
Daan Hoogland created CLOUDSTACK-9991:

             Summary: ACS tries to delete a root disk in zone wide primary storage
                 Key: CLOUDSTACK-9991
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Storage Controller, VMware
    Affects Versions:
            Reporter: Paul Angus

A VM is running and the primary storage is (migrated from cluster to) zone wide. The root
disk for that VM is seen in all clusters and ACS tries to delete it. This fails, fortunately
but only because it is in use. Acs should not try to delete the disk.

message seen:
Cannot delete file [Perf06_ix_stor_003] i-93-8549-VM/ROOT-8549-delta.vmdk 

It looks like this message
 private void deleteUnregisteredVmFiles(VirtualMachineFileLayoutEx vmFileLayout, DatacenterMO
dcMo, boolean deleteDisks) throws Exception { s_logger.debug("Deleting files associated with
an existing VM that was unregistered"); 

from here:

because the start is reading this:

 // Since VM was successfully powered-on, if there was an existing VM in a different cluster
that was unregistered, delete all the files associated with it.
  if (existingVmName != null && existingVmFileLayout != null) {
    deleteUnregisteredVmFiles(existingVmFileLayout, dcMo, true);

This message was sent by Atlassian JIRA

View raw message