Skip to content

Resize volume fails after DRS migrates volume in datastore cluster #5484

@harikrishna-patnala

Description

@harikrishna-patnala
ISSUE TYPE
  • Bug Report
COMPONENT NAME
VMware, DatastoreCluster
CLOUDSTACK VERSION
main
CONFIGURATION
OS / ENVIRONMENT
SUMMARY

In VMware datastore cluster, if DRS triggers a volume migration and if the volume path has changed then the subsequent resize volume operation in CloudStack fails because the update volume path is not there with CloudStack.

Workaround is to stop start the VM or detach and attach the volume.

STEPS TO REPRODUCE
1. Create a VM with datadisk in CloudStack, make sure volumes created in datastore cluster
2. Let DRS triggers migration of volumes within datastore cluster
3. make sure of the usecase that volume path (name) has changed (not just the datastore)
4. Try resize volume operation from CloudStack
EXPECTED RESULTS
Volume resize should be successful
ACTUAL RESULTS
Volume resize fails with error "No such disk device"

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions