famerico commented on issue #14664:
URL: https://github.com/apache/cloudstack/issues/14664#issuecomment-6776211684

   Additional confirmation of the root cause from a controlled test on our lab 
(CloudStack 4.22.1.1, KVM):
   
   - Same filesystem (same multipath device, same files and UUIDs) bind-mounted 
at `/mnt/block-primary` (no `-iscsi-` in the name) and registered as a new 
SharedMountPoint primary storage.
   - A volume was created in that pool and attached to a test VM.
   - **Stop Instance succeeded on the first attempt**, with no exception 
(`Running` -> `Stopping` -> `Stopped`, no retry).
   - With the original mount directory `/mnt/fa-iscsi-primary`, the first Stop 
failed every time with `Range [21, -1) out of bounds for length 58`.
   
   This matches the code analysis above: the only variable that changed is the 
mount directory name, so the trigger is the `-iscsi-` substring in the disk 
path, not the pool type.
   
   Not tested: VM migration and volume detach, which also call `cleanupDisk` 
(`LibvirtMigrateCommandWrapper`, `KVMStorageProcessor`). Our lab has no spare 
hosts, so they may be affected in the same way.
   


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