JoaoJandre commented on PR #8909:
URL: https://github.com/apache/cloudstack/pull/8909#issuecomment-2165430245

   > Thanks @JoaoJandre, we have the option when changing disk offering to 
migrate to another storage if required, why not fix it there instead? 
![Screenshot 2024-06-12 at 11 44 
52](https://private-user-images.githubusercontent.com/13551960/338891518-e56ec583-a57a-4941-9cb0-70f64450b2f4.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTgyMDI0MDgsIm5iZiI6MTcxODIwMjEwOCwicGF0aCI6Ii8xMzU1MTk2MC8zMzg4OTE1MTgtZTU2ZWM1ODMtYTU3YS00OTQxLTljYjAtNzBmNjQ0NTBiMmY0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjEyVDE0MjE0OFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWZiNWRlODMyZjEzYzVhOTQ4Y2FhYjUwOTU2ZGRjYWJjYjA5YmQxN2NhMzEwOTFiNjU0NTk4MmEzYjczNDVkYjkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.bYYtTWcCt02IVLLWwoRaFLjgYwm71BLnyTDZG-xTL
 IE)
   > 
   > I think it's more lean approach to execute this operation since in the 
case you've described you might end up with volume on shared storage while 
having assigned offering of local storage and vice versa. Currently migrating 
cross different types of storage seems not working ( returns 'Index 0 out of 
bounds for length 0' ), would you consider moving the fix there?
   
   
   Hey @borisstoyanov, 
   
   I think you misunderstood the PR. The issue is not with the disk offering, 
but with a validation that makes no sense: the destination host does not need 
to have access to the original storage, regardless of the disk offering. This 
PR fixes the current validation to reflect that. 
   
   About ending up with a disk offering in a storage with different type, this 
is current behavior, as introduced in #2425. It is assumed that when the ROOT 
admin migrates the volume somewhere, they know what they are doing. Same 
applies to migrating VMs to hosts that do not have a certain tag, the root 
admin has this power.
   
   I didn't understand your last point, are you saying that this PR broke 
migration across different types of storage, or that this is a current issue? 
if so, could you give me the link to the issue?


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

Reply via email to