cobbler import --mirro=/media/rhel4 --name=RH4 (/media/rhel4 holding my EL4 dvd)
and i found the same error as did you got
sent 1944177538 bytes received 31594 bytes 7521118.50 bytes/sec
total size is 1943828388 speedup is 1.00
- creating new distro: RH4
- creating new profile: RH4
- running repo update on /var/www/cobbler/ks_mirror/RH4
- no comps file found: /var/www/cobbler/ks_mirror/RH4/repodata/comps.xml
- skipping rhel4 since profile isn't mirrored
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>
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(): 4ES
My host OS is Redhat Enterprise Linux 5 Server.
Regards
SysAdmin
On 4/2/07, niyaz chistee <
prime.provogue@xxxxxxxxx> wrote:
On 4/2/07, Vikas <kedia.vikas@xxxxxxxxx> 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>
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@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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools