Comment 0 for bug 1223879

Revision history for this message
Eric Harney (eharney) wrote :

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.