[Pkg-opennebula-devel] Bug#657981: opennebula: Cannot scp back stopped VM's image, but gets deleted anyway

Olivier Berger olivier.berger at it-sudparis.eu
Mon Jan 30 14:44:58 UTC 2012


Package: opennebula
Version: 2.0.1-6~bpo60+1
Severity: normal

Hi.

This is a report regarding the backports version. I hope maintainers don't bother.

For whatever strange reason, upon VM stop (onevm stop), the scp back to the one "master" of the stopped VM's image fails. But the image is deleted anyway from the node, discarding all changes made to the VM :-(

Here's a log :
Mon Jan 30 15:35:23 2012 [LCM][I]: New VM state is SAVE_STOP
Mon Jan 30 15:35:25 2012 [LCM][I]: New VM state is EPILOG_STOP
Mon Jan 30 15:35:39 2012 [TM][I]: Command execution fail: /usr/lib/one/tm_commands/ssh/tm_mv.sh esther:/var/lib/one//10/images esther:/var/lib/one/10
Mon Jan 30 15:35:39 2012 [TM][I]: STDERR follows.
Mon Jan 30 15:35:39 2012 [TM][I]: ERROR MESSAGE --8<------
Mon Jan 30 15:35:39 2012 [TM][I]: scp: /var/lib/one/10/images/disk.1: Permission denied
Mon Jan 30 15:35:39 2012 [TM][I]: ERROR MESSAGE ------>8--
Mon Jan 30 15:35:39 2012 [TM][I]: ExitCode: 1
Mon Jan 30 15:35:39 2012 [TM][I]: tm_mv.sh: Moving /var/lib/one//10/images
Mon Jan 30 15:35:39 2012 [TM][I]: tm_mv.sh: Executed "/usr/bin/ssh esther mkdir -p /var/lib/one".
Mon Jan 30 15:35:39 2012 [TM][I]: tm_mv.sh: ERROR: Command "/usr/bin/scp -r esther:/var/lib/one//10/images esther:/var/lib/one/10" failed.
Mon Jan 30 15:35:39 2012 [TM][I]: tm_mv.sh: ERROR: scp: /var/lib/one/10/images/disk.1: Permission denied
Mon Jan 30 15:35:39 2012 [TM][E]: Error excuting image transfer script: scp: /var/lib/one/10/images/disk.1: Permission denied
Mon Jan 30 15:35:39 2012 [DiM][I]: New VM state is FAILED
Mon Jan 30 15:35:39 2012 [TM][W]: Ignored: LOG - 10 tm_delete.sh: Deleting /var/lib/one//10/images

Mon Jan 30 15:35:39 2012 [TM][W]: Ignored: LOG - 10 tm_delete.sh: Executed "/usr/bin/ssh esther rm -rf /var/lib/one//10/images".

Mon Jan 30 15:35:39 2012 [TM][W]: Ignored: TRANSFER SUCCESS 10 -

In the above, the master and node are the same, btw.

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.1.0-1-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  libc6                             2.13-24
ii  libgcc1                           1:4.6.2-11
ii  libmysqlclient16                  5.1.58-1
ii  libpassword-ruby                  0.5.3-3
ii  libsequel-ruby                    3.31.0-1
ii  libsqlite3-0                      3.7.9-2
ii  libssl1.0.0                       1.0.0g-1
ii  libstdc++6                        4.6.2-11
ii  libxml2                           2.7.8.dfsg-5.1
ii  libxmlrpc-c++4                    1.16.33-3.1
ii  libxmlrpc-core-c3                 1.16.33-3.1
ii  opennebula-common                 2.2.1-1
ii  ruby                              4.8
ii  ruby-password [libpassword-ruby]  0.5.3-3
ii  ruby-sequel [libsequel-ruby]      3.31.0-1
ii  ruby1.8 [ruby]                    1.8.7.352-2
ii  rubygems                          1.8.10-1

Versions of packages opennebula recommends:
ii  libmysql-ruby                   2.8.2+gem2deb-1
ii  libsqlite3-ruby                 1.3.5-1
ii  ruby-mysql [libmysql-ruby]      2.8.2+gem2deb-1
ii  ruby-sqlite3 [libsqlite3-ruby]  1.3.5-1

Versions of packages opennebula suggests:
pn  libamazonec2-ruby  <none>
pn  mysql-server       <none>

-- debconf-show failed





More information about the Pkg-opennebula-devel mailing list