[et-mgmt-tools] distro add error.

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

 



I'm probably bending the envelope again but can't figure out how. 
What is cobbler trying to tell me I've done wrong?

[root@helmsdeep ~]# rpm -qa | grep cobb
cobbler-0.4.2-0
[root@helmsdeep ~]# rpm -qa | grep cheet
python23-cheetah-0.9.18-1.el4.pyv
python-cheetah-0.9.18-1.el4.pyv
Red Hat Enterprise Linux AS release 4 (Nahant Update 2)
[root@helmsdeep ~]# uname -a
Linux helmsdeep 2.6.9-22.EL #1 Mon Sep 19 17:49:49 EDT 2005 x86_64 x86_64 x86_64 GNU/Linux
[root@helmsdeep ~]# ls "/mnt/kickstart/CentOS-4.3-i386/images/pxeboot/vmlinuz"                                               /mnt/kickstart/CentOS-4.3-i386/images/pxeboot/vmlinuz
[root@helmsdeep ~]# cat /etc/redhat-release
[root@helmsdeep ~]# cobbler distro add --name="CentOS-4.3-i386" --kernel="/mnt/kickstart/CentOS-4.3-i386/images/pxeboot/vmlinuz" --initrd="/mnt/kickstart/CentOS-4.3-i386/images/pxeboot/initrd.img"
Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/cobbler/cobbler.py", line 505, in main
    BootCLI(sys.argv).run()
  File "/usr/lib/python2.3/site-packages/cobbler/cobbler.py", line 102, in run
    self.curry_args(self.args[1:], self.commands['toplevel'])
  File "/usr/lib/python2.3/site-packages/cobbler/cobbler.py", line 421, in curry_args
    commands[args[0]](args[1:])
  File "/usr/lib/python2.3/site-packages/cobbler/cobbler.py", line 469, in distro
    return self.curry_args(args, self.commands['distro'])
  File "/usr/lib/python2.3/site-packages/cobbler/cobbler.py", line 421, in curry_args
    commands[args[0]](args[1:])
  File "/usr/lib/python2.3/site-packages/cobbler/cobbler.py", line 386, in distro_edit
    return self.apply_args(args,commands,on_ok)
  File "/usr/lib/python2.3/site-packages/cobbler/cobbler.py", line 409, in apply_args
    on_ok()
  File "/usr/lib/python2.3/site-packages/cobbler/cobbler.py", line 385, in <lambda>
    on_ok = lambda: self.api.distros().add(distro, with_copy=self.api.sync_flag)
  File "/usr/lib/python2.3/site-packages/cobbler/collection.py", line 97, in add
    lite_sync.add_single_distro(ref.name)
  File "/usr/lib/python2.3/site-packages/cobbler/action_litesync.py", line 60, in add_single_distro
    self.sync.write_distro_file(distro)
  File "/usr/lib/python2.3/site-packages/cobbler/action_sync.py", line 733, in write_distro_file
    clone.kernel_options = self.hash_to_string(clone.kernel_options)
  File "/usr/lib/python2.3/site-packages/cobbler/action_sync.py", line 885, in hash_to_string
    buffer = buffer + key + "=" + value + " "
TypeError: cannot concatenate 'str' and 'int' objects

-- 
 /\oo/\
/ /()\ \ David Mackintosh | 
         dave@xxxxxxxxxx  | http://www.xdroop.com

Attachment: pgpDAOCyHvShG.pgp
Description: PGP signature


[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