[cobbler] yaml.parser.ParserError after upgrade to 2.4.7

Greg Chavez greg.chavez at gmail.com
Mon Aug 18 14:27:24 UTC 2014


I still have this problem. Nobody has a guess? I'm at the point now where I
may have to stand up another cobbler server.

Thanks in advance.

--Greg


On Fri, Aug 15, 2014 at 3:02 PM, Greg Chavez <greg.chavez at gmail.com> wrote:

>
> Hello List.
>
> 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]
>     ^
> Fri Aug 15 14:59:08 2014 - INFO | Exception Info:
>   File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line 2072, in
> _dispatch
>     return method_handle(*params)
>    File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line 1407,
> in extended_version
>     return self.api.version(extended=True)
>    File "/usr/lib/python2.4/site-packages/cobbler/api.py", line 235, in
> version
>     data = yaml.safe_load(ydata)
>    File "/usr/lib64/python2.4/site-packages/yaml/__init__.py", line 75, in
> safe_load
>     return load(stream, SafeLoader)
>    File "/usr/lib64/python2.4/site-packages/yaml/__init__.py", line 58, in
> load
>     return loader.get_single_data()
>    File "/usr/lib64/python2.4/site-packages/yaml/constructor.py", line 42,
> in get_single_data
>     node = self.get_single_node()
>    File "/usr/lib64/python2.4/site-packages/yaml/composer.py", line 39, in
> get_single_node
>     if not self.check_event(StreamEndEvent):
>    File "/usr/lib64/python2.4/site-packages/yaml/parser.py", line 93, in
> check_event
>     self.current_event = self.state()
>    File "/usr/lib64/python2.4/site-packages/yaml/parser.py", line 169, in
> parse_document_start
>     self.peek_token().start_mark)
>
>
> The complete Django output from the Web console can be found here:
> http://pastebin.com/8jPGVnew
>
> Any ideas? I'm used to having to tweak a one or two things after an
> upgrade, but this one has me stumped.
>
> Thanks.
>
> --
> \*..+.-
> --Greg Chavez
> +//..;};
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fedorahosted.org/pipermail/cobbler/attachments/20140818/dae8f525/attachment.html>


More information about the cobbler mailing list