[one-users] Creating new VM fails

Ruben S. Montero rubensm at dacya.ucm.es
Thu May 21 04:45:57 PDT 2009


Hi,

Try to add the the ssh-key also in the the front-ends authorized_keys
files. The idea is that you can log in the front-end with out being
ask for a password. This happened to me once but I could not reproduce
the error.

I think that ssh (when the host is specified) first log in the
front-end (ssh connection) and from it to the target resource (other
ssh-connection)

Please let me know if this solves the problem


Cheers

Ruben



On Thu, May 21, 2009 at 1:01 PM, cmasmas cmasmas <cmasmas10 at gmail.com> wrote:
> Hi
>
> I'm trying to create a new virtual machine. After a few seconds, it just
> fails. The problem seems to be when doing:
>
> scp pc-GridLab02.XXXXX:/opt/nebula/images/nodo01.img
> pc-GridLab00:/opt/nebula/ONE/var//6/image.0
>
> Executing the command manually, a password is required. However, if not
> specifying the frontend, no password is need. Just like this:
>
> scp /opt/nebula/images/nodo01.img
> pc-GridLab00:/opt/nebula/ONE/var//6/image.0
>
> How can I solved this?
>
> Just in case, I include the error in the oned.log:
>
> Thu May 21 14:36:07 2009 [TM][D]: Message received: LOG - 6 tm_clone.sh:
> pc-GridLab02.XXXXX.XX:/opt/nebula/images/nodo01.img
> pc-GridLab00:/opt/nebula/ONE/var//6/image$
>
> Thu May 21 14:36:07 2009 [TM][D]: Message received: LOG - 6 tm_clone.sh:
> DST: /opt/nebula/ONE/var//6/images/disk.0
>
> Thu May 21 14:36:07 2009 [TM][D]: Message received: LOG - 6 tm_clone.sh:
> Creating directory /opt/nebula/ONE/var//6/images
>
> Thu May 21 14:36:07 2009 [TM][D]: Message received: LOG - 6 tm_clone.sh:
> Executed "ssh pc-GridLab00 mkdir -p /opt/nebula/ONE/var//6/images".
>
> Thu May 21 14:36:07 2009 [TM][D]: Message received: LOG - 6 tm_clone.sh:
> Cloning pc-GridLab02.XXXXX:/opt/nebula/images/nodo01.img
>
> Thu May 21 14:36:07 2009 [TM][D]: Message received: LOG - 6 tm_clone.sh:
> ERROR: Command "scp pc-GridLab02.XXXXX:/opt/nebula/images/nodo01.img
> pc-GridLab00:/opt/neb$
>
> Thu May 21 14:36:07 2009 [TM][D]: Message received: LOG - 6 tm_clone.sh:
> ERROR: No protocol specified
>
> Thu May 21 14:36:07 2009 [TM][D]: Message received: LOG - 6
> (gnome-ssh-askpass:6944): Gtk-WARNING **: cannot open display: :0.0
>
> Thu May 21 14:36:07 2009 [TM][D]: Message received: LOG - 6 Permission
> denied, please try again.
>
> Thu May 21 14:36:07 2009 [TM][D]: Message received: LOG - 6 No protocol
> specified
>
> Thu May 21 14:36:07 2009 [TM][D]: Message received: LOG - 6
> (gnome-ssh-askpass:6945): Gtk-WARNING **: cannot open display: :0.0
>
> Thu May 21 14:36:07 2009 [TM][D]: Message received: LOG - 6 Permission
> denied, please try again.
>
> Thu May 21 14:36:07 2009 [TM][D]: Message received: LOG - 6 No protocol
> specified
>
> Thu May 21 14:36:07 2009 [TM][D]: Message received: LOG - 6
> (gnome-ssh-askpass:6946): Gtk-WARNING **: cannot open display: :0.0
>
> Thu May 21 14:36:07 2009 [TM][D]: Message received: LOG - 6 Permission
> denied (publickey,gssapi-with-mic,password).
>
> Thu May 21 14:36:07 2009 [TM][D]: Message received: TRANSFER FAILURE 6 No
> protocol specified
>
> Thu May 21 14:36:07 2009 [TM][D]: Message received:
>
> Thu May 21 14:36:07 2009 [TM][D]: Message received:
> (gnome-ssh-askpass:6944): Gtk-WARNING **: cannot open display: :0.0
>
> Thu May 21 14:36:07 2009 [TM][D]: Message received: Permission denied,
> please try again.
>
> Thu May 21 14:36:07 2009 [TM][D]: Message received:
>
> Thu May 21 14:36:07 2009 [TM][D]: Message received:
> (gnome-ssh-askpass:6945): Gtk-WARNING **: cannot open display: :0.0
>
> Thu May 21 14:36:07 2009 [TM][D]: Message received: Permission denied,
> please try again.
>
> Thu May 21 14:36:07 2009 [TM][D]: Message received: No protocol specified
>
> Thu May 21 14:36:07 2009 [TM][D]: Message received:
>
> Thu May 21 14:36:07 2009 [TM][D]: Message received:
> (gnome-ssh-askpass:6946): Gtk-WARNING **: cannot open display: :0.0
>
> Thu May 21 14:36:07 2009 [TM][D]: Message received: Permission denied
> (publickey,gssapi-with-mic,password).
>
>
> Thanks in advance.
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>



-- 
+---------------------------------------------------------------+
 Dr. Ruben Santiago Montero
 Associate Professor
 Distributed System Architecture Group (http://dsa-research.org)

 URL:    http://dsa-research.org/doku.php?id=people:ruben
 Weblog: http://blog.dsa-research.org/?author=7

 GridWay, http://www.gridway.org
 OpenNebula, http://www.opennebula.org
+---------------------------------------------------------------+



More information about the Users mailing list