[et-mgmt-tools] Koan on a RHEL3 client

Michael DeHaan mdehaan at redhat.com
Wed Jul 25 22:05:42 UTC 2007

Jim Wildman wrote:
> I need/want to use koan to rebuild a rhel3 server. However it errors
> out like this.

I thought that used to work on RHEL 3 -- apparently I must have switched 
to optparse in the last 6 months or so?
optparse is new in Python 2.3, and is just there to parse the command line.

Short term, I don't have a quick fix for this, but I'll remove the 
dependency as this is supposed to work.


> [root at ino0l073 root]# rpm -q koan
> koan-0.5.0-1.el3.rf
> [root at ino0l073 root]# cat /etc/redhat-release Red Hat Enterprise Linux 
> ES release 3 (Taroon Update 6)
> [root at ino0l073 root]# koan -l --server=
> Traceback (most recent call last):
> File "/usr/bin/koan", line 38, in ?
> import koan.app as app
> File "/usr/lib/python2.2/site-packages/koan/app.py", line 22, in ?
> import optparse
> ImportError: No module named optparse
> [root at ino0l073 root]#
> koan run from a Centos 5 box (which happens to be the cobbler server) 
> yields
> [root at mrdevjw1 pxelinux.cfg]# cat /etc/redhat-release CentOS release 5 
> (Final)
> [root at mrdevjw1 pxelinux.cfg]# koan -l --server=
> lrh4v4-i386-private
> lrh4v4-public
> [root at mrdevjw1 pxelinux.cfg]# rpm -q koan
> koan-0.5.0-1.el5.rf
> I don't see anything else in the wiki or by googling.
> suggestions?
> ------------------------------------------------------------------------
> Jim Wildman, CISSP, RHCE jim at rossberry.com http://www.rossberry.com
> "Society in every state is a blessing, but Government, even in its best
> state, is a necessary evil; in its worst state, an intolerable one."
> Thomas Paine
> _______________________________________________
> et-mgmt-tools mailing list
> et-mgmt-tools at redhat.com
> https://www.redhat.com/mailman/listinfo/et-mgmt-tools

More information about the et-mgmt-tools mailing list