[et-mgmt-tools] kickstart file issue

John.Sanabria at ece.uprm.edu John.Sanabria at ece.uprm.edu
Mon Feb 12 15:50:10 UTC 2007


Hi,

i had created a kickstart file, with kickstart tool. When i create the
profile to consider it i submit next command, and corresponding output:

 [root at reboot xentemplate]# cobbler profile add
--name="xentemplate-profile" --distro="xentemplate"
--kickstart=/root/another.cfg --virt-name="xentemplate"
--virt-file-size=3 --virt-ram=256
[root at reboot xentemplate]# cobbler sync
del /var/www/cobbler/images
del /var/www/cobbler/profiles
del /var/www/cobbler/systems
del /var/www/cobbler/kickstarts
del /var/www/cobbler/kickstarts_sys
del /var/www/cobbler/distros
del /tftpboot/pxelinux.cfg
del /tftpboot/images
koan path =
loader path = /var/lib/cobbler/elilo-3.6-ia64.efi
loader new name = elilo-3.6-ia64.efi
destpath = /tftpboot/elilo-3.6-ia64.efi
/var/lib/cobbler/elilo-3.6-ia64.efi -> /tftpboot/elilo-3.6-ia64.efi
loader path = /usr/lib/syslinux/pxelinux.0
loader new name = pxelinux.0
destpath = /tftpboot/pxelinux.0
/usr/lib/syslinux/pxelinux.0 -> /tftpboot/pxelinux.0
/root/vmlinuz -> /tftpboot/images/xentemplate/vmlinuz
/root/initrd.img -> /tftpboot/images/xentemplate/initrd.img
/root/vmlinuz -> /var/www/cobbler/images/xentemplate/vmlinuz
/root/initrd.img -> /var/www/cobbler/images/xentemplate/initrd.img
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/cobbler/action_sync.py", line
753, in mkdir
    return os.makedirs(path,mode)
  File "/usr/lib/python2.4/os.py", line 159, in makedirs
    mkdir(name, mode)
OSError: [Errno 2] No such file or directory: 'ks.cfg'
2
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/cobbler/action_sync.py", line
350, in validate_kickstarts_per_profile
    self.apply_template(kickstart_path, meta, dest)
  File "/usr/lib/python2.4/site-packages/cobbler/action_sync.py", line
440, in apply_template
    self.mkdir(os.path.basename(out_path))
  File "/usr/lib/python2.4/site-packages/cobbler/action_sync.py", line
758, in mkdir
    raise cexceptions.CobblerException("no_create", path)
CobblerException: 'cobbler could not create: ks.cfg'
Error while mirroring kickstart file (/root/another.cfg) to
(/var/www/cobbler/kickstarts/xentemplate-profile/ks.cfg)

what am i doing wrong? thanks a lot.

                    (`'`'`'`'`)
                     |       |
                     |       |
                     |       |
    -----..        (()----   |
   |        ||     (_        |
   |        ||       |       |
   |        ||       |       |
   |        ||       /\   ..--
   '--------''   /\  ||-''    \
      /   \      \ \//   ,,   \---.
   .---------.    \./ |~| /__\  \  |
___|_________|__|""-.___ / ||   |  |
|               | .-----'  ||   |  |
|               |CC.-----.      |  |
|               |  '-----'      |  |-ABG
                                |  |




More information about the et-mgmt-tools mailing list