<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:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:Mangal;
panose-1:2 4 5 3 5 2 3 3 2 2;}
@font-face
{font-family:Mangal;
panose-1:2 4 5 3 5 2 3 3 2 2;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
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.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
span.hoenzb
{mso-style-name:hoenzb;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:883640763;
mso-list-type:hybrid;
mso-list-template-ids:272674260 -1778861642 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
{mso-level-start-at:5;
mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Wingdings;
mso-fareast-font-family:Calibri;
mso-bidi-font-family:"Times New Roman";
color:#1F497D;}
@list l0:level2
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Courier New";}
@list l0:level3
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Wingdings;}
@list l0:level4
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Symbol;}
@list l0:level5
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Courier New";}
@list l0:level6
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Wingdings;}
@list l0:level7
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Symbol;}
@list l0:level8
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Courier New";}
@list l0:level9
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Wingdings;}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
--></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">
<div>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo1"><![if !supportLists]><span style="font-family:Wingdings;color:#1F497D"><span style="mso-list:Ignore">Ø<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]>Check if not only root can write on the nfs share (specially libvirt user).<span style="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>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">It doesn’t look like permissions issue to me. Just to be doubly sure, I “touched” a file, in that folder, edited and deleted the
file. All operations worked w/o error.<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">As I have listed below, several files got created with correct user/group settings. In fact, “instance-00000005” folder itself
was created with correct permissions.<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:10.0pt;font-family:"Courier New"">mandar@ubuntu-dev-mandar:/nfs_shared_instances_path/instance-00000005$ ll<br>
total 10944<br>
drwxrwxr-x 2 mandar libvirtd 4096 2012-04-03 05:42 ./<br>
drwxrwxrwx 4 root root 4096 2012-04-03 05:42 ../<br>
-rw-rw---- 1 mandar libvirtd 0 2012-04-03 05:42 console.log<br>
-rw-r--r-- 1 mandar libvirtd 6291968 2012-04-03 05:42 disk<br>
-rw-rw-r-- 1 mandar libvirtd 4731440 2012-04-03 05:42 kernel<br>
-rw-rw-r-- 1 mandar libvirtd 1067 2012-04-03 05:42 libvirt.xml<br>
-rw-rw-r-- 1 mandar libvirtd 2254249 2012-04-03 05:42 ramdisk<span style="color:#1F497D"><o:p></o:p></span></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I also moved the mount point from “/” to my home folder – still didn’t help<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">-Mandar<o:p></o:p></span></p>
<div>
<p class="MsoNormal">On Tue, Apr 3, 2012 at 6:43 PM, Mandar Vaze / <span style="font-family:"Mangal","serif"">
मंदार</span> <span style="font-family:"Mangal","serif"">वझे</span> <<a href="mailto:mandarvaze@gmail.com">mandarvaze@gmail.com</a>> wrote:<o:p></o:p></p>
<div>
<p class="MsoNormal">I saw an old question posted here :<br>
<a href="https://answers.launchpad.net/nova/+question/164689" target="_blank">https://answers.launchpad.net/nova/+question/164689</a><br>
<br>
But I am not trying live migration.<br>
<br>
I have nfs mounted instances_path - so when I try to spawn an instance I<br>
run into the above errors. Especially following :<br>
<br>
File "/usr/lib/python2.7/dist-packages/libvirt.py", line 372, in createWithFlags<br>
40842 2012-04-03 05:42:27 TRACE nova.rpc.amqp if ret == -1: raise libvirtError ('virDomainCreateWithFlags() failed', dom=self)<br>
40843 2012-04-03 05:42:27 TRACE nova.rpc.amqp libvirtError: internal error Process exited while reading console log output: chardev: opening backend "file" failed<br>
<br>
But as you can see below, several files are created in this folder, so I<br>
am not sure if mine if permissions issue (Else none of the files would<br>
get created) The problem is reported when libvirt tries to write to<br>
console.log (File itself is created with correct permissions - just that<br>
this is zero byte file)<br>
<br>
mandar@ubuntu-dev-mandar:/nfs_shared_instances_path/instance-00000005$ ll<br>
total 10944<br>
drwxrwxr-x 2 mandar libvirtd 4096 2012-04-03 05:42 ./<br>
drwxrwxrwx 4 root root 4096 2012-04-03 05:42 ../<br>
-rw-rw---- 1 mandar libvirtd 0 2012-04-03 05:42 console.log<br>
-rw-r--r-- 1 mandar libvirtd 6291968 2012-04-03 05:42 disk<br>
-rw-rw-r-- 1 mandar libvirtd 4731440 2012-04-03 05:42 kernel<br>
-rw-rw-r-- 1 mandar libvirtd 1067 2012-04-03 05:42 libvirt.xml<br>
-rw-rw-r-- 1 mandar libvirtd 2254249 2012-04-03 05:42 ramdisk<br>
<br>
I'm suspecting : <a href="https://bugs.launchpad.net/ubuntu/maverick/+source/libvirt/+bug/632696" target="_blank">
https://bugs.launchpad.net/ubuntu/maverick/+source/libvirt/+bug/632696</a><br>
But I the above doesn't show itself in non-NFS setup<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Please suggest !!!<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#888888"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#888888">-Mandar<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#888888"><o:p> </o:p></span></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
<br clear="both">
______________________________________________________________________<BR>
Disclaimer:This email and any attachments are sent in strictest confidence for the sole use of the addressee and may contain legally privileged, confidential, and proprietary data. If you are not the intended recipient, please advise the sender by replying promptly to this email and then delete and destroy this email and any attachments without any further use, copying or forwarding<BR>
</body>
</html>