Bug 1072414 - No domain is listed in New VM window: Domain drop down for Windows OS.
Summary: No domain is listed in New VM window: Domain drop down for Windows OS.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 3.4.0
Assignee: Shahar Havivi
QA Contact: Ilanit Stein
URL:
Whiteboard: virt
: 1086318 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-04 14:33 UTC by Ilanit Stein
Modified: 2014-06-12 14:06 UTC (History)
13 users (show)

Fixed In Version: org.ovirt.engine-root-3.4.0-16
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-12 14:06:27 UTC
oVirt Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 26500 0 None MERGED core: Set Sysprep domain to editable field Never
oVirt gerrit 26678 0 ovirt-engine-3.4 MERGED core: Set Sysprep domain to editable field Never

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


Note You need to log in before you can comment on or make changes to this bug.