[one-users] Create a VM with Sunstone

Tuan Le Doan tuan.fetk52 at gmail.com
Sun Aug 19 21:24:32 PDT 2012


Dear all,

I want to create a VM with Sunstone.
I created a CD room image: (iso image)
Image "centos-minimal" information  ID 10  Name centos-minimal  Datastore
kvm01-ds  Owner oneadmin  Group oneadmin  Type CDROM  Register time
11:02:51 08/20/2012  Persistent no  Source
/var/lib/one/datastores/103/89fd1e28a39eab1006525591158fe3fa  Path
/var/tmp/one/thin-body20120820-3198-5i6hzz-0  Filesystem type --  Size (Mb)
330  State USED  Running #VMS 1 Permissions
      Owner um-       Group ---       Other ---And then, i created a OS
image :
Image "centos install" information  ID 11  Name centos install  Datastore
kvm01-ds  Owner oneadmin  Group oneadmin  Type OS  Register time
11:04:30 08/20/2012  Persistent no  Source
/var/lib/one/datastores/103/ac2a33a7a9c4d8a8312f15614ea96bc2  Path --
Filesystem
type ext4  Size (Mb) 5000  State USED  Running #VMS 1 Permissions
      Owner um-       Group ---       Other ---After that, i created a
template with 2 images:
Template CPU 1 VCPU 1 RAW


 TYPE kvm

 NAME centos-install TEMPLATE_ID 6 GRAPHICS


 TYPE vnc

 OS


 ARCH x86_64 BOOT cdrom

 DISK


 0


 IMAGE centos-minimal IMAGE_UNAME oneadmin

 1


 IMAGE centos install IMAGE_UNAME oneadmin



 MEMORY 512
But when i deploy the VM, it was FAIL with this VM log:

Mon Aug 20 11:10:33 2012 [DiM][I]: New VM state is ACTIVE.
Mon Aug 20 11:10:33 2012 [LCM][I]: New VM state is PROLOG.
Mon Aug 20 11:10:33 2012 [VM][I]: Virtual Machine has no context
Mon Aug 20 11:10:33 2012 [TM][I]: Command execution fail:
/var/lib/one/remotes/tm/shared/clone
front:/var/lib/one/datastores/103/89fd1e28a39eab1006525591158fe3fa
front:/var/lib/one//datastores/0/13/disk.0 13 103
Mon Aug 20 11:10:33 2012 [TM][I]: clone: Cloning
../../103/89fd1e28a39eab1006525591158fe3fa in
front:/var/lib/one//datastores/0/13/disk.0Mon Aug 20 11:10:33 2012
[TM][E]: clone: Command "cd /var/lib/one/datastores/0/13; cp -r
../../103/89fd1e28a39eab1006525591158fe3fa
/var/lib/one/datastores/0/13/disk.0" failed: Host key verification
failed.Mon Aug 20 11:10:33 2012 [TM][E]: Error copying
front:/var/lib/one/datastores/103/89fd1e28a39eab1006525591158fe3fa to
front:/var/lib/one//datastores/0/13/disk.0
Mon Aug 20 11:10:33 2012 [TM][I]: ExitCode: 255Mon Aug 20 11:10:33
2012 [TM][E]: Error executing image transfer script: Error copying
front:/var/lib/one/datastores/103/89fd1e28a39eab1006525591158fe3fa to
front:/var/lib/one//datastores/0/13/disk.0
Mon Aug 20 11:10:33 2012 [DiM][I]: New VM state is FAILED

When I create a VM, i received a message in terminal:
[oneadmin at front etc]$ The authenticity of host 'front
(192.168.54.175)' can't be established.
RSA key fingerprint is 16:fe:7d:21:b1:c5:05:fc:53:d5:51:6e:7a:fa:c5:c7.
Are you sure you want to continue connecting (yes/no)?


any one can help me??

Regards.



-- 
*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/20120820/58e60918/attachment-0002.htm>


More information about the Users mailing list