Bug 993631
Summary: | Libvirt should report failure when detach hostdev unsuccessfully. | |||
---|---|---|---|---|
Product: | [Community] Virtualization Tools | Reporter: | Hu Jianwei <jiahu> | |
Component: | libvirt | Assignee: | Libvirt Maintainers <libvirt-maint> | |
Status: | CLOSED DEFERRED | QA Contact: | Virtualization Bugs <virt-bugs> | |
Severity: | medium | Docs Contact: | ||
Priority: | low | |||
Version: | unspecified | CC: | bmcclain, dyuan, jdenemar, libvirt-maint, mzamazal, mzhan, pezhang, vlastimil.holer, xuzhang, yalzhang, ztehypervisor | |
Target Milestone: | --- | |||
Target Release: | --- | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1133443 (view as bug list) | Environment: | ||
Last Closed: | 2020-11-03 16:38:58 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: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1133443, 1172230 |
Description
Hu Jianwei
2013-08-06 10:19:37 UTC
This bug should be tracked in rhel6, cloned it. Bug 1133443 - Libvirt should report failure when detach hostdev unsuccessfully. *** Bug 1255287 has been marked as a duplicate of this bug. *** Well, the only fix (if it appears to be reasonably doable) for this is going to be in virsh so that it doesn't print the misleading "device successfully detached" message when the API returns 0. In other words, if any application using libvirt relies on virDomainDetachDevice to return zero only if the device was actually removed, the application itself needs to be fixed because it never worked like that (although it wasn't explicitly documented). Ideally, the application should listen for a device detach event which is triggered when device removal is finished (which may happen before virDomainDetachDevice returns but it may also be send later or never). It's also possible to dump domain XML and check if the device is still there. *** Bug 1258312 has been marked as a duplicate of this bug. *** The problem seems to be not on the libvirt *** Bug 1456039 has been marked as a duplicate of this bug. *** Thank you for reporting this issue to the libvirt project. Unfortunately we have been unable to resolve this issue due to insufficient maintainer capacity and it will now be closed. This is not a reflection on the possible validity of the issue, merely the lack of resources to investigate and address it, for which we apologise. If you none the less feel the issue is still important, you may choose to report it again at the new project issue tracker https://gitlab.com/libvirt/libvirt/-/issues The project also welcomes contribution from anyone who believes they can provide a solution. |