]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Zfssaiscsi driver should return target_lun as int
authorabhiram moturi <abhiram.moturi@oracle.com>
Thu, 28 Jan 2016 20:16:08 +0000 (20:16 +0000)
committerabhiram moturi <abhiram.moturi@oracle.com>
Fri, 29 Jan 2016 13:58:38 +0000 (13:58 +0000)
commit8f70411e411f322b58841b7e1c72ed0f83539aad
treec8c71391e878dc8fa391e404d34db23f120ad7e3
parent9693e044096fc3fcac2620d80666a267a3f9564e
Zfssaiscsi driver should return target_lun as int

The zfssaiscsi driver in initialize_connection()
returns iscsi_properties['target_lun'] as a string.
Solaris version of openstack expects it to be an int
and fails for the driver. Also other drivers report
it as an int. So this will make the zfssaiscsi driver
more consistent with other drivers.

Change-Id: Ifdbca7a02e2d797af9149cd185c2fa5dce661f66
Closes-bug: #1538582
cinder/tests/unit/test_zfssa.py
cinder/volume/drivers/zfssa/zfssaiscsi.py