[Pkg-opennebula-devel] Bug#675949: opennebula: Deploying into /var/lib/one//datastores/0/... fails due to incorrect permissions

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


Package: opennebula
Version: 3.4.1-2
Severity: normal

Hi.

This is probably due to the same cause as for #675932 :

A onevm create fails with the following logs reported in sunstone :

Mon Jun  4 15:17:37 2012 [DiM][I]: New VM state is ACTIVE.
Mon Jun  4 15:17:37 2012 [LCM][I]: New VM state is PROLOG.
Mon Jun  4 15:17:37 2012 [TM][I]: Command execution fail: /var/lib/one/remotes/tm/shared/ln myhost:/var/lib/one/datastores/1/c7e98e8cfb2f6677c33a1fde73797f7f myhost:/var/lib/one//datastores/0/72/disk.0
Mon Jun  4 15:17:37 2012 [TM][I]: ln: Linking ../../1/c7e98e8cfb2f6677c33a1fde73797f7f in myhost:/var/lib/one//datastores/0/72/disk.0
Mon Jun  4 15:17:37 2012 [TM][E]: ln: Command "cd /var/lib/one/datastores/0/72; ln -s ../../1/c7e98e8cfb2f6677c33a1fde73797f7f /var/lib/one/datastores/0/72/disk.0" failed: sh: 1: cd: can't cd to /var/lib/one/datastores/0/72
Mon Jun  4 15:17:37 2012 [TM][I]: ln: impossible de créer le lien symbolique « /var/lib/one/datastores/0/72/disk.0 »: Aucun fichier ou dossier de ce type
Mon Jun  4 15:17:37 2012 [TM][E]: Error linking myhost:/var/lib/one/datastores/1/c7e98e8cfb2f6677c33a1fde73797f7f to myhost:/var/lib/one//datastores/0/72/disk.0
Mon Jun  4 15:17:37 2012 [TM][I]: ExitCode: 1
Mon Jun  4 15:17:37 2012 [TM][E]: Error executing image transfer script: Error linking myhost:/var/lib/one/datastores/1/c7e98e8cfb2f6677c33a1fde73797f7f to myhost:/var/lib/one//datastores/0/72/disk.0
Mon Jun  4 15:17:37 2012 [DiM][I]: New VM state is FAILED

For whatever reason, there's no /var/lib/one//datastores/0/72 :

# ls -alR /var/lib/one/datastores/0
/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 ..

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