]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Zfssaiscsi driver should not use 'default' initiator group
authorAbhiram Moturi <abhiram.moturi@oracle.com>
Thu, 22 Oct 2015 17:28:26 +0000 (17:28 +0000)
committerabhiram moturi <abhiram.moturi@oracle.com>
Mon, 8 Feb 2016 21:01:42 +0000 (21:01 +0000)
commitc035c41142625a2a25add7b0580d038a0ee562b7
treefb0d249d7f436f9132b0b7166481e788e13604a1
parent61d56d8b2598ae3f72e037d16a280f4b0a7e5b50
Zfssaiscsi driver should not use 'default' initiator group

The zfssaiscsi driver falls back to using the 'default'
initiator group when it fails to find a valid initiator group
configured. This causes all LUNs attached to instances on that
server to be presented to every server using the target group.

This fix makes the driver use the 'default' group only if
configured in the cinder.conf file. It also throws an error when
initiator group is given without any initiators.

DocImpact
Change-Id: I417688cf632baa727e5aa339c8d362761a38dcc8
Closes-Bug: #1508548
cinder/tests/unit/test_zfssa.py
cinder/volume/drivers/zfssa/zfssaiscsi.py
cinder/volume/drivers/zfssa/zfssarest.py