<div dir="ltr">Hi ML,<div><br></div><div>I've created a bug report to fix this for future releases: <a href="http://dev.opennebula.org/issues/2715">http://dev.opennebula.org/issues/2715</a></div><div><br></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></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></div><div>[1] <a href="http://linux.die.net/man/5/exports">http://linux.die.net/man/5/exports</a><br>

</div><div><br></div><div>Cheers,<br>Jaime</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Feb 6, 2014 at 2:15 PM, ML mail <span dir="ltr"><<a href="mailto:mlnospam@yahoo.com" target="_blank">mlnospam@yahoo.com</a>></span> wrote:<br>

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

<br>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>

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

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

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

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

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

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

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

</div>