RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1912923 - Support 50 concurrent add_lockspace operations [rhel-8.3.0.z]
Summary: Support 50 concurrent add_lockspace operations [rhel-8.3.0.z]
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: sanlock
Version: 8.3
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: 8.0
Assignee: David Teigland
QA Contact: cluster-qe@redhat.com
URL:
Whiteboard:
Depends On: 1902468
Blocks: 1903358
TreeView+ depends on / blocked
 
Reported: 2021-01-05 15:45 UTC by RHEL Program Management Team
Modified: 2021-09-07 11:58 UTC (History)
11 users (show)

Fixed In Version: sanlock-3.8.2-3.el8_3
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1902468
Environment:
Last Closed: 2021-04-06 14:15:39 UTC
Type: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2021:1090 0 None None None 2021-04-06 14:15:45 UTC

Comment 4 David Teigland 2021-01-06 19:20:49 UTC
built here https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=34105561

Comment 7 Tzahi Ashkenazi 2021-01-11 14:30:10 UTC
Comparison between sanlock version 3.8.2-1  to sanlock  3.8.2-2 on the following : 

* 40 Storage domains > iscsi connectivity 
Version : 
 vdsm-4.40.40-1.el8ev.x86_64
 Rhv-release-4.4.4-7-001.noarch
 Red Hat Enterprise Linux release 8.3 (Ootpa)

Tested configuration:

$ cat /etc/sanlock/sanlock.conf
# Configuration for vdsm
our_host_name = 4c4c4544-0048-4e10-804e-b3c04f515731
max_worker_threads = 50

# sanlock client status -D
daemon 4c4c4544-0048-4e10-804e-b3c04f515731
    our_host_name=4c4c4544-0048-4e10-804e-b3c04f515731
    use_watchdog=1
    high_priority=0
    mlock_level=1
    quiet_fail=1
    debug_renew=0
    debug_clients=0
    debug_cmds=0xfffffffffe06ffff
    renewal_history_size=180
    gid=179
    uid=179
    sh_retries=8
    max_sectors_kb_ignore=0
    max_sectors_kb_align=0
    max_sectors_kb_num=1024
    max_worker_threads=50
    write_init_io_timeout=60
    use_aio=1
    kill_grace_seconds=40
    helper_pid=1363
    helper_kill_fd=7
    helper_full_count=0
    helper_last_status=78116
    monotime=78140
    version_str=3.8.2
    version_num=3.8.2
    version_hex=03080200
    smproto_hex=00000001


Test procedure :
================

Clean shutdown:
 A.Deactivate host: 
   1. Deactivate host in the DC ( move host to maintenance from the UI > host view ) 
   2. start to measure the time, Wait until all lockspaces are removed,  using the command > "watch sanlock client status"
 B.Activate host:
   1. Activate host from the UI in the DC ( move host to active from the UI > host view ) 
   2. start to measure the time until all lockspaces were added. using the command > "watch sanlock client status"

Unclean shutdown:
  1. While host is active, perform cold power off  ( using idrac /IPMI )
  2. power on the server again using the idrac /IPMI 
  3. start to Measure the time at the moment the SSH service is available again Wait until all lockspaces were added, using the command > "watch sanlock client status"

Notes :

When activating hosts, you will see all lockapces with ADD marker. Wait until
all lockapaces do not have ADD marker.

When deactivating host you will see all lockspaces with REM marker. Wait until
the lockspaces are removed.

Results :
Comparison between sanlock version 3.8.2-1  to sanlock  3.8.2-2 on the following : 

+----------------------------------+-----------------+-----------------+-----------------+
| F02-h25-000-r620 - VDSM-4.40.40  |                 |             Duration              |
+----------------------------------+-----------------+-----------------+-----------------+
| Scenario                         |                 | sanlock 3.8.2-1 | sanlock 3.8.2-2 |                  
|                                  |                 |                 |                 |
| Clean shutdown                   | deactivate host | 17.76 s         | 6.56 s          |
|                                  | activate host   | 139 s           | 56.74 s         |
| unClean shutdown                 | activate host   | 140 s           | 70.72 s         |
+----------------------------------+-----------------+-----------------+-----------------+


there is a huge improvement in the time duration on the above results between sanlock  3.8.2-1 vs 3.8.2-2

Comment 8 Nir Soffer 2021-01-12 10:51:39 UTC
Corey, based on comment 7 I think we can mark the bug as verified.

Comment 9 Corey Marthaler 2021-01-12 14:10:19 UTC
Indeed. Moving to Verified based on results in comment #7.

Thanks.

Comment 10 David Teigland 2021-01-12 17:19:34 UTC
new rebuild of the same thing for a new build target, "rhpkg build --target rhel-8.3.0-z-candidate"
hopefully errata tool likes this one

Comment 11 David Teigland 2021-01-12 23:03:47 UTC
fix rpm name in the fixed in version field to sanlock-3.8.2-3.el8_3 as shown in
https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=1456071
errata tool took that one

Comment 23 errata-xmlrpc 2021-04-06 14:15:39 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 (sanlock bug fix and enhancement update), 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-2021:1090


Note You need to log in before you can comment on or make changes to this bug.