<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:宋体;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:宋体;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"\@宋体";
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"批注框文本 Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:9.0pt;
font-family:宋体;}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.Char
{mso-style-name:"批注框文本 Char";
mso-style-priority:99;
mso-style-link:批注框文本;
font-family:宋体;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi vishnu,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I’m not sure how did you create it, but some parameters are not correct.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Please recreate a vm template according to [1] and have a try again.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>This is an example template I created using sunstone, for your reference,but you could not use it directly(NETWORK and IMAGE which it used may not exist in your environment.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>NAME=”ttylinux”<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>NIC=[NETWORK_ID="0"]<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>CPU="1"<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>CONTEXT=[SSH_PUBLIC_KEY="$USER[SSH_PUBLIC_KEY]",NETWORK="YES"]<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>DISK=[IMAGE_ID="0"]<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>GRAPHICS=[LISTEN="0.0.0.0",TYPE="VNC"]<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>MEMORY="512"<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Good luck.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>[1] </span><a href="http://opennebula.org/documentation:rel4.2:vm_guide">http://opennebula.org/documentation:rel4.2:vm_guide</a><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Sam<span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><span lang=ZH-CN style='font-size:10.0pt;font-family:宋体'>发件人</span></b><b><span style='font-size:10.0pt;font-family:宋体'>:</span></b><span style='font-size:10.0pt;font-family:宋体'> vishnu e divakaran [mailto:vishnued@gmail.com] <br><b><span lang=ZH-CN>发送时间</span>:</b> 2013<span lang=ZH-CN>年</span>11<span lang=ZH-CN>月</span>20<span lang=ZH-CN>日</span> 23:09<br><b><span lang=ZH-CN>收件人</span>:</b> Sam Song<br><b><span lang=ZH-CN>主题</span>:</b> Re: re: [one-users] Failed to create VM.(KVM)<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal style='margin-bottom:12.0pt'>VM Template file<br>-----------------------------------------------------------------------------------<br>NAME = ttylinux<br>PATH = /var/tmp/ttylinux.img<br>CPU = 0.1<br>MEMORY = 256<br>TYPE="OS"<br>DISK = [<br> source = "/var/tmp/ttylinux.img",<br> target = "hda",<br> type = "swap",<br> readonly = "no" ]<br><br>NIC = [ NETWORK = "Small network" ]<br><br>FEATURES=[ acpi="no" ]<br><br>CONTEXT = [<br> hostname = "onevmhost",<br> ip_public = "192.168.1.15",<br> files = "/var/lib/one/vis/init.sh ~/.ssh/id_rsa.pub",<br> target = "hdc",<br> root_pubkey = "id_rsa.pub",<br> username = "oneadmin",<br> user_pubkey = "id_rsa.pub"<br>]<o:p></o:p></p><div><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p><div><p class=MsoNormal>On 18 November 2013 06:24, Sam Song <<a href="mailto:samsong8610@gmail.com" target="_blank">samsong8610@gmail.com</a>> wrote:<o:p></o:p></p><p class=MsoNormal>Hi vishnu,<br><br>Which ds_mad and tm_mad do you use for the system datastore and image datastore separately?<br>Could you provide your vm template?<br><br>Regards<br><br>Sam<br><br>-----<span lang=ZH-CN style='font-family:宋体'>邮件原件</span>-----<br><span lang=ZH-CN style='font-family:宋体'>发件人</span>: vishnu e divakaran [mailto:<a href="mailto:vishnued@gmail.com">vishnued@gmail.com</a>]<br><span lang=ZH-CN style='font-family:宋体'>发送时间</span>: 2013<span lang=ZH-CN style='font-family:宋体'>年</span>11<span lang=ZH-CN style='font-family:宋体'>月</span>17<span lang=ZH-CN style='font-family:宋体'>日</span> 0:58<br><span lang=ZH-CN style='font-family:宋体'>收件人</span>: Sam Song<br><span lang=ZH-CN style='font-family:宋体'>主题</span>: Re: <span lang=ZH-CN style='font-family:宋体'>答复</span>: [one-users] Failed to create VM.(KVM)<o:p></o:p></p><div><div><p class=MsoNormal style='margin-bottom:12.0pt'><br>Yes disk.0 is not exist there,but disk.1 is there.<o:p></o:p></p></div></div></div><p class=MsoNormal><o:p> </o:p></p></div></div></div></body></html>