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

Re: [et-mgmt-tools] koan error on creating image based guest

Tom Brown wrote:
For the first time i am trying to create a windows guest with koan - Its quite possible i missed something but this is the result from koan.

I am using the latest 1.4 of koan and cobbler

# koan --virt --image=win-xp --server=
- ISO or Image based installation, always uses --virt-type=qemu
- no virt-type specified, auto-selecting qemu
libvirtd (pid 2313) is running...
- using qemu hypervisor, type=qemu
global name 'utils' is not defined
 File "/usr/lib/python2.4/site-packages/koan/app.py", line 186, in main
  File "/usr/lib/python2.4/site-packages/koan/app.py", line 403, in run
  File "/usr/lib/python2.4/site-packages/koan/app.py", line 678, in virt
   return self.net_install(after_download)
File "/usr/lib/python2.4/site-packages/koan/app.py", line 597, in net_install
   after_download(self, profile_data)
File "/usr/lib/python2.4/site-packages/koan/app.py", line 676, in after_download
File "/usr/lib/python2.4/site-packages/koan/app.py", line 1082, in virt_net_install
   virt_type     =  self.virt_type
File "/usr/lib/python2.4/site-packages/koan/qcreate.py", line 92, in start_install
   (tempdir, filename) = utils.nfsmount(input_path)


et-mgmt-tools mailing list
et-mgmt-tools redhat com
If you edit


and add

import utils

after the last import line, does it work?

-- bk

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