]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Deal with tgt already exists errors
authorJohn Griffith <john.griffith@solidfire.com>
Mon, 1 Dec 2014 20:29:02 +0000 (13:29 -0700)
committerJohn Griffith <john.griffith@solidfire.com>
Mon, 1 Dec 2014 20:29:02 +0000 (13:29 -0700)
commitd7bd65e8e9ff800d370effc1a8d24ea900a5d435
tree3604d2c5797f24c9f44b8d1126ebfcc2ef8fea7d
parent7e3ddf8d0d2759126cac9a8b089fbc43c3857aaa
Deal with tgt already exists errors

This patch intends to provide a clear marker for
ER in the case that create export fails due to the
target entry already existing.

Also this patch will enable us to go ahead and just use
the existing target rather than bomb out and fail everything.

Root cause of why we're getting a second create is still
unknown and needs addressed, but this might help in getting
more info as well as keeping things stable until we address
the root issue.

Change-Id: If96f4fab7d9709dbb0726b1dca6237d7bc66ecbe
Partial-Bug: #1398078
cinder/brick/iscsi/iscsi.py