]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Catch and report errors from copy image to volume.
authorJohn Griffith <john.griffith@solidfire.com>
Mon, 27 May 2013 20:04:56 +0000 (20:04 +0000)
committerMike Perez <thingee@gmail.com>
Wed, 29 May 2013 05:57:48 +0000 (22:57 -0700)
commitb2371aeff9eccbd28952dd0f568da26722dc58f7
tree81c8083d576b28e2f081bf4dd7188077f5f63496
parent77a77456af6944a3bf6eb4e3b75b7094d8b54391
Catch and report errors from copy image to volume.

The copy image-to-volume errors weren't being handled
properly and the result was the lvcreate being retried
even though the lvcreate itself succeeded.

The result of this was misleading errors stating that
the volume couldn't be created because it already existed
(which it did, becuase the create itself was succesful).

Fixes bug: 1183283

Change-Id: I23f05fe64475c3efe285e05a258c4625b801375c
cinder/exception.py
cinder/volume/drivers/xenapi/sm.py
cinder/volume/manager.py