Bug 1862779
| Summary: | In ppc64le there will an error which is 'SATA is not supported with this QEMU binary' when attaching/detaching disks | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | YunmingYang <yunyang> | ||||
| Component: | cockpit-appstream | Assignee: | Martin Pitt <mpitt> | ||||
| Status: | CLOSED ERRATA | QA Contact: | YunmingYang <yunyang> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 8.3 | CC: | kkoukiou, leiwang, mpitt, pkrempa, virt-maint, wshi, xchen, ymao | ||||
| Target Milestone: | rc | Keywords: | Rebase | ||||
| Target Release: | 8.6 | Flags: | pm-rhel:
mirror+
|
||||
| Hardware: | ppc64le | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | cockpit-appstream-255-1.el8 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2022-05-10 13:42:00 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
YunmingYang
2020-08-02 12:37:03 UTC
@Katerina: This sounds more like something between libvirt not detecting capabilities right, and QEMU on ppc64el not supporting SATA? Yunming would be it be possible that you try to reproduce it with CLI, aka `virsh attach-disk`. This is unlikely a cockpit-machines bug. The machine type will be also useful to include in the bug, just paste the whole VM xml. Hi, Katerina I can reproduce this issue with "virsh attach-disk" and "virsh detach-disk". The VM xml is in the attachment. Created attachment 1766427 [details]
The VM xml
The PPC64 platform doesn't support the SATA bus, so it's a configuration error. The 'sata' bus shouldn't even be mentioned in the 'virsh domcapabilities' output on the platform. I don't have a PPC64 box handy to verify the last claim, but it's a configuration error regardless. @Peter thanks for the clarification. So, we miss the check in domcapabilities when showing the supported disk bus types, when creating/editing disks. @yunyang can you please qe-ack this? Yunyang: Unlike most bugzillas that we process, this one can *not* be pre-verified automatically through tests, as we don't have ppc64el test machines. So I'm afraid this needs manual testing. Thanks! Sure, and sorry for missing verification in the PR, I didn't check my email at that time Pre-verified Versions: cockpit-machines-255-1.el8.noarch cockpit-255-1.el8.ppc64le libvirt-dbus-1.3.0-2.module+el8.6.0+12861+13975d62.ppc64le Pre-verified Steps: 1 Get supported bus by gdbus call --system --dest org.libvirt --object-path /org/libvirt/QEMU --method org.libvirt.Connect.GetDomainCapabilities '' 'ppc64le' 'pseries-rhel8.5.0' "" 0 | grep "enum name='bus'" 2 Go to the VM detail page, click "Add disk" button, then click "Show additional options", then check the options of "Bus" 3 Switch "Source" to "Use existing", then check the options of "Bus" 4 Switch "Source" to "Custom path", then check the options of "Bus" 5 Close "Add disk" dialog, click "Edit" of a existing disk, check options of "Bus" Pre-verified Results: 1 In step 1, the enum should include "scsi","virtio" and "usb". 2 In step 2, there should no "sata" shown in "Bus" options, and the option list should show "scsi","virtio" and "usb" 2 In step 3, there should no "sata" shown in "Bus" options, and the option list should show "scsi","virtio" and "usb" 2 In step 4, there should no "sata" shown in "Bus" options, and the option list should show "scsi","virtio" and "usb" 2 In step 5, there should no "sata" shown in "Bus" options, and the option list should show "scsi","virtio" and "usb" According to the results, change ‘Verified’ status to ‘TESTED’. Test Versions: cockpit-ws-255-1.el8.ppc64le cockpit-255-1.el8.ppc64le libvirt-dbus-1.3.0-2.module+el8.6.0+12861+13975d62.ppc64le Test Steps: 1 Get supported bus by gdbus call --system --dest org.libvirt --object-path /org/libvirt/QEMU --method org.libvirt.Connect.GetDomainCapabilities '' 'ppc64le' 'pseries-rhel8.5.0' "" 0 | grep "enum name='bus'" 2 Prepare a running VM, then go to the VM detail page, click "Add disk" button, then click "Show additional options", then check the options of "Bus" 3 Switch "Source" to "Use existing", then check the options of "Bus" 4 Switch "Source" to "Custom path", then check the options of "Bus" 5 Close "Add disk" dialog, then shut off the VM, after that, click "Edit" of a existing disk, check options of "Bus" Test Results: 1 In step 1, the enum should include "scsi","virtio" and "usb". 2 In step 2, there should no "sata" shown in "Bus" options, and the option list should show "scsi","virtio" and "usb" 2 In step 3, there should no "sata" shown in "Bus" options, and the option list should show "scsi","virtio" and "usb" 2 In step 4, there should no "sata" shown in "Bus" options, and the option list should show "scsi","virtio" and "usb" 2 In step 5, there should no "sata" shown in "Bus" options, and the option list should show "scsi","virtio" and "usb" According to the results, move status to VERIFIED. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (cockpit-appstream bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2022:1806 |