<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt">Hi Jaime,<br><br>That's exactly it. Thanks for filing the bug report. I have applied the workaround by manually doing a chown and restarting the upgrade.<br><br>Regards,<br>ML<br><div id="yiv1587260288"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt;"><div id="yiv1587260288yui_3_13_0_ym1_13_1391532120894_8"><span></span></div><div class="yiv1587260288yqt6596665103" id="yiv1587260288yqt63743"><div class="yiv1587260288yahoo_quoted" id="yiv1587260288yui_3_13_0_ym1_13_1391532120894_10" style="display: block;"> <br clear="none"> <br clear="none"> <div class="yiv1587260288yui_3_13_0_ym1_1_1391532120894_106640" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande,
 sans-serif;font-size:12pt;"> <div class="yiv1587260288yui_3_13_0_ym1_1_1391532120894_106641" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt;"> <div dir="ltr"> <font face="Arial" size="2"> On Thursday, February 6, 2014 3:46 PM, Jaime Melis <jmelis@opennebula.org> wrote:<br clear="none"> </font> </div>  <div class="yiv1587260288y_msg_container"><div id="yiv1587260288"><div><div dir="ltr">Hi ML,<div><br clear="none"></div><div>I've created a bug report to fix this for
 future releases: <a rel="nofollow" shape="rect" target="_blank" href="http://dev.opennebula.org/issues/2715">http://dev.opennebula.org/issues/2715</a></div><div><br clear="none"></div><div>You are probably seeing this error because your /var/lib/one/datastores is mounted by NFS (or other network file system) and the OpenNebula has no root privileges on those files. Can you try to reconfigure the NFS server that is exporting the share mounted on /var/lib/one/datastores and add the no_root_squash option to the /etc/exports [1] file?</div>

<div><br clear="none"></div><div>Please take into account that this is just a workaround, you can revert to root_squash after the upgrade and this will be fixed for future OpenNebula releases.</div><div><br clear="none"></div><div>[1] <a rel="nofollow" shape="rect" target="_blank" href="http://linux.die.net/man/5/exports">http://linux.die.net/man/5/exports</a><br clear="none">

</div><div><br clear="none"></div><div>Cheers,<br clear="none">Jaime</div></div><div class="yiv1587260288gmail_extra"><br clear="none"><br clear="none"><div class="yiv1587260288gmail_quote">On Thu, Feb 6, 2014 at 2:15 PM, ML mail <span dir="ltr"><<a rel="nofollow" shape="rect" ymailto="mailto:mlnospam@yahoo.com" target="_blank" href="mailto:mlnospam@yahoo.com">mlnospam@yahoo.com</a>></span> wrote:<br clear="none">

<blockquote class="yiv1587260288gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="yiv1587260288yqt9635820225" id="yiv1587260288yqt09233"><div><div class="yiv1587260288yui_3_13_0_ym1_1_1391532120894_106644" style="font-size:12pt;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;">Hello,<br clear="none">

<br clear="none">I am upgrading from ONE 4.4 to 4.4.1 on Debian 7 using the official ONE package repository for Debian packages. So for that purpose I ran "sudo apt-get upgrade" but it looks like one of the upgrade scripts wants to do a chown on my datastores which are mounted through NFS, as such the upgrade fails (only the user oneadmin has permissions on the NFS datastore). <br clear="none">

<br clear="none">Here would be the output:<br clear="none"><br clear="none">Installing new version of config file /etc/one/vmm_exec/vmm_exec_vmware.conf ...<br clear="none">Installing new version of config file /etc/one/vmm_exec/vmm_exec_xen3.conf ...<br clear="none">chown: changing ownership of `/var/lib/one/datastores/100/6f3d3a9e784b79a09455dbbb985c246b': Operation not permitted<br clear="none">

chown: changing ownership of `/var/lib/one/datastores/100/88988fd1f4394f2fe9f9ea599f26d7cf': Operation
 not permitted<br clear="none">chown: changing ownership of `/var/lib/one/datastores/100/8e09740c6206cb5a6c6d190cbc723e13': Operation not permitted<br clear="none">chown: changing ownership of `/var/lib/one/datastores/100/1bce7999b33e9af585b65ef279cc9d30': Operation not permitted<br clear="none">

chown: changing ownership of `/var/lib/one/datastores/100/563167c9590a17acd593ec1688696c61': Operation not permitted<br clear="none">chown: changing ownership of `/var/lib/one/datastores/100/1cc0e0009d38d7d3ad5b55456d156277': Operation not permitted<br clear="none">

chown: changing ownership of `/var/lib/one/datastores/100': Operation not permitted<br clear="none">chown: changing ownership of `/var/lib/one/datastores/1/0dd4f6e8a685d499637d5bbdd6407a96': Operation not permitted<br clear="none">chown: changing ownership of `/var/lib/one/datastores/1/37fea94121e4f95b2de837779cbb6529': Operation not permitted<br clear="none">

chown: changing ownership of `/var/lib/one/datastores/1/247c3855502c98df1ba05c66e21c483c': Operation not permitted<br clear="none">chown: changing ownership of
 `/var/lib/one/datastores/1/c9952e0792f4205f8f0749fd3564a8f6': Operation not permitted<br clear="none">chown: changing ownership of `/var/lib/one/datastores/1': Operation not permitted<br clear="none">dpkg: error processing opennebula (--configure):<br clear="none">

 subprocess installed post-installation script returned error exit status 1<br clear="none">Errors were encountered while processing:<br clear="none"> opennebula<br clear="none">E: Sub-process /usr/bin/dpkg returned an error code (1)<div><br clear="none"></div><div class="yiv1587260288yui_3_13_0_ym1_1_1391532120894_106645" style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;">

As such the upgrade fails... What should I do? Change the NFS permissions to allow root full access on the datastore? or manually chown the files? and btw why is a chown needed on the datastore files?</div><div class="yiv1587260288yui_3_13_0_ym1_1_1391532120894_106646" style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;">

<br clear="none"></div>Regards,<br clear="none">ML<br clear="none"></div></div></div><br clear="none">_______________________________________________<br clear="none">
Users mailing list<br clear="none">
<a rel="nofollow" shape="rect" ymailto="mailto:Users@lists.opennebula.org" target="_blank" href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br clear="none">
<br clear="none"></blockquote></div><br clear="none"></div><br clear="all"><div><br clear="none"></div>-- <br clear="none"><div dir="ltr"><div>Jaime Melis<br clear="none">Project Engineer<br clear="none">OpenNebula - Flexible Enterprise Cloud Made Simple<br clear="none"><a rel="nofollow" shape="rect" target="_blank" href="http://www.opennebula.org/">www.OpenNebula.org</a> | <a rel="nofollow" shape="rect" ymailto="mailto:jmelis@opennebula.org" target="_blank" href="mailto:jmelis@opennebula.org">jmelis@opennebula.org</a></div>

</div></div></div><br clear="none"><br clear="none"></div>  </div> </div>  </div></div> </div></div></div></div></body></html>