Bug 1406678

Summary: sssd service is starting before network service
Product: Red Hat Enterprise Linux 7 Reporter: Vinay Mishra <vmishra>
Component: sssdAssignee: SSSD Maintainers <sssd-maint>
Status: CLOSED ERRATA QA Contact: shridhar <sgadekar>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 7.3CC: apeddire, atolani, auebergang, cobrown, geoff.kingsmill, grajaiya, hartsjc, ict_usa, james-p, jhrozek, jstephen, jvilicic, Ken.Fowler, kludhwan, lslebodn, mkosek, mzidek, pbrezina, rvdwees, sali, sgoveas, sssd-maint, thalman, tscherf, vmishra
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: sync-to-jira
Fixed In Version: sssd-1.16.4-2.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1695575 1703182 (view as bug list) Environment:
Last Closed: 2019-08-06 13:02:00 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:
Bug Depends On:    
Bug Blocks: 1420851, 1472344, 1594286, 1647919, 1695575, 1703182    

Comment 3 Lukas Slebodnik 2017-01-02 09:35:46 UTC
BTW even though sssd started in offline mode it will try to connect to directory server with the first attempt to authenticate

Comment 4 Jakub Hrozek 2017-02-01 13:20:04 UTC
Upstream ticket:
https://fedorahosted.org/sssd/ticket/3294

Comment 7 Jakub Hrozek 2017-08-10 10:02:28 UTC
ack for 7.5 development.

Please note that this doesn't mean that sssd should start after network is up -- it shouldn't. But it should seamlessly detect the network is up and re-set the offline status at that point and re-run tasks like fetching sudo rules or user/group enumeration.

Comment 9 Jakub Hrozek 2017-08-10 10:19:27 UTC
Upstream ticket:
https://fedorahosted.org/sssd/ticket/3467

Comment 10 Jakub Hrozek 2017-08-10 18:09:39 UTC
To test, switch off networking and send SIGUSR1 to SSSD to bring it offline.

Enable networking and request an object that is not cached. SSSD should detect the networking was enabled and return the object from the remote server.

Comment 23 Jakub Hrozek 2019-03-28 12:18:58 UTC
master: fe42880

Comment 24 Jakub Hrozek 2019-03-28 13:22:21 UTC
sssd-1-16: dab5562

Comment 37 shridhar 2019-05-17 10:23:51 UTC
Could you share alternative steps to verify this?

Comment 38 Jakub Hrozek 2019-05-17 10:43:51 UTC
(In reply to shridhar from comment #37)
> Could you share alternative steps to verify this?

I'm redirecting needinfo to Tomas, who worked on the bug and since I reviewed the patches, I'll add what I did during the review.

The bad news is that we could never reproduce the issue the customers were seeing in-house, so there is no reliable reproducer.

What the patch (IIRC) does is to try going online several times with an exponential back-off. So one way to test this would be to stop the server (or start iptables to drop packets etc), make sure SSSD is offline (SIGUSR1 might help, see man sssd(8)), then tell SSSD to go online (SIGUSR2 might help here) but only make the server reachable after some time. Wait a bit, then check whether sssd is online or offline. You can use the ssctl tool for that.

Comment 39 shridhar 2019-05-17 12:20:58 UTC
For verification process, I referred steps from #10 . The user information was not returned.

Comment 40 Jakub Hrozek 2019-05-17 12:47:10 UTC
(In reply to shridhar from comment #39)
> For verification process, I referred steps from #10 . The user information
> was not returned.

Not helpful without logs. Did you see connection attempts, with some backoff? Did you see the networking being picked up at all in the monitor logs?

Comment 41 shridhar 2019-05-17 13:18:54 UTC
(In reply to Jakub Hrozek from comment #40)
> (In reply to shridhar from comment #39)
> > For verification process, I referred steps from #10 . The user information
> > was not returned.
> 
> Not helpful without logs. Did you see connection attempts, with some
> backoff? Did you see the networking being picked up at all in the monitor
> logs?

With the steps given in #38, the results are positive though. 
:: [ 09:04:59 ] :: [  BEGIN   ] :: Running 'getent -s sss passwd testuser1'
testuser1:*:11111:11111:Test user 1:/home/testuser1:
:: [ 09:04:59 ] :: [   PASS   ] :: Command 'getent -s sss passwd testuser1' (Expected 0, got 0)
:: [ 09:04:59 ] :: [  BEGIN   ] :: Running 'service NetworkManager stop'
Redirecting to /bin/systemctl stop NetworkManager.service
:: [ 09:05:00 ] :: [   PASS   ] :: Command 'service NetworkManager stop' (Expected 0, got 0)
/mnt/tests/sssd/rhel77/client/ldap_provider/rfc2307/sgadekar/runtest: line 549: rlRUn: command not found
:: [ 09:05:05 ] :: [  BEGIN   ] :: Running 'sssctl domain-list'
LDAP
:: [ 09:05:05 ] :: [   PASS   ] :: Command 'sssctl domain-list' (Expected 0, got 0)
:: [ 09:05:05 ] :: [  BEGIN   ] :: Running 'sssctl domain-status LDAP'
Online status: Offline

Active servers:
LDAP: bender.idmqe.lab.eng.bos.redhat.com

Discovered LDAP servers:
- bender.idmqe.lab.eng.bos.redhat.com

:: [ 09:05:05 ] :: [   PASS   ] :: Command 'sssctl domain-status LDAP' (Expected 0, got 0)
:: [ 09:05:15 ] :: [  BEGIN   ] :: Running 'service NetworkManager start'
Redirecting to /bin/systemctl start NetworkManager.service
:: [ 09:05:15 ] :: [   PASS   ] :: Command 'service NetworkManager start' (Expected 0, got 0)
/mnt/tests/sssd/rhel77/client/ldap_provider/rfc2307/sgadekar/runtest: line 557: rlRUn: command not found
:: [ 09:05:15 ] :: [  BEGIN   ] :: Running 'sssctl domain-list'
LDAP
:: [ 09:05:15 ] :: [   PASS   ] :: Command 'sssctl domain-list' (Expected 0, got 0)
:: [ 09:05:15 ] :: [  BEGIN   ] :: Running 'sssctl domain-status LDAP'
Online status: Online

Active servers:
LDAP: bender.idmqe.lab.eng.bos.redhat.com

Discovered LDAP servers:
- bender.idmqe.lab.eng.bos.redhat.com

:: [ 09:05:15 ] :: [   PASS   ] :: Command 'sssctl domain-status LDAP' (Expected 0, got 0)
:: [ 09:05:20 ] :: [  BEGIN   ] :: Running 'getent -s sss passwd testuser1'
testuser1:*:11111:11111:Test user 1:/home/testuser1:
:: [ 09:05:20 ] :: [   PASS   ] :: Command 'getent -s sss passwd testuser1' (Expected 0, got 0)
:: [ 09:05:20 ] :: [  BEGIN   ] :: Running 'getent -s sss passwd TESTUSER2'
TESTUSER2:*:22222:22222:TEST USER 2:/home/TESTUSER2:
:: [ 09:05:20 ] :: [   PASS   ] :: Command 'getent -s sss passwd TESTUSER2' (Expected 0, got 0)

Comment 44 shridhar 2019-05-21 14:40:04 UTC
verified with
 sssd-1.16.4-13.el7.x86_64


[sssd]
config_file_version = 2
services = nss, pam
domains = LDAP

[nss]
filter_groups = root
filter_users = root

[domain/LDAP]
debug_level=0xFFF0
id_provider = ldap
ldap_uri = ldap://vm-idm-030.lab.eng.pnq.redhat.com
ldap_search_base = dc=example,dc=com
ldap_tls_cacert = /etc/openldap/certs/cacert.asc


[root@vm-idm-034 ~]# systemctl stop sssd.service ; rm -rf /var/log/sssd/* ; rm -rf /var/lib/sss/db/* ; systemctl start sssd.service
[root@vm-idm-034 ~]# sssctl domain-status LDAP 
Online status: Online

Active servers:
LDAP: vm-idm-030.lab.eng.pnq.redhat.com

Discovered LDAP servers:
- vm-idm-030.lab.eng.pnq.redhat.com

==========
ns-slapd stopped on ldap-server
==========

Client-system:
=============
[root@vm-idm-034 ~]# sssctl domain-status LDAP 
Online status: Online

Active servers:
LDAP: vm-idm-030.lab.eng.pnq.redhat.com

Discovered LDAP servers:
- vm-idm-030.lab.eng.pnq.redhat.com

[root@vm-idm-034 ~]# kill -10 `pidof sssd`
[root@vm-idm-034 ~]# sssctl domain-status LDAP 
Online status: Offline

Active servers:
LDAP: vm-idm-030.lab.eng.pnq.redhat.com

Discovered LDAP servers:
- vm-idm-030.lab.eng.pnq.redhat.com

[root@vm-idm-034 ~]# sleep 2m
^C
[root@vm-idm-034 ~]# kill -12 `pidof sssd`
[root@vm-idm-034 ~]# sssctl domain-status LDAP 
Online status: Offline

Active servers:
LDAP: vm-idm-030.lab.eng.pnq.redhat.com

Discovered LDAP servers:
- vm-idm-030.lab.eng.pnq.redhat.com

[root@vm-idm-034 ~]# sleep 2m
[root@vm-idm-034 ~]# sssctl domain-status LDAP 
Online status: Offline

Active servers:
LDAP: vm-idm-030.lab.eng.pnq.redhat.com

Discovered LDAP servers:
- vm-idm-030.lab.eng.pnq.redhat.com

[root@vm-idm-034 ~]# less /var/log/sssd/sssd_LDAP.log 


================
ns-slapd started on LDAP-server
================

[root@vm-idm-034 ~]# egrep online /var/log/sssd/sssd_LDAP.log 
(Tue May 21 18:55:36 2019) [sssd[be[LDAP]]] [be_run_unconditional_online_cb] (0x4000): List of unconditional online callbacks is empty, nothing to do.
(Tue May 21 18:55:36 2019) [sssd[be[LDAP]]] [be_run_online_cb] (0x0080): Going online. Running callbacks.
(Tue May 21 18:55:36 2019) [sssd[be[LDAP]]] [be_ptask_online_cb] (0x0400): Back end is online
(Tue May 21 18:55:36 2019) [sssd[be[LDAP]]] [be_ptask_online_cb] (0x0400): Back end is online
(Tue May 21 18:55:36 2019) [sssd[be[LDAP]]] [sdap_sudo_online_cb] (0x0400): We are back online. SUDO host information will be renewed on next refresh.
(Tue May 21 18:57:45 2019) [sssd[be[LDAP]]] [be_mark_offline] (0x2000): Initialize check_if_online_ptask.
(Tue May 21 18:57:45 2019) [sssd[be[LDAP]]] [be_ptask_create] (0x0400): Periodic task [Check if online (periodic)] was created
(Tue May 21 18:57:45 2019) [sssd[be[LDAP]]] [be_ptask_schedule] (0x0400): Task [Check if online (periodic)]: scheduling task 62 seconds from now [1558445327]
(Tue May 21 18:58:45 2019) [sssd[be[LDAP]]] [check_if_online] (0x2000): Schedule check_if_online_delayed in 1s.
(Tue May 21 18:58:45 2019) [sssd[be[LDAP]]] [check_if_online] (0x2000): There is an online check already running.
(Tue May 21 18:58:46 2019) [sssd[be[LDAP]]] [be_run_unconditional_online_cb] (0x4000): List of unconditional online callbacks is empty, nothing to do.
(Tue May 21 18:58:46 2019) [sssd[be[LDAP]]] [check_if_online_delayed] (0x2000): Trying to go back online!
(Tue May 21 18:58:46 2019) [sssd[be[LDAP]]] [check_if_online_delayed] (0x2000): Check online req created.
(Tue May 21 18:58:46 2019) [sssd[be[LDAP]]] [be_check_online_done] (0x0400): Backend is offline
(Tue May 21 18:58:46 2019) [sssd[be[LDAP]]] [be_check_online_done] (0x2000): Schedule check_if_online_delayed in 2s.
(Tue May 21 18:58:47 2019) [sssd[be[LDAP]]] [be_ptask_execute] (0x0400): Task [Check if online (periodic)]: executing task, timeout 60 seconds
(Tue May 21 18:58:47 2019) [sssd[be[LDAP]]] [check_if_online] (0x2000): There is an online check already running.
(Tue May 21 18:58:47 2019) [sssd[be[LDAP]]] [be_ptask_done] (0x0400): Task [Check if online (periodic)]: finished successfully
(Tue May 21 18:58:47 2019) [sssd[be[LDAP]]] [be_ptask_schedule] (0x0400): Task [Check if online (periodic)]: scheduling task 68 seconds from last execution time [1558445395]
(Tue May 21 18:58:48 2019) [sssd[be[LDAP]]] [be_run_unconditional_online_cb] (0x4000): List of unconditional online callbacks is empty, nothing to do.
(Tue May 21 18:58:48 2019) [sssd[be[LDAP]]] [check_if_online_delayed] (0x2000): Trying to go back online!
(Tue May 21 18:58:48 2019) [sssd[be[LDAP]]] [check_if_online_delayed] (0x2000): Check online req created.
(Tue May 21 18:58:48 2019) [sssd[be[LDAP]]] [be_check_online_done] (0x0400): Backend is offline
(Tue May 21 18:58:48 2019) [sssd[be[LDAP]]] [be_check_online_done] (0x2000): Schedule check_if_online_delayed in 4s.
(Tue May 21 18:58:52 2019) [sssd[be[LDAP]]] [be_run_unconditional_online_cb] (0x4000): List of unconditional online callbacks is empty, nothing to do.
(Tue May 21 18:58:52 2019) [sssd[be[LDAP]]] [check_if_online_delayed] (0x2000): Trying to go back online!
(Tue May 21 18:58:52 2019) [sssd[be[LDAP]]] [check_if_online_delayed] (0x2000): Check online req created.
(Tue May 21 18:58:52 2019) [sssd[be[LDAP]]] [be_check_online_done] (0x0400): Backend is offline
(Tue May 21 18:58:52 2019) [sssd[be[LDAP]]] [be_check_online_done] (0x2000): Schedule check_if_online_delayed in 4s.
(Tue May 21 18:58:56 2019) [sssd[be[LDAP]]] [be_run_unconditional_online_cb] (0x4000): List of unconditional online callbacks is empty, nothing to do.
(Tue May 21 18:58:56 2019) [sssd[be[LDAP]]] [check_if_online_delayed] (0x2000): Trying to go back online!
(Tue May 21 18:58:56 2019) [sssd[be[LDAP]]] [check_if_online_delayed] (0x2000): Check online req created.
(Tue May 21 18:58:56 2019) [sssd[be[LDAP]]] [be_check_online_done] (0x0400): Backend is offline
(Tue May 21 18:59:55 2019) [sssd[be[LDAP]]] [be_ptask_execute] (0x0400): Task [Check if online (periodic)]: executing task, timeout 60 seconds
(Tue May 21 18:59:55 2019) [sssd[be[LDAP]]] [check_if_online] (0x2000): Schedule check_if_online_delayed in 0s.
(Tue May 21 18:59:55 2019) [sssd[be[LDAP]]] [be_ptask_done] (0x0400): Task [Check if online (periodic)]: finished successfully
(Tue May 21 18:59:55 2019) [sssd[be[LDAP]]] [be_ptask_schedule] (0x0400): Task [Check if online (periodic)]: scheduling task 139 seconds from last execution time [1558445534]
(Tue May 21 18:59:55 2019) [sssd[be[LDAP]]] [be_run_unconditional_online_cb] (0x4000): List of unconditional online callbacks is empty, nothing to do.
(Tue May 21 18:59:55 2019) [sssd[be[LDAP]]] [check_if_online_delayed] (0x2000): Trying to go back online!
(Tue May 21 18:59:55 2019) [sssd[be[LDAP]]] [check_if_online_delayed] (0x2000): Check online req created.
(Tue May 21 18:59:55 2019) [sssd[be[LDAP]]] [be_check_online_done] (0x0400): Backend is offline
(Tue May 21 18:59:55 2019) [sssd[be[LDAP]]] [be_check_online_done] (0x2000): Schedule check_if_online_delayed in 2s.
(Tue May 21 18:59:57 2019) [sssd[be[LDAP]]] [be_run_unconditional_online_cb] (0x4000): List of unconditional online callbacks is empty, nothing to do.
(Tue May 21 18:59:57 2019) [sssd[be[LDAP]]] [check_if_online_delayed] (0x2000): Trying to go back online!
(Tue May 21 18:59:57 2019) [sssd[be[LDAP]]] [check_if_online_delayed] (0x2000): Check online req created.
(Tue May 21 18:59:57 2019) [sssd[be[LDAP]]] [be_check_online_done] (0x0400): Backend is offline
(Tue May 21 18:59:57 2019) [sssd[be[LDAP]]] [be_check_online_done] (0x2000): Schedule check_if_online_delayed in 4s.
(Tue May 21 19:00:01 2019) [sssd[be[LDAP]]] [be_run_unconditional_online_cb] (0x4000): List of unconditional online callbacks is empty, nothing to do.
(Tue May 21 19:00:01 2019) [sssd[be[LDAP]]] [check_if_online_delayed] (0x2000): Trying to go back online!
(Tue May 21 19:00:01 2019) [sssd[be[LDAP]]] [check_if_online_delayed] (0x2000): Check online req created.
(Tue May 21 19:00:01 2019) [sssd[be[LDAP]]] [be_check_online_done] (0x0400): Backend is offline
[root@vm-idm-034 ~]# egrep online /var/log/sssd/sssd_LDAP.log 
(Tue May 21 18:55:36 2019) [sssd[be[LDAP]]] [be_run_unconditional_online_cb] (0x4000): List of unconditional online callbacks is empty, nothing to do.
(Tue May 21 18:55:36 2019) [sssd[be[LDAP]]] [be_run_online_cb] (0x0080): Going online. Running callbacks.
(Tue May 21 18:55:36 2019) [sssd[be[LDAP]]] [be_ptask_online_cb] (0x0400): Back end is online
(Tue May 21 18:55:36 2019) [sssd[be[LDAP]]] [be_ptask_online_cb] (0x0400): Back end is online
(Tue May 21 18:55:36 2019) [sssd[be[LDAP]]] [sdap_sudo_online_cb] (0x0400): We are back online. SUDO host information will be renewed on next refresh.
(Tue May 21 18:57:45 2019) [sssd[be[LDAP]]] [be_mark_offline] (0x2000): Initialize check_if_online_ptask.
(Tue May 21 18:57:45 2019) [sssd[be[LDAP]]] [be_ptask_create] (0x0400): Periodic task [Check if online (periodic)] was created
(Tue May 21 18:57:45 2019) [sssd[be[LDAP]]] [be_ptask_schedule] (0x0400): Task [Check if online (periodic)]: scheduling task 62 seconds from now [1558445327]
(Tue May 21 18:58:45 2019) [sssd[be[LDAP]]] [check_if_online] (0x2000): Schedule check_if_online_delayed in 1s.
(Tue May 21 18:58:45 2019) [sssd[be[LDAP]]] [check_if_online] (0x2000): There is an online check already running.
(Tue May 21 18:58:46 2019) [sssd[be[LDAP]]] [be_run_unconditional_online_cb] (0x4000): List of unconditional online callbacks is empty, nothing to do.
(Tue May 21 18:58:46 2019) [sssd[be[LDAP]]] [check_if_online_delayed] (0x2000): Trying to go back online!
(Tue May 21 18:58:46 2019) [sssd[be[LDAP]]] [check_if_online_delayed] (0x2000): Check online req created.
(Tue May 21 18:58:46 2019) [sssd[be[LDAP]]] [be_check_online_done] (0x0400): Backend is offline
(Tue May 21 18:58:46 2019) [sssd[be[LDAP]]] [be_check_online_done] (0x2000): Schedule check_if_online_delayed in 2s.
(Tue May 21 18:58:47 2019) [sssd[be[LDAP]]] [be_ptask_execute] (0x0400): Task [Check if online (periodic)]: executing task, timeout 60 seconds
(Tue May 21 18:58:47 2019) [sssd[be[LDAP]]] [check_if_online] (0x2000): There is an online check already running.
(Tue May 21 18:58:47 2019) [sssd[be[LDAP]]] [be_ptask_done] (0x0400): Task [Check if online (periodic)]: finished successfully
(Tue May 21 18:58:47 2019) [sssd[be[LDAP]]] [be_ptask_schedule] (0x0400): Task [Check if online (periodic)]: scheduling task 68 seconds from last execution time [1558445395]
(Tue May 21 18:58:48 2019) [sssd[be[LDAP]]] [be_run_unconditional_online_cb] (0x4000): List of unconditional online callbacks is empty, nothing to do.
(Tue May 21 18:58:48 2019) [sssd[be[LDAP]]] [check_if_online_delayed] (0x2000): Trying to go back online!
(Tue May 21 18:58:48 2019) [sssd[be[LDAP]]] [check_if_online_delayed] (0x2000): Check online req created.
(Tue May 21 18:58:48 2019) [sssd[be[LDAP]]] [be_check_online_done] (0x0400): Backend is offline
(Tue May 21 18:58:48 2019) [sssd[be[LDAP]]] [be_check_online_done] (0x2000): Schedule check_if_online_delayed in 4s.
(Tue May 21 18:58:52 2019) [sssd[be[LDAP]]] [be_run_unconditional_online_cb] (0x4000): List of unconditional online callbacks is empty, nothing to do.
(Tue May 21 18:58:52 2019) [sssd[be[LDAP]]] [check_if_online_delayed] (0x2000): Trying to go back online!
(Tue May 21 18:58:52 2019) [sssd[be[LDAP]]] [check_if_online_delayed] (0x2000): Check online req created.
(Tue May 21 18:58:52 2019) [sssd[be[LDAP]]] [be_check_online_done] (0x0400): Backend is offline
(Tue May 21 18:58:52 2019) [sssd[be[LDAP]]] [be_check_online_done] (0x2000): Schedule check_if_online_delayed in 4s.
(Tue May 21 18:58:56 2019) [sssd[be[LDAP]]] [be_run_unconditional_online_cb] (0x4000): List of unconditional online callbacks is empty, nothing to do.
(Tue May 21 18:58:56 2019) [sssd[be[LDAP]]] [check_if_online_delayed] (0x2000): Trying to go back online!
(Tue May 21 18:58:56 2019) [sssd[be[LDAP]]] [check_if_online_delayed] (0x2000): Check online req created.
(Tue May 21 18:58:56 2019) [sssd[be[LDAP]]] [be_check_online_done] (0x0400): Backend is offline
(Tue May 21 18:59:55 2019) [sssd[be[LDAP]]] [be_ptask_execute] (0x0400): Task [Check if online (periodic)]: executing task, timeout 60 seconds
(Tue May 21 18:59:55 2019) [sssd[be[LDAP]]] [check_if_online] (0x2000): Schedule check_if_online_delayed in 0s.
(Tue May 21 18:59:55 2019) [sssd[be[LDAP]]] [be_ptask_done] (0x0400): Task [Check if online (periodic)]: finished successfully
(Tue May 21 18:59:55 2019) [sssd[be[LDAP]]] [be_ptask_schedule] (0x0400): Task [Check if online (periodic)]: scheduling task 139 seconds from last execution time [1558445534]
(Tue May 21 18:59:55 2019) [sssd[be[LDAP]]] [be_run_unconditional_online_cb] (0x4000): List of unconditional online callbacks is empty, nothing to do.
(Tue May 21 18:59:55 2019) [sssd[be[LDAP]]] [check_if_online_delayed] (0x2000): Trying to go back online!
(Tue May 21 18:59:55 2019) [sssd[be[LDAP]]] [check_if_online_delayed] (0x2000): Check online req created.
(Tue May 21 18:59:55 2019) [sssd[be[LDAP]]] [be_check_online_done] (0x0400): Backend is offline
(Tue May 21 18:59:55 2019) [sssd[be[LDAP]]] [be_check_online_done] (0x2000): Schedule check_if_online_delayed in 2s.
(Tue May 21 18:59:57 2019) [sssd[be[LDAP]]] [be_run_unconditional_online_cb] (0x4000): List of unconditional online callbacks is empty, nothing to do.
(Tue May 21 18:59:57 2019) [sssd[be[LDAP]]] [check_if_online_delayed] (0x2000): Trying to go back online!
(Tue May 21 18:59:57 2019) [sssd[be[LDAP]]] [check_if_online_delayed] (0x2000): Check online req created.
(Tue May 21 18:59:57 2019) [sssd[be[LDAP]]] [be_check_online_done] (0x0400): Backend is offline
(Tue May 21 18:59:57 2019) [sssd[be[LDAP]]] [be_check_online_done] (0x2000): Schedule check_if_online_delayed in 4s.
(Tue May 21 19:00:01 2019) [sssd[be[LDAP]]] [be_run_unconditional_online_cb] (0x4000): List of unconditional online callbacks is empty, nothing to do.
(Tue May 21 19:00:01 2019) [sssd[be[LDAP]]] [check_if_online_delayed] (0x2000): Trying to go back online!
(Tue May 21 19:00:01 2019) [sssd[be[LDAP]]] [check_if_online_delayed] (0x2000): Check online req created.
(Tue May 21 19:00:01 2019) [sssd[be[LDAP]]] [be_check_online_done] (0x0400): Backend is offline
(Tue May 21 19:02:14 2019) [sssd[be[LDAP]]] [be_ptask_execute] (0x0400): Task [Check if online (periodic)]: executing task, timeout 60 seconds
(Tue May 21 19:02:14 2019) [sssd[be[LDAP]]] [check_if_online] (0x2000): Schedule check_if_online_delayed in 0s.
(Tue May 21 19:02:14 2019) [sssd[be[LDAP]]] [be_ptask_done] (0x0400): Task [Check if online (periodic)]: finished successfully
(Tue May 21 19:02:14 2019) [sssd[be[LDAP]]] [be_ptask_schedule] (0x0400): Task [Check if online (periodic)]: scheduling task 256 seconds from last execution time [1558445790]
(Tue May 21 19:02:14 2019) [sssd[be[LDAP]]] [be_run_unconditional_online_cb] (0x4000): List of unconditional online callbacks is empty, nothing to do.
(Tue May 21 19:02:14 2019) [sssd[be[LDAP]]] [check_if_online_delayed] (0x2000): Trying to go back online!
(Tue May 21 19:02:14 2019) [sssd[be[LDAP]]] [check_if_online_delayed] (0x2000): Check online req created.
(Tue May 21 19:02:14 2019) [sssd[be[LDAP]]] [be_check_online_done] (0x0400): Backend is offline
(Tue May 21 19:02:14 2019) [sssd[be[LDAP]]] [be_check_online_done] (0x2000): Schedule check_if_online_delayed in 2s.
(Tue May 21 19:02:16 2019) [sssd[be[LDAP]]] [be_run_unconditional_online_cb] (0x4000): List of unconditional online callbacks is empty, nothing to do.
(Tue May 21 19:02:16 2019) [sssd[be[LDAP]]] [check_if_online_delayed] (0x2000): Trying to go back online!
(Tue May 21 19:02:16 2019) [sssd[be[LDAP]]] [check_if_online_delayed] (0x2000): Check online req created.
(Tue May 21 19:02:16 2019) [sssd[be[LDAP]]] [be_check_online_done] (0x0400): Backend is offline
(Tue May 21 19:02:16 2019) [sssd[be[LDAP]]] [be_check_online_done] (0x2000): Schedule check_if_online_delayed in 4s.
(Tue May 21 19:02:20 2019) [sssd[be[LDAP]]] [be_run_unconditional_online_cb] (0x4000): List of unconditional online callbacks is empty, nothing to do.
(Tue May 21 19:02:20 2019) [sssd[be[LDAP]]] [check_if_online_delayed] (0x2000): Trying to go back online!
(Tue May 21 19:02:20 2019) [sssd[be[LDAP]]] [check_if_online_delayed] (0x2000): Check online req created.
(Tue May 21 19:02:20 2019) [sssd[be[LDAP]]] [be_check_online_done] (0x0400): Backend is online
(Tue May 21 19:02:20 2019) [sssd[be[LDAP]]] [be_ptask_disable] (0x0400): Task [Check if online (periodic)]: disabling task
(Tue May 21 19:02:20 2019) [sssd[be[LDAP]]] [be_run_online_cb] (0x0080): Going online. Running callbacks.
(Tue May 21 19:02:20 2019) [sssd[be[LDAP]]] [be_ptask_online_cb] (0x0400): Back end is online
(Tue May 21 19:02:20 2019) [sssd[be[LDAP]]] [be_ptask_online_cb] (0x0400): Back end is online
(Tue May 21 19:02:20 2019) [sssd[be[LDAP]]] [be_run_unconditional_online_cb] (0x4000): List of unconditional online callbacks is empty, nothing to do.
(Tue May 21 19:02:20 2019) [sssd[be[LDAP]]] [sdap_sudo_online_cb] (0x0400): We are back online. SUDO host information will be renewed on next refresh.
[root@vm-idm-034 ~]# sssctl domain-status LDAP 
Online status: Online

Active servers:
LDAP: vm-idm-030.lab.eng.pnq.redhat.com

Discovered LDAP servers:
- vm-idm-030.lab.eng.pnq.redhat.com

[root@vm-idm-034 ~]#

Comment 49 errata-xmlrpc 2019-08-06 13:02: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://access.redhat.com/errata/RHSA-2019:2177