virt-install looking for i386 installer but should be looking for amd64 installer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list

[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux