Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1499179

Summary: ipa-server fail on ldapmodify
Product: Red Hat Enterprise Linux 7 Reporter: Pavel Picka <ppicka>
Component: ipaAssignee: IPA Maintainers <ipa-maint>
Status: CLOSED DUPLICATE QA Contact: ipa-qe <ipa-qe>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.4CC: ppicka, pvoborni, rcritten, tscherf
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-10-13 12:32:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
server install log and ausearch none

Description Pavel Picka 2017-10-06 10:04:01 UTC
Created attachment 1335177 [details]
server install log and ausearch

Description of problem:

ipa-server-install fails


Version-Release number of selected component (if applicable):
ipa-server-4.5.0-21.el7_4.1.2.x86_64
Red Hat Enterprise Linux Server release 7.4 Beta (Maipo)

How reproducible:
always

Steps to Reproduce:
1. ipa-server-install

Actual results:
[40/45]: configuring Posix uid/gid generation
ipa         : CRITICAL Failed to load dna.ldif: Command '/usr/bin/ldapmodify -v -f /tmp/tmpze3xlX -H ldapi://%2fvar%2frun%2fslapd-ABC-IDM-LAB-ENG-BRQ-REDHAT-COM.socket -Y EXTERNAL' returned non-zero exit status 255
  [error] CalledProcessError: Command '/usr/bin/ldapmodify -v -f /tmp/tmpze3xlX -H ldapi://%2fvar%2frun%2fslapd-ABC-IDM-LAB-ENG-BRQ-REDHAT-COM.socket -Y EXTERNAL' returned non-zero exit status 255
ipa.ipapython.install.cli.install_tool(CompatServerMasterInstall): ERROR    Command '/usr/bin/ldapmodify -v -f /tmp/tmpze3xlX -H ldapi://%2fvar%2frun%2fslapd-ABC-IDM-LAB-ENG-BRQ-REDHAT-COM.socket -Y EXTERNAL' returned non-zero exit status 255
ipa.ipapython.install.cli.install_tool(CompatServerMasterInstall): ERROR    The ipa-server-install command failed. See /var/log/ipaserver-install.log for more information


Expected results:
ipa-server installed

Comment 2 Rob Crittenden 2017-10-06 13:39:02 UTC
Can you see if 389-ds crashed? I see this in the log:

ldap_result: Can't contact LDAP server (-1)

If it dropped a core please install the debuginfo packages and provide a backtrace.

Comment 3 Pavel Picka 2017-10-09 10:25:18 UTC
This bug happen when the swap space is too low, when machine has 1g and more as is advised this bug won't happen.
So think it can be closed as not a bug.

Comment 4 Pavel Picka 2017-10-13 07:58:26 UTC
debug info

#0  0x00007ffff4914f75 in __strcasecmp_l_sse42 () at /lib64/libc.so.6
#1  0x00007fffeb256761 in ipa_topo_check_segment_updates () at /usr/lib64/dirsrv/plugins/libtopology.so
#2  0x00007fffeb256c78 in ipa_topo_pre_mod () at /usr/lib64/dirsrv/plugins/libtopology.so
#3  0x00007ffff7939f74 in plugin_call_func (list=0x5555562923c0, operation=operation@entry=451, pb=pb@entry=0x5555562c68e0, call_one=call_one@entry=0) at ldap/servers/slapd/plugin.c:2028
#4  0x00007ffff793a203 in plugin_call_list (pb=0x5555562c68e0, operation=451, list=<optimized out>) at ldap/servers/slapd/plugin.c:1972
#5  0x00007ffff793a203 in plugin_call_plugins (pb=pb@entry=0x5555562c68e0, whichfunction=whichfunction@entry=451) at ldap/servers/slapd/plugin.c:442
#6  0x00007ffff78f400a in dse_modify (pb=0x5555562c68e0) at ldap/servers/slapd/dse.c:1751
#7  0x00007ffff7926456 in op_shared_modify (pb=pb@entry=0x5555562c68e0, pw_change=pw_change@entry=0, old_pw=0x0) at ldap/servers/slapd/modify.c:1013
#8  0x00007ffff79278eb in do_modify (pb=<optimized out>) at ldap/servers/slapd/modify.c:383
#9  0x000055555556f2b7 in connection_threadmain ()
#10 0x00007ffff5885c1b in _pt_root () at /lib64/libnspr4.so
#11 0x00007ffff5225e25 in start_thread () at /lib64/libpthread.so.0
#12 0x00007ffff48d3ccd in clone () at /lib64/libc.so.6

Comment 5 Rob Crittenden 2017-10-13 12:32:49 UTC
Thanks for the backtrace. This looks like a duplicate of 1498773.

*** This bug has been marked as a duplicate of bug 1498773 ***