Bug 1443931 - Abort in job_type_lookup_merge(): Assertion 'a >= 0 && a < _JOB_TYPE_MAX_MERGING' failed
Summary: Abort in job_type_lookup_merge(): Assertion 'a >= 0 && a < _JOB_TYPE_MAX_MERG...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: systemd
Version: 7.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: systemd-maint
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
: 1443290 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-04-20 09:42 UTC by Christian Heimes
Modified: 2017-04-21 06:36 UTC (History)
6 users (show)

Fixed In Version: systemd-219-38.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-04-21 06:36:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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. ***


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