[virt-tools-list] Unable to Create an Oracle Linux VM Using virt-install or virt-manager
Eric
epretorious at yahoo.com
Thu Feb 14 22:34:00 UTC 2013
Thanks, Cole:
You are correct! i.e., The lack of a .treeinfo file in the directory was the root case...
It appears that the last line provided the vital clue. i.e., The Oracle Linux 6.3 .iso is lacking a .treeinfo file. CentOS, however, includes a .treeinfo file for each of it's installation .iso's:
san2:/srv/md128/repositories/centos # find . -name .treeinfo
./5.7/os/i386/.treeinfo
./5.7/os/x86_64/.treeinfo
./5.8/os/i386/.treeinfo
./5.8/os/x86_64/.treeinfo
./5.9/os/i386/.treeinfo
./5.9/os/x86_64/.treeinfo
./6.0/os/x86_64/.treeinfo
./6.2/os/i386/.treeinfo
./6.2/os/x86_64/.treeinfo
./6.3/os/i386/.treeinfo
./6.3/os/x86_64/.treeinfo
The contents of .treeinfo seem fairly straight-forward:
san2:/srv/md128/repositories # cat ./centos/6.3/os/x86_64/.treeinfo
[general]
family = CentOS
timestamp = 1341569485.3
variant =
totaldiscs = 1
version = 6.3
discnum = 1
packagedir =
arch = x86_64
[images-x86_64]
kernel = images/pxeboot/vmlinuz
initrd = images/pxeboot/initrd.img
boot.iso = ../../isos/x86_64/CentOS-6.3-x86_64-netinstall.iso
[images-xen]
kernel = images/pxeboot/vmlinuz
initrd = images/pxeboot/initrd.img
[stage2]
mainimage = images/install.img
...so I started with the .treeinfo file for CentOS 6.3 and verified that it reflected the contents of the Oracle Linux 6.3 directory as well:
san2:/srv/md128/repositories/centos # ll ./6.3/os/x86_64/
total 472
-rw-r--r--. 1 59999 59999 14 Jul 6 2012 CentOS_BuildTag
-rw-rw-r--. 1 59999 59999 33 Jul 6 2012 .discinfo
drwxrwxr-x. 3 59999 59999 17 Jul 6 2012 EFI
-rw-rw-r--. 1 59999 59999 212 Jun 23 2012 EULA
-rw-rw-r--. 1 59999 59999 18009 Jun 23 2012 GPL
drwxr-xr-x. 3 59999 59999 74 Jul 6 2012 images
drwxr-xr-x. 2 59999 59999 4096 Jul 6 2012 isolinux
drwxrwxr-x. 2 59999 59999 339968 Jul 5 2012 Packages
-rw-rw-r--. 1 59999 59999 1354 Jun 23 2012 RELEASE-NOTES-en-US.html
drwxr-xr-x. 2 59999 59999 4096 Jul 6 2012 repodata
-rw-rw-r--. 1 59999 59999 1706 Jun 23 2012 RPM-GPG-KEY-CentOS-6
-rw-rw-r--. 1 59999 59999 1730 Jun 23 2012 RPM-GPG-KEY-CentOS-Debug-6
-rw-rw-r--. 1 59999 59999 1730 Jun 23 2012 RPM-GPG-KEY-CentOS-Security-6
-rw-rw-r--. 1 59999 59999 1734 Jun 23 2012 RPM-GPG-KEY-CentOS-Testing-6
-rw-rw-r--. 1 59999 59999 398 Jul 6 2012 .treeinfo
san2:/srv/md128/repositories/centos # ll ./6.3/os/x86_64/images/
total 168904
-rw-r--r--. 1 59999 59999 372736 Jul 6 2012 efiboot.img
-rw-r--r--. 1 59999 59999 35997696 Jul 6 2012 efidisk.img
-rw-r--r--. 1 59999 59999 136585216 Jul 6 2012 install.img
drwxr-xr-x. 2 59999 59999 37 Jul 6 2012 pxeboot
san2:/srv/md128/repositories/centos # ll ./6.3/os/x86_64/images/pxeboot/
total 34756
-rw-r--r--. 1 59999 59999 31596586 Jul 6 2012 initrd.img
-rwxr-xr-x. 1 59999 59999 3986608 Jul 6 2012 vmlinuz
san2:/srv/md128/repositories/centos # ll ../oracle/6.3/os/x86_64/
total 504
drwxr-xr-x 3 root root 33 Feb 8 18:09 EFI
-rw-r--r-- 1 root root 7041 Feb 8 18:09 EULA
-rw-r--r-- 1 root root 7041 Feb 8 18:09 eula.en_US
-rw-r--r-- 1 root root 3334 Feb 8 18:09 eula.py
-rw-r--r-- 1 root root 18390 Feb 8 18:09 GPL
drwxr-xr-x 3 root root 66 Feb 8 18:09 HighAvailability
drwxr-xr-x 3 root root 103 Feb 8 18:09 images
drwxr-xr-x 2 root root 4096 Feb 8 18:09 isolinux
drwxr-xr-x 3 root root 66 Feb 8 18:09 LoadBalancer
-rw-r--r-- 1 root root 196 Feb 8 18:09 media.repo
drwxr-xr-x 2 root root 188416 Feb 8 18:10 Packages
-rw-r--r-- 1 root root 2619 Feb 8 18:10 README-en
-rw-r--r-- 1 root root 7054 Feb 8 18:10 README-en.html
-rw-r--r-- 1 root root 29531 Feb 8 18:10 RELEASE-NOTES-en
-rw-r--r-- 1 root root 32428 Feb 8 18:10 RELEASE-NOTES-en.html
-rw-r--r-- 1 root root 29531 Feb 8 18:10 RELEASE-NOTES-x86_64-en
-rw-r--r-- 1 root root 32428 Feb 8 18:10 RELEASE-NOTES-x86_64-en.html
-rw-r--r-- 1 root root 29531 Feb 8 18:10 RELEASE-NOTES-x86-en
-rw-r--r-- 1 root root 32428 Feb 8 18:10 RELEASE-NOTES-x86-en.html
lrwxrwxrwx 1 root root 15 Feb 8 18:10 repodata -> Server/repodata
drwxr-xr-x 3 root root 66 Feb 8 18:10 ResilientStorage
-rw-r--r-- 1 root root 1011 Feb 8 18:10 RPM-GPG-KEY
-rw-r--r-- 1 root root 1011 Feb 8 18:10 RPM-GPG-KEY-oracle
drwxr-xr-x 3 root root 66 Feb 8 18:10 ScalableFileSystem
drwxr-xr-x 4 root root 87 Feb 8 18:10 Server
-rw-r--r-- 1 root root 108 Feb 8 18:10 supportinfo
-r--r--r-- 1 root root 6517 Feb 8 18:10 TRANS.TBL
drwxr-xr-x 3 root root 66 Feb 8 18:10 UEK2
san2:/srv/md128/repositories/centos # ll ../oracle/6.3/os/x86_64/images/
total 167692
-rw-r--r-- 1 root root 376832 Feb 8 18:09 efiboot.img
-rw-r--r-- 1 root root 34924544 Feb 8 18:09 efidisk.img
-rw-r--r-- 1 root root 136404992 Feb 8 18:09 install.img
drwxr-xr-x 2 root root 53 Feb 8 18:09 pxeboot
-rw-r--r-- 1 root root 541 Feb 8 18:09 README
-r--r--r-- 1 root root 1106 Feb 8 18:09 TRANS.TBL
san2:/srv/md128/repositories/centos # ll ../oracle/6.3/os/x86_64/images/pxeboot/
total 33668
-rw-r--r-- 1 root root 30481341 Feb 8 18:09 initrd.img
-r--r--r-- 1 root root 441 Feb 8 18:09 TRANS.TBL
-rwxr-xr-x 1 root root 3986992 Feb 8 18:09 vmlinuz
...and then I used the CentOS 6.3 .treeinfo file _verbatim_ to guide virt-install through the process of creating an Oracle 6.3 PV:
san2:/srv/md128/repositories # cp ./centos/6.3/os/x86_64/.treeinfo ./oracle/6.3/os/x86_64/
Problem solved!
Thanks, again!
Eric Pretorious
Truckee, CA
>________________________________
> From: Cole Robinson <crobinso at redhat.com>
>To: Eric <epretorious at yahoo.com>
>Cc: "virt-tools-list at redhat.com" <virt-tools-list at redhat.com>
>Sent: Thursday, February 14, 2013 12:15 PM
>Subject: Re: [virt-tools-list] Unable to Create an Oracle Linux VM Using virt-install or virt-manager
>
>On 02/14/2013 03:13 PM, Eric wrote:
>> Once more, with --debug:
>>
>
><snip>
>
>>
>> Does this have anything to do with the lack of a .treeinfo as you mentioned
>> (below), Cole?
>>
>
>I meant debug info for virt-manager, since I'm curious of the root of:
>
>Error: coercing to Unicode: need string or buffer, instance found
>
>But I'm 99% sure the root issue with virt-install is the lack of .treeinfo
>
>- Cole
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20130214/f5c40cd6/attachment.htm>
More information about the virt-tools-list
mailing list