I'm using Essex.<div><br></div><div>Where did you make the code change?</div><div><br></div><div>You must put the change on each nova-compute node.</div><div><br></div><div>Enable the --verbose flag in nova.conf on your compute nodes, purge  /var/lib/nova/instances/_base/'ephemeral_something', boot a new vm and watch the log.</div>

<div>Grep for a line matching 'mkfs'<br>
<br>My logs:</div><div><br></div><div>nova.service [-] virt_mkfs : ['default=mkfs.ext4 -L %(fs_label)s -F %(target)s', 'linux=mkfs.ext3 -L %(fs_label)s -F %(target)s', 'windows=mkfs.ntfs --force --fast --label %(fs_label)s %(target)s'] from (pid=2343) wait /usr/lib/python2.7/dist-packages/nova/service.py:411</div>

<div>nova.utils [req-4559f0ea-df70-4d86-b61d-91d0798e3e93 359076e3189b4658a4dd1b83d6313cc9 5172f50226f647ebb03ca4e4e82d056d] Running cmd (subprocess): mkfs.ext4 -L ephemeral0 -F /var/lib/nova/instances/_base/ephemeral_0_20_None from (pid=2343) execute /usr/lib/python2.7/dist-packages/nova/utils.py:219</div>

<div><br></div><div><br></div><div><br><div class="gmail_quote">On Mon, Aug 6, 2012 at 1:51 PM, Jerico Revote <span dir="ltr"><<a href="mailto:jerico.revote@monash.edu" target="_blank">jerico.revote@monash.edu</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi,<div><br></div><div>Are you using Essex or Folsom when it worked for you?</div><div>

<br></div><div>Regards,</div><div><br></div><div>Jerico</div><div><div class="h5"><div><br><div><div>On 06/08/2012, at 8:48 PM, Sébastien Han <<a href="mailto:han.sebastien@gmail.com" target="_blank">han.sebastien@gmail.com</a>> wrote:</div>

<br><blockquote type="cite">Cool ;)<br clear="all"><div><br></div><div class="gmail_quote">On Mon, Aug 6, 2012 at 12:47 PM, Jerico Revote <span dir="ltr"><<a href="mailto:jerico.revote@monash.edu" target="_blank">jerico.revote@monash.edu</a>></span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Thanks Sebastien, I'll give it a shot.<span><font color="#888888"><div>

<br></div><div>Jerico</div></font></span><div><div><div><br></div><div><div><div>On 06/08/2012, at 8:02 PM, Sébastien Han <<a href="mailto:han.sebastien@gmail.com" target="_blank">han.sebastien@gmail.com</a>> wrote:</div>



<br><blockquote type="cite">Hi,<div><br></div><div>I think this only way is to edit the code like so:</div><div><ul><li>go to the line 66 of /usr/lib/python2.7/dist-packages/nova/virt/disk/api.py</li><li>and change to  'default=mkfs.ext4 -L %(fs_label)s -F %(target)s',</li>






</ul><div>Make sure to purge your /var/lib/nova/instances/_base</div></div><div>It worked for me :)</div><div><br></div><div>Let me know if it's ok :)</div><div><br></div><div>Cheers!<br>
<br><br><div class="gmail_quote">On Mon, Aug 6, 2012 at 10:47 AM, Jerico Revote <span dir="ltr"><<a href="mailto:jerico.revote@monash.edu" target="_blank">jerico.revote@monash.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">








Hi,<br>
<br>
Is there a way to change the default file system of the ephemeral disk attached to an instance?<br>
By default it's ext3.<br>
<br>
Thanks,<br>
<br>
Jerico<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" target="_blank">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><br>
</blockquote></div><br></div>
</blockquote></div><br></div></div></div></div></blockquote></div><br>
</blockquote></div><br></div></div></div></div></blockquote></div><br></div>