[one-users] Almost there...but failing

Héctor Sanjuán hsanjuan at opennebula.org
Mon Oct 3 18:06:54 PDT 2011


oneadmin user seems not to have rights to write to /srv/cloud/one on the
remote node. You may want to make VM_DIR in oned.conf point to a
writable folder (maybe /var/one) or give writing permissions to oneadmin
in /srv/cloud in the remote node.

Hector

El 03/10/11 21:35, Bruno Ferreira escribió:
> Hello guys!
> I am doing a cloud project for my college using open nebula.
> 
> So i follow this model bellow .Almost everything is okay except the
> *"onevm"* procedure.
> http://opennebula.org/documentation:archives:rel2.2:vmg
> 
> When i try to deploy a vm its show fail status.
> 
> Mon Oct  3 16:14:56 2011 [DiM][I]: New VM state is PENDING.
> Mon Oct  3 16:15:15 2011 [DiM][I]: New VM state is ACTIVE.
> Mon Oct  3 16:15:15 2011 [LCM][I]: New VM state is PROLOG.
> Mon Oct  3 16:15:15 2011 [TM][I]: Command execution fail:
> /usr/lib/one/tm_commands/ssh/tm_clone.sh
> ubuntucloud:/srv/cloud/var/images/8625d68b699fd30e64360471eb2c38fed47fcfb6xxx.xxx.xxx.xxx:/srv/cloud/one/var/4/images/disk.0
> Mon Oct  3 16:15:15 2011 [TM][I]: STDERR follows.
> Mon Oct  3 16:15:15 2011 [TM][I]: /usr/lib/ruby/1.8/open3.rb:73:
> warning: Insecure world writable dir /srv/cloud/one in PATH, mode 040777
> Mon Oct  3 16:15:15 2011 [TM][I]: ERROR MESSAGE --8<------
> Mon Oct  3 16:15:15 2011 [TM][I]: Warning: Permanently added
> 'xxx.xxx.xxx.xxx' (RSA) to the list of known hosts.
> Mon Oct  3 16:15:15 2011 [TM][I]: mkdir: é impossível criar o diretório
> `/srv/cloud/one': Permissão negada
> Mon Oct  3 16:15:15 2011 [TM][I]: ERROR MESSAGE ------>8--
> Mon Oct  3 16:15:15 2011 [TM][I]: ExitCode: 1
> Mon Oct  3 16:15:15 2011 [TM][I]: tm_clone.sh:
> ubuntucloud:/srv/cloud/var/images/8625d68b699fd30e64360471eb2c38fed47fcfb6
> xxx.xxx.xxx.xxx:/srv/cloud/one/var/4/images/disk.0
> Mon Oct  3 16:15:15 2011 [TM][I]: tm_clone.sh: DST:
> /srv/cloud/one/var/4/images/disk.0
> Mon Oct  3 16:15:15 2011 [TM][I]: tm_clone.sh: Creating directory
> /srv/cloud/one/var/4/images
> Mon Oct  3 16:15:15 2011 [TM][I]: tm_clone.sh: ERROR: Command
> "/usr/bin/ssh xxx.xxx.xxx.xxxmkdir -p /srv/cloud/one/var/4/images" failed.
> Mon Oct  3 16:15:15 2011 [TM][I]: tm_clone.sh: ERROR: Warning:
> Permanently added 'xxx.xxx.xxx.xxx' (RSA) to the list of known hosts.
> Mon Oct  3 16:15:15 2011 [TM][I]: mkdir: é impossível criar o diretório
> `/srv/cloud/one': Permissão negada
> Mon Oct  3 16:15:15 2011 [TM][E]: Error excuting image transfer script:
> Warning: Permanently added '146.164.84.91' (RSA) to the list of known hosts.
> Mon Oct  3 16:15:15 2011 [DiM][I]: New VM state is FAILED
> Mon Oct  3 16:15:15 2011 [TM][W]: Ignored: LOG - 4 tm_delete.sh:
> Deleting /srv/cloud/one/var/4/images
> 
> Mon Oct  3 16:15:15 2011 [TM][W]: Ignored: LOG - 4 tm_delete.sh:
> Executed "/usr/bin/ssh xxx.xxx.xxx.xxx rm -rf /srv/cloud/one/var/4/images".
> 
> Mon Oct  3 16:15:15 2011 [TM][W]: Ignored: TRANSFER SUCCESS 4 -
> 
> Would you guys pleas give me a hand?
> Using open nebula 2.2.1
> Sorry my bad english.
> 
> Best regards,
> Bruno Ferreira.
> 
> 
> 
> _______________________________________________
> 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