[virt-tools-list] virt-install looking for i386 installer but should be looking for amd64 installer

Cole Robinson crobinso at redhat.com
Mon Aug 8 15:48:16 UTC 2016


On 08/06/2016 09:51 PM, Dave Hein wrote:
> I've been trying to install a KVM guest using Ubuntu Server 16.04. But I keep
> getting the error "Couldn't find hvm kernel for Ubuntu tree".
> 
> ubuntu server 16.04
> virt-install 1.3.2
> libosinfo 0.2.12
> 
> Here's my virt-install command:
> 
> virt-install \
>   --connect qemu:///system \
>   --name ubus-docker \
>   --memory maxmemory=4096,memory=512 \
>   --vcpus 2 \
>   --location http://heind-gb0/isos/ubus-docker/ \
>   --extra-args "console=tty0 console=ttyS0,115200" \
>   --arch "x86_64" \
>   --os-variant "ubuntu16.04" \
>   --disk path=/dev/heind-gb0-vg/vm-ubus-docker \
>   --network network=default \
>   --virt-type kvm \
>   --hvm \
>   --graphics none
> 
> The access log from the web server referenced by "--location" shows
> virt-install probing for the installer:
> 
> 127.0.0.1 - - [06/Aug/2016:20:27:00 -0500] "GET /isos/ubus-docker/.treeinfo
> HTTP/1.1" 404 152 "-" "python-requests/2.9.1"
> 127.0.0.1 - - [06/Aug/2016:20:27:00 -0500] "GET /isos/ubus-docker/content
> HTTP/1.1" 404 152 "-" "python-requests/2.9.1"
> 127.0.0.1 - - [06/Aug/2016:20:27:00 -0500] "HEAD /isos/ubus-docker/Fedora
> HTTP/1.1" 404 0 "-" "python-requests/2.9.1"
> 127.0.0.1 - - [06/Aug/2016:20:27:00 -0500] "HEAD
> /isos/ubus-docker/current/images/MANIFEST HTTP/1.1" 404 0 "-"
> "python-requests/2.9.1"
> 127.0.0.1 - - [06/Aug/2016:20:27:00 -0500] "HEAD
> /isos/ubus-docker/daily/MANIFEST HTTP/1.1" 404 0 "-" "python-requests/2.9.1"
> 127.0.0.1 - - [06/Aug/2016:20:27:00 -0500] "HEAD
> /isos/ubus-docker/current/images/MANIFEST HTTP/1.1" 404 0 "-"
> "python-requests/2.9.1"
> 127.0.0.1 - - [06/Aug/2016:20:27:00 -0500] "HEAD
> /isos/ubus-docker/install/netboot/version.info <http://version.info> HTTP/1.1"
> 200 0 "-" "python-requests/2.9.1"
> 127.0.0.1 - - [06/Aug/2016:20:27:00 -0500] "GET
> /isos/ubus-docker/install/netboot/version.info <http://version.info> HTTP/1.1"
> 200 58 "-" "python-requests/2.9.1"
> 127.0.0.1 - - [06/Aug/2016:20:27:00 -0500] "HEAD
> /isos/ubus-docker/install/netboot/ubuntu-installer/i386/linux HTTP/1.1" 404 0
> "-" "python-requests/2.9.1"
> 

You can also see the files it's trying to access by passing --debug to
virt-install

> As you can see, at the end it was looking for an i386 installer. It didn't
> find it (the media was am64 media, not i386 media).
> 
> But if it had been looking for
> "/isos/ubus-docker/install/netboot/ubuntu-installer/amd64/linux" it would have
> found it.
> 

So that's a mounted iso I take it? Never tried that for a --location install,
only tried public mirrors, which want a URL like
http://us.archive.ubuntu.com/ubuntu/dists/wily/main/installer-amd64/ .
virt-install may need patches to be fixed to work with the iso layout

- Cole




More information about the virt-tools-list mailing list