It looks like NFS is no longer using sudo/rootwrap when running the mount command.
2013-09-11 14:55:41.919 8586 INFO cinder.volume.manager [-] Updating volume status 2013-09-11 14:55:41.971 8586 WARNING cinder.volume.drivers.nfs [-] Exception during mounting Unexpected error while running command. Command: sudo mount -t nfs -o rw,sync 192.168.100.30:/nfs/cs2_cinder1 /etc/cinder/volumes/08624ff4b087fa2469aa49ffe177f16a Exit code: 1 Stdout: '' Stderr: 'sudo: no tty present and no askpass program specified\n'
My guess is that this was introduced with https://review.openstack.org/#/c/43064 . Presumably affects GlusterFS as well but I haven't tried that.
It looks like NFS is no longer using sudo/rootwrap when running the mount command.
2013-09-11 14:55:41.919 8586 INFO cinder. volume. manager [-] Updating volume volume. drivers. nfs [-] Exception 100.30: /nfs/cs2_ cinder1 volumes/ 08624ff4b087fa2 469aa49ffe177f1 6a
status
2013-09-11 14:55:41.971 8586 WARNING cinder.
during mounting Unexpected error while running command.
Command: sudo mount -t nfs -o rw,sync 192.168.
/etc/cinder/
Exit code: 1
Stdout: ''
Stderr: 'sudo: no tty present and no askpass program specified\n'
My guess is that this was introduced with https:/ /review. openstack. org/#/c/ 43064 . Presumably affects GlusterFS as well but I haven't tried that.