]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Don't stop volume service for failed re-export operations
authorEric Harney <eharney@redhat.com>
Mon, 2 Dec 2013 19:58:57 +0000 (14:58 -0500)
committerEric Harney <eharney@redhat.com>
Mon, 2 Dec 2013 20:15:37 +0000 (15:15 -0500)
commite5d459ae7176f25c2b43606e37c049a52e54e5dc
tree507d65ab2b061c9e74ea8d28bd65821f28fdc67a
parentd3a6d29aef60bdc90c8762875fdf20ecbdfb4bb4
Don't stop volume service for failed re-export operations

Commit b71570 "Set vol driver initialized before deleting volumes"
changed the manager behavior to call set_initialized() before
attempting to re-export volumes.

Drivers should not be considered initialized before re-export has
succeeded.  Otherwise a failure to export causes the volume
service to stop, when that failure should be handled like any other
failure to initialize.

Closes-Bug: 1257049
Related-Bug: 1232177
Change-Id: Ic6bc89ef3f15dbbc971fdd8c91117cccb5c2801b
cinder/volume/manager.py