[Openstack] cinder netapp 7 mode nfs driver - failed to mount share

K, Shanthakumar (HP Cloud) shanthakumar.k at hp.com
Thu Dec 4 19:19:13 UTC 2014


Hi All,


I'm trying to integrate Netapp 7 mode NFS driver with openstack cinder volume provisioning using Juno 2.

During the driver initialization I'm getting the following error and volume creation is failing.

Do I need to do any changes in storage or client side ?

Please refer the log below

2014-12-04 18:40:32.642 49304 DEBUG cinder.volume.drivers.nfs [req-e14faed4-4ff7-47a0-8fcb-67d1a4cfd2e4 - - - - -] shares loaded: {u'10.XX.XX.XX:/nfsvol': None} _load_shares_config /opt/stack/venvs/openstack/local/lib/python2.7/site-packages/cinder/volume/drivers/nfs.py:326

2014-12-04 18:40:32.655 49304 DEBUG cinder.openstack.common.processutils [req-e14faed4-4ff7-47a0-8fcb-67d1a4cfd2e4 - - - - -] Running cmd (subprocess): mkdir -p /mnt/state/var/lib/cinder/mnt/527dc3646de39dbda076e3a72dca54e5 execute /opt/stack/venvs/openstack/local/lib/python2.7/site-packages/cinder/openstack/common/processutils.py:160

2014-12-04 18:40:32.666 49304 DEBUG cinder.openstack.common.processutils [req-e14faed4-4ff7-47a0-8fcb-67d1a4cfd2e4 - - - - -] Running cmd (subprocess): sudo cinder-rootwrap /etc/cinder/rootwrap.conf mount -t nfs -o vers=4,minorversion=1 10.XX.XX.XX:/nfsvol /mnt/state/var/lib/cinder/mnt/527dc3646de39dbda076e3a72dca54e5 execute /opt/stack/venvs/openstack/local/lib/python2.7/site-packages/cinder/openstack/common/processutils.py:160

2014-12-04 18:40:32.779 49304 DEBUG cinder.brick.remotefs.remotefs [req-e14faed4-4ff7-47a0-8fcb-67d1a4cfd2e4 - - - - -] Failed to do pnfs mount. _mount_nfs /opt/stack/venvs/openstack/local/lib/python2.7/site-packages/cinder/brick/remotefs/remotefs.py:128

2014-12-04 18:40:32.780 49304 DEBUG cinder.openstack.common.processutils [req-e14faed4-4ff7-47a0-8fcb-67d1a4cfd2e4 - - - - -] Running cmd (subprocess): sudo cinder-rootwrap /etc/cinder/rootwrap.conf mount -t nfs 10.XX.XX.XX:/nfsvol /mnt/state/var/lib/cinder/mnt/527dc3646de39dbda076e3a72dca54e5 execute /opt/stack/venvs/openstack/local/lib/python2.7/site-packages/cinder/openstack/common/processutils.py:160

2014-12-04 18:40:32.915 49304 DEBUG cinder.brick.remotefs.remotefs [req-e14faed4-4ff7-47a0-8fcb-67d1a4cfd2e4 - - - - -] Failed to do nfs mount. _mount_nfs /opt/stack/venvs/openstack/local/lib/python2.7/site-packages/cinder/brick/remotefs/remotefs.py:128

2014-12-04 18:40:32.916 49304 WARNING cinder.volume.drivers.nfs [req-e14faed4-4ff7-47a0-8fcb-67d1a4cfd2e4 - - - - -] Exception during mounting NFS mount failed for share 10.XX.XX.XX:/nfsvol.Error - {'pnfs': u"Unexpected error while running command.\nCommand: sudo cinder-rootwrap /etc/cinder/rootwrap.conf mount -t nfs -o vers=4,minorversion=1 10.XX.XX.XX:/nfsvol /mnt/state/var/lib/cinder/mnt/527dc3646de39dbda076e3a72dca54e5\nExit code: 32\nStdout: ''\nStderr: 'mount.nfs: an incorrect mount option was specified\\n'", 'nfs': u"Unexpected error while running command.\nCommand: sudo cinder-rootwrap /etc/cinder/rootwrap.conf mount -t nfs 10.XX.XX.XX:/nfsvol /mnt/state/var/lib/cinder/mnt/527dc3646de39dbda076e3a72dca54e5\nExit code: 32\nStdout: ''\nStderr: 'mount.nfs: Protocol not supported\\n'"}

2014-12-04 18:40:32.917 49304 DEBUG cinder.volume.drivers.nfs [req-e14faed4-4ff7-47a0-8fcb-67d1a4cfd2e4 - - - - -] Available shares [] _ensure_shares_mounted /opt/stack/venvs/openstack/local/lib/python2.7/site-packages/cinder/volume/drivers/nfs.py:181
Thanks & Regards,
Shanthakumar K
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20141204/167928af/attachment.html>


More information about the Openstack mailing list