Complete trace here.

http://pastebin.com/HbadQx64

[email protected] wrote on 04/03/2012 06:39:52 PM:

> From: James Cammarata <[email protected]>
> To: cobbler mailing list <[email protected]>
> Date: 04/03/2012 06:40 PM
> Subject: Re: [cobbler] esxi with cobbler 2.3.1
> Sent by: [email protected]
> 
> On Tue, Apr 3, 2012 at 4:31 PM,  <[email protected]> wrote:
> > Exception Info:
> >   File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 89, 
in run
> >     rc = self._run(self)
> >    File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 
185, in
> > runner
> >     return
> > 
self.remote.api.sync(self.options.get("verbose",False),logger=self.logger)
> >    File "/usr/lib/python2.6/site-packages/cobbler/api.py", line 719, 
in sync
> >     return sync.run()
> >    File "/usr/lib/python2.6/site-packages/cobbler/action_sync.py",line 
144,
> > in run
> >     self.tftpd.write_boot_files()
> >    File
> > "/usr/lib/python2.6/site-packages/cobbler/modules/manage_in_tftpd.py", 
line
> > 107, in write_boot_files
> >     self.write_boot_files_distro(distro)
> >    File
> > "/usr/lib/python2.6/site-packages/cobbler/modules/manage_in_tftpd.py", 
line
> > 85, in write_boot_files_distro
> >     file_dst = templater.render(file,metadata,None)
> >    File "/usr/lib/python2.6/site-packages/cobbler/templar.py", line 
100, in
> > render
> >     if self.settings.default_template_type:
> >
> > !!! TASK FAILED !!!
> > [root@domino kickstarts]# cobbler distro report esx5-x86_64
> > Name                           : esx5-x86_64
> > Architecture                   : x86_64
> > TFTP Boot Files                : {'$img_path/':
> > '/var/www/cobbler/ks_mirror/esx5/*.*'}
> > Breed                          : vmware
> > Comment                        : esxi5.0.0 update 469512
> > Fetchable Files                : {}
> > Initrd                         : /var/www/cobbler/ks_mirror/esx5/s.v00
> > Kernel                         : 
/var/www/cobbler/ks_mirror/esx5/mboot.c32
> > Kernel Options                 : {}
> > Kernel Options (Post Install)  : {}
> > Kickstart Metadata             :
> > {'http://192.168.10.1/cobbler/links/esx5-x86_64}': '~', '{tree:': '~'}
> 
> This is not right, it should be {'tree':'http://...'}. I see it's
> doing it for both rhel and esx.
> 
> > Management Classes             : []
> > OS Version                     : esxi5
> > Owners                         : ['admin']
> > Red Hat Management Key         : <<inherit>>
> > Red Hat Management Server      : <<inherit>>
> > Template Files                 : {}
> >
> > Name                           : rhel5-x86_64
> > Architecture                   : x86_64
> > TFTP Boot Files                : {}
> > Breed                          : redhat
> > Comment                        : rhel5.8
> > Fetchable Files                : {}
> > Initrd                         :
> > /var/www/cobbler/ks_mirror/rhel5/images/pxeboot/initrd.img
> > Kernel                         :
> > /var/www/cobbler/ks_mirror/rhel5/images/pxeboot/vmlinuz
> > Kernel Options                 : {}
> > Kernel Options (Post Install)  : {}
> > Kickstart Metadata             : {'{tree:': '~',
> > 'http://192.168.10.1/cobbler/links/rhel5-x86_64}': '~'}
> > Management Classes             : []
> > OS Version                     : rhel5
> > Owners                         : ['admin']
> > Red Hat Management Key         : <<inherit>>
> > Red Hat Management Server      : <<inherit>>
> > Template Files                 : {}
> >
> >
> > I get above error on running "cobbler sync" importing vmware esxi . 
Problem
> > seems to be
> > TFTP Boot Files                : {'$img_path/':
> > '/var/www/cobbler/ks_mirror/esx5/*.*'}
> >
> > I did not get any error after importing my rhel 5 distro
> >
> > Can any help resolve
> 
> Is that all the traceback there was? It looks incomplete.
> _______________________________________________
> cobbler mailing list
> [email protected]
> https://fedorahosted.org/mailman/listinfo/cobbler
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to