Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 1498505

Summary: [ceph-iscsi-config]: High number of disks in the config causes failure in loading the config
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Tejas <tchandra>
Component: iSCSIAssignee: Jason Dillaman <jdillama>
Status: CLOSED ERRATA QA Contact: Tejas <tchandra>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0CC: bniver, ceph-eng-bugs, ceph-qe-bugs, kdreyer
Target Milestone: rc   
Target Release: 3.0   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: ceph-iscsi-cli-2.5-9.el7cp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-05 23:46:42 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:

Description Tejas 2017-10-04 13:29:49 UTC
Description of problem:
        I have a setup with 260 disks created. But only 256 are mapped to a client. This causes the rbd-target-gw to fail.

 ~]# gwcli -d ls
Traceback (most recent call last):
  File "/usr/bin/gwcli", line 187, in <module>
    main()
  File "/usr/bin/gwcli", line 99, in main
    root_node.refresh()
  File "/usr/lib/python2.7/site-packages/gwcli/gateway.py", line 86, in refresh
    raise GatewayError
gwcli.utils.GatewayError


Oct 04 16:23:20 harvard.lab.eng.blr.redhat.com rbd-target-gw[322849]: setting rbd.a1 to ALUA/ActiveOptimised group id 1
Oct 04 16:23:20 harvard.lab.eng.blr.redhat.com rbd-target-gw[322849]: setting rbd.a1 to ALUA/ActiveNONOptimised group id 2
Oct 04 16:23:20 harvard.lab.eng.blr.redhat.com rbd-target-gw[322849]: setting rbd.a1 to ALUA/ActiveNONOptimised group id 4
Oct 04 16:23:20 harvard.lab.eng.blr.redhat.com rbd-target-gw[322849]: Error mapping the LUNs to the tpg's within the iscsi Target
Oct 04 16:23:20 harvard.lab.eng.blr.redhat.com rbd-target-gw[322849]: Removing Ceph iSCSI configuration from LIO
Oct 04 16:23:20 harvard.lab.eng.blr.redhat.com rbd-target-gw[322849]: Removing iSCSI target from LIO
Oct 04 16:23:27 harvard.lab.eng.blr.redhat.com rbd-target-gw[322849]: Removing LUNs from LIO
Oct 04 16:23:30 harvard.lab.eng.blr.redhat.com rbd-target-gw[322849]: Active Ceph iSCSI gateway configuration removed
Oct 04 16:23:30 harvard.lab.eng.blr.redhat.com systemd[1]: rbd-target-gw.service: main process exited, code=exited, status=16/n/a
Oct 04 16:23:30 harvard.lab.eng.blr.redhat.com systemd[1]: Unit rbd-target-gw.service entered failed state.



Version-Release number of selected component (if applicable):
ceph-iscsi-config-2.3-10.el7cp.noarch
ceph-iscsi-cli-2.5-8.el7cp.noarch

Comment 5 Tejas 2017-10-25 09:09:17 UTC
Verified in ceph-iscsi-cli-2.5-9.el7cp.noarch

Comment 8 errata-xmlrpc 2017-12-05 23:46:42 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/RHBA-2017:3387