[VMware] The storage type and offering for the volume(s) remain the same, after migrating VM with volumes (from Local to Shared storage or vice versa, in VMware) and doesn't match with the underlying storage pool.
ISSUE TYPE
- Bug Report
- Improvement Request
COMPONENT NAME
Volume
CLOUDSTACK VERSION
CONFIGURATION
Tested with CS + VMware 6.7 + Local Storage + Shared Storage, with Advanced networking
OS / ENVIRONMENT
SUMMARY
The VM migration with volumes, is supported across different storage types (Local and Shared) for VMware. Once the migration is performed, the storage type / offering still points to the old storage type / offering, doesn't match with the underlying storage pool.
ROOT Disk migrated to Shared Pool from Local storage =>

DATA Disk migrated to Local Pool from Shared storage =>

STEPS TO REPRODUCE
- Create a VM with ROOT disk in Local storage, and DATA disk in Shared storage.
- Perform VM migration with volumes, with ROOT disk maps to Shared storage and DATA disk maps to Local storage.
EXPECTED RESULTS
Storage Type should indicate the correct type (Local / Shared) for the volume after migration.
ACTUAL RESULTS
Storage Type points to incorrect type for the volume after migration.