volume create fails in /usr/sbin/thin_check: execvp failed: No such file or directory
To reproduce:
Use Ubuntu 16.10
I used Gorka's HA testing local.conf, but reproduced this on master (also repro's on his patches)
curl -o local.conf http://gorka.eguileor.com/files/cinder/manual_ha_aa_local.conf
$ cinder create --name mydisk 1
2016-08-19 15:22:05.936 ERROR cinder.brick.local_dev.lvm [req-9d5bf5c2-52d9-4e51-8442-dd4402f4eb2f 9feac1ca74a84c748f875f64ae5396cf e64bdee31c0747c4b2d2bbe313baf5ed] Error creating Volume
2016-08-19 15:22:05.936 TRACE cinder.brick.local_dev.lvm Traceback (most recent call last):
2016-08-19 15:22:05.936 TRACE cinder.brick.local_dev.lvm File "/opt/stack/cinder/cinder/brick/local_dev/lvm.py", line 534, in create_volume
2016-08-19 15:22:05.936 TRACE cinder.brick.local_dev.lvm run_as_root=True)
2016-08-19 15:22:05.936 TRACE cinder.brick.local_dev.lvm File "/opt/stack/cinder/cinder/utils.py", line 121, in execute
2016-08-19 15:22:05.936 TRACE cinder.brick.local_dev.lvm return processutils.execute(*cmd, **kwargs)
2016-08-19 15:22:05.936 TRACE cinder.brick.local_dev.lvm File "/usr/local/lib/python2.7/dist-packages/oslo_concurrency/processutils.py", line 389, in execute
2016-08-19 15:22:05.936 TRACE cinder.brick.local_dev.lvm cmd=sanitized_cmd)
2016-08-19 15:22:05.936 TRACE cinder.brick.local_dev.lvm ProcessExecutionError: Unexpected error while running command.
2016-08-19 15:22:05.936 TRACE cinder.brick.local_dev.lvm Command: sudo cinder-rootwrap /etc/cinder/rootwrap.conf env LC_ALL=C lvcreate -T -V 1g -n volume-add4b37b-6194-4fa4-97f4-d0739ba4e890 stack-volumes-lvmdriver-1/stack-volumes-lvmdriver-1-pool
2016-08-19 15:22:05.936 TRACE cinder.brick.local_dev.lvm Exit code: 5
2016-08-19 15:22:05.936 TRACE cinder.brick.local_dev.lvm Stdout: u''
2016-08-19 15:22:05.936 TRACE cinder.brick.local_dev.lvm Stderr: u' /usr/sbin/thin_check: execvp failed: No such file or directory\n Check of pool stack-volumes-lvmdriver-1/stack-volumes-lvmdriver-1-pool failed (status:2). Manual repair required!\n Aborting. Failed to locally activate thin pool stack-volumes-lvmdriver-1/stack-volumes-lvmdriver-1-pool.\n'
2016-08-19 15:22:05.936 TRACE cinder.brick.local_dev.lvm
2016-08-19 15:22:05.941 ERROR cinder.brick.local_dev.lvm [req-9d5bf5c2-52d9-4e51-8442-dd4402f4eb2f 9feac1ca74a84c748f875f64ae5396cf e64bdee31c0747c4b2d2bbe313baf5ed] Cmd :sudo cinder-rootwrap /etc/cinder/rootwrap.conf env LC_ALL=C lvcreate -T -V 1g -n volume-add4b37b-6194-4fa4-97f4-d0739ba4e890 stack-volumes-lvmdriver-1/stack-volumes-lvmdriver-1-pool
2016-08-19 15:22:05.943 ERROR cinder.brick.local_dev.lvm [req-9d5bf5c2-52d9-4e51-8442-dd4402f4eb2f 9feac1ca74a84c748f875f64ae5396cf e64bdee31c0747c4b2d2bbe313baf5ed] StdOut :
2016-08-19 15:22:05.944 ERROR cinder.brick.local_dev.lvm [req-9d5bf5c2-52d9-4e51-8442-dd4402f4eb2f 9feac1ca74a84c748f875f64ae5396cf e64bdee31c0747c4b2d2bbe313baf5ed] StdErr : /usr/sbin/thin_check: execvp failed: No such file or directory
Check of pool stack-volumes-lvmdriver-1/stack-volumes-lvmdriver-1-pool failed (status:2). Manual repair required!
Aborting. Failed to locally activate thin pool stack-volumes-lvmdriver-1/stack-volumes-lvmdriver-1-pool.
Tested this on Fedora 23 and is working fine, no issues there.