]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Add debug message for lvremove after udev settle
authorJohn Griffith <john.griffith@solidfire.com>
Wed, 28 Jan 2015 04:20:38 +0000 (22:20 -0600)
committerJohn Griffith <john.griffith@solidfire.com>
Wed, 28 Jan 2015 16:09:32 +0000 (10:09 -0600)
commitaac29b3a5c7dcbc6c582fff52b477fcda6bfbdc6
treedb038c603863ef9c1fa7355b346b24067388cfb5
parenta36100bd34a22ddc3b620947809a41d328b1e949
Add debug message for lvremove after udev settle

Just add a simple debug level log message for lvremove calls that
are made and successfully completed as part of error recovery.

Currently some platforms commonly receive a "Unable to deactivate"
error message when running an lvremove.  We have a retry mechanism
that performs a udevsettle and retries that in most cases results
in a succesful removal.

This patch just adds an explicit debug log message so we can track
this more easily and gather some statistical data on it.

Change-Id: I8f2480491f3cb7f078597113f967c1e285fdf105
cinder/brick/local_dev/lvm.py