Bug 1944495
| Summary: | GET diskattachments for a VM using qemu-guest-agent is missing a logical_name for disks without monted file-system | ||
|---|---|---|---|
| Product: | [oVirt] vdsm | Reporter: | Lili Zhu <lizhu> |
| Component: | General | Assignee: | Tomáš Golembiovský <tgolembi> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Qin Yuan <qiyuan> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.40.50.8 | CC: | ahadas, bugs, chhu, juzhou, lmen, lsurette, srevivo, tgolembi, xuzhang, ycui |
| Target Milestone: | ovirt-4.4.7 | Flags: | pm-rhel:
ovirt-4.4+
|
| Target Release: | 4.40.70.1 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | vdsm-4.40.70.1 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-07-06 07:28:13 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Virt | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Lili Zhu
2021-03-30 03:54:19 UTC
Tomas, can you please take a look? (In reply to Lili Zhu from comment #0) > disk.5.name : /dev/sdb <=== logical name can be reported > disk.5.partition : no It looks like the disk address is not reported by guest agent. Can you please send the output of: # virsh qemu-agent-command vm_3 '{"execute":"guest-get-disks"}' # virsh qemu-agent-command vm_3 '{"execute":"guest-get-disks"}'
Please enter your authentication name: lizhu
Please enter your password:
{"return":[{"name":"/dev/sda1","dependencies":["/dev/sda"],"partition":true},{"name":"/dev/sda2","dependencies":["/dev/sda"],"partition":true},{"name":"/dev/sda","dependencies":[],"partition":false,"address":{"serial":"0QEMU_QEMU_HARDDISK_6105e6ff-7844-4b17-9589-9daae2fc3a04","bus-type":"scsi","bus":0,"unit":0,"pci-controller":{"bus":4,"slot":0,"domain":0,"function":0},"dev":"/dev/sda","target":0}},{"name":"/dev/dm-0","dependencies":["/dev/sda2"],"partition":false,"alias":"rhel-root"},{"name":"/dev/sr0","dependencies":[],"partition":false,"address":{"serial":"QEMU_DVD-ROM_QM00005","bus-type":"sata","bus":0,"unit":2,"pci-controller":{"bus":0,"slot":31,"domain":0,"function":2},"dev":"/dev/sr0","target":0}},{"name":"/dev/sdb","dependencies":[],"partition":false,"address":{"serial":"0QEMU_QEMU_HARDDISK_895ec7d2-a14e-4fde-9844-6183a403ff10","bus-type":"scsi","bus":0,"unit":1,"pci-controller":{"bus":4,"slot":0,"domain":0,"function":0},"dev":"/dev/sdb","target":0}},{"name":"/dev/dm-1","dependencies":["/dev/sda2"],"partition":false,"alias":"rhel-swap"}]}
Verified with: 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 Steps: 1. Prepare 2 disks, diskA and diskB. 2. Create a VM from template(used latest-rhel-guest-image-8.3-infra) 3. Attach diskA to the VM. 4. Run VM 5. Check logical name of diskA on UI. 6. Attach diskB to the running VM. 7. Check logical name of diskB on UI. Results: 1. Logical name of diskA appears on UI right after the VM is up. 2. Logical name of diskB appears on UI about 5 mins after diskB is hot plugged to VM. (The logical name should appear right after the disk is hot plugged, there is another bug tracking it, see Bug 1967413) Logical name of disk without mounted file system is reported, this bug is fixed, move status to VERIFIED. This bugzilla is included in oVirt 4.4.7 release, published on July 6th 2021. Since the problem described in this bug report should be resolved in oVirt 4.4.7 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. |