apache / cloudstack

Apache CloudStack is an opensource Infrastructure as a Service (IaaS) cloud computing platform
https://cloudstack.apache.org/
Apache License 2.0
2.1k stars 1.11k forks source link

Lack of progress updates when migrating volumes #9779

Open NuxRo opened 1 month ago

NuxRo commented 1 month ago
ISSUE TYPE
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.