<font><font face="arial,helvetica,sans-serif">Here's my configuration for cinder using NFS, also I submit bug for creating volume snapshot and volume from snapshot here, I already fixed it in my local, not submit yet:</font></font><div>

<font face="arial, helvetica, sans-serif"><a href="https://bugs.launchpad.net/cinder/+bug/1097266">https://bugs.launchpad.net/cinder/+bug/1097266</a></font></div><div><font face="arial, helvetica, sans-serif"><br></font><div>

<font face="arial, helvetica, sans-serif"><b>/etc/cinder/cinder.conf<br></b></font><div><font><font face="arial,helvetica,sans-serif"><div>[DEFAULT]</div><div>rootwrap_config=/etc/cinder/rootwrap.conf</div><div>sql_connection = mysql://<a href="http://cinder:cinder-administrator@controller.cienet.com.cn/cinder">cinder:cinder-administrator@controller.cienet.com.cn/cinder</a></div>

<div>api_paste_confg = /etc/cinder/api-paste.ini</div><div>iscsi_helper=ietadm</div><div>volume_name_template = volume-%s</div><div>volume_group = vg_cinder</div><div>#volume_group = cinder-volumes</div><div>verbose = True</div>

<div>auth_strategy = keystone</div><div>#osapi_volume_listen_port=5900</div><div>volumes_dir=/var/lib/cinder/volumes/</div><div>rabbit_host=<a href="http://controller.cienet.com.cn">controller.cienet.com.cn</a></div><div>

volume_driver=cinder.volume.nfs.NfsDriver</div><div>######## defined in cinder.volume.drivers.nfs ########</div><div>nfs_shares_config=/var/lib/cinder/nfsshare</div><div>nfs_mount_point_base=/var/lib/cinder/volumes</div>
<div>
nfs_disk_util=df</div><div>nfs_sparsed_volumes=true</div><div><br></div><div><b>/etc/cinder/rootwrap.d/volume.filters add</b></div><div><div># cinder/volume/nfs.py</div><div>stat: CommandFilter, /usr/bin/stat, root</div>
<div>
mount: CommandFilter, /bin/mount, root</div><div>df: CommandFilter, /bin/df, root</div><div>truncate: CommandFilter, /usr/bin/truncate, root</div><div>chmod: CommandFilter, /bin/chmod, root</div><div>rm: CommandFilter, /bin/rm, root</div>

</div><div><br></div><div><b>/etc/nova/nova.conf add</b></div><div><div># for cinder use volume as nfs</div><div>libvirt_volume_drivers="iscsi=nova.virt.libvirt.volume.LibvirtISCSIVolumeDriver,local=nova.virt.libvirt.volume.LibvirtVolumeDriver,fake=nova.virt.libvirt.volume.LibvirtFakeVolumeDriver,rbd=nova.virt.libvirt.volume.LibvirtNetVolumeDriver,sheepdog=nova.virt.libvirt.volume.LibvirtNetVolumeDriver,nfs=nova.virt.libvirt.volume_nfs.NfsVolumeDriver"</div>

</div><div><br></div></font></font><div><div><span style="font-family:'courier new',monospace">- Ray</span></div><font face="'courier new', monospace">Yours faithfully, Kind regards.<br><br>CIeNET Technologies (Beijing) Co., Ltd<br>

Email: <a href="mailto:qsun01185@cienet.com.cn" target="_blank">qsun01185@cienet.com.cn</a></font><div><font face="'courier new', monospace">Office Phone: +86-01081470088-7079<br>Mobile Phone: +86-13581988291</font></div>

</div>
<br><br><div class="gmail_quote">On Mon, Jan 14, 2013 at 10:22 PM, Benoit ML <span dir="ltr"><<a href="mailto:ben42ml@gmail.com" target="_blank">ben42ml@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hello,<br>
<br>
I've installed openstack Folsom on centos with the epel repo.<br>
Basically the all things works on 4 nodes configuration(controller,<br>
network and 2 compute). Quantum is configured with GRE and L3<br>
services.<br>
<br>
At my point, i'd like to go futher on the storage part.<br>
<br>
I'm trying to use the cinder NFS driver to manage volume.  From what I<br>
read, the driver is basic : créate/delete volume on an NFS share.<br>
Well but I didn't manage to get it work ...  can you help me please ?<br>
what I must do ?<br>
<br>
When I look into the cinder/volume.log, I see that cinder first create<br>
a LV, and  try to stat </nfsPath/><bigUUID>  and fail. Why cinder try<br>
to créate a LV ? and try to access a directory on the nfs share thaht<br>
is not create before ?<br>
<br>
<br>
Moreover if you have any advice for a "good" basic shared storage<br>
architecture with Openstack, plz shared the information ;)<br>
<br>
In cinder.conf :<br>
-----------------------------------------------------------------<br>
volume_driver=cinder.volume.nfs.NfsDriver<br>
state_path = /var/lib/cinder<br>
nfs_shares_config=/etc/cinder/shares.conf<br>
nfs_mount_point_base = /mnt/exports/volumes/<br>
#nfs_sparsed_volumes = True<br>
#nfs_disk_util = df<br>
lock_path = /var/lib/cinder/tmp<br>
-----------------------------------------------------------------<br>
<br>
<br>
Thank you in advance.<br>
<br>
Regards,<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
--<br>
Benoit<br>
<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><br>
</font></span></blockquote></div><br></div></div></div>