<div dir="ltr"><p style="font-size:14px;margin:0px 0px 14px;padding:0px 5px 5px 0px;border:none;line-height:1.4;font-family:'Helvetica Neue',Arial,Helvetica,sans-serif;color:rgb(75,75,75)">I installed the openstack on CentOS6.3 by YUM. <br>
And I have deploy a controller node with ip 10.32.11.240. <br>Now, I want to add a nfs node(ip 10.32.19.104) to the controller with Cinder.</p><p style="font-size:14px;margin:0px 0px 14px;padding:0px 5px 5px 0px;border:none;line-height:1.4;font-family:'Helvetica Neue',Arial,Helvetica,sans-serif;color:rgb(75,75,75)">
However, I encountered a problem like below:</p><p style="font-size:14px;margin:0px 0px 14px;padding:0px 5px 5px 0px;border:none;line-height:1.4;font-family:'Helvetica Neue',Arial,Helvetica,sans-serif;color:rgb(75,75,75)">
~#/etc/init.d/openstack-cinder-volume start <br>~# tail /var/log/cinder/volume.log <br><strong>2013-11-19 10:57:56 25696 CRITICAL cinder [-] No module named drivers.nfs</strong></p><p style="font-size:14px;margin:0px 0px 14px;padding:0px 5px 5px 0px;border:none;line-height:1.4;font-family:'Helvetica Neue',Arial,Helvetica,sans-serif;color:rgb(75,75,75)">
Here is the cinder and openstack version I have installed:</p><p style="font-size:14px;margin:0px 0px 14px;padding:0px 5px 5px 0px;border:none;line-height:1.4;font-family:'Helvetica Neue',Arial,Helvetica,sans-serif;color:rgb(75,75,75)">
~# cinder-manage version list <br>2012.2 (2012.2-LOCALBRANCH:LOCALREVISION)</p><p style="font-size:14px;margin:0px 0px 14px;padding:0px 5px 5px 0px;border:none;line-height:1.4;font-family:'Helvetica Neue',Arial,Helvetica,sans-serif;color:rgb(75,75,75)">
And below is the configuration of the cinder: <br>~# cat /etc/cinder/cinder.conf <br>[DEFAULT] <br>logdir = /var/log/cinder <br>state_path = /var/lib/cinder <br>lock_path = /var/lib/cinder/tmp <br>volumes_dir = /etc/cinder/volumes <br>
iscsi_helper = tgtadm <br>sql_connection = mysql://<a href="http://nova:nova@10.32.11.240/cinder" target="_blank">nova:nova@10.32.11.240/cinder</a> <br>rpc_backend = cinder.openstack.common.rpc.impl_qpid <br>rootwrap_config = /etc/cinder/rootwrap.conf <br>
my_ip = 10.32.19.104 <br>qpid_hostname = 10.32.11.240 <br>qpid_port = 5672 <br>volume_driver=cinder.volume.drivers.nfs.NfsDriver <br>nfs_shares_config=/home/joren/openstack/shares.txt <br>nfs_mount_point_base=/home/cinder_mount <br>
[keystone_authtoken] <br>admin_tenant_name = %SERVICE_TENANT_NAME% <br>admin_user = %SERVICE_USER% <br>admin_password = %SERVICE_PASSWORD% <br>auth_host = 10.32.11.240 <br>auth_port = 35357 <br>auth_protocol = http <br>signing_dirname = /tmp/keystone-signing-cinder</p>
<p style="font-size:14px;margin:0px 0px 14px;padding:0px 5px 5px 0px;border:none;line-height:1.4;font-family:'Helvetica Neue',Arial,Helvetica,sans-serif;color:rgb(75,75,75)">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?</p>
<p style="font-size:14px;margin:0px 0px 14px;padding:0px 5px 5px 0px;border:none;line-height:1.4;font-family:'Helvetica Neue',Arial,Helvetica,sans-serif;color:rgb(75,75,75)">Any help is appreciated. <br><br></p><p style="font-size:14px;margin:0px 0px 14px;padding:0px 5px 5px 0px;border:none;line-height:1.4;font-family:'Helvetica Neue',Arial,Helvetica,sans-serif;color:rgb(75,75,75)">
Thanks.</p><p style="font-size:14px;margin:0px 0px 14px;padding:0px 5px 5px 0px;border:none;line-height:1.4;font-family:'Helvetica Neue',Arial,Helvetica,sans-serif;color:rgb(75,75,75)"><span style="line-height:1.4">Joren.W</span></p>
</div>