Bug 736590
Summary: | Improve error message when migration fails due to stopped libvirtd on the target | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux Advanced Virtualization | Reporter: | xhu |
Component: | libvirt | Assignee: | Virtualization Maintenance <virt-maint> |
Status: | CLOSED DEFERRED | QA Contact: | Fangge Jin <fjin> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 8.0 | CC: | berrange, cwei, dyuan, jtomko, knoel, mzhan, weizhan, xuzhang |
Target Milestone: | pre-dev-freeze | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-02-11 12:48:50 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
xhu
2011-09-08 07:52:41 UTC
This is nothing specific to migration, you'll get the same error message just with $ virsh -c qemu+ssh://root@localhost/system root@localhost's password: error: End of file while reading data: : Input/output error error: failed to connect to the hypervisor It is not entirely trivial to improve on this due to the way remote SSH tunnelling works. This should become better once we have a libssh2 transport (covered by bug 513363). Although nc is unhelpful and doesn't provide any error message when it can't connect to a unix socket. Fortunately, it sets it's return code to 1 in that case. Using libssh2 we can see this return code (and can distinguish it from ssh connection failure, which we can't when exec'ing ssh) and provide a better error message. There's a possibility that this could be fixed even without the libssh2 driver support. Leaving it open for investigation. This bug was not selected to be addressed in Red Hat Enterprise Linux 6. We will look at it again within the Red Hat Enterprise Linux 7 product. This bug was closed deferred as a result of bug triage. Please reopen if you disagree and provide justification why this bug should get enough priority. Most important would be information about impact on customer or layered product. Please indicate requested target release. |