Bug #52898
closedcephadm: Unable to create max luns per iSCSI target: thread limit reached
0%
Description
Description of problem:
Unable to create max luns per target. Container is crashed after some luns creation.
Version-Release number of selected component (if applicable):
ceph version 16.2.0 pacific (stable)
How reproducible:
100%
Steps to Reproduce:
1.Create gateways using below file.
[ceph: root@host104 ~]# cat iscsi.yaml
service_type: iscsi
service_id: iscsi
placement:
hosts:
- host108
- host113
spec:
pool: iscsi_pool
trusted_ip_list: "ipv4,ipv6"
api_user: admin
api_password: admin
[ceph: root@host104 ~]#
2.Start iscsi gateways using "Gwcli"
3.Create target and gateways
/iscsi-targets> ls
o- iscsi-targets ................................................................................. [DiscoveryAuth: None, Targets: 1]
o- iqn.2003-01.com.example.iscsi-gw:ceph-igw ............................................................ [Auth: None, Gateways: 2]
o- disks ............................................................................................................ [Disks: 0]
o- gateways .............................................................................................. [Up: 2/2, Portals: 2]
| o- host108 .............................................................................................. [1.0.0.108 (UP)]
| o- host113 .............................................................................................. [1.0.0.113 (UP)]
o- host-groups .................................................................................................... [Groups : 0]
o- hosts ......................................................................................... [Auth: ACL_ENABLED, Hosts: 0]
/iscsi-targets>
4.Create client iqn.
5.Create images and add disks to client
Actual results:
/iscsi-target...at:rh7-client> disk add iscsi_pool/image127
ok
/iscsi-target...at:rh7-client> disk add iscsi_pool/image128
Exception in thread Thread-11:
Traceback (most recent call last):
File "/usr/lib64/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/usr/lib64/python3.6/threading.py", line 1182, in run
self.function(*self.args, **self.kwargs)
File "/usr/lib/python3.6/site-packages/gwcli/gateway.py", line 646, in check_gateways
check_thread.start()
File "/usr/lib64/python3.6/threading.py", line 846, in start
_start_new_thread(self._bootstrap, ())
RuntimeError: can't start new thread
[root@host108 ubuntu]# podman exec -it ff1f0ffc5f35 sh
Error: no container with name or ID ff1f0ffc5f35 found: no such container
[root@host108 ubuntu]#
Expected results:
Max luns should be created per target.