Hi,

Yes, the /etc/vdsm/logger.conf contains log level settings for most of the operations, but not all.

You can use vdsm-client to enable logging :

vdsm-client  Host setLogLevel level=DEBUG name=QemuImg

Here an example of the output :

2017-06-28 14:02:10,829+0300 WARN  (jsonrpc/6) [root] Setting loglevel on 'QemuImg' to DEBUG (10) (logutils:168)
2017-06-28 14:05:30,904+0300 DEBUG (tasks/1) [QemuImg] /usr/bin/taskset --cpu-list 0-0 /usr/bin/nice -n 19 /usr/bin/ionice -c 3 /usr/bin/qemu-img convert -p -t none -T none -f raw /rhev/data-center/mnt/10.35.0.181:_home_storage__domains_sd2__master/acb344a1-62ee-48e8-bdf4-fa571d0d81ce/images/2475ff33-2118-48e4-bfd3-a16bfaa39e88/5d75fc4c-b156-49c0-b7fe-e54c5af67b0a -O raw /rhev/data-center/mnt/10.35.0.181:_home_storage__domains_sd3__master/0883a2dc-c973-495d-95b0-73e08c2948e0/images/2475ff33-2118-48e4-bfd3-a16bfaa39e88/5d75fc4c-b156-49c0-b7fe-e54c5af67b0a (cwd None) (qemuimg:261)
2017-06-28 14:05:32,589+0300 DEBUG (tasks/1) [QemuImg] qemu-img operation progress: 100.0% (qemuimg:332)

Regarding the UI, see attached a screenshot. Under the "Locked" status there is a progress bar.


Regards,

Fred



On Wed, Jun 28, 2017 at 1:04 PM, Gianluca Cecchi <gianluca.cecchi@gmail.com> wrote:
On Wed, Jun 28, 2017 at 8:48 AM, Fred Rolland <frolland@redhat.com> wrote:
Hi,

The qemu operation progress is parsed [1] and is printed on debug level in Vdsm log [2].

Where should I see this information: vdsm.log ?

It seems I see nothing. Could it depend on settings in  /etc/vdsm/logger.conf ?
Which part of this file in case would rule the presence of the log messages related to move progress?

In the UI, a progress indication of the operation is available on the disks status for the "Move Disk" operation.
Currently only for this operation.


I have not understood.
In all parts in te gui where there is a disk section  only see "Locked" in status

eg 

Disks -> the line with the moving disk presents "Locked"
Virtual Machines -> select my vm -> Disks -> select the moving disk, it contains "Locked"
Virtual Machines -> select my vm -> Snapshots -> Disks, it presents "Locked"

Version is 4.1.1

Thanks


Gianluca