← Back to team overview

linux-traipu team mailing list archive

[Bug 1589690] Re: virt-Install reports Could not find an installable distribution at '/images/ubuntu-16.04-server-ppc64el.iso'

 

>From Canonical internal support team:
After a bit of investigating (including my own trial and error) I believe this is working as intended. I think the key take away here is we need to define the purpose of the '--location' option.

"Distribution tree installation source" <--


You'll notice in the debug information that after mounting the iso it's trying to reach a MANIFEST, which it's not going to find in the directory structure of the .iso... but it will find via a proper distribution tree.

[Tue, 14 Jun 2016 17:59:06 virt-install 22411] DEBUG (urlfetcher:306) mount cmd: ['/bin/mount', '-o', 'ro,loop', '/media/external/passport/iso/trusty-server-amd64.iso', '/var/lib/libvirt/boot/virtinstmnt.hgKkVy']
[Tue, 14 Jun 2016 17:59:06 virt-install 22411] DEBUG (urlfetcher:463) Finding distro store for location=/media/external/passport/iso/trusty-server-amd64.iso
[Tue, 14 Jun 2016 17:59:06 virt-install 22411] DEBUG (urlfetcher:485) Prioritizing distro store=<class 'virtinst.urlfetcher.UbuntuDistro'>
[Tue, 14 Jun 2016 17:59:06 virt-install 22411] DEBUG (urlfetcher:268) local hasFile: Couldn't find /var/lib/libvirt/boot/virtinstmnt.hgKkVy/current/images/MANIFEST


Now, with that information handy I was able to get your configuration to work two different ways.


1. By dropping the kernel arguments and options, and changing '--location' to '--cdrom' You don't have access to pass arguments to the the kernel/initrd via the install ISO. (AFAIK)

2. You could keep your configuration as is, and change --location to
http://us.archive.ubuntu.com/ubuntu/dists/xenial/main/installer-amd64/

-- 
You received this bug notification because you are a member of UBUNTU -
AL - BR, which is subscribed to Do.
https://bugs.launchpad.net/bugs/1589690

Title:
  virt-Install reports Could not find an installable distribution at
  '/images/ubuntu-16.04-server-ppc64el.iso'

Status in Do:
  New

