Dear all,<br><br>I want to create a VM with Sunstone.<br>I created a CD room image: (iso image)<br><table id="info_img_table" class="info_table"><thead><tr><th colspan="2">Image "centos-minimal" information</th></tr>
</thead> <tbody><tr> <td class="key_td">ID</td> <td class="value_td">10</td> </tr> <tr> <td class="key_td">Name</td> <td class="value_td">
centos-minimal</td> </tr> <tr> <td class="key_td">Datastore</td> <td class="value_td">kvm01-ds</td> </tr> <tr> <td class="key_td">Owner</td> <td class="value_td">
oneadmin</td> </tr> <tr> <td class="key_td">Group</td> <td class="value_td">oneadmin</td> </tr> <tr> <td class="key_td">Type</td> <td class="value_td">
CDROM</td> </tr> <tr> <td class="key_td">Register time</td> <td class="value_td">11:02:51 08/20/2012</td> </tr> <tr> <td class="key_td">Persistent</td>
<td class="value_td">no</td> </tr> <tr> <td class="key_td">Source</td> <td class="value_td">/var/lib/one/datastores/103/89fd1e28a39eab1006525591158fe3fa</td> </tr>
<tr> <td class="key_td">Path</td> <td class="value_td">/var/tmp/one/thin-body20120820-3198-5i6hzz-0</td> </tr> <tr> <td class="key_td">Filesystem type</td>
<td class="value_td">--</td> </tr> <tr> <td class="key_td">Size (Mb)</td> <td class="value_td">330</td> </tr> <tr> <td class="key_td">
State</td> <td class="value_td">USED</td> </tr> <tr> <td class="key_td">Running #VMS</td> <td class="value_td">1</td> </tr> <tr><td class="key_td">
Permissions</td><td><br></td></tr> <tr> <td class="key_td"> Owner</td> <td class="value_td" style="font-family:monospace">um-</td> </tr> <tr> <td class="key_td">
Group</td> <td class="value_td" style="font-family:monospace">---</td> </tr> <tr> <td class="key_td"> Other</td> <td class="value_td" style="font-family:monospace">
---</td></tr></tbody></table>And then, i created a OS image :<br><table id="info_img_table" class="info_table"><thead><tr><th colspan="2">Image "centos install" information</th></tr> </thead> <tbody><tr>
<td class="key_td">ID</td> <td class="value_td">11</td> </tr> <tr> <td class="key_td">Name</td> <td class="value_td">centos install</td> </tr>
<tr> <td class="key_td">Datastore</td> <td class="value_td">kvm01-ds</td> </tr> <tr> <td class="key_td">Owner</td> <td class="value_td">oneadmin</td>
</tr> <tr> <td class="key_td">Group</td> <td class="value_td">oneadmin</td> </tr> <tr> <td class="key_td">Type</td> <td class="value_td">
OS</td> </tr> <tr> <td class="key_td">Register time</td> <td class="value_td">11:04:30 08/20/2012</td> </tr> <tr> <td class="key_td">Persistent</td>
<td class="value_td">no</td> </tr> <tr> <td class="key_td">Source</td> <td class="value_td">/var/lib/one/datastores/103/ac2a33a7a9c4d8a8312f15614ea96bc2</td> </tr>
<tr> <td class="key_td">Path</td> <td class="value_td">--</td> </tr> <tr> <td class="key_td">Filesystem type</td> <td class="value_td">ext4</td>
</tr> <tr> <td class="key_td">Size (Mb)</td> <td class="value_td">5000</td> </tr> <tr> <td class="key_td">State</td> <td class="value_td">
USED</td> </tr> <tr> <td class="key_td">Running #VMS</td> <td class="value_td">1</td> </tr> <tr><td class="key_td">Permissions</td><td><br></td></tr> <tr>
<td class="key_td"> Owner</td> <td class="value_td" style="font-family:monospace">um-</td> </tr> <tr> <td class="key_td"> Group</td> <td class="value_td" style="font-family:monospace">
---</td> </tr> <tr> <td class="key_td"> Other</td> <td class="value_td" style="font-family:monospace">---</td></tr></tbody></table>After that, i created a template with 2 images:<br>
<table id="template_template_table" class="info_table"><thead><tr><th colspan="2">Template</th></tr></thead><tbody><tr> <td class="key_td" style="padding-left:0px;font-weight:bold;border-bottom:1px solid #cccccc;padding-top:6px;padding-bottom:6px">
CPU</td> <td class="value_td" style="border-bottom:1px solid #cccccc;padding-top:6px;padding-bottom:6px">1</td> </tr><tr> <td class="key_td" style="padding-left:0px;font-weight:bold;border-bottom:1px solid #cccccc;padding-top:6px;padding-bottom:6px">
VCPU</td> <td class="value_td" style="border-bottom:1px solid #cccccc;padding-top:6px;padding-bottom:6px">1</td> </tr><tr> <td class="key_td" style="padding-left:0px;font-weight:bold;border-bottom:1px solid #cccccc;padding-top:6px;padding-bottom:6px">
RAW</td> <td class="value_td" style="border-bottom:1px solid #cccccc;padding-top:6px;padding-bottom:6px"> <br></td> </tr><tr> <td class="key_td" style="border-bottom:0">
<br></td> <td class="value_td" style="border-bottom:0"><br></td> </tr><tr> <td class="key_td" style="padding-left:25px;font-weight:normal;border-bottom:0;padding-top:1px;padding-bottom:1px">
TYPE</td> <td class="value_td" style="border-bottom:0;padding-top:1px;padding-bottom:1px">kvm</td> </tr><tr> <td class="key_td"><br></td> <td class="value_td">
<br></td> </tr><tr> <td class="key_td" style="padding-left:0px;font-weight:bold;border-bottom:1px solid #cccccc;padding-top:6px;padding-bottom:6px">NAME</td> <td class="value_td" style="border-bottom:1px solid #cccccc;padding-top:6px;padding-bottom:6px">
centos-install</td> </tr><tr> <td class="key_td" style="padding-left:0px;font-weight:bold;border-bottom:1px solid #cccccc;padding-top:6px;padding-bottom:6px">TEMPLATE_ID</td> <td class="value_td" style="border-bottom:1px solid #cccccc;padding-top:6px;padding-bottom:6px">
6</td> </tr><tr> <td class="key_td" style="padding-left:0px;font-weight:bold;border-bottom:1px solid #cccccc;padding-top:6px;padding-bottom:6px">GRAPHICS</td> <td class="value_td" style="border-bottom:1px solid #cccccc;padding-top:6px;padding-bottom:6px">
<br></td> </tr><tr> <td class="key_td" style="border-bottom:0"><br></td> <td class="value_td" style="border-bottom:0"><br></td> </tr><tr> <td class="key_td" style="padding-left:25px;font-weight:normal;border-bottom:0;padding-top:1px;padding-bottom:1px">
TYPE</td> <td class="value_td" style="border-bottom:0;padding-top:1px;padding-bottom:1px">vnc</td> </tr><tr> <td class="key_td"><br></td> <td class="value_td">
<br></td> </tr><tr> <td class="key_td" style="padding-left:0px;font-weight:bold;border-bottom:1px solid #cccccc;padding-top:6px;padding-bottom:6px">OS</td> <td class="value_td" style="border-bottom:1px solid #cccccc;padding-top:6px;padding-bottom:6px">
<br></td> </tr><tr> <td class="key_td" style="border-bottom:0"><br></td> <td class="value_td" style="border-bottom:0"><br></td> </tr><tr> <td class="key_td" style="padding-left:25px;font-weight:normal;border-bottom:0;padding-top:1px;padding-bottom:1px">
ARCH</td> <td class="value_td" style="border-bottom:0;padding-top:1px;padding-bottom:1px">x86_64</td> </tr><tr> <td class="key_td" style="padding-left:25px;font-weight:normal;border-bottom:0;padding-top:1px;padding-bottom:1px">
BOOT</td> <td class="value_td" style="border-bottom:0;padding-top:1px;padding-bottom:1px">cdrom</td> </tr><tr> <td class="key_td"><br></td> <td class="value_td">
<br></td> </tr><tr> <td class="key_td" style="padding-left:0px;font-weight:bold;border-bottom:1px solid #cccccc;padding-top:6px;padding-bottom:6px">DISK</td> <td class="value_td" style="border-bottom:1px solid #cccccc;padding-top:6px;padding-bottom:6px">
<br></td> </tr><tr> <td class="key_td" style="border-bottom:0"><br></td> <td class="value_td" style="border-bottom:0"><br></td> </tr><tr> <td class="key_td" style="padding-left:25px;font-weight:normal;border-bottom:0;padding-top:1px;padding-bottom:1px">
0</td> <td class="value_td" style="border-bottom:0;padding-top:1px;padding-bottom:1px"> <br></td> </tr><tr> <td class="key_td" style="border-bottom:0"><br>
</td> <td class="value_td" style="border-bottom:0"><br></td> </tr><tr> <td class="key_td" style="padding-left:50px;font-weight:normal;border-bottom:0;padding-top:1px;padding-bottom:1px">
IMAGE</td> <td class="value_td" style="border-bottom:0;padding-top:1px;padding-bottom:1px">centos-minimal</td> </tr><tr> <td class="key_td" style="padding-left:50px;font-weight:normal;border-bottom:0;padding-top:1px;padding-bottom:1px">
IMAGE_UNAME</td> <td class="value_td" style="border-bottom:0;padding-top:1px;padding-bottom:1px">oneadmin</td> </tr><tr> <td class="key_td"><br></td> <td class="value_td">
<br></td> </tr><tr> <td class="key_td" style="padding-left:25px;font-weight:normal;border-bottom:0;padding-top:1px;padding-bottom:1px">1</td> <td class="value_td" style="border-bottom:0;padding-top:1px;padding-bottom:1px">
<br></td> </tr><tr> <td class="key_td" style="border-bottom:0"><br></td> <td class="value_td" style="border-bottom:0"><br></td> </tr><tr> <td class="key_td" style="padding-left:50px;font-weight:normal;border-bottom:0;padding-top:1px;padding-bottom:1px">
IMAGE</td> <td class="value_td" style="border-bottom:0;padding-top:1px;padding-bottom:1px">centos install</td> </tr><tr> <td class="key_td" style="padding-left:50px;font-weight:normal;border-bottom:0;padding-top:1px;padding-bottom:1px">
IMAGE_UNAME</td> <td class="value_td" style="border-bottom:0;padding-top:1px;padding-bottom:1px">oneadmin</td> </tr><tr> <td class="key_td"><br></td> <td class="value_td">
<br></td> </tr><tr> <td class="key_td"><br></td> <td class="value_td"><br></td> </tr><tr> <td class="key_td" style="padding-left:0px;font-weight:bold;border-bottom:1px solid #cccccc;padding-top:6px;padding-bottom:6px">
MEMORY</td> <td class="value_td" style="border-bottom:1px solid #cccccc;padding-top:6px;padding-bottom:6px">512</td></tr></tbody></table><br>But when i deploy the VM, it was FAIL with this VM log:<br><pre>
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.0
<span class="vm_log_error">Mon 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.</span>
<span class="vm_log_error">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</span>
Mon Aug 20 11:10:33 2012 [TM][I]: ExitCode: 255
<span class="vm_log_error">Mon 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</span>
Mon Aug 20 11:10:33 2012 [DiM][I]: New VM state is FAILED<br><br><font size="4"><font face="tahoma,sans-serif">When I create a VM, i received a message in terminal:<br><font>[oneadmin@front etc]$ The authenticity of host 'front (192.168.54.175)' can't be established.<br>
RSA key fingerprint is 16:fe:7d:21:b1:c5:05:fc:53:d5:51:6e:7a:fa:c5:c7.<br>Are you sure you want to continue connecting (yes/no)? </font></font><font> </font></font><br><font size="4"><br><br>any one can help me??</font><br>
<br><font size="4">Regards.</font><br></pre> <br clear="all"><br>-- <br><div><b><font color="#3333ff" face="georgia, serif">Le Doan Tuan</font><font style="font-family:tahoma,sans-serif" color="#999999">-----------------------------------------------------</font></b><div>
<font color="#666666" face="tahoma, sans-serif">Undergraduate Student of School of Electronic<span style="line-height:19px">s & Telecommunications.</span></font></div><div><font face="tahoma, sans-serif"><span style="line-height:19px"><font color="#666666">Hanoi University of Science & Technology</font><br>
</span></font><div><div><font color="#999999" face="tahoma, sans-serif">Tel : +84 987 248 215</font></div><div><font color="#999999" face="tahoma, sans-serif">Yahoo: ledoantuan1</font></div><div><font color="#999999" face="tahoma, sans-serif">Skype: ledoantuan1</font></div>
</div></div></div><br>