]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
TgtAdm: Don't change CHAP username/password on live migration
authorTomoki Sekiyama <tomoki.sekiyama@hds.com>
Wed, 7 Jan 2015 00:58:13 +0000 (19:58 -0500)
committerTomoki Sekiyama <tomoki.sekiyama@hds.com>
Wed, 14 Jan 2015 22:45:25 +0000 (17:45 -0500)
commit9df3bcead5e9ba89fc8a4130729679fb17a27133
tree6d90bf64ae74786cce472f64d800075756b6be97
parent29f9fa9f2a7a37231398acd442388ad328a5ec50
TgtAdm: Don't change CHAP username/password on live migration

This fixes TgtAdm Target Objects not to regenerate random
username/password every time initialize_connection is called,
as TgtAdm doesn't accept the change while the initiator is
connected. This fixes the live-migration of nova instances which
have volumes attached.

Change-Id: I1b48a66da5a0d8726490f50c2ee58352c42d9587
Closes-Bug: #1408162
Related-Bug: #1383509
cinder/tests/targets/test_lio_driver.py
cinder/tests/targets/test_tgt_driver.py
cinder/volume/targets/iet.py
cinder/volume/targets/lio.py
cinder/volume/targets/tgt.py