Bug 1414256

Summary: v2v: import kvm fails when username not supplied
Product: [oVirt] vdsm Reporter: Shahar Havivi <shavivi>
Component: CoreAssignee: Shahar Havivi <shavivi>
Status: CLOSED CURRENTRELEASE QA Contact: Nisim Simsolo <nsimsolo>
Severity: high Docs Contact:
Priority: high    
Version: ---CC: bugs, gklein, nsimsolo, shavivi, tjelinek
Target Milestone: ovirt-4.1.0-rcFlags: rule-engine: ovirt-4.1+
rule-engine: planning_ack+
rule-engine: devel_ack+
gklein: testing_ack+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-15 14:53:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Shahar Havivi 2017-01-18 07:42:23 UTC
When import VM from kvm source the import fails when not setting the optional username field

Comment 1 Sandro Bonazzola 2017-01-26 16:50:45 UTC
The fix for this seems to be included in v4.19.3 which is going to be released within oVirt 4.1.0 RC2. I would suggest to update target milestone accordingly.

Comment 2 Nisim Simsolo 2017-02-02 13:51:00 UTC
Verification builds:
ovirt-engine-4.1.0.3-0.1.el7
libvirt-client-2.0.0-10.el7_3.4.x86_64
vdsm-4.19.4-1.el7ev.x86_64
qemu-kvm-rhev-2.6.0-28.el7_3.3.x86_64
sanlock-3.4.0-1.el7.x86_64

Verification scenario:
1. Browse webadmin -> VMs tab -> import dialog: select KVM and enter KVM parameters.
2. Try to load KVM VMs when "requires authentication" is checked and username/password fields are empty:
 Verify username/password fields frame are marked red. mouse over the red frame  and verify "this field can't be empty" message appears.
3. Repeat step 2, this time leave only password field empty.
4. Repeat step 2, this time leave only username field empty.
5. Uncheck "requires authentication" checkbox and click load. Verify KVM VMs are listed.