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.
--Michael
[root@ino0l073 root]# rpm -q koan
koan-0.5.0-1.el3.rf
[root@ino0l073 root]# cat /etc/redhat-release Red Hat Enterprise Linux
ES release 3 (Taroon Update 6)
[root@ino0l073 root]# koan -l --server=10.128.164.145
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@ino0l073 root]#
koan run from a Centos 5 box (which happens to be the cobbler server)
yields
[root@mrdevjw1 pxelinux.cfg]# cat /etc/redhat-release CentOS release 5
(Final)
[root@mrdevjw1 pxelinux.cfg]# koan -l --server=10.128.164.145
lrh4v4-i386-private
lrh4v4-public
[root@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@xxxxxxxxxxxxx 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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools