[et-mgmt-tools] error while running cobbler import

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am trying to configure cobbler to configure my xen virtual machines. I tried to import the installation tree of rhel5 from cobbler using the command:

 cobbler import --mirror=/rhel5/Dump/ --mirror-name=rhel5

It ran for sometime mirroring my rpm's and in last it ended up with this:
sent 2597509927 bytes  received 50280 bytes  8644127.14 bytes/sec
total size is 2596994302  speedup is 1.00
- creating new distro: rhel5
- creating new profile: rhel5
- running repo update on /var/www/cobbler/ks_mirror/rhel5
- no comps file found: /var/www/cobbler/ks_mirror/rhel5/repodata/comps.xml
- modifying existing distro: rhel5
- modifying existing profile: rhel5
- running repo update on /var/www/cobbler/ks_mirror/rhel5
- no comps file found: /var/www/cobbler/ks_mirror/rhel5/repodata/comps.xml
- creating new distro: rhel5-xen
- creating new profile: rhel5-xen
- running repo update on /var/www/cobbler/ks_mirror/rhel5
- no comps file found: /var/www/cobbler/ks_mirror/rhel5/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

I don't know what this is all about. But when I ran cobbler report it showed me this:

[root@server cobbler]# cobbler report
distro          : rhel5
kernel          : /var/www/cobbler/ks_mirror/rhel5/images/pxeboot/vmlinuz
initrd          : /var/www/cobbler/ks_mirror/rhel5/images/pxeboot/initrd.img
kernel options  : {}
architecture    : x86
ks metadata     : {}
breed           : redhat

distro          : rhel5-xen
kernel          : /var/www/cobbler/ks_mirror/rhel5/images/xen/vmlinuz
initrd          : /var/www/cobbler/ks_mirror/rhel5/images/xen/initrd.img
kernel options  : {}
architecture    : x86
ks metadata     : {}
breed           : redhat

profile         : rhel5
distro          : rhel5
kickstart       : /etc/cobbler/default.ks
kernel options  : {}
ks metadata     : {}
virt file size  : 5
virt ram        : 512
virt paravirt   : True
repos           :

profile         : rhel5-xen
distro          : rhel5-xen
kickstart       : /etc/cobbler/default.ks
kernel options  : {}
ks metadata     : {}
virt file size  : 5
virt ram        : 512
virt paravirt   : True
repos           :

That means it has created the distro and profile part. Is that perfect or something is missing.

Please help.

Regards
SysAdmin

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux