[Openstack] cinder [-] No module named drivers.nfs

JorenWu jorenwu at gmail.com
Tue Nov 19 12:17:45 UTC 2013


I installed the openstack on CentOS6.3 by YUM.
And I have deploy a controller node with ip 10.32.11.240.
Now, I want to add a nfs node(ip 10.32.19.104) to the controller with
Cinder.

However, I encountered a problem like below:

~#/etc/init.d/openstack-cinder-volume start
~# tail /var/log/cinder/volume.log
*2013-11-19 10:57:56 25696 CRITICAL cinder [-] No module named drivers.nfs*

Here is the cinder and openstack version I have installed:

~# cinder-manage version list
2012.2 (2012.2-LOCALBRANCH:LOCALREVISION)

And below is the configuration of the cinder:
~# cat /etc/cinder/cinder.conf
[DEFAULT]
logdir = /var/log/cinder
state_path = /var/lib/cinder
lock_path = /var/lib/cinder/tmp
volumes_dir = /etc/cinder/volumes
iscsi_helper = tgtadm
sql_connection = mysql://nova:nova@10.32.11.240/cinder
rpc_backend = cinder.openstack.common.rpc.impl_qpid
rootwrap_config = /etc/cinder/rootwrap.conf
my_ip = 10.32.19.104
qpid_hostname = 10.32.11.240
qpid_port = 5672
volume_driver=cinder.volume.drivers.nfs.NfsDriver
nfs_shares_config=/home/joren/openstack/shares.txt
nfs_mount_point_base=/home/cinder_mount
[keystone_authtoken]
admin_tenant_name = %SERVICE_TENANT_NAME%
admin_user = %SERVICE_USER%
admin_password = %SERVICE_PASSWORD%
auth_host = 10.32.11.240
auth_port = 35357
auth_protocol = http
signing_dirname = /tmp/keystone-signing-cinder

At last, I read the codes of Cinder in Havana version, there is a nfs.py
under directory cinder\volume\drivers. Is that the version I installed not
support nfs?

Any help is appreciated.

Thanks.

Joren.W
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20131119/a1ad879e/attachment.html>


More information about the Openstack mailing list