You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2021/04/09 06:02:30 UTC

[GitHub] [cloudstack] GabrielBrascher commented on issue #4545: Fail to change Service offering from local <> shared storage

GabrielBrascher commented on issue #4545:
URL: https://github.com/apache/cloudstack/issues/4545#issuecomment-816431978


   @DaanHoogland I think that the validation was intentional indeed, but it does not consider that it is possible to migrate Volumes between local <> shared storage pools.
   
   The conditional checks the previous offering, which works really well if the volume has not been migrated; however, if the volume has been moved to a storage pool with different scope (e.g. HOST or Cluster) than the offering (e.g. local or shared) then this can be a problem.
   
   To bring some context, here is an example.
   1. for now, it is possible to migrate a VM's  Root disk from a shared storage pool to local storage;
   2. however, it is not possible to upgrade its offering to an offering that matches the new storage pool that fits the new pool because the validation offering upgrade command does not allow to do it so.
   
   In my opinion, there should not exist such a limitation as the migration is perfectly doable; and also very necessary in some cases while managing Volumes across storage pools for maintenance or other purposes.
   
   For now, the only way of doing it without a fix is by changing the Volume and VM's offerings on DB.


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org