]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
CoraidDriver: do not call login from __init__
authorJean-Baptiste RANSY <jean-baptiste.ransy@alyseo.com>
Thu, 21 Mar 2013 11:08:53 +0000 (12:08 +0100)
committerJean-Baptiste RANSY <jean-baptiste.ransy@alyseo.com>
Thu, 21 Mar 2013 11:08:53 +0000 (12:08 +0100)
commit28102bc54ac2793ea17f47c81f6812bb84615834
tree65884a2ef557b12d209a9572e5f962ef7b39421a
parent65e291054681e45d3160d995c5648b8311bc1a69
CoraidDriver: do not call login from __init__

We should not call _login from the driver's __init__.
If the ESM is down, the constructor will fail.

- self._login()

Fixes bug 1157500

Change-Id: Ie57fbb6d3704d270a81cd9eb056d7988989da1f8
cinder/volume/drivers/coraid.py