Project

General

Profile

Actions

Bug #52898

closed

cephadm: Unable to create max luns per iSCSI target: thread limit reached

Added by Sebastian Wagner over 2 years ago. Updated about 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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.

Actions #1

Updated by Guillaume Abrioux about 2 years ago

  • Status changed from New to In Progress
Actions #2

Updated by Guillaume Abrioux about 2 years ago

  • Pull request ID set to 44579
Actions #3

Updated by Teoman ONAY about 2 years ago

  • Assignee set to Teoman ONAY
Actions #4

Updated by Teoman ONAY about 2 years ago

  • Status changed from In Progress to Fix Under Review
Actions #5

Updated by Ilya Dryomov about 2 years ago

  • Status changed from Fix Under Review to Pending Backport
  • Backport set to pacific
Actions #6

Updated by Ilya Dryomov about 2 years ago

  • Status changed from Pending Backport to Resolved
  • Backport deleted (pacific)

It looks like the orchestrator project doesn't use the regular backport ticket process. Opened pacific and quincy backports manually at https://github.com/ceph/ceph/pull/45580 and https://github.com/ceph/ceph/pull/45576 respectively.

Actions

Also available in: Atom PDF