Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1072414

Summary: No domain is listed in New VM window: Domain drop down for Windows OS.
Product: Red Hat Enterprise Virtualization Manager Reporter: Ilanit Stein <istein>
Component: ovirt-engineAssignee: Shahar Havivi <shavivi>
Status: CLOSED CURRENTRELEASE QA Contact: Ilanit Stein <istein>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.3.0CC: acathrow, alukiano, gklein, iheim, lpeer, lsvaty, mavital, michal.skrivanek, ofrenkel, Rhev-m-bugs, shavivi, sherold, yeylon
Target Milestone: ---   
Target Release: 3.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: virt
Fixed In Version: org.ovirt.engine-root-3.4.0-16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-12 14:06:27 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 Ilanit Stein 2014-03-04 14:33:39 UTC
Description of problem:
In new VM window, after choosing windows OS, the Domain field does exist, 
but it's drop down is empty.
Additional domain was added by ovirt-manage-domains, and it is seen under users,
but it's domain is not displayed here.

Version-Release number of selected component (if applicable):
av2

Comment 1 Michal Skrivanek 2014-03-05 08:35:46 UTC
while fixing make sure the box remains editable for custom domains...

Comment 2 Shahar Havivi 2014-04-06 10:40:25 UTC
added domain via the tool:
$ engine-manage-domains add --domain=mydomain.com --provider=activeDirectory --user=myuser  --add-permissions

and manage to select the domain via the UI,
Please check if its work in the next version.

Also decided to enable editing the Domain select box for user custom domain name so patch will be provided.

Comment 3 Shahar Havivi 2014-04-29 11:09:59 UTC
*** Bug 1086318 has been marked as a duplicate of this bug. ***

Comment 4 Lukas Svaty 2014-04-30 13:32:19 UTC
at the moment any domain can be edited to VM in av8 (in my setup I set foo.bar as domain and VM was saved successfully).

example:

<domain>
 <name>foo.bar</name>
</domain>
<initialization>
 <domain>foo.bar</domain>
 <regenerate_ssh_keys>false</regenerate_ssh_keys>
 <nic_configurations/>
 <custom_script/>
</initialization>

shouldn't that be checked on VM save edited options or VM start with added domains to setup if the information is correct?

Comment 5 Shahar Havivi 2014-04-30 13:40:24 UTC
(In reply to Lukas Svaty from comment #4)
We decided to let the user add domain as a free text in the UI as well (as commented in comment #2).
When you add the domain foo.bar its only valid to that VM and for the purpose of Windows Sysprep.

If you will login to the UI you will see that the domain is etitable text as well as selected list (if you added domains from the engine-manage-domains tool).

Comment 6 Ilanit Stein 2014-04-30 14:05:43 UTC
Verified on av8.

After adding a domain by engine-manage-domain, create new windows VM displays
in domain box (which is now without "down arrow"), this domain, I added.

Also, I tried to add a dummy domain, and afterwards run the VM - It worked fine.

Comment 7 Itamar Heim 2014-06-12 14:06:27 UTC
Closing as part of 3.4.0