]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Handle ECONNREFUSED exception in SolidFire driver.
authorJohn Griffith <john.griffith@solidfire.com>
Fri, 28 Jun 2013 21:56:46 +0000 (15:56 -0600)
committerJohn Griffith <john.griffith@solidfire.com>
Fri, 28 Jun 2013 22:23:29 +0000 (16:23 -0600)
commitd596bfe6562307343858f419062756640000b0c8
treec223fdc1f6454eb077a9e2e874828e40869c57e7
parent066a6760f9c7c64411b40918fe7f5c218b391218
Handle ECONNREFUSED exception in SolidFire driver.

The SolidFire driver wasn't handling connection exceptions
during init (capacity updates from scheduler).

This patch add a try/except wrap around the two places
that this is called and logs and error rather than crashing
cinder-volume service.

Fixes bug: 1195910

Change-Id: I30347cc0973bbf9dbc30ea02e204560095fc75b4
cinder/volume/drivers/solidfire.py