Bug 1950833
Summary: | There is no keyword 'dependencies' for /dev/sda1&/dev/sda2 from command 'get-disks' | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | dehanmeng <demeng> |
Component: | qemu-kvm | Assignee: | Marc-Andre Lureau <marcandre.lureau> |
qemu-kvm sub component: | Guest Agent | QA Contact: | dehanmeng <demeng> |
Status: | CLOSED CURRENTRELEASE | Docs Contact: | |
Severity: | high | ||
Priority: | medium | CC: | jinzhao, juzhang, lijin, lizhu, marcandre.lureau, virt-maint |
Version: | 8.5 | Keywords: | Regression |
Target Milestone: | beta | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | qemu-kvm-6.0.0-17.module+el8.5.0+11173+c9fce0bb | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-09-20 02:16:20 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
dehanmeng
2021-04-19 02:39:41 UTC
Hi, The qemu-ga code is rather simple, looking up /sys/block/*/slaves directory. can you check if it's an selinux issue? (via journalctl or ausearch, or just setenforce 0 and try again) thanks (In reply to Marc-Andre Lureau from comment #1) > Hi, > > The qemu-ga code is rather simple, looking up /sys/block/*/slaves directory. > > can you check if it's an selinux issue? (via journalctl or ausearch, or just > setenforce 0 and try again) > > thanks Hi Marc I attempted to close the selinux via 'sentenforce 0' but it didn't work. It still cannot return 'dependencies' from qga output. Thanks Sent fix for upstream "[PATCH for-6.0?] qga: fix guest-get-disks regression" (In reply to Marc-Andre Lureau from comment #3) > Sent fix for upstream "[PATCH for-6.0?] qga: fix guest-get-disks regression" Hi Marc-Andre Has this issue been fixed? or any update about this? Thanks Dehan Yes it was applied in v6.0.0-rc4~1: commit bac9b87bd208e1d5adde7d7ba2634f957c22012c Author: Marc-André Lureau <marcandre.lureau> Date: Tue Apr 20 16:58:31 2021 +0400 qga: fix guest-get-disks regression Commit 54aa3de72 ("qapi: Use QAPI_LIST_PREPEND() where possible") inadvertently removed the has_dependencies from the partition disk info, resulting in empty list being returned. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1950833 I think I can move this to ON_QA, doing so steps to reproduce as comment0 Actual results: {"return": [{"name": "/dev/sda1", "partition": true}, {"name": "/dev/sda2", "partition": true} There is no keyword 'dependencies' for /dev/sda1&/dev/sda2 Expected results: 'dependencies' should be print there. Verify this issue with qemu-kvm-6.0.0-17.module+el8.5.0+11173+c9fce0bb steps as above. Actual results: {"execute":"guest-get-disks"} {"return": [{"name": "/dev/sda1", "dependencies": ["/dev/sda"], "partition": true}, {"name": "/dev/sda2", "dependencies": ["/dev/sda"], "partition": true}, {"name": "/dev/sda", "dependencies": [], "partition": false, "address": {"bus-type": "scsi", "bus": 0, "unit": 0, "pci-controller": {"bus": 5, "slot": 0, "domain": 0, "function": 0}, "dev": "/dev/sda", "target": 0}}, {"name": "/dev/dm-0", "dependencies": ["/dev/sda2"], "partition": false, "alias": "rhel_vm--74--105-root"}, {"name": "/dev/dm-1", "dependencies": ["/dev/sda2"], "partition": false, "alias": "rhel_vm--74--105-swap"}]} Expected results: 'dependencies' should be print there. |