I am also experiencing this:
root@jimdb:/home/OUTPOST/ernst# cobbler sync
task started: 2012-02-14_123247_sync
task started (id=Sync, time=Tue Feb 14 12:32:47 2012)
running pre-sync triggers
cleaning trees
removing: /var/lib/tftpboot/grub/images
removing: /var/lib/tftpboot/grub/grub-x86_64.efi
removing: /var/lib/tftpboot/grub/grub-x86.efi
removing: /var/lib/tftpboot/images/rhel57-x86_64
removing: /var/lib/tftpboot/images/memtest86+_multiboot.bin
removing: /var/lib/tftpboot/images/rhel5_7-x86_64
removing: /var/lib/tftpboot/images/memtest86+.bin
removing: /var/lib/tftpboot/s390x/profile_list
copying bootloaders
trying hardlink /var/lib/cobbler/loaders/pxelinux.0 ->
/var/lib/tftpboot/pxelinux.0
copying: /var/lib/cobbler/loaders/pxelinux.0 -> /var/lib/tftpboot/pxelinux.0
trying hardlink /var/lib/cobbler/loaders/menu.c32 -> /var/lib/tftpboot/menu.c32
copying: /var/lib/cobbler/loaders/menu.c32 -> /var/lib/tftpboot/menu.c32
trying hardlink /boot/memtest86+_multiboot.bin ->
/var/lib/tftpboot/images/memtest86+_multiboot.bin
trying hardlink /boot/memtest86+.bin -> /var/lib/tftpboot/images/memtest86+.bin
trying hardlink /var/lib/cobbler/loaders/grub-x86_64.efi ->
/var/lib/tftpboot/grub/grub-x86_64.efi
trying hardlink /var/lib/cobbler/loaders/grub-x86.efi ->
/var/lib/tftpboot/grub/grub-x86.efi
copying distros to tftpboot
copying files for distro: rhel57-x86_64
trying hardlink /var/www/cobbler/ks_mirror/rhel57-x86_64/images/pxeboot/vmlinuz
-> /var/lib/tftpboot/images/rhel57-x86_64/vmlinuz
trying hardlink
/var/www/cobbler/ks_mirror/rhel57-x86_64/images/pxeboot/initrd.img ->
/var/lib/tftpboot/images/rhel57-x86_64/initrd.img
copying files for distro: rhel5_7-x86_64
trying hardlink
/var/www/cobbler/ks_mirror/rhel5_7-x86_64/images/pxeboot/vmlinuz ->
/var/lib/tftpboot/images/rhel5_7-x86_64/vmlinuz
trying hardlink
/var/www/cobbler/ks_mirror/rhel5_7-x86_64/images/pxeboot/initrd.img ->
/var/lib/tftpboot/images/rhel5_7-x86_64/initrd.img
copying images
trying cachelink /share/local/IT/ISO/rhel-server-5.7-x86_64-dvd.iso ->
/var/lib/tftpboot/.link_cache/905ca609e3578260c2ccb4bb93d86568e5eccf40 ->
/var/lib/tftpboot/images2/rhel5_7
copying: /share/local/IT/ISO/rhel-server-5.7-x86_64-dvd.iso ->
/var/lib/tftpboot/images2/rhel5_7
generating GPXE/PXE configuration files
generating PXE menu structure
Exception occured:
Exception value: 'NoneType' object has no attribute 'os_version'
Exception Info:
File "/usr/lib/python2.7/dist-packages/cobbler/remote.py", line 93, in run
rc = self._run(self)
File "/usr/lib/python2.7/dist-packages/cobbler/remote.py", line 183, in
runner
return
self.remote.api.sync(self.options.get("verbose",False),logger=self.logger)
File "/usr/lib/python2.7/dist-packages/cobbler/api.py", line 698, in sync
return sync.run()
File "/usr/lib/python2.7/dist-packages/cobbler/action_sync.py", line 114, in
run
self.tftpd.sync(self.verbose)
File "/usr/lib/python2.7/dist-packages/cobbler/modules/manage_in_tftpd.py",
line 186, in sync
self.pxegen.make_pxe_menu()
File "/usr/lib/python2.7/dist-packages/cobbler/pxegen.py", line 312, in
make_pxe_menu
self.make_actual_pxe_menu()
File "/usr/lib/python2.7/dist-packages/cobbler/pxegen.py", line 406, in
make_actual_pxe_menu
profile=None, distro=None, arch=image.arch, image=image)
File "/usr/lib/python2.7/dist-packages/cobbler/pxegen.py", line 619, in
write_pxe_file
if distro.os_version.startswith("esxi") and filename is not None:
!!! TASK FAILED !!!
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/918357
Title:
cobbler import fails
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cobbler/+bug/918357/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs