[one-users] Running of VM ttylinux image
Matthias Brugger
matthias.brugger at bsc.es
Wed Jan 12 00:45:07 PST 2011
Hi Taylor,
On 01/12/2011 09:40 AM, Taylor Tay wrote:
> Hi all, i have a front-end with two cluster node.
> When i run the vm i got the following error from the oned log file:
>
> Wed Jan 12 16:29:03 2011 [DiM][D]: Deploying VM 8
> Wed Jan 12 16:29:09 2011 [TM][D]: Message received: LOG - 8 Command
> execution fail: /usr/lib/one/tm_commands/ssh/tm_clone.sh
> UbuntuFrontEnd:/home/oneadmin/one-template/ttylinux.img
> 172.20.134.146:/var/lib/one//8/images/disk.0
>
> Wed Jan 12 16:29:09 2011 [TM][D]: Message received: LOG - 8 STDERR
> follows.
>
> Wed Jan 12 16:29:09 2011 [TM][D]: Message received: LOG - 8 ERROR
> MESSAGE --8<------
>
> Wed Jan 12 16:29:09 2011 [TM][D]: Message received: LOG - 8 Warning:
> Permanently added '172.20.134.146' (RSA) to the list of known hosts.
>
> Wed Jan 12 16:29:09 2011 [TM][D]: Message received: LOG - 8 mkdir:
> cannot create directory `/var/lib/one//8': Permission denied
>
> Wed Jan 12 16:29:09 2011 [TM][D]: Message received: LOG - 8 ERROR
> MESSAGE ------>8--
>
> Wed Jan 12 16:29:09 2011 [TM][D]: Message received: LOG - 8 ExitCode: 1
>
> Wed Jan 12 16:29:09 2011 [TM][D]: Message received: LOG - 8
> tm_clone.sh: UbuntuFrontEnd:/home/oneadmin/one-template/ttylinux.img
> 172.20.134.146:/var/lib/one//8/images/disk.0
>
> Wed Jan 12 16:29:09 2011 [TM][D]: Message received: LOG - 8
> tm_clone.sh: DST: /var/lib/one//8/images/disk.0
>
> Wed Jan 12 16:29:09 2011 [TM][D]: Message received: LOG - 8
> tm_clone.sh: Creating directory /var/lib/one//8/images
>
> Wed Jan 12 16:29:09 2011 [TM][D]: Message received: LOG - 8
> tm_clone.sh: ERROR: Command "/usr/bin/ssh 172.20.134.146 mkdir -p
> /var/lib/one//8/images" failed.
seems as if the user running opennebula has no rights to create a folder
in 172.20.134.146:/var/lib/one
regards,
Matthias
>
> Wed Jan 12 16:29:09 2011 [TM][D]: Message received: LOG - 8
> tm_clone.sh: ERROR: Warning: Permanently added '172.20.134.146' (RSA)
> to the list of known hosts.
>
> Wed Jan 12 16:29:09 2011 [TM][D]: Message received: LOG - 8 mkdir:
> cannot create directory `/var/lib/one//8': Permission denied
>
> Wed Jan 12 16:29:09 2011 [TM][D]: Message received: TRANSFER FAILURE 8
> Warning: Permanently added '172.20.134.146' (RSA) to the list of known
> hosts.
>
> Wed Jan 12 16:29:09 2011 [TM][D]: Message received: mkdir: cannot
> create directory `/var/lib/one//8': Permission denied
>
> Wed Jan 12 16:29:14 2011 [TM][D]: Message received: LOG - 8
> tm_delete.sh: Deleting /var/lib/one//8/images
>
> Wed Jan 12 16:29:14 2011 [TM][D]: Message received: LOG - 8
> tm_delete.sh: Executed "/usr/bin/ssh 172.20.134.146 rm -rf
> /var/lib/one//8/images".
>
> Wed Jan 12 16:29:14 2011 [TM][D]: Message received: TRANSFER SUCCESS 8 -
>
> I have ensure that my frontend is able to ssh to itself and to the two
> node controllers using oneadmin without any password input.
> Would like to know where it goes wrong? Thanks in advance.
>
>
> _______________________________________________
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110112/aa1013ad/attachment-0003.htm>
More information about the Users
mailing list