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

Dave Hein dhein at acm.org
Sun Aug 7 01:51:06 UTC 2016


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/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/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"

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.

I've been unable to coax virt-installer into looking for the amd64
installer.

Is this a bug, or am I doing something wrong???

--
Dave Hein
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20160806/e44e08b5/attachment.htm>


More information about the virt-tools-list mailing list