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: https://bugs.launchpad.net/cinder/+bug/1097266
*/etc/cinder/cinder.conf * [DEFAULT] rootwrap_config=/etc/cinder/rootwrap.conf sql_connection = mysql:// cinder:[email protected]/cinder api_paste_confg = /etc/cinder/api-paste.ini iscsi_helper=ietadm volume_name_template = volume-%s volume_group = vg_cinder #volume_group = cinder-volumes verbose = True auth_strategy = keystone #osapi_volume_listen_port=5900 volumes_dir=/var/lib/cinder/volumes/ rabbit_host=controller.cienet.com.cn volume_driver=cinder.volume.nfs.NfsDriver ######## defined in cinder.volume.drivers.nfs ######## nfs_shares_config=/var/lib/cinder/nfsshare nfs_mount_point_base=/var/lib/cinder/volumes nfs_disk_util=df nfs_sparsed_volumes=true */etc/cinder/rootwrap.d/volume.filters add* # cinder/volume/nfs.py stat: CommandFilter, /usr/bin/stat, root mount: CommandFilter, /bin/mount, root df: CommandFilter, /bin/df, root truncate: CommandFilter, /usr/bin/truncate, root chmod: CommandFilter, /bin/chmod, root rm: CommandFilter, /bin/rm, root */etc/nova/nova.conf add* # for cinder use volume as nfs 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" - Ray Yours faithfully, Kind regards. CIeNET Technologies (Beijing) Co., Ltd Email: [email protected] Office Phone: +86-01081470088-7079 Mobile Phone: +86-13581988291 On Mon, Jan 14, 2013 at 10:22 PM, Benoit ML <[email protected]> wrote: > Hello, > > I've installed openstack Folsom on centos with the epel repo. > Basically the all things works on 4 nodes configuration(controller, > network and 2 compute). Quantum is configured with GRE and L3 > services. > > At my point, i'd like to go futher on the storage part. > > I'm trying to use the cinder NFS driver to manage volume. From what I > read, the driver is basic : créate/delete volume on an NFS share. > Well but I didn't manage to get it work ... can you help me please ? > what I must do ? > > When I look into the cinder/volume.log, I see that cinder first create > a LV, and try to stat </nfsPath/><bigUUID> and fail. Why cinder try > to créate a LV ? and try to access a directory on the nfs share thaht > is not create before ? > > > Moreover if you have any advice for a "good" basic shared storage > architecture with Openstack, plz shared the information ;) > > In cinder.conf : > ----------------------------------------------------------------- > volume_driver=cinder.volume.nfs.NfsDriver > state_path = /var/lib/cinder > nfs_shares_config=/etc/cinder/shares.conf > nfs_mount_point_base = /mnt/exports/volumes/ > #nfs_sparsed_volumes = True > #nfs_disk_util = df > lock_path = /var/lib/cinder/tmp > ----------------------------------------------------------------- > > > Thank you in advance. > > Regards, > > -- > -- > Benoit > > _______________________________________________ > 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

