]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix dropped exception for create_export in vol manager
authorEric Harney <eharney@redhat.com>
Thu, 10 Apr 2014 16:57:50 +0000 (12:57 -0400)
committerEric Harney <eharney@redhat.com>
Thu, 26 Jun 2014 17:28:15 +0000 (17:28 +0000)
commit77b6a9f129977799bc5c6ccec6caaf707fa3047c
tree0d9966275f8cd5356600be12a876f6db2d3109ac
parente9ff57cc4d65fdfcb8367f85ba56307f9940649a
Fix dropped exception for create_export in vol manager

If self.driver.create_export() fails, model_update is
False and this exception is therefore not logged,
causing things to break later in the execution path in
unexpected ways.

Closes-Bug: #1300148

Change-Id: I77600f3311efd71fa644adb6d65e4b19ab306203
cinder/tests/test_volume.py
cinder/volume/manager.py