[one-users] /srv/cloud/one/var/1/ with root permissions

Matthias Brugger matthias.brugger at bsc.es
Thu Dec 16 08:01:42 PST 2010


On 12/16/2010 03:59 PM, Matthias Brugger wrote:
> Hi,
>
> I installed opennebula (opennebula-2.0.1-1) with the rpm package on
> opensuse 11.3 and I run into strange problems.
>
> When I try to deploy a vm to a host, (I run all stuff on localhost)
> opennebula builds the
> /srv/cloud/var/13/ directory with root permissions:
>
> oneadmin at linux-5xqr:~> ll /srv/cloud/one/var/
> drwxr-xr-x 2 root     root  4096 2010-12-16 14:45 10
> drwxr-xr-x 2 root     root  4096 2010-12-16 15:14 11
> drwxr-xr-x 2 root     root  4096 2010-12-16 15:24 12
> drwxr-xr-x 2 root     root  4096 2010-12-16 15:44 13
>
>   
i forgot to install the ssh tm module, which lead to this strange error.

sorry for interruption.

> therefor creating the directory images does stop with an error. (this
> happens if I try to start tm_clone.sh from shell as oneadmin user)
>
> Following the log messages:
>
> <log>
> Thu Dec 16 15:44:17 2010 [DiM][D]: Deploying VM 13
> Thu Dec 16 15:44:21 2010 [TM][D]: Message received: LOG - 13 Command
> execution fail: /usr/lib/one/tm_commands/ssh/tm_clone.sh
> linux-5xqr.site:/srv/cloud/images/disk.img
> localhost:/srv/cloud/one/var/13/images/disk.0
>
> Thu Dec 16 15:44:21 2010 [TM][D]: Message received: LOG - 13 STDERR follows.
>
> Thu Dec 16 15:44:21 2010 [TM][D]: Message received: LOG - 13 ERROR
> MESSAGE --8<------
>
> Thu Dec 16 15:44:21 2010 [TM][D]: Message received: LOG - 13 Host key
> verification failed.
>
> Thu Dec 16 15:44:21 2010 [TM][D]: Message received: LOG - 13 ERROR
> MESSAGE ------>8--
>
> Thu Dec 16 15:44:21 2010 [TM][D]: Message received: LOG - 13 ExitCode: 1
>
> Thu Dec 16 15:44:21 2010 [TM][D]: Message received: LOG - 13
> tm_clone.sh: linux-5xqr.site:/srv/cloud/images/disk.img
> localhost:/srv/cloud/one/var/13/images/disk.0
>
> Thu Dec 16 15:44:21 2010 [TM][D]: Message received: LOG - 13
> tm_clone.sh: DST: /srv/cloud/one/var/13/images/disk.0
>
> Thu Dec 16 15:44:21 2010 [TM][D]: Message received: LOG - 13
> tm_clone.sh: Creating directory /srv/cloud/one/var/13/images
>
> Thu Dec 16 15:44:21 2010 [TM][D]: Message received: LOG - 13
> tm_clone.sh: Executed "/usr/bin/ssh localhost mkdir -p
> /srv/cloud/one/var/13/images".
>
> Thu Dec 16 15:44:21 2010 [TM][D]: Message received: LOG - 13
> tm_clone.sh: Cloning linux-5xqr.site:/srv/cloud/images/disk.img
>
> Thu Dec 16 15:44:21 2010 [TM][D]: Message received: LOG - 13
> tm_clone.sh: ERROR: Command "/usr/bin/scp
> linux-5xqr.site:/srv/cloud/images/disk.img
> localhost:/srv/cloud/one/var/13/images/disk.0" failed.
>
> Thu Dec 16 15:44:21 2010 [TM][D]: Message received: LOG - 13
> tm_clone.sh: ERROR: Host key verification failed.
>
> Thu Dec 16 15:44:21 2010 [TM][D]: Message received: TRANSFER FAILURE 13
> Host key verification failed.
>
> Thu Dec 16 15:44:22 2010 [TM][D]: Message received: LOG - 13
> tm_delete.sh: Deleting /srv/cloud/one/var/13/images
>
> Thu Dec 16 15:44:22 2010 [TM][D]: Message received: LOG - 13
> tm_delete.sh: Executed "/usr/bin/ssh localhost rm -rf
> /srv/cloud/one/var/13/images".
>
> Thu Dec 16 15:44:22 2010 [TM][D]: Message received: TRANSFER SUCCESS 13 -
> </log>
>
> Does anyone has a hint, where I need to dig?
>
> Regards,
> Matthias
>
> WARNING / LEGAL TEXT: This message is intended only for the use of the
> individual or entity to which it is addressed and may contain
> information which is privileged, confidential, proprietary, or exempt
> from disclosure under applicable law. If you are not the intended
> recipient or the person responsible for delivering the message to the
> intended recipient, you are strictly prohibited from disclosing,
> distributing, copying, or in any way using this message. If you have
> received this communication in error, please notify the sender and
> destroy and delete any copies you may have received.
>
> http://www.bsc.es/disclaimer.htm
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>   


WARNING / LEGAL TEXT: This message is intended only for the use of the
individual or entity to which it is addressed and may contain
information which is privileged, confidential, proprietary, or exempt
from disclosure under applicable law. If you are not the intended
recipient or the person responsible for delivering the message to the
intended recipient, you are strictly prohibited from disclosing,
distributing, copying, or in any way using this message. If you have
received this communication in error, please notify the sender and
destroy and delete any copies you may have received.

http://www.bsc.es/disclaimer.htm



More information about the Users mailing list