Bug 1967413 - Logical name doesn't appear in diskattachments and UI immediately after a disk is hot plugged into vm
Summary: Logical name doesn't appear in diskattachments and UI immediately after a dis...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: vdsm
Classification: oVirt
Component: General
Version: 4.40.70.1
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-4.4.8
: ---
Assignee: Tomáš Golembiovský
QA Contact: Qin Yuan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-06-03 06:22 UTC by Qin Yuan
Modified: 2021-11-04 19:28 UTC (History)
4 users (show)

Fixed In Version: vdsm-4.40.80.5
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-08-19 06:23:16 UTC
oVirt Team: Virt
Embargoed:
pm-rhel: ovirt-4.4+


Attachments (Terms of Use)
vdsm.log (1.54 MB, text/plain)
2021-06-03 06:22 UTC, Qin Yuan
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 116090 0 master MERGED qga: refresh guest disk info after disk hotplug 2021-08-11 06:26:59 UTC

Description Qin Yuan 2021-06-03 06:22:59 UTC
Created attachment 1788791 [details]
vdsm.log

Description of problem:
When hot plugging a disk to vm, it takes about 5 mins to show disk logical name in diskattachments and UI. Disk logical name should appear right after the disk is hot plugged into vm.

Version-Release number of selected component (if applicable):
vdsm-4.40.70.1-1.el8ev.x86_64
ovirt-engine-4.4.7-0.23.el8ev.noarch
qemu-guest-agent-4.2.0-34.module+el8.3.0+10437+1ca0c2ba.5.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Create and run a VM.
2. Add a new disk to the running VM
3. Check disk logical name on UI and via API

Actual results:
1. It takes about 5 mins to show disk logical name in diskattachments and UI.

Expected results:
1. Logical name should be show in diskattachments and UI immediately after the disk is hot plugged into vm.

Additional info:

Comment 1 Tomáš Golembiovský 2021-06-03 08:28:39 UTC
Currently this is limited by the configuration of qga_disk_info_period timer so it may take up to 5m until we perform another query for disk mapping. We can certainly make this faster and ask the guest right after performing the hot-plug.

Comment 2 Qin Yuan 2021-08-15 23:54:48 UTC
Verified with:
vdsm-4.40.80.5-1.el8ev.x86_64
ovirt-engine-4.4.8.4-0.7.el8ev.noarch

Steps:
The same as steps in comment #0

Results:
Logical name can be shown in diskattachments and on UI in a short time after the disk is hot plugged into vm.

Comment 3 Sandro Bonazzola 2021-08-19 06:23:16 UTC
This bugzilla is included in oVirt 4.4.8 release, published on August 19th 2021.

Since the problem described in this bug report should be resolved in oVirt 4.4.8 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.