<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Calibri">Dear all,<br>
<br>
I have found a solution. Apparently, the scp command that is
executed in the tm_clone.sh script (using tmssh as your transfer
manager), uses your local full name. This means that, for the scp
program, it looks like you are doing a file transfer between two
remote hosts. In concrete, this means that the scp will do a ssh
to your own machine! So, besides ensuring access for the oneadmin
user to the cluster nodes without asking for a password, you
should also make sure that you do this to your own machine.<br>
<br>
A second aspect to the solution is that your FULL machine name is
used. For example: ssh oneadmin@frontend will differ from ssh
<a class="moz-txt-link-abbreviated" href="mailto:oneadmin@frontend.full.domain.name">oneadmin@frontend.full.domain.name</a> (it was in my case, as I have
both a public network interface and a private network interface).
Depending on your /etc/hosts and /etc/hostname settings, you have
to make that it is the correct one you configure.<br>
<br>
So in short, to avoid the problem, make sure that sudo -u ssh
<a class="moz-txt-link-abbreviated" href="mailto:oneadmin@frontend.full.domain.name">oneadmin@frontend.full.domain.name</a> works perfectly!<br>
<br>
Best regards,<br>
Pieter<br>
</font><br>
Op 16/03/2011 14:35, Pieter Simoens schreef:
<blockquote cite="mid:4D80BCA7.8020801@intec.ugent.be" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<font face="Calibri">Dear all,<br>
<br>
I have a problem when I want to create a virtual machine ("onevm
create myvm.conf") . Studying the logs and previous posts on
this list, shows me that apparently there is a problem with the
ssh keys.<br>
Nevertheless, the ssh keys for the oneadmin user are perfectly
configured.<br>
<br>
More specifically, when I do a "sudo -u oneadmin ssh
clusternodename", I log in without asking for any password
question nor other problem.<br>
<br>
I am thinking that the problem may be that I am not logging in
as the oneadmin user, and rather as root or user "pieter" (my
regular username). However, I have no idea how I can arrange
this.<br>
<br>
I have tried "sudo -u oneadmin onevm create myvm.conf", but
apparently, this is wrong syntax.<br>
I tried to do a sudo su oneadmin, but then it asks for a
password that I have never generated. <br>
<br>
Just to inform you: I have installed OpenNebula on a Ubuntu
machine through the apt package manager. Meaning (as far as I
could see) that I am running OpenNebula 1.2...<br>
This package automatically creates the oneadmin user, but I
don't think it has ever asked me for a password. So I do not
know how to change to the oneadmin user...<br>
<br>
Thank you in advance,<br>
Pieter<br>
</font>
<pre class="moz-signature" cols="72">--
Pieter Simoens, Ph.D.
Department of Information Technology
Internet Based Communication Networks and Services (IBCN)
Ghent University - IBBT
Gaston Crommenlaan 8 (Bus 201), B-9050 Gent, Belgium
T: +32 9 33 14878 ; T Secr: +32 9 33 14900
F: +32 9 33 14899
W : <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="http://www.ibcn.intec.UGent.be">www.ibcn.intec.UGent.be</a>
</pre>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Pieter Simoens, Ph.D.
Department of Information Technology
Internet Based Communication Networks and Services (IBCN)
Ghent University - IBBT
Gaston Crommenlaan 8 (Bus 201), B-9050 Gent, Belgium
T: +32 9 33 14878 ; T Secr: +32 9 33 14900
F: +32 9 33 14899
W : <a class="moz-txt-link-abbreviated" href="http://www.ibcn.intec.UGent.be">www.ibcn.intec.UGent.be</a>
</pre>
</body>
</html>