]> 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)
committerjohn-griffith <john.griffith@solidfire.com>
Sat, 23 Mar 2013 21:36:49 +0000 (15:36 -0600)
commitbea1b96ab5f5be05095a6ce362321fb63de2b0e6
treecbeb27795eb5b6012ac41f7d294225be74a5c8f7
parent407d9e5e95ad8a921231bfa81e903924c2617c34
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
(cherry picked from commit 28102bc54ac2793ea17f47c81f6812bb84615834)
cinder/volume/drivers/coraid.py