Bug 1566099

Summary: targetcli list show ALUA Groups [rhel-7.5.z]
Product: Red Hat Enterprise Linux 7 Reporter: Oneata Mircea Teodor <toneata>
Component: python-rtslibAssignee: Maurizio Lombardi <mlombard>
Status: CLOSED ERRATA QA Contact: Martin Hoyer <mhoyer>
Severity: high Docs Contact: Marek Suchánek <msuchane>
Priority: urgent    
Version: 7.5CC: amukherj, cww, mchristi, mhoyer, mlombard, pkarampu, prasanna.kalever, rcyriac, rhandlin, sanandpa, toneata, vbellur, xiubli
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-rtslib-2.1.fb63-6.el7 Doc Type: If docs needed, set a value
Doc Text:
This update enables the Asymmetric Logical Unit Access (ALUA) feature for the pscsi and tcmu back ends if the kernel supports it. The "targetcli list" command is now able to list ALUA groups.
Story Points: ---
Clone Of: 1554688 Environment:
Last Closed: 2018-05-14 16:12:20 UTC Type: ---
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: 1554688    
Bug Blocks:    

Description Oneata Mircea Teodor 2018-04-11 14:14:36 UTC
This bug has been copied from bug #1554688 and has been proposed to be backported to 7.5 z-stream (EUS).

Comment 4 Sweta Anandpara 2018-05-04 11:16:07 UTC
Validated the patch on a RHGS cluster having python-rtslib-2.1.fb63-11.el7.noarch. 

I see the ALUA groups mentioned in targetcli ls output - which was otherwise defualted to 0.

Please feel free to move this bug to verified after a round of regression. Thanks!


[root@dhcp47-65 ~]# targetcli ls
o- / ........................................................................................................ [...]
  o- backstores ............................................................................................. [...]
  | o- block ................................................................................. [Storage Objects: 0]
  | o- fileio ................................................................................ [Storage Objects: 0]
  | o- pscsi ................................................................................. [Storage Objects: 0]
  | o- ramdisk ............................................................................... [Storage Objects: 0]
  | o- user:glfs ............................................................................. [Storage Objects: 2]
  |   o- o1 ............... [ozone.47.65/block-store/0de98332-4730-4c9b-95d7-69affe2729fd (1.0MiB) activated]
  |   | o- alua .................................................................................. [ALUA Groups: 1]
  |   |   o- default_tg_pt_gp ...................................................... [ALUA state: Active/optimized]
  |   o- o2 ............... [ozone.47.65/block-store/abf68b3d-c27a-4059-a9ef-b655022a3ae2 (1.0MiB) activated]
  |     o- alua .................................................................................. [ALUA Groups: 1]
  |       o- default_tg_pt_gp ...................................................... [ALUA state: Active/optimized]
  o- iscsi ........................................................................................... [Targets: 2]
...
...

[root@dhcp47-65 ~]# rpm -qa | grep rtslib
python-rtslib-2.1.fb63-11.el7.noarch
[root@dhcp47-65 ~]# rpm -qa | grep gluster
glusterfs-client-xlators-3.8.4-54.8.el7rhgs.x86_64
python-gluster-3.8.4-54.8.el7rhgs.noarch
tendrl-gluster-integration-1.5.4-14.el7rhgs.noarch
gluster-nagios-addons-0.2.10-2.el7rhgs.x86_64
glusterfs-libs-3.8.4-54.8.el7rhgs.x86_64
glusterfs-fuse-3.8.4-54.8.el7rhgs.x86_64
libvirt-daemon-driver-storage-gluster-3.9.0-14.el7_5.2.x86_64
glusterfs-events-3.8.4-54.8.el7rhgs.x86_64
gluster-block-0.2.1-14.1.el7rhgs.x86_64
vdsm-gluster-4.17.33-1.2.el7rhgs.noarch
glusterfs-3.8.4-54.8.el7rhgs.x86_64
glusterfs-server-3.8.4-54.8.el7rhgs.x86_64
glusterfs-geo-replication-3.8.4-54.8.el7rhgs.x86_64
glusterfs-rdma-3.8.4-54.8.el7rhgs.x86_64
glusterfs-cli-3.8.4-54.8.el7rhgs.x86_64
gluster-nagios-common-0.2.4-1.el7rhgs.noarch
glusterfs-api-3.8.4-54.8.el7rhgs.x86_64
[root@dhcp47-65 ~]# rpm -qa | grep targetcli
targetcli-2.1.fb46-4.el7.noarch
[root@dhcp47-65 ~]# rpm -qa | grep python-configshell
python-configshell-1.1.fb23-4.el7_5.noarch
[root@dhcp47-65 ~]#

Comment 5 Martin Hoyer 2018-05-04 11:17:27 UTC
(In reply to Sweta Anandpara from comment #4)
Thank You very much!
Our regression tests have not found any issue on RHEL-7.5 with following
packages updated:
python-configshell-1.1.fb23-4.el7_5
python-rtslib-2.1.fb63-11.el7_5
targetcli-2.1.fb46-4.el7_5

Comment 10 errata-xmlrpc 2018-05-14 16:12:20 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2018:1402