]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Add debug logging for targets
authorJohn Griffith <john.griffith@solidfire.com>
Sun, 29 Sep 2013 16:01:58 +0000 (10:01 -0600)
committerJohn Griffith <john.griffith@solidfire.com>
Sun, 29 Sep 2013 16:41:32 +0000 (10:41 -0600)
commit15fba9a776a2a85c81679817b20b06ffecc66b6b
tree4bcfc14c01cb0ee10526e5b36977af5c4c595522
parent4139dbcfb17102d2169f3efb0255a65b81268715
Add debug logging for targets

Seems we may be failing target create silently,
the situation appears to be that the actual device
lun is not created.  This has been appearing in the
gates on create from snapshot.

This change adds some logging that will help us determine
if it's the actual create, or if it's the attempted update
while the dd process is possibly holding the volume in a busy
state causing the target update to add lun 1 to fail.

Change-Id: If5d4219dedae4649982fa9c13f131bf5f38fb7c4
cinder/brick/iscsi/iscsi.py
cinder/tests/test_iscsi.py