You need create a passwordless between the front-end and host ESXi. I
advise you to use a RSA key pair. visit
http://opennebula.org/documentation:rel4.0:evmwareg, and see SSH access:
The access via SSH needs to be passwordless. Please follow the next
steps to configure the ESX node:
login to the esx host (ssh <esx-host>)
$ su -
$ mkdir /etc/ssh/keys-oneadmin
$ chmod 755 /etc/ssh/keys-oneadmin
$ su - oneadmin
$ vi /etc/ssh/keys-oneadmin/authorized_keys
<paste here the contents of the oneadmin's front-end account public key
(FE -> $HOME/.ssh/id_{rsa,dsa}.pub) and exit vi>
$ chmod 600 /etc/ssh/keys-oneadmin/authorized_keys
Regards Angel Miguel Hernandez Oliva
Message: 3
Date: Tue, 28 May 2013 17:41:51 +0530
From: Monish Jain <[email protected]>
To: "[email protected]" <[email protected]>
Subject: [one-users] esxi vm creation problem
Message-ID:
<a7c47608b8d04b4bb0b915c351e3363e03c1189...@rsi-nod-exmdb1.india.rsystems.com>
Content-Type: text/plain; charset="us-ascii"
Hi,
I an new to open nebula ,while creating VM I am getting the following
error messages,also I am not able to scp from oneadmin user to esxi
host but I have passwordless login to the ESXI host.
Tue May 28 16:52:34 2013 [DiM][I]: New VM state is ACTIVE.
Tue May 28 16:52:34 2013 [LCM][I]: New VM state is PROLOG.
Tue May 28 16:52:48 2013 [LCM][E]: monitor_done_action, VM in a wrong
state
Tue May 28 16:53:05 2013 [TM][I]: clone: Cloning
/var/lib/one/datastores/100/3c94d3e03230edb8400fd0b2d1c7a278 in
esxi:/var/lib/one//datastores/0/7/disk.0
Tue May 28 16:53:05 2013 [TM][I]: ExitCode: 0
Tue May 28 16:53:06 2013 [TM][I]: Command execution fail:
/var/lib/one/remotes/tm/shared/context /var/lib/one/vms/7/context.sh
esxi:/var/lib/one//datastores/0/7/disk.1 7 0
Tue May 28 16:53:06 2013 [TM][I]: context: Generating context block
device at esxi:/var/lib/one//datastores/0/7/disk.1
Tue May 28 16:53:06 2013 [TM][E]: context: Command "scp
/var/lib/one/datastores/.isofiles/7/7.iso
esxi:/var/lib/one//datastores/0/7/disk.1" failed: sh: scp: Permission
denied
Tue May 28 16:53:06 2013 [TM][I]: lost connection
Tue May 28 16:53:06 2013 [TM][E]: Error copying context ISO to
esxi:/var/lib/one//datastores/0/7/disk.1
Tue May 28 16:53:06 2013 [TM][I]: ExitCode: 255
Tue May 28 16:53:06 2013 [TM][E]: Error executing image transfer
script: Error copying context ISO to
esxi:/var/lib/one//datastores/0/7/disk.1
Tue May 28 16:53:06 2013 [DiM][I]: New VM state is FAILED
Thanks & Regards
Monish jain
48 Aniversario de la Cujae, Una obra de la Revolucion Cubana | 2 de diciembre
de 1964 | http://cujae.edu.cu
Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu
_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org