Hello,

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). 

Here would be the output:

Installing new version of config file /etc/one/vmm_exec/vmm_exec_vmware.conf ...
Installing new version of config file /etc/one/vmm_exec/vmm_exec_xen3.conf ...
chown: changing ownership of 
`/var/lib/one/datastores/100/6f3d3a9e784b79a09455dbbb985c246b': Operation not 
permitted
chown: changing ownership of 
`/var/lib/one/datastores/100/88988fd1f4394f2fe9f9ea599f26d7cf': Operation not 
permitted
chown: changing ownership of 
`/var/lib/one/datastores/100/8e09740c6206cb5a6c6d190cbc723e13': Operation not 
permitted
chown: changing ownership of 
`/var/lib/one/datastores/100/1bce7999b33e9af585b65ef279cc9d30': Operation not 
permitted
chown: changing ownership of 
`/var/lib/one/datastores/100/563167c9590a17acd593ec1688696c61': Operation not 
permitted
chown: changing ownership of 
`/var/lib/one/datastores/100/1cc0e0009d38d7d3ad5b55456d156277': Operation not 
permitted
chown: changing ownership of `/var/lib/one/datastores/100': Operation not 
permitted
chown: changing ownership of 
`/var/lib/one/datastores/1/0dd4f6e8a685d499637d5bbdd6407a96': Operation not 
permitted
chown: changing ownership of 
`/var/lib/one/datastores/1/37fea94121e4f95b2de837779cbb6529': Operation not 
permitted
chown: changing ownership of 
`/var/lib/one/datastores/1/247c3855502c98df1ba05c66e21c483c': Operation not 
permitted
chown: changing ownership of 
`/var/lib/one/datastores/1/c9952e0792f4205f8f0749fd3564a8f6': Operation not 
permitted
chown: changing ownership of `/var/lib/one/datastores/1': Operation not 
permitted
dpkg: error processing opennebula (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 opennebula
E: Sub-process /usr/bin/dpkg returned an error code (1)

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?
Regards,
ML
_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to