]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Add the driver name to get stats log output
authorWalter A. Boring IV <walter.boring@hp.com>
Mon, 9 Dec 2013 19:58:40 +0000 (11:58 -0800)
committerWalter A. Boring IV <walter.boring@hp.com>
Wed, 11 Dec 2013 23:26:07 +0000 (15:26 -0800)
commita83506d170e90b111b7e63fab9f585883971f316
tree9297342c60953c1b121aea69f2c60b46b4b755f4
parent0f24cf91e1a0ea3b99a46da501d0195456dc0b88
Add the driver name to get stats log output

When the manager call tries to update the driver
stats, it checks to ensure the driver is initialized.
When the driver hasn't been initialized, it logs
a warning without the driver name.  This is confusing
for multiple backends.   This patch adds the driver
name, version and the config group name, to the log output,
so the admin can see which driver is failing.

Change-Id: I82e8aa969e7baa55db9c8dddc1c08db2a1a41091
Closes-Bug: #1259279
cinder/volume/manager.py