KVM ubuntu 12.04.2 guest installation with kickstart config fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
debian-installer (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
* a kickstart tree with the ubuntu 12.04.2 server amd64 files is available on the KVM host (CentOS 6.3) (mounted via NFS)
* the kickstart file is available as a local file on the KVM host
* installation is done using virt-install
virt-install --connect qemu:///system --name test --location=
Starting install...
Retrieving file version.info... | 116 B 00:00 ...
ERROR Couldn't find hvm kernel for Ubuntu tree.
the virt-install.log file contains the information below - it seems it is erroneously looking for
/kickstart-
instead of
/kickstart-
[...]
[Mon, 20 May 2013 22:54:11 virt-install 64569] DEBUG (ImageFetcher:83) Fetching URI: /kickstart-
[Mon, 20 May 2013 22:54:11 virt-install 64569] DEBUG (ImageFetcher:94) Saved file to /var/tmp/
[Mon, 20 May 2013 22:54:11 virt-install 64569] DEBUG (OSDistro:965) Detected an Ubuntu distro
[Mon, 20 May 2013 22:54:11 virt-install 64569] DEBUG (virt-install:619) Guest.has_
[Mon, 20 May 2013 22:54:11 virt-install 64569] DEBUG (Installer:182) scratchdir=
[Mon, 20 May 2013 22:54:11 virt-install 64569] DEBUG (OSDistro:65) Attempting to detect distro:
[Mon, 20 May 2013 22:54:11 virt-install 64569] DEBUG (ImageFetcher:169) local hasFile: Couldn't find /kickstart-
[Mon, 20 May 2013 22:54:11 virt-install 64569] DEBUG (ImageFetcher:169) local hasFile: Couldn't find /kickstart-
[Mon, 20 May 2013 22:54:11 virt-install 64569] DEBUG (ImageFetcher:169) local hasFile: Couldn't find /kickstart-
[Mon, 20 May 2013 22:54:11 virt-install 64569] DEBUG (ImageFetcher:169) local hasFile: Couldn't find /kickstart-
[Mon, 20 May 2013 22:54:11 virt-install 64569] DEBUG (ImageFetcher:169) local hasFile: Couldn't find /kickstart-
[Mon, 20 May 2013 22:54:11 virt-install 64569] DEBUG (ImageFetcher:169) local hasFile: Couldn't find /kickstart-
[Mon, 20 May 2013 22:54:11 virt-install 64569] DEBUG (ImageFetcher:169) local hasFile: Couldn't find /kickstart-
[Mon, 20 May 2013 22:54:11 virt-install 64569] DEBUG (ImageFetcher:169) local hasFile: Couldn't find /kickstart-
[Mon, 20 May 2013 22:54:11 virt-install 64569] DEBUG (ImageFetcher:169) local hasFile: Couldn't find /kickstart-
[Mon, 20 May 2013 22:54:11 virt-install 64569] DEBUG (ImageFetcher:169) local hasFile: Couldn't find /kickstart-
[Mon, 20 May 2013 22:54:11 virt-install 64569] DEBUG (ImageFetcher:169) local hasFile: Couldn't find /kickstart-
[Mon, 20 May 2013 22:54:11 virt-install 64569] DEBUG (ImageFetcher:83) Fetching URI: /kickstart-
[Mon, 20 May 2013 22:54:11 virt-install 64569] DEBUG (ImageFetcher:94) Saved file to /var/lib/
[Mon, 20 May 2013 22:54:11 virt-install 64569] DEBUG (OSDistro:965) Detected an Ubuntu distro
[Mon, 20 May 2013 22:54:11 virt-install 64569] DEBUG (ImageFetcher:169) local hasFile: Couldn't find /kickstart-
[Mon, 20 May 2013 22:54:11 virt-install 64569] ERROR (cli:440) Couldn't find hvm kernel for Ubuntu tree.
[Mon, 20 May 2013 22:54:11 virt-install 64569] DEBUG (_util:233) Traceback (most recent call last):
File "/usr/sbin/
noboot=
File "/usr/lib/
self.
File "/usr/lib/
meter=meter)
File "/usr/lib/
dev = self._prepare_
File "/usr/lib/
self.os_type)
File "/usr/lib/
scratchdir, type)
File "/usr/lib/
None, media_cb)
File "/usr/lib/
return callback(store, fetcher)
File "/usr/lib/
media = store.acquireKe
File "/usr/lib/
{ "distro": self.name, "type" : self.type })
RuntimeError: Couldn't find hvm kernel for Ubuntu tree.
Also affects me, with some diferences (no NFS mounted image, no kickstart)
virt-install \ lib/libvirt/ images/ ubuntu. img,size= 7 \
--connect qemu:///system \
--network network=test \
--virt-type kvm \
--name ubuntu \
--ram 512 \
--arch=x86_64 \
--disk path=/var/
--nographics \
--location /dev/sr0
Starting install...
Retrieving file version.info... | 116 B 00:00 ...
ERROR Couldn't find hvm kernel for Ubuntu tree.
Relevant log portion: libvirt/ boot/virtinstmn t.ry0m3M/ install/ netboot/ ubuntu- installer/ i386/linux libvirt/ boot/virtinstmn t.ry0m3M
[Wed, 22 May 2013 14:32:46 virt-install 5556] DEBUG (OSDistro:965) Detected an Ubuntu distro
[Wed, 22 May 2013 14:32:46 virt-install 5556] DEBUG (ImageFetcher:169) local hasFile: Couldn't find /var/lib/
[Wed, 22 May 2013 14:32:46 virt-install 5556] DEBUG (ImageFetcher:205) Cleaning up mount at /var/lib/
[Wed, 22 May 2013 14:32:46 virt-install 5556] ERROR (cli:440) Couldn't find hvm kernel for Ubuntu tree.