[Pkg-opennebula-devel] Bug#675932: Bug#675932: opennebula: Image to datastore upgrade problem

Olivier Berger olivier.berger at it-sudparis.eu
Mon Jun 4 13:52:40 UTC 2012


Hi.

Damien Raude-Morvan <drazzib at drazzib.com> writes:

> Hi Olivier,
>
> Le 04/06/2012 11:40, Olivier Berger a écrit :
>> I've tried and upgrade, having previously created images for persistent storage of VMs.
> [...]
>>    >  Running migrator /usr/lib/one/ruby/onedb/3.3.0_to_3.3.80.rb
>> ln: impossible de créer le lien symbolique « /var/lib/one/datastores/1/c7e98e8cfb2f6677c33a1fde73797f7f »: Permission non accordée

> OpenNebula 3.4 provide a new datastore feature which replace old 
> /images/ directory, so during upgrade oneupgrade to to create symlinks 
> between /var/lib/one/images/ and /var/lib/one/datastores/1/
>
> Could you please send me actual owner / right of
> /var/lib/one/datastores/
> /var/lib/one/datastores/1/
> /var/lib/one/datastores/0/
>

Here it is :

# ls -alR /var/lib/one/datastores/
/var/lib/one/datastores/:
total 16
drwxr-xr-x  4 root     root 4096 juin   4 11:34 .
drwxr-xr-x 81 oneadmin root 4096 juin   4 15:49 ..
drwxr-xr-x  2 root     root 4096 mai   23 23:26 0
drwxr-xr-x  2 root     root 4096 juin   4 14:12 1

/var/lib/one/datastores/0:
total 8
drwxr-xr-x 2 root root 4096 mai   23 23:26 .
drwxr-xr-x 4 root root 4096 juin   4 11:34 ..

/var/lib/one/datastores/1:
total 8
drwxr-xr-x 2 root root 4096 juin   4 14:12 .
drwxr-xr-x 4 root root 4096 juin   4 11:34 ..
lrwxrwxrwx 1 root root   52 juin   4 14:12 7a650b5507f70538e218662716307df1 -> /var/lib/one/images/7a650b5507f70538e218662716307df1
lrwxrwxrwx 1 root root   52 juin   4 14:11 836dcb7cfec30af7158e5a4af3657be2 -> /var/lib/one/images/836dcb7cfec30af7158e5a4af3657be2
lrwxrwxrwx 1 root root   52 juin   4 14:11 c7e98e8cfb2f6677c33a1fde73797f7f -> /var/lib/one/images/c7e98e8cfb2f6677c33a1fde73797f7f
lrwxrwxrwx 1 root root   52 juin   4 14:12 ee39d8ee42020f043fc85c405cf51189 -> /var/lib/one/images/ee39d8ee42020f043fc85c405cf51189

I've added the links myself as root since the bug happened.

I guess that should be owned by oneadmin:root for instance.

Has anyone tested them, already ? I have the strange feeling that this
should have happened to someone else before these transitioned to
testing :-/

Thanks anyway ;)

Best regards,

-- 
Olivier BERGER 
http://www-public.it-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8
Ingenieur Recherche - Dept INF
Institut Mines-Telecom, Telecom SudParis, Evry (France)





More information about the Pkg-opennebula-devel mailing list