I believe this failure:
http://logs.openstack.org/09/96009/7/check/check-tempest-dsvm-postgres-full/7fb20c8/console.html
http://logs.openstack.org/09/96009/7/check/check-tempest-dsvm-postgres-full/7fb20c8/logs/screen-c-vol.txt.gz
Is due to this specific sequence which shows a file lock being removed before lvremove has returned:
2014-06-16 17:49:36.443 12132 DEBUG cinder.openstack.common.lockutils [req-62ad2e26-43db-4d1f-b00d-dbbd9cb7e53c 94a588565b4e4888a6381b91a50db8b6 db9a346154a6403dada21dc4e32ff72d - - -] Released file lock "c895c621-772d-4064-af0b-319c0c1b5370-delete_volume" at /opt/stack/data/cinder/cinder-c895c621-772d-4064-af0b-319c0c1b5370-delete_volume for method "lvo_inner2"... inner /opt/stack/new/cinder/cinder/openstack/common/lockutils.py:239
2014-06-16 17:49:36.445 12132 ERROR oslo.messaging.rpc.dispatcher [req-62ad2e26-43db-4d1f-b00d-dbbd9cb7e53c 94a588565b4e4888a6381b91a50db8b6 db9a346154a6403dada21dc4e32ff72d - - -] Exception during message handling: Unexpected error while running command.
Command: sudo cinder-rootwrap /etc/cinder/rootwrap.conf lvremove -f stack-volumes/volume-c895c621-772d-4064-af0b-319c0c1b5370
Exit code: 5
Stdout: ''
Stderr: ' Can\'t remove open logical volume "volume-c895c621-772d-4064-af0b-319c0c1b5370"\n'
2014-06-16 17:49:36.445 12132 TRACE oslo.messaging.rpc.dispatcher Traceback (most recent call last):
2014-06-16 17:49:36.445 12132 TRACE oslo.messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 134, in _dispatch_and_reply
2014-06-16 17:49:36.445 12132 TRACE oslo.messaging.rpc.dispatcher incoming.message))
2014-06-16 17:49:36.445 12132 TRACE oslo.messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 177, in _dispatch
2014-06-16 17:49:36.445 12132 TRACE oslo.messaging.rpc.dispatcher return self._do_dispatch(endpoint, method, ctxt, args)
2014-06-16 17:49:36.445 12132 TRACE oslo.messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 123, in _do_dispatch
2014-06-16 17:49:36.445 12132 TRACE oslo.messaging.rpc.dispatcher result = getattr(endpoint, method)(ctxt, **new_args)
2014-06-16 17:49:36.445 12132 TRACE oslo.messaging.rpc.dispatcher File "/opt/stack/new/cinder/cinder/volume/manager.py", line 124, in lvo_inner1
2014-06-16 17:49:36.445 12132 TRACE oslo.messaging.rpc.dispatcher return lvo_inner2(inst, context, volume_id, **kwargs)
2014-06-16 17:49:36.445 12132 TRACE oslo.messaging.rpc.dispatcher File "/opt/stack/new/cinder/cinder/openstack/common/lockutils.py", line 233, in inner
2014-06-16 17:49:36.445 12132 TRACE oslo.messaging.rpc.dispatcher retval = f(*args, **kwargs)
2014-06-16 17:49:36.445 12132 TRACE oslo.messaging.rpc.dispatcher File "/opt/stack/new/cinder/cinder/volume/manager.py", line 123, in lvo_inner2
2014-06-16 17:49:36.445 12132 TRACE oslo.messaging.rpc.dispatcher return f(*_args, **_kwargs)
2014-06-16 17:49:36.445 12132 TRACE oslo.messaging.rpc.dispatcher File "/opt/stack/new/cinder/cinder/volume/manager.py", line 396, in delete_volume
2014-06-16 17:49:36.445 12132 TRACE oslo.messaging.rpc.dispatcher {'status': 'error_deleting'})
2014-06-16 17:49:36.445 12132 TRACE oslo.messaging.rpc.dispatcher File "/opt/stack/new/cinder/cinder/openstack/common/excutils.py", line 68, in __exit__
2014-06-16 17:49:36.445 12132 TRACE oslo.messaging.rpc.dispatcher six.reraise(self.type_, self.value, self.tb)
2014-06-16 17:49:36.445 12132 TRACE oslo.messaging.rpc.dispatcher File "/opt/stack/new/cinder/cinder/volume/manager.py", line 385, in delete_volume
2014-06-16 17:49:36.445 12132 TRACE oslo.messaging.rpc.dispatcher self.driver.delete_volume(volume_ref)
2014-06-16 17:49:36.445 12132 TRACE oslo.messaging.rpc.dispatcher File "/opt/stack/new/cinder/cinder/volume/drivers/lvm.py", line 233, in delete_volume
2014-06-16 17:49:36.445 12132 TRACE oslo.messaging.rpc.dispatcher self._delete_volume(volume)
2014-06-16 17:49:36.445 12132 TRACE oslo.messaging.rpc.dispatcher File "/opt/stack/new/cinder/cinder/volume/drivers/lvm.py", line 133, in _delete_volume
2014-06-16 17:49:36.445 12132 TRACE oslo.messaging.rpc.dispatcher self.vg.delete(name)
2014-06-16 17:49:36.445 12132 TRACE oslo.messaging.rpc.dispatcher File "/opt/stack/new/cinder/cinder/brick/local_dev/lvm.py", line 610, in delete
2014-06-16 17:49:36.445 12132 TRACE oslo.messaging.rpc.dispatcher root_helper=self._root_helper, run_as_root=True)
2014-06-16 17:49:36.445 12132 TRACE oslo.messaging.rpc.dispatcher File "/opt/stack/new/cinder/cinder/utils.py", line 136, in execute
2014-06-16 17:49:36.445 12132 TRACE oslo.messaging.rpc.dispatcher return processutils.execute(*cmd, **kwargs)
2014-06-16 17:49:36.445 12132 TRACE oslo.messaging.rpc.dispatcher File "/opt/stack/new/cinder/cinder/openstack/common/processutils.py", line 173, in execute
2014-06-16 17:49:36.445 12132 TRACE oslo.messaging.rpc.dispatcher cmd=' '.join(cmd))
2014-06-16 17:49:36.445 12132 TRACE oslo.messaging.rpc.dispatcher ProcessExecutionError: Unexpected error while running command.
2014-06-16 17:49:36.445 12132 TRACE oslo.messaging.rpc.dispatcher Command: sudo cinder-rootwrap /etc/cinder/rootwrap.conf lvremove -f stack-volumes/volume-c895c621-772d-4064-af0b-319c0c1b5370
2014-06-16 17:49:36.445 12132 TRACE oslo.messaging.rpc.dispatcher Exit code: 5
2014-06-16 17:49:36.445 12132 TRACE oslo.messaging.rpc.dispatcher Stdout: ''
2014-06-16 17:49:36.445 12132 TRACE oslo.messaging.rpc.dispatcher Stderr: ' Can\'t remove open logical volume "volume-c895c621-772d-4064-af0b-319c0c1b5370"\n'
2014-06-16 17:49:36.445 12132 TRACE oslo.messaging.rpc.dispatcher
logstash query:
message:"Can\\'t remove open logical volume" AND message:"Exit code: 5" AND message:"Exception during message handling" AND tags:"screen- c-vol.txt" AND build_status: "FAILURE"
seen 7 times in the last 48 hours