<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:Verdana;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 81.1pt 1.0in 81.1pt;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'>Hi,<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'>The
problem lies in these two lines:<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'>Line1:<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'>=====<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Verdana><span style='font-size:10.0pt;
font-family:Verdana'>Thu Aug 20 12:25:55 2009 [VMM][I]: Generating deployment
file: <b><font color=red><span style='color:red;font-weight:bold'>/opt/cloud/var/36/deployment.0</span></font></b><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Verdana><span style='font-size:10.0pt;
font-family:Verdana'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Verdana><span style='font-size:10.0pt;
font-family:Verdana'>Line2:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Verdana><span style='font-size:10.0pt;
font-family:Verdana'>=====<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Verdana><span style='font-size:10.0pt;
font-family:Verdana'>Thu Aug 20 12:25:55 2009 [VMM][I]: <b><font color=red><span
style='color:red;font-weight:bold'>Command execution fail:</span></font></b>
'cat <b><font color=red><span style='color:red;font-weight:bold'>>
/opt/cloud/one/var/36/images/deployment.0</span></font></b> && sudo
/usr/sbin/xm create /opt/cloud/one/var/36/images/deployment.0 && sudo
/usr/sbin/xm sched-cred -d one-36 -w 256'<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'>This
is clear that: <o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>1) deployment file is generated at loca: </span></font><b><font size=2
color=red face=Verdana><span style='font-size:10.0pt;font-family:Verdana;
color:red;font-weight:bold'>/opt/cloud/var/36/deployment.0</span></font></b><font
size=2 face=Verdana><span style='font-size:10.0pt;font-family:Verdana'><o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'>2)
but cat > command looks for a different location: 'cat <b><font
color=red><span style='color:red;font-weight:bold'>>
/opt/cloud/one/var/36/images/deployment.0 </span></font></b><o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><b><font size=2 color=red face=Verdana><span
style='font-size:10.0pt;color:red;font-weight:bold'>/images/ ???</span></font></b><o:p></o:p></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'>Pls
note, </span>VM_DIR is defined correctly as per the documentations..<o:p></o:p></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'>Kindly
advice further ..<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'>-
regards <o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'>
Pallab <o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'>-----Original
Message-----<br>
From: jfontan@gmail.com [mailto:jfontan@gmail.com] On Behalf Of Javier Fontan<br>
Sent: Friday, August 21, 2009 4:21 PM<br>
To: <st1:PersonName w:st="on">Pallab Chakrabarty</st1:PersonName><br>
Cc: <st1:PersonName w:st="on">users@lists.opennebula.org</st1:PersonName><br>
Subject: Re: [one-users] Xen with NFS..</span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'>Hello,<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'>Comments
below<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'>On
Thu, Aug 20, 2009 at 9:01 PM, Pallab<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'>Chakrabarty<pchakrabarty@spikesource.com>
wrote:<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'>>
I tried Xen with NFS; following error shows some wrong location of<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'>>
deployment file..<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'>><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'>>
Kindly advice how to fix this..<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'>><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'>>
[...]<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'>><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'>>
Thu Aug 20 12:25:55 2009 [VMM][I]: Command execution fail: 'cat ><o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'>>
/opt/cloud/one/var/36/images/deployment.0 && sudo /usr/sbin/xm create<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'>>
/opt/cloud/one/var/36/images/deployment.0 && sudo /usr/sbin/xm
sched-cred -d<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'>>
one-36 -w 256'<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'>><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'>>
Thu Aug 20 12:25:55 2009 [VMM][I]: STDERR follows.<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'>><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'>>
Thu Aug 20 12:25:55 2009 [VMM][I]: bash:<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'>>
/opt/cloud/one/var/36/images/deployment.0: No such file or directory<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'>><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'>>
Thu Aug 20 12:25:55 2009 [VMM][I]: ExitCode: 1<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'>><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'>>
[...]<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'>The
problem here is that it can not create<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'>/opt/cloud/one/var/36/images/deployment.0
in the execution host. The<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'>command
that starts with "cat" is executed in the execution host, not<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'>in
the frontend. The most probable cause of this error is that<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'>/opt/cloud/one/var/36/images
does not exist in the execution host.<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'>What
is the shared directory between nodes and what is the mount point<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'>in
that execution node? If not specified otherwise (VM_DIR variable in<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'>one.conf)
OpenNebula expects its var path in the same place in<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'>frontend
and execution nodes.<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'>Bye<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'>--
<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'>Javier
Fontan, Grid & Virtualization Technology Engineer/Researcher<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'>DSA
Research Group: http://dsa-research.org<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'>Globus
GridWay Metascheduler: http://www.GridWay.org<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'>OpenNebula
Virtual Infrastructure Engine: http://www.OpenNebula.org<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'>No
virus found in this incoming message.<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'>Checked
by AVG - www.avg.com <o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Verdana><span style='font-size:10.0pt'>Version:
8.5.392 / Virus Database: 270.13.63/2316 - Release Date: 08/20/09 18:06:00<o:p></o:p></span></font></p>
</div>
</body>
</html>