sureshanaparti opened a new issue #5558:
URL: https://github.com/apache/cloudstack/issues/5558
<!--
Verify first that your issue/request is not already reported on GitHub.
Also test if the latest release and main branch are affected too.
Always add information AFTER of these HTML comments, but no need to delete
the comments.
-->
[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)
and doesn't match with the underlying storage pool.
##### ISSUE TYPE
<!-- Pick one below and delete the rest -->
* Bug Report
* Improvement Request
##### COMPONENT NAME
<!--
Categorize the issue, e.g. API, VR, VPN, UI, etc.
-->
Volume
##### CLOUDSTACK VERSION
<!--
New line separated list of affected versions, commit ID for issues on main
branch.
-->
~~~
main
~~~
##### CONFIGURATION
<!--
Information about the configuration if relevant, e.g. basic network,
advanced networking, etc. N/A otherwise
-->
Tested with CS + VMware 6.7 + Local Storage + Shared Storage, with Advanced
networking
##### OS / ENVIRONMENT
<!--
Information about the environment if relevant, N/A otherwise
-->
##### SUMMARY
<!-- Explain the problem/feature briefly -->
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 =>
<img width="649" alt="ROOT_Disk_MigratedToSharedPool"
src="https://user-images.githubusercontent.com/12028987/136507021-143b34a9-1f8e-423f-b55d-4d961303bbde.png">
DATA Disk migrated to Local Pool from Shared storage =>
<img width="644" alt="DATA_Disk_MigratedToLocalPool"
src="https://user-images.githubusercontent.com/12028987/136507141-77194de9-c8eb-4c2c-bb25-726012928541.png">
##### STEPS TO REPRODUCE
<!--
For bugs, show exactly how to reproduce the problem, using a minimal
test-case. Use Screenshots if accurate.
For new features, show how the feature would be used.
-->
- 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.
<!-- You can also paste gist.github.com links for larger files -->
##### EXPECTED RESULTS
<!-- What did you expect to happen when running the steps above? -->
Storage Type should indicate the correct type (Local / Shared) for the
volume after migration.
##### ACTUAL RESULTS
<!-- What actually happened? -->
Storage Type points to incorrect type for the volume after migration.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]