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
Verified in ceph-iscsi-cli-2.5-9.el7cp.noarch
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