[one-users] Permission denied and fail execution

Héctor Sanjuán hsanjuan at opennebula.org
Sat Jul 9 17:03:16 PDT 2011


Hi Julie,

first make sure you run OpenNebula commands with the "oneadmin" unix
user (or any other specifically made for that). This "oneadmin" user
should be able to ssh passwordless to the host (in this case,
localhost). You can check this by manually su-ing to that user  and
trying (generate keys with that user, put them in the ~/.ssh folder of
that user).

It seems ssh is asking for password after all, so make sure as well that
ssh is configured properly to accept passwordless connections, that the
host is on the trusted keys list etc. for the oneadmin user.

Hope this helps,

Hector

El 07/07/11 14:05, julie Desgrouas escribió:
> *Hello,
> 
> 
> i have install my front end and my node on the same physical server.
> When i would like deploy my ttylinux vm example i have a problem.
> 
> 
> I re made the rsa key, but there is no problem :/ so i don't understand 
> why the permission are denied. I think that's why have this failed
> 
> Wed Jul  6 17:19:16 2011 [VMM][I]: Command execution fail: 'if [ -x
> "/srv/cloud/one/var/tmp/one//vmm/kvm/deploy" ]; then
> /srv/cloud/one/var/tmp/one//vmm/kvm/deploy
> /srv/cloud/one/var//52/images/deployment.0; else
> 
> for this errors i don't understand why :/
> 
> Wed Jul  6 17:19:16 2011 [VMM][I]: Permission denied (publickey,password).
>  
> if you have ideas thank
> 
> Ju
> 
> -_-_-_-_-_-_-_-_--_-_-_-_-_-_-_-_-
> Log VM
> -_-_-_-_-_-_-_-_--_-_-_-_-_-_-_-_-
> 
> Wed Jul  6 17:19:14 2011 [DiM][I]: New VM state is ACTIVE.
> Wed Jul  6 17:19:14 2011 [LCM][I]: New VM state is PROLOG.
> Wed Jul  6 17:19:14 2011 [TM][I]: tm_clone.sh:
> tdd-kvm-01.services.com:/srv/cloud/one/var//images/303d2b201b70b947133012ad70eea150b11b503b
> tdd-kvm-01:/srv/cloud/one/var//52/images/disk.0
> Wed Jul  6 17:19:14 2011 [TM][I]: tm_clone.sh: DST:
> /srv/cloud/one/var//52/images/disk.0
> Wed Jul  6 17:19:14 2011 [TM][I]: tm_clone.sh: Creating directory
> /srv/cloud/one/var//52/images
> Wed Jul  6 17:19:14 2011 [TM][I]: tm_clone.sh: Executed "mkdir -p
> /srv/cloud/one/var//52/images".
> Wed Jul  6 17:19:14 2011 [TM][I]: tm_clone.sh: Executed "chmod a+w
> /srv/cloud/one/var//52/images".
> Wed Jul  6 17:19:14 2011 [TM][I]: tm_clone.sh: Cloning
> /srv/cloud/one/var//images/303d2b201b70b947133012ad70eea150b11b503b
> Wed Jul  6 17:19:14 2011 [TM][I]: tm_clone.sh: Executed "cp -r
> /srv/cloud/one/var//images/303d2b201b70b947133012ad70eea150b11b503b
> /srv/cloud/one/var//52/images/disk.0".
> Wed Jul  6 17:19:14 2011 [TM][I]: tm_clone.sh: Executed "chmod a+rw
> /srv/cloud/one/var//52/images/disk.0".
> Wed Jul  6 17:19:14 2011 [TM][I]: tm_context.sh: Executed "mkdir -p
> /srv/cloud/one/var//52/images/isofiles".
> Wed Jul  6 17:19:14 2011 [TM][I]: tm_context.sh: Executed "cp -R
> /srv/cloud/one/var/52/context.sh /srv/cloud/one/var//52/images/isofiles".
> Wed Jul  6 17:19:14 2011 [TM][I]: tm_context.sh: Executed "cp -R
> /srv/cloud/one/var/images/template_one_test/init.sh
> /srv/cloud/one/var//52/images/isofiles".
> Wed Jul  6 17:19:14 2011 [TM][I]: tm_context.sh: Executed
> "/usr/bin/genisoimage -o /srv/cloud/one/var//52/images/disk.1 -J -R
> /srv/cloud/one/var//52/images/isofiles".
> Wed Jul  6 17:19:14 2011 [TM][I]: tm_context.sh: Executed "rm -rf
> /srv/cloud/one/var//52/images/isofiles".
> Wed Jul  6 17:19:14 2011 [LCM][I]: New VM state is BOOT
> Wed Jul  6 17:19:14 2011 [VMM][I]: Generating deployment file:
> /srv/cloud/one/var/52/deployment.0
> Wed Jul  6 17:19:14 2011 [VMM][I]: Command execution fail: 'if [ -x
> "/srv/cloud/one/var/tmp/one//vmm/kvm/deploy" ]; then
> /srv/cloud/one/var/tmp/one//vmm/kvm/deploy
> /srv/cloud/one/var//52/images/deployment.0;
> else                              exit 42; fi'
> Wed Jul  6 17:19:14 2011 [VMM][I]: STDERR follows.
> Wed Jul  6 17:19:14 2011 [VMM][I]: Permission denied, please try again.
> Wed Jul  6 17:19:14 2011 [VMM][I]: Permission denied, please try again.
> Wed Jul  6 17:19:14 2011 [VMM][I]: Permission denied (publickey,password).
> Wed Jul  6 17:19:14 2011 [VMM][I]: ExitCode: 255
> 
> Wed Jul  6 17:19:16 2011 [VMM][I]: Command execution fail: 'if [ -x
> "/srv/cloud/one/var/tmp/one//vmm/kvm/deploy" ]; then
> /srv/cloud/one/var/tmp/one//vmm/kvm/deploy
> /srv/cloud/one/var//52/images/deployment.0;
> else                              exit 42; fi'
> 
> Wed Jul  6 17:19:16 2011 [VMM][I]: STDERR follows.
> Wed Jul  6 17:19:16 2011 [VMM][I]: Permission denied, please try again.
> Wed Jul  6 17:19:16 2011 [VMM][I]: Permission denied, please try again.
> Wed Jul  6 17:19:16 2011 [VMM][I]: Permission denied (publickey,password).
> Wed Jul  6 17:19:16 2011 [VMM][I]: ExitCode: 255
> Wed Jul  6 17:19:17 2011 [VMM][I]: Command execution fail: 'if [ -x
> "/srv/cloud/one/var/tmp/one//vmm/kvm/deploy" ]; then
> /srv/cloud/one/var/tmp/one//vmm/kvm/deploy
> /srv/cloud/one/var//52/images/deployment.0;
> else                              exit 42; fi'
> Wed Jul  6 17:19:17 2011 [VMM][I]: STDERR follows.
> Wed Jul  6 17:19:17 2011 [VMM][I]: Permission denied, please try again.
> Wed Jul  6 17:19:17 2011 [VMM][I]: Permission denied, please try again.
> Wed Jul  6 17:19:17 2011 [VMM][I]: Permission denied (publickey,password).
> Wed Jul  6 17:19:17 2011 [VMM][I]: ExitCode: 255
> Wed Jul  6 17:19:17 2011 [VMM][E]: Error deploying virtual machine:
> Permission denied, please try again.
> 
> Wed Jul  6 17:19:17 2011 [DiM][I]: New VM state is FAILED
> Wed Jul  6 17:19:17 2011 [TM][W]: Ignored: LOG - 52 tm_delete.sh:
> Deleting /srv/cloud/one/var//52/images
> 
> Wed Jul  6 17:19:17 2011 [TM][W]: Ignored: LOG - 52 tm_delete.sh:
> Executed "rm -rf /srv/cloud/one/var//52/images".
> 
> 
> *
> 
> 
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


-- 
Héctor Sanjuán
OpenNebula Sunstone Developer



More information about the Users mailing list