Bug description:
  virt-install --debug \
  --name=guest1-ubuntu1604 \
  --controller type=scsi,model=virtio-scsi \
  --graphics none \
  --console pty,target_type=serial \
  --disk pool=virtimages,size=20 \
  --vcpus=2  \
  --ram=2048  \
  --os-type=linux \
  --os-variant ubuntu16.04 \
  --network bridge=vlan91 \
  --location=/images/ubuntu-16.04-server-ppc64el.iso \
  --boot cdrom,hd,network,menu=on,kernel_args="console=/dev/ttyS0" \
  -x "console=ttyS0"

  
  ===
  [Mon, 06 Jun 2016 15:47:00 virt-install 6438] DEBUG (guest:241) Setting Guest.os_variant to 'ubuntu16.04'
  [Mon, 06 Jun 2016 15:47:00 virt-install 6438] DEBUG (virt-install:731) Guest.has_install_phase: True

  Starting install...
  [Mon, 06 Jun 2016 15:47:00 virt-install 6438] DEBUG (urlfetcher:56) Using scratchdir=/var/lib/libvirt/boot
  [Mon, 06 Jun 2016 15:47:00 virt-install 6438] DEBUG (urlfetcher:296) Preparing mount at /var/lib/libvirt/boot/virtinstmnt.zm3EL_
  [Mon, 06 Jun 2016 15:47:00 virt-install 6438] DEBUG (urlfetcher:306) mount cmd: ['/bin/mount', '-o', 'ro,loop', '/images/ubuntu-16.04-server-ppc64el.iso', '/var/lib/libvirt/boot/virtinstmnt.zm3EL_']
  [Mon, 06 Jun 2016 15:47:00 virt-install 6438] DEBUG (urlfetcher:463) Finding distro store for location=/images/ubuntu-16.04-server-ppc64el.iso
  [Mon, 06 Jun 2016 15:47:00 virt-install 6438] DEBUG (urlfetcher:485) Prioritizing distro store=<class 'virtinst.urlfetcher.UbuntuDistro'>
  [Mon, 06 Jun 2016 15:47:00 virt-install 6438] DEBUG (urlfetcher:268) local hasFile: Couldn't find /var/lib/libvirt/boot/virtinstmnt.zm3EL_/current/images/MANIFEST
  [Mon, 06 Jun 2016 15:47:00 virt-install 6438] DEBUG (urlfetcher:268) local hasFile: Couldn't find /var/lib/libvirt/boot/virtinstmnt.zm3EL_/install/netboot/version.info
  [Mon, 06 Jun 2016 15:47:00 virt-install 6438] DEBUG (urlfetcher:268) local hasFile: Couldn't find /var/lib/libvirt/boot/virtinstmnt.zm3EL_/Fedora
  [Mon, 06 Jun 2016 15:47:00 virt-install 6438] DEBUG (urlfetcher:268) local hasFile: Couldn't find /var/lib/libvirt/boot/virtinstmnt.zm3EL_/current/images/MANIFEST
  [Mon, 06 Jun 2016 15:47:00 virt-install 6438] DEBUG (urlfetcher:268) local hasFile: Couldn't find /var/lib/libvirt/boot/virtinstmnt.zm3EL_/daily/MANIFEST
  [Mon, 06 Jun 2016 15:47:00 virt-install 6438] DEBUG (urlfetcher:268) local hasFile: Couldn't find /var/lib/libvirt/boot/virtinstmnt.zm3EL_/SL
  [Mon, 06 Jun 2016 15:47:00 virt-install 6438] DEBUG (urlfetcher:268) local hasFile: Couldn't find /var/lib/libvirt/boot/virtinstmnt.zm3EL_/CentOS
  [Mon, 06 Jun 2016 15:47:00 virt-install 6438] DEBUG (urlfetcher:268) local hasFile: Couldn't find /var/lib/libvirt/boot/virtinstmnt.zm3EL_/VERSION
  [Mon, 06 Jun 2016 15:47:01 virt-install 6438] DEBUG (urlfetcher:89) Fetching URI: /var/lib/libvirt/boot/virtinstmnt.zm3EL_/.disk/info
  Retrieving file info...                                                                                                                                                                    |   69 B  00:00:00     
  [Mon, 06 Jun 2016 15:47:01 virt-install 6438] DEBUG (urlfetcher:1220) Regex didn't match, not a ALT Linux distro
  [Mon, 06 Jun 2016 15:47:01 virt-install 6438] DEBUG (urlfetcher:268) local hasFile: Couldn't find /var/lib/libvirt/boot/virtinstmnt.zm3EL_/Server
  [Mon, 06 Jun 2016 15:47:01 virt-install 6438] DEBUG (urlfetcher:268) local hasFile: Couldn't find /var/lib/libvirt/boot/virtinstmnt.zm3EL_/Client
  [Mon, 06 Jun 2016 15:47:01 virt-install 6438] DEBUG (urlfetcher:268) local hasFile: Couldn't find /var/lib/libvirt/boot/virtinstmnt.zm3EL_/RedHat
  [Mon, 06 Jun 2016 15:47:01 virt-install 6438] DEBUG (urlfetcher:268) local hasFile: Couldn't find /var/lib/libvirt/boot/virtinstmnt.zm3EL_/images/pxeboot/vmlinuz
  [Mon, 06 Jun 2016 15:47:01 virt-install 6438] DEBUG (urlfetcher:268) local hasFile: Couldn't find /var/lib/libvirt/boot/virtinstmnt.zm3EL_/images/boot.iso
  [Mon, 06 Jun 2016 15:47:01 virt-install 6438] DEBUG (urlfetcher:268) local hasFile: Couldn't find /var/lib/libvirt/boot/virtinstmnt.zm3EL_/boot/boot.iso
  [Mon, 06 Jun 2016 15:47:01 virt-install 6438] DEBUG (urlfetcher:268) local hasFile: Couldn't find /var/lib/libvirt/boot/virtinstmnt.zm3EL_/current/images/netboot/mini.iso
  [Mon, 06 Jun 2016 15:47:01 virt-install 6438] DEBUG (urlfetcher:268) local hasFile: Couldn't find /var/lib/libvirt/boot/virtinstmnt.zm3EL_/install/images/boot.iso
  [Mon, 06 Jun 2016 15:47:01 virt-install 6438] DEBUG (urlfetcher:320) Cleaning up mount at /var/lib/libvirt/boot/virtinstmnt.zm3EL_
  [Mon, 06 Jun 2016 15:47:01 virt-install 6438] 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()))

  [Mon, 06 Jun 2016 15:47:01 virt-install 6438] ERROR (cli:306) Could
  not find an installable distribution at '/images/ubuntu-16.04-server-
  ppc64el.iso'

To manage notifications about this bug go to:
https://bugs.launchpad.net/do/+bug/1589690/+subscriptions


References