[one-users] Problem Deploy VM

Tuan Le Doan tuan.fetk52 at gmail.com
Tue Aug 21 19:44:29 PDT 2012


Sorry i wrote wrong, this is VM log when i deploy VM on one-host:

Wed Aug 22 09:19:37 2012 [DiM][I]: New VM state is ACTIVE.
Wed Aug 22 09:19:37 2012 [LCM][I]: New VM state is PROLOG.
Wed Aug 22 09:19:37 2012 [VM][I]: Virtual Machine has no context
Wed Aug 22 09:19:37 2012 [TM][I]: Command execution fail:
/var/lib/one/remotes/tm/shared/clone
front:/var/lib/one/datastores/103/3726d732de0be21e57cb72a5bf2aff23
front:/var/lib/one//datastores/0/34/disk.0 34 103
Wed Aug 22 09:19:37 2012 [TM][I]: clone: Cloning
../../103/3726d732de0be21e57cb72a5bf2aff23 in
front:/var/lib/one//datastores/0/34/disk.0Wed Aug 22 09:19:37 2012
[TM][E]: clone: Command "cd /var/lib/one/datastores/0/34; cp -r
../../103/3726d732de0be21e57cb72a5bf2aff23
/var/lib/one/datastores/0/34/disk.0" failed: Permission denied, please
try again.
Wed Aug 22 09:19:37 2012 [TM][I]: Permission denied, please try again.
Wed Aug 22 09:19:37 2012 [TM][I]: Permission denied
(publickey,gssapi-keyex,gssapi-with-mic,password).Wed Aug 22 09:19:37
2012 [TM][E]: Error copying
front:/var/lib/one/datastores/103/3726d732de0be21e57cb72a5bf2aff23 to
front:/var/lib/one//datastores/0/34/disk.0
Wed Aug 22 09:19:37 2012 [TM][I]: ExitCode: 255Wed Aug 22 09:19:37
2012 [TM][E]: Error executing image transfer script: Error copying
front:/var/lib/one/datastores/103/3726d732de0be21e57cb72a5bf2aff23 to
front:/var/lib/one//datastores/0/34/disk.0
Wed Aug 22 09:19:37 2012 [DiM][I]: New VM state is FAILED



2012/8/22 Tuan Le Doan <tuan.fetk52 at gmail.com>

> Dear all,
> Can anyone help me to fix this error?
> I had problem when deploy VM.
> When i deploy a VM on one-host, it's fail with this VM log:
>
> Wed Aug 22 09:26:37 2012 [DiM][I]: New VM state is ACTIVE.
> Wed Aug 22 09:26:37 2012 [LCM][I]: New VM state is PROLOG.
> Wed Aug 22 09:26:37 2012 [VM][I]: Virtual Machine has no context
> Wed Aug 22 09:26:44 2012 [TM][I]: Command execution fail: /var/lib/one/remotes/tm/shared/clone front:/var/lib/one/datastores/103/89fd1e28a39eab1006525591158fe3fa kvm01:/var/lib/one//datastores/0/35/disk.0 35 103
> Wed Aug 22 09:26:44 2012 [TM][I]: clone: Cloning ../../103/89fd1e28a39eab1006525591158fe3fa in kvm01:/var/lib/one//datastores/0/35/disk.0Wed Aug 22 09:26:44 2012 [TM][E]: clone: Command "cd /var/lib/one/datastores/0/35; cp -r ../../103/89fd1e28a39eab1006525591158fe3fa /var/lib/one/datastores/0/35/disk.0" failed: ssh: connect to host kvm01 port 22: No route to hostWed Aug 22 09:26:44 2012 [TM][E]: Error copying front:/var/lib/one/datastores/103/89fd1e28a39eab1006525591158fe3fa to kvm01:/var/lib/one//datastores/0/35/disk.0
> Wed Aug 22 09:26:44 2012 [TM][I]: ExitCode: 255Wed Aug 22 09:26:44 2012 [TM][E]: Error executing image transfer script: Error copying front:/var/lib/one/datastores/103/89fd1e28a39eab1006525591158fe3fa to kvm01:/var/lib/one//datastores/0/35/disk.0
> Wed Aug 22 09:26:44 2012 [DiM][I]: New VM state is FAILED
>
>
> When i deploy a VM on another host, it's fail with this VM log:
>
> Wed Aug 22 09:26:37 2012 [DiM][I]: New VM state is ACTIVE.
> Wed Aug 22 09:26:37 2012 [LCM][I]: New VM state is PROLOG.
> Wed Aug 22 09:26:37 2012 [VM][I]: Virtual Machine has no context
> Wed Aug 22 09:26:44 2012 [TM][I]: Command execution fail: /var/lib/one/remotes/tm/shared/clone front:/var/lib/one/datastores/103/89fd1e28a39eab1006525591158fe3fa kvm01:/var/lib/one//datastores/0/35/disk.0 35 103
> Wed Aug 22 09:26:44 2012 [TM][I]: clone: Cloning ../../103/89fd1e28a39eab1006525591158fe3fa in kvm01:/var/lib/one//datastores/0/35/disk.0Wed Aug 22 09:26:44 2012 [TM][E]: clone: Command "cd /var/lib/one/datastores/0/35; cp -r ../../103/89fd1e28a39eab1006525591158fe3fa /var/lib/one/datastores/0/35/disk.0" failed: ssh: connect to host kvm01 port 22: No route to hostWed Aug 22 09:26:44 2012 [TM][E]: Error copying front:/var/lib/one/datastores/103/89fd1e28a39eab1006525591158fe3fa to kvm01:/var/lib/one//datastores/0/35/disk.0
> Wed Aug 22 09:26:44 2012 [TM][I]: ExitCode: 255Wed Aug 22 09:26:44 2012 [TM][E]: Error executing image transfer script: Error copying front:/var/lib/one/datastores/103/89fd1e28a39eab1006525591158fe3fa to kvm01:/var/lib/one//datastores/0/35/disk.0
> Wed Aug 22 09:26:44 2012 [DiM][I]: New VM state is FAILED
>
>
> Can anyone help me to fix this error?
> I created ssh on one host :
> $ ssh-keygen
> $ cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
> $ chmod 700 ~/.ssh/
> $ chmod 600 ~/.ssh/id_rsa.pub
> $ chmod 600 ~/.ssh/id_rsa
> $ chmod 600 ~/.ssh/authorized_keys
> $ cat ~/.ssh/config
> Host *
>     StrictHostKeyChecking no
>
> and i copied it to another host.
> I'm using Centos 6.3 and Opennebula 3.6.
>
> Thanks and Regard.
> *Le Doan Tuan-----------------------------------------------------*
> Undergraduate Student of School of Electronics & Telecommunications.
> Hanoi University of Science & Technology
> Tel    : +84 987 248 215
> Yahoo: ledoantuan1
> Skype: ledoantuan1
>
>


-- 
*Le Doan Tuan-----------------------------------------------------*
Undergraduate Student of School of Electronics & Telecommunications.
Hanoi University of Science & Technology
Tel    : +84 987 248 215
Yahoo: ledoantuan1
Skype: ledoantuan1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120822/98468804/attachment-0003.htm>


More information about the Users mailing list