[cobbler] yaml.parser.ParserError after upgrade to 2.4.7
Alan Evangelista
alanoe at linux.vnet.ibm.com
Mon Aug 18 14:49:09 UTC 2014
On 08/18/2014 11:27 AM, Greg Chavez wrote:
> So I upgraded the cobbler and cobbler-web yum packages from 2.4.4 to
> 2.4.7, in preparation for upgrading to 2.6 (this is a RedHat 5.6
> system). Cobbler works fine from the command line, but I get an error
> when I attempt to login to the Web console. In /var/log/cobbler, I
> get this every time I access:
>
>
> Fri Aug 15 14:59:08 2014 - INFO | Exception occured:
> yaml.parser.ParserError
> Fri Aug 15 14:59:08 2014 - INFO | Exception value: expected
> '<document start>', but found '<scalar>'
> in "<string>", line 2, column 1:
> version_tuple = [2, 4, 7]
> ^
>
/etc/cobbler/version has incorrect format, it should be in YAML.. Example:
builddate: Thu Jan 30 21:42:10 2014
gitdate: Mon Dec 9 11:08:16 2013 -0800
gitstamp: 2181fa3
version: 2.5.0
version_tuple: [2, 5, 0]
It is possible you'll have conflicts with other files. I'd recommend
backing up important data and making a a clean installation.
Regards,
Alan Evangelista
More information about the cobbler
mailing list