FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora/Linux Management Tools

 
 
LinkBack Thread Tools
 
Old 01-08-2009, 09:44 PM
Tom Brown
 
Default koan error on creating image based guest

Michael DeHaan wrote:

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=192.168.11.1
- 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
exceptions.NameError
global name 'utils' is not defined
File "/usr/lib/python2.4/site-packages/koan/app.py", line 186, in main
k.run()
File "/usr/lib/python2.4/site-packages/koan/app.py", line 403, in run
self.virt()
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

self.virt_net_install(profile_data)
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)


thanks

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools


It does appear to be a missing import. Perhaps some weird Python
interpreter thing allowed the utils to "just work" as the parent
module had already imported it? Really that shouldn't happen.


Ultimately though, you probably want the cobbler mailing list for
stuff like this -- https://fedorahosted.org/mailman/listinfo/cobbler


I'll fix it.


looks much better now -

# koan --virt --image=win-xp --server=192.168.11.1
- 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
- running: /bin/mount -t nfs -o ro
192.168.11.1:/var/www/cobbler/ks_mirror/windows /tmp/koan_6eIz11.mnt

after install completes, you may unmount and delete /tmp/koan_6eIz11.mnt
- adding disk: /opt/qemu//Thu_Jan__8_21_42_32_2009-disk0 of size 10
libvir: QEMU error :
libvir: QEMU error :
use virt-manager and connect to qemu to manage guest:
Thu_Jan__8_21_42_32_2009


Sorry for wrong list - mixup with my folders

thanks

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
 
Old 01-09-2009, 02:23 PM
Michael DeHaan
 
Default koan error on creating image based guest

Tom Brown wrote:

Michael DeHaan wrote:


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=192.168.11.1
- 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
exceptions.NameError
global name 'utils' is not defined
File "/usr/lib/python2.4/site-packages/koan/app.py", line 186, in main
k.run()
File "/usr/lib/python2.4/site-packages/koan/app.py", line 403, in run
self.virt()
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

self.virt_net_install(profile_data)
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)


thanks

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

It does appear to be a missing import. Perhaps some weird Python
interpreter thing allowed the utils to "just work" as the parent
module had already imported it? Really that shouldn't happen.


Ultimately though, you probably want the cobbler mailing list for
stuff like this -- https://fedorahosted.org/mailman/listinfo/cobbler


I'll fix it.



looks much better now -

# koan --virt --image=win-xp --server=192.168.11.1
- 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
- running: /bin/mount -t nfs -o ro
192.168.11.1:/var/www/cobbler/ks_mirror/windows /tmp/koan_6eIz11.mnt

after install completes, you may unmount and delete /tmp/koan_6eIz11.mnt
- adding disk: /opt/qemu//Thu_Jan__8_21_42_32_2009-disk0 of size 10
libvir: QEMU error :
libvir: QEMU error :
use virt-manager and connect to qemu to manage guest:
Thu_Jan__8_21_42_32_2009


Sorry for wrong list - mixup with my folders

thanks
_______________________________________________
cobbler mailing list
cobbler@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler



Excellent, I'll get this fixed for koan 1.4.1 (going out today).

--Michael


_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
 

Thread Tools




All times are GMT. The time now is 01:34 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org