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

Damien Raude-Morvan drazzib at debian.org
Mon Jun 4 21:49:25 UTC 2012


Le 04/06/2012 15:52, Olivier Berger a écrit :
>> 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.

It should be fixed by 3.4.1-3 I've uploaded yesterday.

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

I've done more test with 3.4.1-3 than with 3.2.1-2 but It would be wise
to build a testbed tool to better test all upgrade scenario (like with
your running VM and changes in directory ownership :/)

Cheers,





More information about the Pkg-opennebula-devel mailing list