Current cobbler devel does not start anymore on RHEL. The problem is the os_release() detection code.

 

Stopping cobbler daemon:                                   [FAILED]

Starting cobbler daemon: Traceback (most recent call last):

  File "/usr/bin/cobblerd", line 102, in ?

    main()

  File "/usr/bin/cobblerd", line 90, in main

    api = bootapi.BootAPI(log_settings=log_settings)

  File "/usr/lib/python2.4/site-packages/cobbler/api.py", line 96, in __init__

    self.os_version = utils.os_release()

  File "/usr/lib/python2.4/site-packages/cobbler/utils.py", line 750, in os_release

    return (make, float(version), rest)

ValueError: invalid literal for float(): 5server

 

 

 

 

Below are relevant RHEL 4.6 and 5.2 outputs that can be used for the os detection:

 

# cat /etc/redhat-release

Red Hat Enterprise Linux AS release 4 (Nahant Update 6)

# rpm -q --whatprovides redhat-release

redhat-release-4AS-7

 

# cat /etc/redhat-release

Red Hat Enterprise Linux Server release 5.2 (Tikanga)

# rpm -q --whatprovides redhat-release

redhat-release-5Server-5.2.0.4

 

 

 

Regards,

Peter

 


This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.