Public bug reported:

After installing koan, rpm and virtinst, running koan produces the following
crash.


> sudo koan --virt --server=red.local --profile=oneiric-x86_64
- looking for Cobbler at http://red.local:80/cobbler_api
install_tree: http://192.168.1.6/cblr/repo_mirror/oneiric-x86_64
- using qemu hypervisor, type=kvm
Wed, 18 Jan 2012 08:31:51 DEBUG    No conn passed to Guest, opening URI 
'qemu:///system'
Wed, 18 Jan 2012 08:31:52 DEBUG    DistroInstaller location is a network source.
libvir: QEMU error : Domain not found: no domain with matching name 
'Wed_Jan_18_08_31_51_2012'
- adding disk: /var/lib/libvirt/images//Wed_Jan_18_08_31_51_2012-disk0 of size 
5 (driver type=raw)
Wed, 18 Jan 2012 08:31:52 DEBUG    scratchdir=/var/lib/libvirt/boot
Wed, 18 Jan 2012 08:31:52 DEBUG    HTTP hasFile: didn't find 
http://192.168.1.6/cblr/repo_mirror/oneiric-x86_64/: HTTP Error 404: Not Found
Wed, 18 Jan 2012 08:31:52 ERROR    Error preparing install location
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/virtinst/OSDistro.py", line 121, in 
_locationCheckWrapper
    fetcher.prepareLocation()
  File "/usr/lib/python2.7/dist-packages/virtinst/ImageFetcher.py", line 113, 
in prepareLocation
    (self.location))
ValueError: Opening URL http://192.168.1.6/cblr/repo_mirror/oneiric-x86_64/ 
failed.
<type 'exceptions.ValueError'>
Invalid install location: Opening URL 
http://192.168.1.6/cblr/repo_mirror/oneiric-x86_64/ failed.
  File "/usr/lib/python2.7/dist-packages/koan/app.py", line 245, in main
    k.run()
   File "/usr/lib/python2.7/dist-packages/koan/app.py", line 385, in run
    self.virt()
   File "/usr/lib/python2.7/dist-packages/koan/app.py", line 741, in virt
    return self.net_install(after_download)
   File "/usr/lib/python2.7/dist-packages/koan/app.py", line 630, in net_install
    after_download(self, profile_data)
   File "/usr/lib/python2.7/dist-packages/koan/app.py", line 739, in 
after_download
    self.virt_net_install(profile_data)
   File "/usr/lib/python2.7/dist-packages/koan/app.py", line 1345, in 
virt_net_install
    qemu_net_type    =  self.qemu_net_type
   File "/usr/lib/python2.7/dist-packages/koan/qcreate.py", line 228, in 
start_install
    guest.start_install()
   File "/usr/lib/python2.7/dist-packages/virtinst/Guest.py", line 1206, in 
start_install
    self._prepare_install(meter, dry)
   File "/usr/lib/python2.7/dist-packages/virtinst/Guest.py", line 963, in 
_prepare_install
    meter=meter)
   File "/usr/lib/python2.7/dist-packages/virtinst/DistroInstaller.py", line 
426, in prepare
    dev = self._prepare_kernel_and_initrd(guest, meter)
   File "/usr/lib/python2.7/dist-packages/virtinst/DistroInstaller.py", line 
365, in _prepare_kernel_and_initrd
    self.os_type)
   File "/usr/lib/python2.7/dist-packages/virtinst/OSDistro.py", line 156, in 
acquireKernel
    scratchdir, type)
   File "/usr/lib/python2.7/dist-packages/virtinst/OSDistro.py", line 150, in 
_acquireMedia
    None, media_cb)
   File "/usr/lib/python2.7/dist-packages/virtinst/OSDistro.py", line 124, in 
_locationCheckWrapper
    raise ValueError(_("Invalid install location: ") + str(e))


There are a number of things here that look "odd". 

  1. "no domain with matching name 'Wed_Jan_18_08_31_51_2012'"
  2. "HTTP hasFile: didn't find 
http://192.168.1.6/cblr/repo_mirror/oneiric-x86_64/: HTTP Error 404: Not Found"
      - That's the correct IP address but the "cblr" part of the url is all 
wrong I think.

** Affects: cobbler (Ubuntu)
     Importance: High
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/918286

Title:
  koan: [precise] Wrong install location?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cobbler/+bug/918286/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to