参考 http://www.gossamer-threads.com/lists/openstack/dev/23077?do=post_view_threaded#23077
file:///home/cloud/Desktop/bell/works_record/records/openstack/cinder/netappnfsdriver-in-folsom.html (netapp nfsdrive 设置)
在lvm+iscsi的基础上修改配置
0.controller/cinder_service 以及computer需要安装nfs-common
controller/cinder_service 节点
1./etc/cinder/cinder.conf
volume_driver=cinder.volume.nfs.NfsDriver (添加)
nfs_shares_config=/var/lib/cinder/nfsshare (添加)
nfs_mount_point_base=/home/cloud/whl (添加)
2.*/etc/cinder/rootwrap.d/volume.filters add* (参考https://review.openstack.org/#/c/17762/1/etc/cinder/rootwrap.d/volume.filters)
# 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
3.*/etc/nova/nova.conf add*