Bug 683862

Summary: Fail to install Scientific Linux 6.0 KVM guest.
Product: [Fedora] Fedora Reporter: Leon Flaks <flaks>
Component: python-virtinstAssignee: Cole Robinson <crobinso>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 14CC: berrange, crobinso, csieh, gspurgeon, jforbes, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-17 01:43:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Error message none

Description Leon Flaks 2011-03-10 14:35:28 UTC
Created attachment 483460 [details]
Error message

Description of problem:
Directory structure has been changed on SL-6.0 comparing to older releases, as a result code in /usr/lib/python2.7/site-packages/virtinst/OSDistro.py is not finding the installation tree properly.
New tree has no .tree file, no SL in directory path

Version-Release number of selected component (if applicable):
python-virtinst-0.500.4-1.fc14.noarch

Steps to Reproduce:
On the virtual guest system run

koan --server=cobbler_server --virt --system=test
  
Actual results:
Error message attached

Expected results:
Install virtual guest system running Scientific Linux 6.0

Additional info:

Installation on physical system works in the same environment just fine.

The problem was traced to file /usr/lib/python2.7/site-packages/virtinst/OSDistro.py

Quick and dirty fix was to replace 'SL' with 'Packages'  (line 632)
However this will/might break installation for older versions of SL or other distributions. The other possible solution would be to request the change in SL directory tree. I don't know if RH6 has similar issue.

Comment 1 Leon Flaks 2011-03-17 01:25:54 UTC
According to this post http://listserv.fnal.gov/scripts/wa.exe?A2=ind1103&L=scientific-linux-devel&T=0&P=6228
.tree file has been restored in SL6 repositories, which should make the problem go away and my 'quick and dirty' fix irrelevant.
I'll check tomorrow if my local mirror got it, this bug report could be closed then.
Thanks,

Leon

Comment 2 Leon Flaks 2011-03-17 01:43:15 UTC
Actually I can confirm that .treeinfo file is there now. By the way this is the correct file name (not .tree that I reported in original report). It is in directory ftp://ftp.scientificlinux.org/linux/scientific/6.0/x86_64/os/ on the main server. As it is a hidden file, I was able to verify it by downloading with wget.
I am closing this bug now.

Comment 3 Cole Robinson 2011-03-17 13:37:00 UTC
Thanks for the report, and following up!