logical_name of virtual machine disk not seen in the ovirt engine

Hello, i used the vm_backup script as provide here : https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/vm_backup... I understood the process to backup VM. I'm stuck at getting the logical_name of the disk when the snapshot disk is attached in a VM. I checked the flow like this: - The disk is attached on the VM - oVirt guest agent detect the new disk and the mapping seen on the LOG (i did put those log in DEBUG in /etc/ovirt-guest-agent.conf), i also reduce the report_disk_usage to 10 to speed up the process - VDSM on the host get the info from the ovirt guest agent seen by running the following command vdsm-client Host getVMFullList - On the engine the logical_name is empty seen with the following sql request select device,type,device_id, logical_name from vm_device where type='disk' and vm_id='XXX'; ovirt-engine-4.2.3.5-1.el7.centos.noarch vdsm-4.20.27.1-1.el7.centos.x86_64 ovirt-guest-agent-common-1.0.14-1.el7.noarch Do you have an idea ? Is the information request by the engine to VDSM ? VDSM does report to the engine ? What is the flow to get the logical_name populated in the engine DB, python SDK ? I can provide logs if needed. I juste don't know how to enable debug on VDSM (I will take a look for this)

Even after a long wait, the logical_name is not populated in the engine DB. No idea how to get it populated.

Found an interesting article about how it works https://ovirt.org/develop/release-management/features/storage/reportguestdis...

it seems that i have the logical_name not populated only with snapshot disk attachment. When i attached a normal disk (ie: i created a disk on ovirt) via webui, the logical_name is populated. Can't really find why but it seems related to snap disk
participants (1)
-
Punaatua PK