Bug 1264733
| Summary: | Deploy Windows Server 2012 R2 x64 fails to set admin password and join domain | ||
|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | ian |
| Component: | General | Assignee: | Shahar Havivi <shavivi> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | sefi litmanovich <slitmano> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.5.3.1 | CC: | bugs, gklein, michal.skrivanek, sbonazzo |
| Target Milestone: | ovirt-3.6.3 | Flags: | ofrenkel:
ovirt-3.6.z?
rule-engine: ovirt-4.0.0+ rule-engine: planning_ack+ rule-engine: devel_ack+ rule-engine: testing_ack+ |
| Target Release: | 3.6.3 | ||
| Hardware: | Unspecified | ||
| OS: | Windows | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-02-18 11:07:36 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
ian
2015-09-21 05:25:16 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release. The bug is not in the sysprep xml file but in the SysprepHandler The $DomainAdminPassword$ should stay as is since the user can set it via the SysPrepDefaultPassword config value (if you do pass it via run once/run we override it with the value you send as you expected). I disagree. Line 46 in the xml file sets the local administrators password for this installation of Windows, therefore it should be $AdminPassword$ not $DomainAdminPassword$. Line 13 correctly uses $DomainAdminPassword$ to try to join the windows installation to the domain but I believe fails because Line 9 contains processorArchitecture="x86" not processorArchitecture="amd64" and this is a 64bit OS. The above patch works for me whereas the original file does not. If you need any more info please let me know. (In reply to ian from comment #3) thanks Ian you right, it is suppose to be local admin as the section suggested but still we have bigger issue regarding domain admin password that we will fix with this patch Verified with rhevm-3.6.3-0.1.el6.noarch, tried the flow with both windows 2012 X64 and windows 2012 R2 x64. Verified according to the description. The xml that produced for sysprep contained all the correct values, differentiating between DomainAdminPassword and AdminPassword. |