Created attachment 1213726 [details] Screenshot showing the problem Description of problem: I'm trying to import a VM from VMware. On the "Import Virtual Machine(s)" screen, my VCenter username is not accepted, because "Name can only contain 'A-Z', 'a-z', '0-9', '_' or '-' characters" and it contains a '.'. I would think a '.' in the username should be OK.
In addition to allowing dots within the user name, this bug fix also added a support for the following user name format: domainName\userName. Details: Till this fix the following formats were allowed in username field: username, userName@domainName In this bug fix we also allow the following format for Windows, since it may be used by customers as shown in screenshot of BZ 1496744.: domainName\userName
Verified: rhvm-4.2.0-0.6.el7 qemu-kvm-rhev-2.9.0-16.el7_4.12.x86_64 sanlock-3.5.0-1.el7.x86_64 vdsm-4.20.9-1.el7ev.x86_64 libvirt-client-3.2.0-14.el7_4.4.x86_64 virt-v2v-1.36.3-6.el7_4.3.x86_64 VMware 6.0.0 Build 2594327 Verification scenario: 1. Authenticate to ESXi using SSO user, add SSO domain/user with dots in it and assign global permission to it. 2. Browse webadmin -> VM -> import dialog, enter VMware details and domainName\userName (in my case the domain\user created is: qa.compute), select VM to import and import it. 3. Verify VM imported and can be run properly. 4. Repeat test case for Windows and Linux VMs.
This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017. Since the problem described in this bug report should be resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report.