> Judging from the OS release bits below, might you have something /else/? 
> If you're running Cobbler on another platform then perhaps the 
> os_version routine does not work there.

Note that I posted two separate errors:

====================
>> [EMAIL PROTECTED] repo]$ cobbler check
>>
>> local variable 'rc' referenced before assignment
>>    File 
>> "/local/pkg/python-2.5.2/root/lib/python2.5/site-packages/cobbler/cobbler.py",
>>  
>> line 77, in main
>>      rc = BootCLI().run(sys.argv)
>>
>>    File 
>> "/local/pkg/python-2.5.2/root/lib/python2.5/site-packages/cobbler/cobbler.py",
>>  
>> line 57, in run
>>      return self.loader.run(args)
>>
>>    File 
>> "/local/pkg/python-2.5.2/root/lib/python2.5/site-packages/cobbler/commands.py",
>>  
>> line 116, in run
>>      return fn.run()
>>
>>    File 
>> "/local/pkg/python-2.5.2/root/lib/python2.5/site-packages/cobbler/modules/cli_misc.py",
>>  
>> line 53, in run
>>      status = self.api.check()
>>
>>    File 
>> "/local/pkg/python-2.5.2/root/lib/python2.5/site-packages/cobbler/api.py", 
>> line 357, in check
>>      return check.run()
>>
>>    File 
>> "/local/pkg/python-2.5.2/root/lib/python2.5/site-packages/cobbler/action_check.py",
>>  
>> line 68, in run
>>      self.check_service(status, "cobblerd")
>>
>>    File 
>> "/local/pkg/python-2.5.2/root/lib/python2.5/site-packages/cobbler/action_check.py",
>>  
>> line 92, in check_service
>>      if rc != 0:
====================

====================
>> [EMAIL PROTECTED] repo]$ cobbler sync
>>
>> invalid literal for float(): 5server
>>    File 
>> "/local/pkg/python-2.5.2/root/lib/python2.5/site-packages/cobbler/cobbler.py",
>>  
>> line 77, in main
>>      rc = BootCLI().run(sys.argv)
>>
>>    File 
>> "/local/pkg/python-2.5.2/root/lib/python2.5/site-packages/cobbler/cobbler.py",
>>  
>> line 57, in run
>>      return self.loader.run(args)
>>
>>    File 
>> "/local/pkg/python-2.5.2/root/lib/python2.5/site-packages/cobbler/commands.py",
>>  
>> line 116, in run
>>      return fn.run()
>>
>>    File 
>> "/local/pkg/python-2.5.2/root/lib/python2.5/site-packages/cobbler/modules/cli_misc.py",
>>  
>> line 223, in run
>>      return self.api.sync()
>>
>>    File 
>> "/local/pkg/python-2.5.2/root/lib/python2.5/site-packages/cobbler/api.py", 
>> line 380, in sync
>>      sync = self.get_sync()
>>
>>    File 
>> "/local/pkg/python-2.5.2/root/lib/python2.5/site-packages/cobbler/api.py", 
>> line 394, in get_sync
>>      return action_sync.BootSync(self._config,dhcp=self.dhcp,dns=self.dns)
>>
>>    File 
>> "/local/pkg/python-2.5.2/root/lib/python2.5/site-packages/cobbler/action_sync.py",
>>  
>> line 68, in __init__
>>      self.pxegen      = pxegen.PXEGen(config)
>>
>>    File 
>> "/local/pkg/python-2.5.2/root/lib/python2.5/site-packages/cobbler/pxegen.py",
>>  
>> line 65, in __init__
>>      self.bootloc     = utils.tftpboot_location()
>>
>>    File 
>> "/local/pkg/python-2.5.2/root/lib/python2.5/site-packages/cobbler/utils.py", 
>> line 752, in tftpboot_location
>>      (make,version,rest) = os_release()
>>
>>    File 
>> "/local/pkg/python-2.5.2/root/lib/python2.5/site-packages/cobbler/utils.py", 
>> line 724, in os_release
>>      return (make, float(version), rest)
====================
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to