On 11/07/2013 08:31 AM, Newman, Stuart J. (GSFC-444.0)[HONEYWELL TECHNOLOGY SOLUTIONS INC] wrote:

Currently, I cannot import esxi 5.1 update 1.  See the log below:

 

Thu Nov  7 14:14:21 2013 - INFO | Exception occurred: <type 'exceptions.KeyError'>

Thu Nov  7 14:14:21 2013 - INFO | Exception value: 'breeds'

Thu Nov  7 14:14:21 2013 - INFO | 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 232, in runner

    self.logger

   File "/usr/lib/python2.6/site-packages/cobbler/api.py", line 925, in import_tree

    return import_module.run(path,mirror_name,network_root,kickstart_file,arch,breed,os_version)

   File "/usr/lib/python2.6/site-packages/cobbler/modules/manage_import_signatures.py", line 133, in run

    self.signature = self.scan_signatures()

   File "/usr/lib/python2.6/site-packages/cobbler/modules/manage_import_signatures.py", line 162, in scan_signatures

    for breed in sigdata["breeds"].keys():

 

Thu Nov  7 14:14:21 2013 - ERROR | ### TASK FAILED ###

 

Also, I cannot import esxi 5.5.  See the log below:

 

Thu Nov  7 13:59:11 2013 - DEBUG | Found a candidate signature: breed=vmware, version=esxi51

Thu Nov  7 13:59:11 2013 - INFO | running: /usr/bin/file /var/www/cobbler/ks_mirror/esxi5-5/s.v00

Thu Nov  7 13:59:12 2013 - INFO | received on stdout: /var/www/cobbler/ks_mirror/esxi5-5/s.v00: gzip compressed data, was "vmvisor-sys.tar.vtar", from Unix, last modified: Thu Sep 19 06:39:27 2013

 

Thu Nov  7 13:59:12 2013 - DEBUG | received on stderr:

Thu Nov  7 13:59:43 2013 - DEBUG | Found a candidate signature: breed=vmware, version=esxi5

Thu Nov  7 13:59:43 2013 - INFO | running: /usr/bin/file /var/www/cobbler/ks_mirror/esxi5-5/s.v00

Thu Nov  7 13:59:43 2013 - INFO | received on stdout: /var/www/cobbler/ks_mirror/esxi5-5/s.v00: gzip compressed data, was "vmvisor-sys.tar.vtar", from Unix, last modified: Thu Sep 19 06:39:27 2013

 

Thu Nov  7 13:59:43 2013 - DEBUG | received on stderr:


I can't speak to 5.1u1, but for 5.5 you need to use the esxi55 signature of the vmware breed, which I think is only in git right now.  Unfortunately it's not enough to only update the signatures file, you also need the template file for 5.5.  I was actually planning to submit a patch that minimizes the number of templates for ESXi, but that would still need to be updated alongside the signatures file updates.
/* Wes Hardin */
UNIX/Linux Systems Administrator, IT Engineering Support
Maxim Integrated | www.maximintegrated.com