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 1443931

Summary: Abort in job_type_lookup_merge(): Assertion 'a >= 0 && a < _JOB_TYPE_MAX_MERGING' failed
Product: Red Hat Enterprise Linux 7 Reporter: Christian Heimes <cheimes>
Component: systemdAssignee: systemd-maint
Status: CLOSED CURRENTRELEASE QA Contact: qe-baseos-daemons
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.4CC: jpazdziora, ksiddiqu, mreznik, msekleta, ndehadra, systemd-maint-list
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: systemd-219-38.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-21 06:36:47 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:

Description Christian Heimes 2017-04-20 09:42:18 UTC
Description of problem:
systemd aborts and freezes execution during installation or uninstallation of IPA. The error occurs during ipa-client-install enrolment of the IdM master. After the abort, the system becomes unusable, e.g. systemctl status fails with "Failed to read server status: Connection timed out", reboot fails with "Failed to open /dev/initctl: No such device or address".


Version-Release number of selected component (if applicable):
ipa-server-4.5.0-7.el7.x86_64
systemd-219-37.el7.x86_64


How reproducible:
always


Steps to Reproduce:
1. run ipa-server-install
2.
3.

Actual results:

journald
--------

Assertion 'a >= 0 && a < _JOB_TYPE_MAX_MERGING' failed at src/core/job.c:346, function job_type_lookup_merge(). Aborting.
Caught <ABRT>, dumped core as pid 13623.
Freezing execution.

ipa-server-install
------------------

$ ipa-server-install
...
Skipping synchronizing time with NTP server.
New SSSD config will be created
Configured sudoers in /etc/nsswitch.conf
Configured /etc/sssd/sssd.conf
trying https://vm-058-114.ipa.example/ipa/json
Forwarding 'schema' to json server 'https://vm-058-114.ipa.example/ipa/json'
trying https://vm-058-114.ipa.example/ipa/session/json
Forwarding 'ping' to json server 'https://vm-058-114.ipa.example/ipa/session/json'
Forwarding 'ca_is_enabled' to json server 'https://vm-058-114.ipa.example/ipa/session/json'
Systemwide CA database updated.
Adding SSH public key from /etc/ssh/ssh_host_rsa_key.pub
Adding SSH public key from /etc/ssh/ssh_host_ecdsa_key.pub
Adding SSH public key from /etc/ssh/ssh_host_ed25519_key.pub
Forwarding 'host_mod' to json server 'https://vm-058-114.ipa.example/ipa/session/json'
Could not update DNS SSHFP records.
SSSD enabled
Configured /etc/openldap/ldap.conf
Configured /etc/ssh/ssh_config
Configured /etc/ssh/sshd_config

Broadcast message from systemd-journald.example (Thu 2017-04-20 10:55:13 CEST):

systemd[1]: Caught <ABRT>, dumped core as pid 50394.


Broadcast message from systemd-journald.example (Thu 2017-04-20 10:55:13 CEST):

systemd[1]: Freezing execution.


Message from syslogd@localhost at Apr 20 10:55:13 ...
 systemd:Caught <ABRT>, dumped core as pid 50394.

Message from syslogd@localhost at Apr 20 10:55:13 ...
 systemd:Freezing execution.
sshd failed to restart: Command '/bin/systemctl restart sshd.service' returned non-zero exit status 1
Configuring dom-058-114.ipa.example as NIS domain.
Command '/bin/systemctl restart rhel-domainname.service' returned non-zero exit status 1
The ipa-client-install command failed. See /var/log/ipaclient-install.log for more information
ipa.ipapython.install.cli.install_tool(CompatServerMasterInstall): ERROR    Configuration of client side components failed!
ipa.ipapython.install.cli.install_tool(CompatServerMasterInstall): ERROR    The ipa-server-install command failed. See /var/log/ipaserver-install.log for more information


ipa-server-install --uninstall
------------------------------

Removing Kerberos service principals from /etc/krb5.keytab
Disabling client Kerberos and LDAP configurations
Redundant SSSD configuration file /etc/sssd/sssd.conf was moved to /etc/sssd/sssd.conf.deleted
Restoring client configuration files
Unconfiguring the NIS domain.
nscd daemon is not installed, skip configuration
nslcd daemon is not installed, skip configuration

Broadcast message from systemd-journald.example (Thu 2017-04-20 11:27:57 CEST):

systemd[1]: Caught <ABRT>, dumped core as pid 13623.


Broadcast message from systemd-journald.example (Thu 2017-04-20 11:27:57 CEST):

systemd[1]: Freezing execution.


Message from syslogd@localhost at Apr 20 11:27:57 ...
 systemd:Caught <ABRT>, dumped core as pid 13623.

Message from syslogd@localhost at Apr 20 11:27:57 ...
 systemd:Freezing execution.
Command '/bin/systemctl restart sshd.service' returned non-zero exit status 1
The ipa-client-install command was successful


Expected results:
Installation of IdM works.

Additional info:

Comment 3 Christian Heimes 2017-04-20 10:12:43 UTC
So far I was able to reproduce the abort four times, three times during ipa-server-install on two different machines plus another time during the one time I uninstalled IPA.

Comment 6 Martin Bašti 2017-04-20 15:05:28 UTC
*** Bug 1443290 has been marked as a duplicate of this bug. ***