Bug 873742

Summary: windows gets $JOINDOMAIN$ string instead of actual domain name during sysprep
Product: Red Hat Enterprise Virtualization Manager Reporter: David Jaša <djasa>
Component: ovirt-engineAssignee: Omer Frenkel <ofrenkel>
Status: CLOSED CURRENTRELEASE QA Contact: Tareq Alayan <talayan>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 3.1.0CC: bazulay, dyasny, iheim, lpeer, michal.skrivanek, oramraz, Rhev-m-bugs, sgrinber, yeylon, ykaul
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: virt
Fixed In Version: si25 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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:
Attachments:
Description Flags
screenshot none

Description David Jaša 2012-11-06 15:48:04 UTC
Created attachment 639415 [details]
screenshot

Description of problem:
windows gets $JOINDOMAIN$ string instead of actual domain name during sysprep

Version-Release number of selected component (if applicable):
si24 (first spotted on si19.1 few days ago)

How reproducible:
always

Steps to Reproduce:
1. have a sealed VM with UnattendFile set to A:\sysprep.inf
2. run once the VM with [sysprep] floppy attached; make sure there is a domain selected in "Initial Run"
3.
  
Actual results:
VM is not joined to the domain. If you look to the logs or at the XP console during sysprep, you can see $JOINDOMAIN$ string instead of actual domain string (see screenshot)

Expected results:
VM is joined to the domain

Additional info:

Comment 1 Barak 2012-11-06 15:57:11 UTC
did it only happened in run once ? or  in the initial execution of a win VM

Comment 2 David Jaša 2012-11-06 16:28:04 UTC
the same behaviour occurs in both cases.

Comment 3 Barak 2012-11-06 18:25:47 UTC
What guest OS was it ?

Comment 7 Omer Frenkel 2012-11-07 13:36:19 UTC
http://gerrit.ovirt.org/#/c/9102/

Comment 11 Tareq Alayan 2012-11-27 16:23:00 UTC
verified on: 
tested on windows xp:
JoinDomain=qa.lab.tlv.redhat.com

windows7:
<Domain>qa.lab.tlv.redhat.com</Domain>