You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Lack of progress updates when migrating volumes #9779
When migrating volumes between storages the qemu-img command does not report any progress anywhere, when moving large volumes it's useful to know how it is going.
It would be beneficial to add "-p" "convert" switch to qemu-img to get a progress then send the stdout/stderr to the agent.log or syslog.
STEPS TO REPRODUCE
Migrate a large volume between different various storages.
Takes a long time with no way to check (unless you start inspecting target volumes that is).
EXPECTED RESULTS
Command returns some progress to the user/operator, either in UI , logs, both etc.
@DaanHoogland cc @NuxRo this is marked for 4.19.3 but I'm not sure if this is simple enough to be solved in this milestone. Adding a -p switch is a good idea but I'm not sure if CloudStack always uses qemu-img for the volume migration (even with KVM).
For different hypervisors, it could be a different strategy. For UI, we may need changes in DB to store the status, some response param in AsyncJobResponse. I think this would be a bigger work @NuxRo is there a specific case I can look into to start with logging status in the logs - migrateVolume or migrateVirtualMachineWithVolumes?
@NuxRo@shwstppr , It seems we will not do this. shall we close it? functionally it makes sense (from a user perspective) but implementation will be complicated and maybe not worth the trouble in the end?
Activity
shwstppr commentedon Apr 15, 2025
@DaanHoogland cc @NuxRo this is marked for 4.19.3 but I'm not sure if this is simple enough to be solved in this milestone. Adding a -p switch is a good idea but I'm not sure if CloudStack always uses qemu-img for the volume migration (even with KVM).
For different hypervisors, it could be a different strategy. For UI, we may need changes in DB to store the status, some response param in AsyncJobResponse. I think this would be a bigger work
@NuxRo is there a specific case I can look into to start with logging status in the logs - migrateVolume or migrateVirtualMachineWithVolumes?
DaanHoogland commentedon Jul 9, 2025
@NuxRo @shwstppr , It seems we will not do this. shall we close it? functionally it makes sense (from a user perspective) but implementation will be complicated and maybe not worth the trouble in the end?