cinder-backup: incorrect NFS mount options

Bug #1610515 reported by Stanislav Kolenkin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Fix Released
High
Ivan Kolodyazhny
8.0.x
Fix Released
High
Ivan Kolodyazhny

Bug Description

In /etc/cinder/cinder.conf
[DEFAULT]
backup_driver=cinder.backup.drivers.nfs
backup_share=10.10.10.10:/vol_backup

2016-08-05 14:54:59.757 30587 ERROR oslo_messaging.rpc.dispatcher [req-ed426f29-a322-422a-bc89-bfc424062841 - - - - -] Exception during message handling: NFS mount failed for share 10.10.10.10:/vol_backup. 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.10.10.10:/vol_backup /var/lib/cinder/back
up_mount/56577eeb72cbf65131d5645e9702016e\nExit code: 32\nStdout: u''\nStderr: u'mount.nfs: Protocol not supported\\n'", 'nfs': u"Unexpected error while running command.\nCommand: sudo cinder-rootwrap /
etc/cinder/rootwrap.conf mount -t nfs -o {} 10.10.10.10:/vol_backup /var/lib/cinder/backup_mount/56577eeb72cbf65131d5645e9702016e\nExit code: 32\nStdout: u''\nStderr: u'mount.nfs: an incorrect mount opt
ion was specified\\n'"}

root@node-1:~# mount -t nfs -o {} 172.18.52.241:/vol_nova /var/lib/cinder/backup_mount/56577eeb72cbf65131d5645e9702016e
mount.nfs: an incorrect mount option was specified

After that I have added options 'backup_mount_options='vers=3'' in config file /etc/cinder/cinder.conf and now mount works fine.

Ivan Kolodyazhny (e0ne)
affects: cinder → mos
Changed in mos:
assignee: nobody → Ivan Kolodyazhny (e0ne)
status: New → In Progress
Revision history for this message
Ivan Kolodyazhny (e0ne) wrote :
Changed in mos:
milestone: none → 9.1
importance: Undecided → High
tags: added: customer-found
Revision history for this message
Ivan Kolodyazhny (e0ne) wrote :
tags: added: on-verification
Ivan Kolodyazhny (e0ne)
Changed in mos:
status: In Progress → Fix Committed
Revision history for this message
Sofiia Andriichenko (sandriichenko) wrote :

verified on 9.1 snapshot #251

Changed in mos:
status: Fix Committed → Fix Released
Revision history for this message
Vadim Rovachev (vrovachev) wrote :

We have not possibility to check this patch. We checked that code from patch contains in MU3 packages.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.