[virt-tools-list] Unable to Create an Oracle Linux VM Using virt-install or virt-manager
Cole Robinson
crobinso at redhat.com
Tue Feb 12 23:10:21 UTC 2013
On 02/12/2013 05:50 PM, Eric wrote:
> I've copied the contents of the Oracle Linux 6.3 installation media to an
> directory that's exported via NFS:
>
> san2:~ # ls -1 /srv/md128/repositories/oracle/6.3/os/x86_64/
> EFI
> EULA
> eula.en_US
> eula.py <http://eula.py/>
> GPL
> HighAvailability
> images
> isolinux
> LoadBalancer
> media.repo
> Packages
> README-en
> README-en.html
> RELEASE-NOTES-en
> RELEASE-NOTES-en.html
> RELEASE-NOTES-x86_64-en
> RELEASE-NOTES-x86_64-en.html
> RELEASE-NOTES-x86-en
> RELEASE-NOTES-x86-en.html
> repodata
> ResilientStorage
> RPM-GPG-KEY
> RPM-GPG-KEY-oracle
> ScalableFileSystem
> Server
> supportinfo
> TRANS.TBL
> UEK2
>
> ...and tried to use the directory to install an Oracle Linux VM with virt-install:
>
> xen2:~ # virt-install -p --name dns2 --ram 786 --disk
> /dev/disk/by-id/scsi-14945540000000000705f69534353492d73616e315f310000
> --location nfs://192.168.0.2/srv/md128/repositories/oracle/6.3/os/x86_64/
> --graphics none
>
> ...but virt-install complains:
>
> Starting install...
> ERROR Couldn't find xen kernel for Red Hat Enterprise Linux tree.
>
> If I use the NFS respository with virt-manager, virt-manager complains...
>
> Error: coercing to Unicode: need string or buffer, instance found
>
Please run with --debug and post the output here.
> This is a tried-and-true methodology: I use this method for installing CentOS
> & SuSE regularly:
>
> san2:~ # ls -1 /srv/md128/repositories/centos/6.3/os/x86_64/
> CentOS_BuildTag
> .discinfo
> EFI
> EULA
> GPL
> images
> isolinux
> Packages
> RELEASE-NOTES-en-US.html
> repodata
> RPM-GPG-KEY-CentOS-6
> RPM-GPG-KEY-CentOS-Debug-6
> RPM-GPG-KEY-CentOS-Security-6
> RPM-GPG-KEY-CentOS-Testing-6
> .treeinfo
>
> xen2:~ # virt-install -p --name dns2 --ram 786 --disk
> /dev/disk/by-id/scsi-14945540000000000705f69534353492d73616e315f310000
> --location nfs://192.168.0.2/srv/md128/repositories/centos/6.3/os/x86_64/
> --graphics none
>
> What is it that's different about the Oracle Linux installation media that
> causes this failure? Is there a workaround?
>
OEL seems to lack .treeinfo which virt-install depends on for finding media in
RHEL6 trees.
- Cole
More information about the virt-tools-list
mailing list