Vreman, Peter - Acision wrote: > > 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 >
This should be fixed as of yesterday PM. For things like "5Server" we'll take the first digit and try to floatify that. Tested only on EL 5 Server, though I imagine this works uniformly everywhere. We'll have to do something smarter for EL 10Server :) --Michael _______________________________________________ cobbler mailing list [email protected] https://fedorahosted.org/mailman/listinfo/cobbler
