I'm using Essex. Where did you make the code change?
You must put the change on each nova-compute node. 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. Grep for a line matching 'mkfs' My logs: 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 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 On Mon, Aug 6, 2012 at 1:51 PM, Jerico Revote <[email protected]>wrote: > Hi, > > Are you using Essex or Folsom when it worked for you? > > Regards, > > Jerico > > On 06/08/2012, at 8:48 PM, Sébastien Han <[email protected]> wrote: > > Cool ;) > > On Mon, Aug 6, 2012 at 12:47 PM, Jerico Revote > <[email protected]>wrote: > >> Thanks Sebastien, I'll give it a shot. >> >> Jerico >> >> On 06/08/2012, at 8:02 PM, Sébastien Han <[email protected]> wrote: >> >> Hi, >> >> I think this only way is to edit the code like so: >> >> - go to the line 66 >> of /usr/lib/python2.7/dist-packages/nova/virt/disk/api.py >> - and change to 'default=mkfs.ext4 -L %(fs_label)s -F %(target)s', >> >> Make sure to purge your /var/lib/nova/instances/_base >> It worked for me :) >> >> Let me know if it's ok :) >> >> Cheers! >> >> >> On Mon, Aug 6, 2012 at 10:47 AM, Jerico Revote >> <[email protected]>wrote: >> >>> Hi, >>> >>> Is there a way to change the default file system of the ephemeral disk >>> attached to an instance? >>> By default it's ext3. >>> >>> Thanks, >>> >>> Jerico >>> _______________________________________________ >>> Mailing list: https://launchpad.net/~openstack >>> Post to : [email protected] >>> Unsubscribe : https://launchpad.net/~openstack >>> More help : https://help.launchpad.net/ListHelp >>> >> >> >> > >
_______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : [email protected] Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp

