Bug 1327197 - Crash during IPA upgrade due to slapd
Summary: Crash during IPA upgrade due to slapd
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: slapi-nis
Version: 7.2
Hardware: All
OS: Linux
urgent
urgent
Target Milestone: rc
: ---
Assignee: Alexander Bokovoy
QA Contact: Kaleem
URL:
Whiteboard:
Depends On: 1317381
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-14 12:28 UTC by Marcel Kolaja
Modified: 2016-05-12 09:58 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1317381
Environment:
Last Closed: 2016-05-12 09:58:00 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1043 0 normal SHIPPED_LIVE slapi-nis bug fix update 2016-05-12 13:53:36 UTC

Description Marcel Kolaja 2016-04-14 12:28:38 UTC
This bug has been copied from bug #1317381 and has been proposed
to be backported to 7.2 z-stream (EUS).

Comment 5 Nikhil Dehadrai 2016-04-20 08:58:40 UTC
IPA Server Version(7.2.z / 7.2 up4): ipa-server-4.2.0-15.el7_2.15.x86_64

Verified the bug on the basis of following points:
1. Verified that no "sladpd" related crash report was observed for upgrade path 7.2(GA) to 7.2up4.

2. Verified that no "sladpd" related crash report was observed for upgrade path 7.2up2 to 7.2up4.

Thus on the basis of above observations, marking the status of the bug to "VERIFIED".

Comment 6 Nikhil Dehadrai 2016-04-20 09:40:48 UTC
Slapi-Nis version found: slapi-nis-0.54-8.el7_2.x86_64

Comment 7 Kaleem 2016-04-21 12:45:40 UTC
Re-opening it again as as NIS functionality was not working.

I provided VM and Alexander found that nis plugin initialization was not finished as per following dirsrv error logs,

[21/Apr/2016:15:40:05 +051800] nis-plugin - scheduled nis-plugin tree scan in about 5 seconds after the server startup!
[21/Apr/2016:15:40:05 +051800] schema-compat-plugin - scheduled schema-compat-plugin tree scan in about 5 seconds after the server startup!
[21/Apr/2016:15:40:05 +051800] schema-compat-plugin - schema-compat-plugin tree scan will start in about 5 seconds!
[21/Apr/2016:15:40:09 +051800] schema-compat-plugin - warning: no entries set up under ou=sudoers,dc=testrelm,dc=test
[21/Apr/2016:15:40:10 +051800] schema-compat-plugin - Finished plugin initialization.

rpm version:
============
[root@vm-idm-004 ~]# rpm -q ipa-server slapi-nis 389-ds-base
ipa-server-4.2.0-15.el7_2.15.x86_64
slapi-nis-0.54-8.el7_2.x86_64
389-ds-base-1.3.4.0-30.el7_2.x86_64
[root@vm-idm-004 ~]#

Comment 8 Alexander Bokovoy 2016-04-26 11:21:45 UTC
Fixed in slapi-nis-0.54-9

Comment 9 Kaleem 2016-04-28 11:34:18 UTC
Verified. No crash seen now and NIS functionality also working fine.

slapi-nis version:
==================
slapi-nis.x86_64 0:0.54-9.el7_2 


Snip from beaker log:
======================
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [   LOG    ] :: nisint_ipamaster_integration_check_ipa_nis_data: Enable the IPA NIS Listener
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [  BEGIN   ] :: Running 'ypcat -k -d testrelm.test -h mgmt2.testrelm.test passwd'
test test:*:1000:1000:NIS USER:/home/test:/bin/bash
...
admin admin:*:1197600000:1197600000:Administrator:/home/admin:/bin/bash
:: [   PASS   ] :: Command 'ypcat -k -d testrelm.test -h mgmt2.testrelm.test passwd' (Expected 0, got 0)
:: [  BEGIN   ] :: Running 'ypcat -k -d testrelm.test -h mgmt2.testrelm.test group'
goodgroup4 goodgroup4:*:1016:
...
admins admins:*:1197600000:admin
:: [   PASS   ] :: Command 'ypcat -k -d testrelm.test -h mgmt2.testrelm.test group' (Expected 0, got 0)
:: [  BEGIN   ] :: Running 'ypcat -k -d testrelm.test -h mgmt2.testrelm.test netgroup'
nisint_goodusers4 (-,gooduser4,testrelm.test) (-,gooduser4,ipatest)
...
nisint_badusers1 (,baduser1,testrelm.test) (,baduser1,ipatest)
nisint_badusers nisint_badusers1 nisint_badusers2 nisint_badusers3 nisint_badusers4
convertpeople (-,joe1,testrelm.test) (-,joe1,ipatest) (-,joe2,testrelm.test) (-,joe2,ipatest) (-,jakob,testrelm.test) (-,jakob,ipatest) (-,littleu,testrelm.test) (-,littleu,ipatest)
:: [   PASS   ] :: Command 'ypcat -k -d testrelm.test -h mgmt2.testrelm.test netgroup' (Expected 0, got 0)
:: [  BEGIN   ] :: Running 'ypcat -k -d testrelm.test -h mgmt2.testrelm.test auto.master'
/nisint auto.nisint
/nfshome auto.home
:: [   PASS   ] :: Command 'ypcat -k -d testrelm.test -h mgmt2.testrelm.test auto.master' (Expected 0, got 0)
:: [  BEGIN   ] :: Running 'ypcat -k -d testrelm.test -h mgmt2.testrelm.test auto.home'
* -rw,rsize=65536,wsize=65536,hard,intr,actimeo=3600,timeo=3600 cloud-qe-12.idmqe.lab.eng.bos.redhat.com:/home/&
:: [   PASS   ] :: Command 'ypcat -k -d testrelm.test -h mgmt2.testrelm.test auto.home' (Expected 0, got 0)
:: [  BEGIN   ] :: Running 'ypcat -k -d testrelm.test -h mgmt2.testrelm.test auto.nisint'
app2 -rw,rsize=65536,wsize=65536,hard,intr,actimeo=3600,timeo=3600 cloud-qe-12.idmqe.lab.eng.bos.redhat.com:/nisint/app2
app1 -rw,rsize=65536,wsize=65536,hard,intr,actimeo=3600,timeo=3600 cloud-qe-12.idmqe.lab.eng.bos.redhat.com:/nisint/app1
:: [   PASS   ] :: Command 'ypcat -k -d testrelm.test -h mgmt2.testrelm.test auto.nisint' (Expected 0, got 0)
:: [  BEGIN   ] :: Running 'ypcat -k -d testrelm.test -h mgmt2.testrelm.test ethers'
etherhost4.testrelm.test 00:00:00:00:00:04 etherhost4.testrelm.test
...
etherhost1.testrelm.test 00:00:00:00:00:01 etherhost1.testrelm.test
:: [   PASS   ] :: Command 'ypcat -k -d testrelm.test -h mgmt2.testrelm.test ethers' (Expected 0, got 0)

Comment 11 errata-xmlrpc 2016-05-12 09:58:00 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, 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://rhn.redhat.com/errata/RHBA-2016-1043.html


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