-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ipa-replica-install randomly hangs #6644
Comments
stracktrace obtained with gdb -ex 'set confirm off' -ex 'set pagination off' -ex 'thread apply all bt full' -ex 'quit' /usr/sbin/ns-slapd |
The last lines from the access log: |
Fom ipa-replica-install.log, we can see the first issue is the failure to restart krb5kdc:
The journal:
The timestamp matches the last ADD operation which didn't get any answer. |
At first look in the stacktrace threads 8 and 25 are starting txn and are blocked. The others threads looks victims of this hang. Are they (8 and 25) in deadlock or blocked by another thread I do not know but I did not find other thread having started a TXN. What is surprising to me is thread 8 starting a TXN during a search. |
We also see some hangs with 389-ds-base-3.0.4-3.fc40.x86_64 on fedora 40. It happens ~ in 15 tests out of 169. |
@tbordaz FYI: any lmdb database access (including reading records) requires a txn so it is quite normal that search tries to open one. Thread 10 has an open txn that probably blocks the other treads trying to open a txn. The weird thing is that dbmdb_open_dbi_from_filename in thread 8 tries to open a txn: I wonder if an index config entry was added and but backend was never (re)indexed Probably a good idea to check unfinished searches in access log to determine which index is involved .... |
Issue Description
The installation of an IPA replica sometimes hangs in a LDAP operation.
Package Version and Platform:
Fedora 41
389-ds-base-3.1.2-3.fc41.x86_64
krb5-server-1.21.3-4.fc41.x86_64
freeipa-server-4.13.0.dev202502271132+git-0.fc41.x86_64
Steps to Reproduce
Steps to reproduce the behavior:
ipa-server-install -n ufreeipa.test -r UFREEIPA.TEST -p Secret.123 -a Secret.123 --domain-level=1 --dirsrv-config-file /root/ipatests/ipatests_dse.ldif -U --setup-dns --forwarder 10.11.5.19 --auto-reverse
ipa-replica-install --admin-password Secret.123 --password Secret.123 -U --setup-dns --forwarder 10.11.5.19 --ip-address 10.0.199.157 --realm UFREEIPA.TEST --domain ufreeipa.test --dirsrv-config-file /root/ipatests/ipatests_dse.ldif
Expected results
The replica installation randomly hangs in a LDAP call.
The text was updated successfully, but these errors were encountered: