Bug 1024951

Summary: sysprep file parsing error at install
Product: Red Hat Enterprise Virtualization Manager Reporter: Tomas Jamrisko <tjamrisk>
Component: ovirt-engineAssignee: Frantisek Kobzik <fkobzik>
Status: CLOSED NOTABUG QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 3.3.0CC: acathrow, iheim, lpeer, michal.skrivanek, pnovotny, Rhev-m-bugs, yeylon
Target Milestone: ---Keywords: Regression, Triaged
Target Release: 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: virt
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-07 16:12:02 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:

Description Tomas Jamrisko 2013-10-30 15:56:26 UTC
Description of problem:
Creation of a windows 7 VM from template fails because ,,Windows could not parse or process unattend answer file [a:\sysprep.inf] for pass [oobeSystem]. The settings specified in the answer file could not be applied..." 

Looking at the answer file it seems that AdministratorPassword key is getting a hash, where it is expecting plaintext at two places. 

Version-Release number of selected component (if applicable):
rhevm-3.3.0-0.28.beta1.el6ev.noarch

How reproducible:
Always

Steps to Reproduce:
1. Create a new windows VM from template

Actual results:
Creation fails, probably because of the inconsistency 

Expected results:
VM should be setup properly.

Additional info:
This worked on previous builds on 3.3

Comment 1 Frantisek Kobzik 2013-11-07 16:12:02 UTC
In this particular setup the mismatched value of the password was caused by manual pki data replacement after engine install. The engine stores passwords in encrypted form in the db. After the pki data has been replaced, the password couldn't be decrypted anymore.