Bug 1066884
| Summary: | Please modify /sysprep file in /etc/ovirt-engine/sysprep folder. | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Yoshinori Takahashi <hkim> |
| Component: | ovirt-engine | Assignee: | Roy Golan <rgolan> |
| Status: | CLOSED ERRATA | QA Contact: | Pavel Novotny <pnovotny> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.3.0 | CC: | acathrow, hkim, iheim, lbopf, lpeer, mavital, michal.skrivanek, ofrenkel, rgolan, Rhev-m-bugs, sherold, yeylon |
| Target Milestone: | --- | ||
| Target Release: | 3.4.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | virt | ||
| Fixed In Version: | av6 | Doc Type: | Bug Fix |
| Doc Text: |
The default paths to 'sysprep' files are now stored in the OS information definition /etc/ovirt-engine/osinfo.conf.d/00-defaults.properties.
The content of files 'sysprep.2k8x64' and 'sysprep.2k8' now reflects their file names. 'sysprep.2k8' contains 'processorArchitecture="x86"' and 'sysprep.2k8x64' contains 'processorArchitecture="amd64"'.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-06-09 15:04:33 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1090946 | ||
|
Description
Yoshinori Takahashi
2014-02-19 10:00:27 UTC
the "gsysprep" typo has been fixed in the meantim I think, but I'm not sure about the other stuff should the rest of the Architecture values should be x86 for OS which are 32 bit i.e 2k8? e.g - grep Architecture sysprep.2k8 <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" Verified in rhevm-3.4.0-0.13.beta3.el6ev.noarch (av6).
Verification:
Issue #1 - wrong paths to sysprep files:
Starting from 3.4, the default paths to sysprep files are no longer stored in DB vdc_options, but in OS info definition /etc/ovirt-engine/osinfo.conf.d/00-defaults.properties.
# cd /etc/ovirt-engine/osinfo.conf.d/
# grep -i sysprep ./*
./00-defaults.properties:os.windows_xp.sysprepPath.value = ${ENGINE_USR}/conf/sysprep/sysprep.xp
./00-defaults.properties:os.windows_2003.sysprepPath.value = ${ENGINE_USR}/conf/sysprep/sysprep.2k3
./00-defaults.properties:os.windows_2008.sysprepPath.value = ${ENGINE_USR}/conf/sysprep/sysprep.2k8
./00-defaults.properties:os.windows_2003x64.sysprepPath.value = ${ENGINE_USR}/conf/sysprep/sysprep.2k3
./00-defaults.properties:os.windows_7.sysprepPath.value = ${ENGINE_USR}/conf/sysprep/sysprep.w7
./00-defaults.properties:os.windows_7x64.sysprepPath.value = ${ENGINE_USR}/conf/sysprep/sysprep.w7x64
./00-defaults.properties:os.windows_2008x64.sysprepPath.value = ${ENGINE_USR}/conf/sysprep/sysprep.2k8x64
./00-defaults.properties:os.windows_8.sysprepPath.value = ${ENGINE_USR}/conf/sysprep/sysprep.w8
./00-defaults.properties:os.windows_8x64.sysprepPath.value = ${ENGINE_USR}/conf/sysprep/sysprep.w8x64
./00-defaults.properties:os.windows_2012x64.sysprepPath.value = ${ENGINE_USR}/conf/sysprep/sysprep.2k12x64
From the above result, sysprep files are now located in /usr/share/ovirt-engine/conf/sysprep/ directory.
Issue #2 - switched content of files sysprep.2k8x64 and sysprep.2k8:
Both files now have correct content, i.e., sysprep.2k8 contains 'processorArchitecture="x86"' and sysprep.2k8x64 contains 'processorArchitecture="amd64"'.
Additional info:
vdc_options table is no longer a valid place for SysPrep*Path parameters and should be removed from it.
Filed bug 1086768 to track this issue.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2014-0506.html |