From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ja-JP) AppleWebKit/525.13 (KHTML, like Gecko) Version/3.1 Safari/525.13 Description of problem: virt install failed. below is /var/log/func/func.log 2008-03-28 18:06:46,059 - DEBUG - (X) ------------------------------------------- 2008-03-28 18:06:46,178 - INFO - Exception occured: codes.FuncException 2008-03-28 18:06:46,178 - INFO - Exception value: koan returned 1 2008-03-28 18:06:46,179 - INFO - Exception Info: File "/usr/lib/python2.4/site-packages/func/minion/server.py", line 137, in __call__ rc = self.__method(*args) File "/usr/lib/python2.4/site-packages/func/minion/modules/virt.py", line 220, in install if rc == 0: 2008-03-28 18:06:46,179 - DEBUG - Return code for virt.install: ['REMOTE_ERROR','codes.FuncException', 'koan returned 1', ' File "/usr/lib/python2.4/site-packages/func/minion/server.py", line 137, in __call__\n rc = self.__method(*args)\n File "/usr/lib/python2.4/site-packages/func/minion/modules/virt.py", line 220, in install\n if rc == 0:\n'] koan-0.18 does not support --virt-graphics option. Raise codes.FuncException("koan returned %d" % rc). below is patch. $ diff -u func/minion/modules/virt.py{.orig,} --- func/minion/modules/virt.py.orig 2008-03-28 18:25:23.000000000 +0900 +++ func/minion/modules/virt.py 2008-03-28 18:25:35.000000000 +0900 @@ -208,7 +208,6 @@ koan_args = [ "/usr/bin/koan", "--virt", - "--virt-graphics", # enable VNC "--%s=%s" % (target, target_name), "--server=%s" % server_name ] Version-Release number of selected component (if applicable): func-0.18-1 How reproducible: Always Steps to Reproduce: 1. setup func, cobbler, koan 2. in python script client.virt.install("cobbler.example.com", "virthostname", True) Actual Results: Expected Results: Additional info:
Agreed with above patch.
That line has gone in the version currently in EPEL5 (func-0.24-1.el5)