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

niyaz chistee prime.provogue at gmail.com
Mon Apr 2 10:46:33 UTC 2007


On 4/2/07, Vikas <kedia.vikas at gmail.com> wrote:
>
> 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 ?


Yes the error can be ignored and you can continue with your setup. But I too
also don't know the cause. If someone can through light on this error it
would be very helpful. Regards.

-----
> Mortgage fir Virtualization Group http://www.mortgagefit.com
> Vikas
> vikas at mortgagefit dot com
>
> _______________________________________________
> et-mgmt-tools mailing list
> et-mgmt-tools at redhat.com
> https://www.redhat.com/mailman/listinfo/et-mgmt-tools
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/et-mgmt-tools/attachments/20070402/3cc6d1af/attachment.htm>


More information about the et-mgmt-tools mailing list