[et-mgmt-tools] Problem of using virt-install to create a suse10 domU PV guest

Cole Robinson crobinso at redhat.com
Tue May 26 14:41:49 UTC 2009


vovfooo wrote:
> I used virt-install to create a suse10 domU PV guest.
> Here is the problem:
> *******************************************************************
> [root at localhost opt]# virt-install
> Would you like a fully virtualized guest (yes or no)?  This will allow you to run unmodified operating systems. no
>  What is the name of your virtual machine? suse10
>  How much RAM should be allocated (in megabytes)? 512
>  What would you like to use as the disk (file path)? /opt/suse10.img
>  Would you like to enable graphics support? (yes or no) no
>  What is the install location? file://129.22.0.201/pxe/suse10_sp1_x86/boot/i386
> 
> Starting install...
> Retrieving file .treeinfo...                                       0 B 00:00
> Invalid URL location given: ftp://129.22.0.201/pxe/suse10_sp1_x86/boot/i386/images/xen/vmlinuz [Errno 4] IOError: [Errno ftp error] 550 Failed to change directory.
> Domain installation may not have been
>  successful.  If it was, you can restart your domain
>  by running 'virsh start suse10'; otherwise, please
>  restart your installation.
> Mon, 25 May 2009 15:14:17 ERROR    Invalid URL location given: ftp://129.22.0.201/pxe/suse10_sp1_x86/boot/i386/images/xen/vmlinuz [Errno 4] IOError: [Errno ftp error] 550 Failed to change directory.
> Traceback (most recent call last):
>  File "/usr/sbin/virt-install", line 502, in ?
>    main()
>  File "/usr/sbin/virt-install", line 462, in main
>    dom = guest.start_install(conscb,progresscb)
>  File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 811, in start_install
>    self._prepare_install(meter)
>  File "/usr/lib/python2.4/site-packages/virtinst/ParaVirtGuest.py", line 56, in _prepare_install
>    self._installer.prepare(guest = self, meter = meter)
>  File "/usr/lib/python2.4/site-packages/virtinst/DistroManager.py", line 239, in prepare
>    self._prepare_kernel_and_initrd(guest, distro, meter)
>  File "/usr/lib/python2.4/site-packages/virtinst/DistroManager.py", line 209, in _prepare_kernel_and_initrd
>    distro = distro)
>  File "/usr/lib/python2.4/site-packages/virtinst/DistroManager.py", line 123, in acquireKernel
>    return store.acquireKernel(fetcher, progresscb)
>  File "/usr/lib/python2.4/site-packages/virtinst/OSDistro.py", line 62, in acquireKernel
>    kernel = fetcher.acquireFile(kernelpath, progresscb)
>  File "/usr/lib/python2.4/site-packages/virtinst/ImageFetcher.py", line 88, in acquireFile
>    raise ValueError, _("Invalid URL location given: %s %s") %\
> ValueError: Invalid URL location given: ftp://129.22.0.201/pxe/suse10_sp1_x86/boot/i386/images/xen/vmlinuz [Errno 4] IOError: [Errno ftp error] 550 Failed to change directory.
> *******************************************************************
> The target OS is  Suse Enterprise Server 10, and in its directories I couldn't find images/xen/vmlinuz. Is this a bug?
> 

What python-virtinst version are you using? There were fixes in the suse
URL fetching that went into 0.300.2-12 that was shipped with RHEL 5.3.

- Cole




More information about the et-mgmt-tools mailing list