Bug 879015
Summary: | [RFE] initiator groups support | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Andy Grover <agrover> |
Component: | targetcli | Assignee: | Andy Grover <agrover> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Bruno Goncalves <bgoncalv> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.0 | CC: | qcai, xiaoli |
Target Milestone: | rc | Keywords: | FutureFeature, Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: | Story Points: | --- | |
Clone Of: | 878711 | Environment: | |
Last Closed: | 2014-06-13 13:31:14 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 878711 | ||
Bug Blocks: |
Description
Andy Grover
2012-11-21 20:02:06 UTC
Initiators should be groupable by iqn (for iscsi) or wwn (for fc/fcoe) so they can have ACLs managed for all of them in the group at once. Another request is to set the auto_add_mapped_luns to false. Usually the users need to do lun mapping manually. (In reply to comment #2) > Another request is to set the auto_add_mapped_luns to false. > > Usually the users need to do lun mapping manually. set the default auto_add_mapped_luns to false. implemented using tag and untag commands under 'acls' node. Verified with targetcli-2.1.fb31-2.el7.noarch kernel 3.10.0-84.el7.x86_64 targetcli /iscsi/iqn.2009-10.com.redhat:storage-1/tpg1/acls create iqn.1994-05.com.redhat:test-1 true Created Node ACL for iqn.1994-05.com.redhat:test-1 Created mapped LUN 1. targetcli /iscsi/iqn.2009-10.com.redhat:storage-1/tpg1/acls tag iqn.1994-05.com.redhat:test-1 storage-iqn targetcli /iscsi/iqn.2009-10.com.redhat:storage-1/tpg1/acls create iqn.1994-05.com.redhat:test-2 true Created Node ACL for iqn.1994-05.com.redhat:test-2 Created mapped LUN 1. targetcli /iscsi/iqn.2009-10.com.redhat:storage-1/tpg1/acls tag iqn.1994-05.com.redhat:test-2 storage-iqn targetcli /iscsi/iqn.2009-10.com.redhat:storage-1/tpg1/acls/storage-iqn info tag: storage-iqn wwns: iqn.1994-05.com.redhat:test-2 iqn.1994-05.com.redhat:test-1 targetcli ls o- / ......................................................................................................................... [...] o- backstores .............................................................................................................. [...] | o- block .................................................................................................. [Storage Objects: 0] | o- fileio ................................................................................................. [Storage Objects: 1] | | o- target1-lun1 ......................................................... [./target1-lun1.img (200.0MiB) write-back activated] | o- pscsi .................................................................................................. [Storage Objects: 0] | o- ramdisk ................................................................................................ [Storage Objects: 0] o- iscsi ............................................................................................................ [Targets: 1] | o- iqn.2009-10.com.redhat:storage-1 .................................................................................. [TPGs: 1] | o- tpg1 .................................................................................................. [gen-acls, no-auth] | o- acls .......................................................................................................... [ACLs: 1] | | o- storage-iqn ........................................................................... [(group of 2) , Mapped LUNs: 1] | | o- mapped_lun1 ......................................................................... [lun1 fileio/target1-lun1 (rw)] | o- luns .......................................................................................................... [LUNs: 1] | | o- lun1 ....................................................................... [fileio/target1-lun1 (./target1-lun1.img)] | o- portals .................................................................................................... [Portals: 1] | o- [::0]:3260 ....................................................................................................... [OK] o- loopback ......................................................................................................... [Targets: 0] This request was resolved in Red Hat Enterprise Linux 7.0. Contact your manager or support representative in case you have further questions about the request. |