2015-12-27 21:21:44.807 DEBUG os_brick.remotefs.remotefs [req-0680b554-47e4-4a99-abee-042268826751 admin] Failed to do nfs mount. _mount_nfs /usr/local/lib/python2.7/dist-packages/os_brick/remotefs/remotefs.py:146
2015-12-27 21:21:44.890 ERROR oslo_messaging.rpc.dispatcher [req-0680b554-47e4-4a99-abee-042268826751 admin] Exception during message handling: NFS mount failed for share 10.109.196.253:/BackupFS2. Error - {'pnfs': u"Unexpected error while running command.\nCommand: sudo cinder-rootwrap /etc/cinder/rootwrap.conf mount -t nfs -o None,vers=4,minorversion=1 10.109.196.253:/BackupFS2 /opt/stack/data/cinder/backup_mount/b83c6af067d5e837c7c545b3f4e629f1\nExit code: 32\nStdout: u''\nStderr: u'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 -o None 10.109.196.253:/BackupFS2 /opt/stack/data/cinder/backup_mount/b83c6af067d5e837c7c545b3f4e629f1\nExit code: 32\nStdout: u''\nStderr: u'mount.nfs: an incorrect mount option was specified\\n'"}
2015-12-27 21:21:44.890 1165 ERROR oslo_messaging.rpc.dispatcher Traceback (most recent call last):
2015-12-27 21:21:44.890 1165 ERROR oslo_messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 142, in _dispatch_and_reply
2015-12-27 21:21:44.890 1165 ERROR oslo_messaging.rpc.dispatcher executor_callback))
2015-12-27 21:21:44.890 1165 ERROR oslo_messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 186, in _dispatch
2015-12-27 21:21:44.890 1165 ERROR oslo_messaging.rpc.dispatcher executor_callback)
2015-12-27 21:21:44.890 1165 ERROR oslo_messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 129, in _do_dispatch
2015-12-27 21:21:44.890 1165 ERROR oslo_messaging.rpc.dispatcher result = func(ctxt, **new_args)
2015-12-27 21:21:44.890 1165 ERROR oslo_messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/osprofiler/profiler.py", line 105, in wrapper
2015-12-27 21:21:44.890 1165 ERROR oslo_messaging.rpc.dispatcher return f(*args, **kwargs)
2015-12-27 21:21:44.890 1165 ERROR oslo_messaging.rpc.dispatcher File "/opt/stack/cinder/cinder/backup/manager.py", line 408, in create_backup
2015-12-27 21:21:44.890 1165 ERROR oslo_messaging.rpc.dispatcher self._update_backup_error(backup, context, six.text_type(err))
2015-12-27 21:21:44.890 1165 ERROR oslo_messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 204, in __exit__
2015-12-27 21:21:44.890 1165 ERROR oslo_messaging.rpc.dispatcher six.reraise(self.type_, self.value, self.tb)
2015-12-27 21:21:44.890 1165 ERROR oslo_messaging.rpc.dispatcher File "/opt/stack/cinder/cinder/backup/manager.py", line 400, in create_backup
2015-12-27 21:21:44.890 1165 ERROR oslo_messaging.rpc.dispatcher backup_service = self.service.get_backup_driver(context)
2015-12-27 21:21:44.890 1165 ERROR oslo_messaging.rpc.dispatcher File "/opt/stack/cinder/cinder/backup/drivers/nfs.py", line 80, in get_backup_driver
2015-12-27 21:21:44.890 1165 ERROR oslo_messaging.rpc.dispatcher return NFSBackupDriver(context)
2015-12-27 21:21:44.890 1165 ERROR oslo_messaging.rpc.dispatcher File "/opt/stack/cinder/cinder/backup/drivers/nfs.py", line 55, in __init__
2015-12-27 21:21:44.890 1165 ERROR oslo_messaging.rpc.dispatcher backup_path = self._init_backup_repo_path()
2015-12-27 21:21:44.890 1165 ERROR oslo_messaging.rpc.dispatcher File "/opt/stack/cinder/cinder/backup/drivers/nfs.py", line 75, in _init_backup_repo_path
2015-12-27 21:21:44.890 1165 ERROR oslo_messaging.rpc.dispatcher remotefsclient.mount(self.backup_share)
2015-12-27 21:21:44.890 1165 ERROR oslo_messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/os_brick/remotefs/remotefs.py", line 110, in mount
2015-12-27 21:21:44.890 1165 ERROR oslo_messaging.rpc.dispatcher self._mount_nfs(share, mount_path, flags)
2015-12-27 21:21:44.890 1165 ERROR oslo_messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/os_brick/remotefs/remotefs.py", line 150, in _mount_nfs
2015-12-27 21:21:44.890 1165 ERROR oslo_messaging.rpc.dispatcher 'error': mnt_errors})
2015-12-27 21:21:44.890 1165 ERROR oslo_messaging.rpc.dispatcher BrickException: NFS mount failed for share 10.109.196.253:/BackupFS2. Error - {'pnfs': u"Unexpected error while running command.\nCommand: sudo cinder-rootwrap /etc/cinder/rootwrap.conf mount -t nfs -o None,vers=4,minorversion=1 10.109.196.253:/BackupFS2 /opt/stack/data/cinder/backup_mount/b83c6af067d5e837c7c545b3f4e629f1\nExit code: 32\nStdout: u''\nStderr: u'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 -o None 10.109.196.253:/BackupFS2 /opt/stack/data/cinder/backup_mount/b83c6af067d5e837c7c545b3f4e629f1\nExit code: 32\nStdout: u''\nStderr: u'mount.nfs: an incorrect mount option was specified\\n'"}
Openstack is installed on Ubuntu Server.
I tried to remove the options then it succeeded, so the options are incorrect , should be modified.
stack@compute1:/opt/stack/logs/screen$ sudo cinder-rootwrap /etc/cinder/rootwrap.conf mount -t nfs -o None,vers=4,minorversion=1 10.109.196.253:/BackupFS2 /opt/stack/data/cinder/backup_mount/b83c6af067d5e837c7c545b3f4e629f1
mount.nfs: an incorrect mount option was specified
stack@compute1:/opt/stack/logs/screen$ sudo cinder-rootwrap /etc/cinder/rootwrap.conf mount -t nfs 10.109.196.253:/BackupFS2 /opt/stack/data/cinder/backup_mount/b83c6af067d5e837c7c545b3f4e629f1
stack@compute1:/opt/stack/logs/screen$ mount |grep Backup
10.109.196.253:/BackupFS2 on /opt/stack/data/cinder/backup_mount/b83c6af067d5e837c7c545b3f4e629f1 type nfs (rw,vers=4,addr=10.109.196.253,clientaddr=10.109.194.147)
Hi Sharma,
Any comment?