]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Set vol driver initialized before deleting volumes
authorBill Owen <billowen@us.ibm.com>
Fri, 27 Sep 2013 18:22:57 +0000 (11:22 -0700)
committerBill Owen <billowen@us.ibm.com>
Fri, 27 Sep 2013 18:34:19 +0000 (11:34 -0700)
commitb715701ff4387d55e7eb4c301a0edea92fa4e0e8
treec87e911389c2903b46c2574ba4d001c29b1aebe3
parent4e27ca1dd67b57d1bec20a56b6b090701a172c43
Set vol driver initialized before deleting volumes

Move the call to set_initialized before calling delete_volume in
init_host.  The delete_volume method has a precondition that the
driver be initialized.

Closes-Bug: #1232177

Change-Id: Ie73bd30e0ab80d489ab61ba8a60fac51ccb505b5
cinder/volume/manager.py