[et-mgmt-tools] Possible bug in cobbler 0.4.5.3 on FC6

Vikas kedia.vikas at gmail.com
Mon Apr 2 08:29:46 UTC 2007


Here are the steps I followed:
$cobbler import --mirror=/rhel5 --name=C5

The directory /rhel5 has the contents of 6 discs of rhel in one directory.

This is the error I got:
- no comps file found: /var/www/cobbler/ks_mirror/C5/repodata/comps.xml
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/cobbler/cobbler.py", line 502, in main
    BootCLI(sys.argv).run()
  File "/usr/lib/python2.4/site-packages/cobbler/cobbler.py", line 102, in run
    self.curry_args(self.args[1:], self.commands['toplevel'])
  File "/usr/lib/python2.4/site-packages/cobbler/cobbler.py", line
418, in curry_args
    commands[args[0]](args[1:])
  File "/usr/lib/python2.4/site-packages/cobbler/cobbler.py", line
312, in import_tree
    return self.apply_args(args,commands,on_ok)
  File "/usr/lib/python2.4/site-packages/cobbler/cobbler.py", line
406, in apply_args
    on_ok()
  File "/usr/lib/python2.4/site-packages/cobbler/cobbler.py", line
311, in <lambda>
    on_ok = lambda: go_import()
  File "/usr/lib/python2.4/site-packages/cobbler/cobbler.py", line
304, in go_import
    self.temp_mirror_name)
  File "/usr/lib/python2.4/site-packages/cobbler/api.py", line 152, in
import_tree
    return importer.run()
  File "/usr/lib/python2.4/site-packages/cobbler/action_import.py",
line 82, in run
    self.guess_kickstarts()
  File "/usr/lib/python2.4/site-packages/cobbler/action_import.py",
line 139, in guess_kickstarts
    results = self.scan_rpm_filename(rpm)
  File "/usr/lib/python2.4/site-packages/cobbler/action_import.py",
line 186, in scan_rpm_filename
    major = int(major)
ValueError: invalid literal for int(): 5Server


Even though with this error:
[root at 69 ~]# koan --server=69.90.xxx.yyy --list-profile
listing defined profiles...
C5
C5-xen

The above output seems to be ok.

So here are my questions:
A. Why does the above mentioned error happen ?
B. Can this error be ignored ?

-----
Mortgage fir Virtualization Group http://www.mortgagefit.com
Vikas
vikas at mortgagefit dot com




More information about the et-mgmt-tools mailing list