[one-users] Problem Deploy VM
Jurgen Weber
jurgen.weber at theiconic.com.au
Tue Aug 21 19:49:04 PDT 2012
need to chown oneadmin:cloud /var/lib/one/datastores
Jurgen
On 22/08/12 12:44, Tuan Le Doan wrote:
> 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.0
> Wed 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: 255
> Wed 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
> <mailto: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.0
> Wed 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 host
> Wed 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: 255
> Wed 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.0
> Wed 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 host
> Wed 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: 255
> Wed 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
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
--
Jurgen Weber
Systems Engineer
IT Infrastructure Team Leader
THE ICONIC | E jurgen.weber at theiconic.com.au | www.theiconic.com.au
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120822/06923945/attachment-0003.htm>
More information about the Users
mailing list