cinder/cinder/volume/targets
Sean McGinnis d96b6dfba0 Update tgt iSCSI target on volume extend
When extending an in-use volume, the volume will be extended but
the target exposing the volume will still report the original size.

The target needs to be updated to pick up the change, but since it
is in-use the update must be forced. This can cause IO disruption
if there is active IO to the target, however retries will cause the
next attempt to succeed and there will just be a few second IO
pause on the host while the target session is reestablished. Not
ideal, but it does recover with minimal impact on the host.

And operators probably shouldn't extend volumes without pausing
active IO to the volume anyway.

See bug report comments for more testing details. Marking this as
partial as it only addresses the tgt target and further
investigation is needed to see if the other target drivers need
similar updates.

Change-Id: I0f7b58751c6d8d05cad5b1b95c4e21c8b5d36692
Partial-bug: #1731984
2017-12-21 08:49:08 -06:00
..
__init__.py Add iSCSI Target objects as independent objects 2014-11-25 09:09:00 -07:00
cxt.py Remove log translations 2017-03-19 14:59:57 +00:00
driver.py Refactoring for export functions in Target object 2015-02-12 19:25:31 -07:00
fake.py Remove unused __init__ 2016-07-04 10:36:56 +08:00
iet.py Fix python 3.6 escape char warnings in strings 2017-07-11 17:04:54 -04:00
iscsi.py Update tgt iSCSI target on volume extend 2017-12-21 08:49:08 -06:00
lio.py Rename iSCSI target config options to more general 2017-12-18 08:55:01 +00:00
scst.py Rename iSCSI target config options to more general 2017-12-18 08:55:01 +00:00
tgt.py Update tgt iSCSI target on volume extend 2017-12-21 08:49:08 -06:00