CRITICAL cinder [-] No module named drivers.nfs求解
用的centos的yum安装的openstack,现在control节点已经建好,现在在另外一个服务器上起了nfs,想通过cinder把nfs作为control的块设备。但是在运行openstack-cinder-volume的时候出现如下错误:
# /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
cinder的版本号:
# cinder-manage version list
2012.2 (2012.2-LOCALBRANCH:LOCALREVISION)
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
nfsvers=3
[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
看了最新的H版的cinder源码,在cinder\volume\drivers下面有nfs.py。是不是我的版本有问题?
求各位指导。
补充:云计算 , OpenStack