Bug 1400527
| Summary: | [z-stream clone - 4.0.6] Virt-v2v is failing with python error when importing VM from KVM | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | rhev-integ |
| Component: | ovirt-engine | Assignee: | Tomáš Golembiovský <tgolembi> |
| Status: | CLOSED ERRATA | QA Contact: | Nisim Simsolo <nsimsolo> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | unspecified | CC: | eedri, emahoney, gklein, ling, lsurette, mavital, melewis, mgoldboi, michal.skrivanek, nsimsolo, rbalakri, Rhev-m-bugs, srevivo, tgolembi, tjelinek, ykaul |
| Target Milestone: | ovirt-4.0.6 | Keywords: | ZStream |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | V2V | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
With this update, public key authentication access has been fixed when importing virtual machines from KVM.
|
Story Points: | --- |
| Clone Of: | 1388596 | Environment: | |
| Last Closed: | 2017-01-10 17:01:46 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Virt | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1388596 | ||
| Bug Blocks: | |||
|
Description
rhev-integ
2016-12-01 12:31:47 UTC
Please add version information, vdsm.log from the conversion host, and libvirt domain xml from the source host (Originally by michal.skrivanek) From the engine.log I can say that the ssh authentication was not set up correctly to allow passwordless login. Btw why not using remote libvirt access using qemu+tcp insted of qemu+ssh? (Originally by michal.skrivanek) Yes, it is problem with authentication. When connecting via SSH you should always provide username even when using password-less authetiation. More over, password-based login is not supported with SSH transport. The import dialog is rather confusing in this regard. When using qemu+ssh transport you have to uncheck the 'requires authentication' checkbox *and* provide user name (most likely 'root') as part of the URI as: qemu+ssh://root@host:port/... If you don't provide the user in URI the connection will happen as user 'vdsm' which is rather unexpected and confusing. I don't think this is documented anywhere and we should probably improve the import dialog. I've added another bug to track that: https://bugzilla.redhat.com/show_bug.cgi?id=1395753 However because of the related bug: https://bugzilla.redhat.com/show_bug.cgi?id=1387838 as a workaround until the bug is fixed, you have to: 1) put correct user name in the URI (most likely 'root') 2) check 'requires authetication' box 3) put something into username and password text fields; anything like "abcd" or "12345" is ok, the values will be ignored Let me know if this solves your issue. (Originally by Tomas Golembiovsky) *** Bug 1387838 has been marked as a duplicate of this bug. *** (Originally by Tomas Jelinek) The scope of this fix will only be to not fail in case the username/password is not filled. The overall redesign of the dialog is going to be tracked in https://bugzilla.redhat.com/show_bug.cgi?id=1395753 (Originally by Tomas Jelinek) what's POSTed? can you please add links (Originally by michal.skrivanek) it is actually in 4.0.6 Verified: ovirt-engine-4.0.6.3-0.1.el7ev qemu-kvm-rhev-2.6.0-28.el7_3.2.x86_64 vdsm-4.18.21-1.el7ev.x86_64 libvirt-client-2.0.0-10.el7.x86_64 sanlock-3.4.0-1.el7.x86_64 Verification scenario: Import multiple VMs from KVM environment 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, 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://rhn.redhat.com/errata/RHBA-2017-0043.html |