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

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


Package: opennebula
Version: 3.4.1-2
Severity: normal

Hi.

I've tried and upgrade, having previously created images for persistent storage of VMs.

Here's the problem :

# su - oneadmin -c "onedb upgrade -v --sqlite /var/lib/one/one.db"
Version read:
3.2.1 : Database migrated from 2.0 to 3.2.1 (OpenNebula 3.2.1) by onedb command.

Sqlite database backup stored in /var/lib/one/one.db.bck
Use 'onedb restore' or copy the file back to restore the DB.
  > Running migrator /usr/lib/one/ruby/onedb/3.2.1_to_3.3.0.rb
  > Done

  > 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
ln: impossible de créer le lien symbolique « /var/lib/one/datastores/1/836dcb7cfec30af7158e5a4af3657be2 »: Permission non accordée
ln: impossible de créer le lien symbolique « /var/lib/one/datastores/1/ee39d8ee42020f043fc85c405cf51189 »: Permission non accordée
ln: impossible de créer le lien symbolique « /var/lib/one/datastores/1/7a650b5507f70538e218662716307df1 »: Permission non accordée
ln: impossible de créer le lien symbolique « /var/lib/one/datastores/1/da9da57aeda1824a12dd03da05414843 »: Permission non accordée
ln: impossible de créer le lien symbolique « /var/lib/one/datastores/1/8efc6815c71406cb0b91e2db8de82f24 »: Permission non accordée
ln: impossible de créer le lien symbolique « /var/lib/one/datastores/1/139c575820601241efb9800c499aface »: Permission non accordée
ln: impossible de créer le lien symbolique « /var/lib/one/datastores/1/436f5ddb7efd4af1c67000ab5ab0c16d »: Permission non accordée
  > Done

  > Running migrator /usr/lib/one/ruby/onedb/3.3.80_to_3.4.0.rb
  > Done

  > Running migrator /usr/lib/one/ruby/onedb/3.4.0_to_3.4.1.rb
  > Done

Database migrated from 3.2.1 to 3.4.1 (OpenNebula 3.4.1) by onedb command.

As you may understand if speaking french, some symlinks cannot be created. I guess these correspond to the 8 images present in :
# ls -alrt /var/lib/one/images/
total 6588416
drwxrws--T  2 oneadmin cloud        4096 mai   24 15:59 .
-rw-rw----  1 oneadmin cloud 10485760001 juin   4 10:52 ee39d8ee42020f043fc85c405cf51189
-rw-rw----  1 oneadmin cloud  1073741824 juin   4 10:52 c7e98e8cfb2f6677c33a1fde73797f7f
-rw-rw----  1 oneadmin cloud  5242880001 juin   4 10:52 836dcb7cfec30af7158e5a4af3657be2
-rw-rw----  1 oneadmin cloud  2097152001 juin   4 10:52 7a650b5507f70538e218662716307df1
-rw-rw----  1 oneadmin cloud  1073741824 juin   4 11:26 da9da57aeda1824a12dd03da05414843
-rw-rw----  1 oneadmin cloud  5242880001 juin   4 11:26 8efc6815c71406cb0b91e2db8de82f24
-rw-rw----  1 oneadmin cloud  2097152001 juin   4 11:26 436f5ddb7efd4af1c67000ab5ab0c16d
-rw-rw----  1 oneadmin cloud 10485760001 juin   4 11:26 139c575820601241efb9800c499aface
drwxr-xr-x 80 oneadmin root         4096 juin   4 11:34 ..

Hope this helps.

Thanks in advance.

Best regards,

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (900, 'testing'), (300, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages opennebula depends on:
ii  apg                2.2.3.dfsg.1-2
ii  genisoimage        9:1.1.11-2
ii  libc6              2.13-32
ii  libgcc1            1:4.7.0-8
ii  libmysqlclient18   5.5.23+dfsg-2
ii  libsqlite3-0       3.7.12.1-1
ii  libssl1.0.0        1.0.1c-1
ii  libstdc++6         4.7.0-8
ii  libxml2            2.7.8.dfsg-9.1
ii  libxmlrpc-c++4     1.16.33-3.1
ii  libxmlrpc-core-c3  1.16.33-3.1
ii  opennebula-tools   3.4.1-2
ii  wget               1.13.4-3

Versions of packages opennebula recommends:
ii  libjs-jquery     1.7.2+debian-1
ii  libjs-jquery-ui  1.8.ooops.20+dfsg-1

Versions of packages opennebula suggests:
pn  mysql-server     <none>
pn  ruby-amazon-ec2  <none>
pn  ruby-uuidtools   <none>

-- debconf-show failed





More information about the Pkg-opennebula-devel mailing list