<div dir="ltr">The format of the version file changed in 2.6.x (it&#39;s now basically ini format using python ConfigParser)<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Aug 18, 2014 at 5:14 PM, Greg Chavez <span dir="ltr">&lt;<a href="mailto:greg.chavez@gmail.com" target="_blank">greg.chavez@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks for your reply, Alan.<div><br></div><div>I didn&#39;t do a find/xargs/grep for version_tuple!  Drat, bad troubleshooting. But in any case, even converting that file to YAML doesn&#39;t seem to help, I just get more errors.</div>

<div><br></div><div>Another interesting thing, the format of /etc/cobbler/version in 2.6.3 is not in YAML either.</div><div><br></div><div>Whatever. This is only affecting the Web console, so I can stay in business while I stand up 2.6 on a new server and replicate.</div>
<span class="HOEnZb"><font color="#888888">
<div><br></div><div>--Greg </div></font></span></div><div class="gmail_extra"><div><div class="h5"><br><br><div class="gmail_quote">On Mon, Aug 18, 2014 at 10:49 AM, Alan Evangelista <span dir="ltr">&lt;<a href="mailto:alanoe@linux.vnet.ibm.com" target="_blank">alanoe@linux.vnet.ibm.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On 08/18/2014 11:27 AM, Greg Chavez wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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:<br>


<br>
<br>
    Fri Aug 15 14:59:08 2014 - INFO | Exception occured:<br>
    yaml.parser.ParserError<br>
    Fri Aug 15 14:59:08 2014 - INFO | Exception value: expected<br>
    &#39;&lt;document start&gt;&#39;, but found &#39;&lt;scalar&gt;&#39;<br>
      in &quot;&lt;string&gt;&quot;, line 2, column 1:<br>
        version_tuple = [2, 4, 7]<br>
        ^<br>
<br>
</blockquote>
<br></div>
/etc/cobbler/version has incorrect format, it should be in YAML.. Example:<br>
<br>
builddate: Thu Jan 30 21:42:10 2014<br>
gitdate: Mon Dec 9 11:08:16 2013 -0800<br>
gitstamp: 2181fa3<br>
version: 2.5.0<br>
version_tuple: [2, 5, 0]<br>
<br>
It is possible you&#39;ll have conflicts with other files. I&#39;d recommend backing up important data and making a a clean installation.<br>
<br>
<br>
Regards,<br>
Alan Evangelista<br>
<br>
______________________________<u></u>_________________<br>
cobbler mailing list<br>
<a href="mailto:cobbler@lists.fedorahosted.org" target="_blank">cobbler@lists.fedorahosted.org</a><br>
<a href="https://lists.fedorahosted.org/mailman/listinfo/cobbler" target="_blank">https://lists.fedorahosted.<u></u>org/mailman/listinfo/cobbler</a><br>
</blockquote></div><br><br clear="all"><div><br></div></div></div><div class="">-- <br>\*..+.-<br>--Greg Chavez<br>+//..;};
</div></div>
<br>_______________________________________________<br>
cobbler mailing list<br>
<a href="mailto:cobbler@lists.fedorahosted.org">cobbler@lists.fedorahosted.org</a><br>
<a href="https://lists.fedorahosted.org/mailman/listinfo/cobbler" target="_blank">https://lists.fedorahosted.org/mailman/listinfo/cobbler</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Grtz,<br>Jörgen Maas
</div>