<div dir="ltr">Hi,<div><br></div><div><div class="gmail_extra"><div class="gmail_quote">On Thu, Jul 3, 2014 at 2:04 AM, Grzegorz Kocur <span dir="ltr"><<a href="mailto:gkocur@ux.pl" target="_blank">gkocur@ux.pl</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi,<br>
<br>
Last night I upgraded opennebula 4.4 to newest stable version - 4.6.2.<br>
The upgrade went smoothly, but after starting oned I met strange problem: user with given id could list template with the same id (with no rights to this template).<br>
<br>
For example:<br>
user with id 80 running "onetemplate list" gets template with id 80, user with id 81 gets template id 81 etc.<br>
I had to revert to opennebula 4.4, this is critical for us.<br>
<br>
It looks like a bug. Can anyone of you confirm this?<br></blockquote><div><br></div><div>Yes, it's a bug that was reported recently. We just updated the documentation [1] with the workaround:</div><div><br></div><div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">There is a known issue (#3006) in the database upgrade scripts shipped with OpenNebula 4.6.2. To fix it, download the lastest code from the repo:<br>
</blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"> </blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
sudo wget <a href="https://raw.githubusercontent.com/OpenNebula/one/one-4.6/src/onedb/shared/4.4.1_to_4.5.80.rb">https://raw.githubusercontent.com/OpenNebula/one/one-4.6/src/onedb/shared/4.4.1_to_4.5.80.rb</a> -O /usr/lib/one/ruby/onedb/shared/4.4.1_to_4.5.80.rb</blockquote>
</div><div><br></div><div>Regards</div><div><br></div><div>[1] <a href="http://docs.opennebula.org/4.6/release_notes/release_notes/upgrade_44.html">http://docs.opennebula.org/4.6/release_notes/release_notes/upgrade_44.html</a></div>
<div><div dir="ltr">--<br><div>Carlos Martín, MSc<br>Project Engineer</div><div>OpenNebula - Flexible Enterprise Cloud Made Simple<br><div><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="http://www.opennebula.org/" target="_blank">www.OpenNebula.org</a> | <a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a> | <a href="http://twitter.com/opennebula" target="_blank">@OpenNebula</a></span><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="mailto:cmartin@opennebula.org" target="_blank" style="color:rgb(42,93,176)"></a></span></div>
</div></div></div><div><br></div></div></div></div></div>