Skip to content

Lack of progress updates when migrating volumes #9779

In review

Description

@NuxRo
ISSUE TYPE
  • Improvement Request
COMPONENT NAME
Volume operations
CLOUDSTACK VERSION
4.19.1.1
CONFIGURATION
OS / ENVIRONMENT

Ubuntu KVM

SUMMARY

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.
ACTUAL RESULTS
No progress reports of any sort.

Activity

  1. added this to the 4.19.2.0 milestone on Oct 8, 2024
  2. modified the milestones: 4.19.2, 4.19.3 on Feb 25, 2025
  3. shwstppr commented on Apr 15, 2025

    @shwstppr
    Contributor

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

  4. modified the milestones: 4.19.3, 4.19.4 on Jun 5, 2025
  5. DaanHoogland commented on Jul 9, 2025

    @DaanHoogland
    Contributor

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

  6. modified the milestones: 4.19.4, 4.20.2 on Sep 2, 2025
  7. modified the milestones: 4.20.2, 4.20.3 on Oct 23, 2025
  8. modified the milestones: 4.20.3, 4.23.0 on Jan 21, 2026
  9. modified the milestones: 4.23.0, 4.24.0 on Jun 29, 2026
  10. modified the milestones: 24.0, 25.0 on Oct 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions