[snip] What could help track it down is:
> > - See if latest virt-install --location works with a ubuntu-14.04 era ISO > - If so, compare the file layout of 14.04 and 16.04 and list the > differences > here. Maybe the file layout changed and virtinst/urlfetcher.py needs to be > extended to handle the new layout > > - Cole > > The 14.04.5 ISO seems to have the same layout as the 16.04.1 ISO. I tried virt-install with --location pointing to the 14.04 ISO. Same error. I'll try looking at differences in the virt-install code between older versions and 1.3.2, and see why the newer version is handling ISOs differently. FYI, I added --debug and got this output: Starting install... [Tue, 09 Aug 2016 21:31:54 virt-install 8815] DEBUG (cli:256) Launched with command line: /usr/share/virt-manager/virt-install --debug --connect qemu:///system --name ubus-docker --memory maxmemory=4096,memory=512 --vcpus 2 --location /home/thedude/iso/ubuntu-14.04.5-server-amd64.iso --extra-args text console=tty0 utf8 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 [Tue, 09 Aug 2016 21:31:54 virt-install 8815] DEBUG (cli:266) Requesting libvirt URI qemu:///system [Tue, 09 Aug 2016 21:31:54 virt-install 8815] DEBUG (cli:270) Received libvirt URI qemu:///system [Tue, 09 Aug 2016 21:31:54 virt-install 8815] DEBUG (virt-install:357) Requesting virt method 'hvm', hv type 'kvm'. [Tue, 09 Aug 2016 21:31:54 virt-install 8815] DEBUG (virt-install:576) Received virt method 'kvm' [Tue, 09 Aug 2016 21:31:54 virt-install 8815] DEBUG (virt-install:577) Hypervisor name is 'hvm' [Tue, 09 Aug 2016 21:31:54 virt-install 8815] DEBUG (virt-install:269) Distilled --network options: ['network=default'] [Tue, 09 Aug 2016 21:31:54 virt-install 8815] DEBUG (virt-install:182) Distilled --disk options: ['path=/dev/heind-gb0-vg/vm-ubus-docker'] [Tue, 09 Aug 2016 21:31:54 virt-install 8815] DEBUG (guest:241) Setting Guest.os_variant to 'ubuntu16.04' [Tue, 09 Aug 2016 21:31:54 virt-install 8815] DEBUG (virt-install:731) Guest.has_install_phase: True [Tue, 09 Aug 2016 21:31:54 virt-install 8815] DEBUG (urlfetcher:56) Using scratchdir=/var/lib/libvirt/boot [Tue, 09 Aug 2016 21:31:54 virt-install 8815] DEBUG (urlfetcher:296) Preparing mount at /var/lib/libvirt/boot/virtinstmnt.JOxSUO [Tue, 09 Aug 2016 21:31:54 virt-install 8815] DEBUG (urlfetcher:306) mount cmd: ['/bin/mount', '-o', 'ro,loop', '/home/thedude/iso/ubuntu-14.04.5-server-amd64.iso', '/var/lib/libvirt/boot/virtinstmnt.JOxSUO'] [Tue, 09 Aug 2016 21:31:54 virt-install 8815] DEBUG (urlfetcher:463) Finding distro store for location=/home/thedude/iso/ubuntu-14.04.5-server-amd64.iso [Tue, 09 Aug 2016 21:31:54 virt-install 8815] DEBUG (urlfetcher:485) Prioritizing distro store=<class 'virtinst.urlfetcher.UbuntuDistro'> [Tue, 09 Aug 2016 21:31:54 virt-install 8815] DEBUG (urlfetcher:268) local hasFile: Couldn't find /var/lib/libvirt/boot/virtinstmnt.JOxSUO/current/images/MANIFEST [Tue, 09 Aug 2016 21:31:54 virt-install 8815] DEBUG (urlfetcher:89) Fetching URI: /var/lib/libvirt/boot/virtinstmnt.JOxSUO/install/netboot/ version.info Starting install... Retrieving file version.info... | 58 B 00:00 [Tue, 09 Aug 2016 21:31:54 virt-install 8815] DEBUG (urlfetcher:1137) Didn't find any known codename in the URL string [Tue, 09 Aug 2016 21:31:54 virt-install 8815] DEBUG (urlfetcher:498) Detected distro name=Ubuntu osvariant=linux [Tue, 09 Aug 2016 21:31:54 virt-install 8815] DEBUG (urlfetcher:268) local hasFile: Couldn't find /var/lib/libvirt/boot/virtinstmnt.JOxSUO/install/netboot/ubuntu-installer/i386/linux [Tue, 09 Aug 2016 21:31:54 virt-install 8815] DEBUG (urlfetcher:320) Cleaning up mount at /var/lib/libvirt/boot/virtinstmnt.JOxSUO [Tue, 09 Aug 2016 21:31:54 virt-install 8815] DEBUG (cli:305) File "/usr/share/virt-manager/virt-install", line 1063, in <module> sys.exit(main()) File "/usr/share/virt-manager/virt-install", line 1057, in main start_install(guest, continue_inst, options) File "/usr/share/virt-manager/virt-install", line 768, in start_install fail(e, do_exit=False) File "/usr/share/virt-manager/virtinst/cli.py", line 305, in fail logging.debug("".join(traceback.format_stack())) [Tue, 09 Aug 2016 21:31:54 virt-install 8815] ERROR (cli:306) Couldn't find hvm kernel for Ubuntu tree. [Tue, 09 Aug 2016 21:31:54 virt-install 8815] DEBUG (cli:308) Traceback (most recent call last): File "/usr/share/virt-manager/virt-install", line 741, in start_install dom = guest.start_install(meter=meter, noboot=options.noreboot) File "/usr/share/virt-manager/virtinst/guest.py", line 482, in start_install self._prepare_install(meter, dry) File "/usr/share/virt-manager/virtinst/guest.py", line 303, in _prepare_install self.installer.prepare(self, meter) File "/usr/share/virt-manager/virtinst/installer.py", line 200, in prepare self._prepare(guest, meter) File "/usr/share/virt-manager/virtinst/distroinstaller.py", line 451, in _prepare self._prepare_kernel_url(guest, fetcher) File "/usr/share/virt-manager/virtinst/distroinstaller.py", line 360, in _prepare_kernel_url kernel, initrd, args = store.acquireKernel(guest) File "/usr/share/virt-manager/virtinst/urlfetcher.py", line 577, in acquireKernel {"distro": self.name, "type" : self.type}) RuntimeError: Couldn't find hvm kernel for Ubuntu tree. [Tue, 09 Aug 2016 21:31:54 virt-install 8815] DEBUG (cli:319) Domain installation does not appear to have been successful. If it was, you can restart your domain by running: virsh --connect qemu:///system start ubus-docker otherwise, please restart your installation. Domain installation does not appear to have been successful. If it was, you can restart your domain by running: virsh --connect qemu:///system start ubus-docker otherwise, please restart your installation. -- Dave Hein
_______________________________________________ virt-tools-list mailing list virt-tools-list@redhat.com https://www.redhat.com/mailman/listinfo/virt-tools-list