Bug 847355
Summary: | libvirtError virDomainAttachDevice() failed | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Mads Kiilerich <mads> |
Component: | virt-manager | Assignee: | Cole Robinson <crobinso> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 17 | CC: | berrange, crobinso, dpierce, hbrock, jforbes, mads, virt-maint |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-10-31 01:09:33 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: |
Description
Mads Kiilerich
2012-08-10 17:03:40 UTC
I think these are both expected errors: they are just telling you that the device could not be attached while the VM is running. virt-manager doesn't really have a way to tell what devices are hotpluggable and what aren't, so we try it and then give the user some feedback. Your devices should be attached after rebooting the VM. Closing as NOTABUG, please reopen if I've missed something. It is absolutely OK that it cannot do hotplugging and that I as user should be told that it cannot be hotplugged. But I would still expect that it should respond with an "ok, everthing is fine, restart the VM to apply the changes" instead of telling me that the operation failed and with a stacktrace as the only explanation. That's basically what we do. The text is
Are you sure you want to add this device?
The device could not be attached to the running machine. Would you like to make the device available after the next guest shutdown?
> Details
And the backtrace is under the details expander. Given that there's no programmatic way to tell ahead of time if hotplug is even possible, I think that's a pretty reasonable message.
We used to just say 'your device will be available after the next reboot' but people complained because for certain things like a USB drive that wasn't what they wanted at all, and there was no indication that we tried something that failed.
Do you have a suggested improvement?
Forgot to set needinfo, please see comment #3 No response for a couple weeks, so closing as NOTABUG. |