[one-users] encountring Permission denied error while migrating VM

Ruben S. Montero rubensm at dacya.ucm.es
Fri May 15 03:30:59 PDT 2009


Hi Prema,

The problem is when executing:

scp -r 10.101.102.112:/opt/VM_DIR/22/images 10.101.102.113:/opt/VM_D

You must check that oneadmin has permissions to write in /opt/VM_DIR
in both hosts. Also this command should be executed without being
asked for a password or to confirm a SSH key.

To debug this just execute the scp command in the front-end.

Cheers

Ruben

On Fri, May 15, 2009 at 10:47 AM,  <prema.ramakrishnappa at wipro.com> wrote:
> Hi All,
>
>     I am trying to migrate running VM  from 10.101.102.112 to
> 10.101.102.113.
> The virtual machine state changed from running to Save and then migarte
> later it went to failed state.
> The log deatils are as seen below. it says permission denied .
> Can anybody throw somelight on this issue for me to proceed.
>
>
> Fri May 15 19:24:24 2009 [LCM][I]: New VM state is SAVE_MIGRATE
> Fri May 15 19:24:40 2009 [LCM][I]: New VM state is PROLOG_MIGRATE
> Fri May 15 19:24:41 2009 [TM][I]: tm_mv.sh: Moving /opt/VM_DIR/22/images
> Fri May 15 19:24:41 2009 [TM][I]: tm_mv.sh: Executed "ssh 10.101.102.113
> mkdir -p /opt/VM_DIR/22".
> Fri May 15 19:24:41 2009 [TM][I]: tm_mv.sh: ERROR: Command "scp -r
> 10.101.102.112:/opt/VM_DIR/22/images 10.101.102.113:/opt/VM_D
> Fri May 15 19:24:41 2009 [TM][I]: tm_mv.sh: ERROR: Permission denied, please
> try again.
> Fri May 15 19:24:41 2009 [TM][I]: Permission denied, please try again.
> Fri May 15 19:24:42 2009 [TM][I]: Permission denied
> (publickey,gssapi-with-mic,password).
> Fri May 15 19:24:42 2009 [TM][I]: lost connection
> Fri May 15 19:24:42 2009 [TM][E]: Error excuting image transfer script:
> Permission denied, please try again.
> Fri May 15 19:24:42 2009 [DiM][I]: New VM state is FAILED
>
> Thanks in Advance,
> Prema
>
> Please do not print this email unless it is absolutely necessary.
>
> The information contained in this electronic message and any attachments to
> this message are intended for the exclusive use of the addressee(s) and may
> contain proprietary, confidential or privileged information. If you are not
> the intended recipient, you should not disseminate, distribute or copy this
> e-mail. Please notify the sender immediately and destroy all copies of this
> message and any attachments.
>
> WARNING: Computer viruses can be transmitted via email. The recipient should
> check this email and any attachments for the presence of viruses. The
> company accepts no liability for any damage caused by any virus transmitted
> by this email.
>
> www.wipro.com
>
> _______________________________________________
> 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