URL: https://github.com/SSSD/sssd/pull/112
Title: #112: FAILOVER: Improve port status log messages

justin-stephenson commented:
"""
Hello Jakub/Michal, thanks a lot for your comments and review.

I updated the PR to provide a better explanation which uses elements of both 
suggestions mentioned.

I used `SSSDBG_MINOR_FAILURE` for this message but i'm not confident if this is 
the desired log level(sorry if I misunderstood), now we have 3 different DEBUG 
log level types being used in `get_port_status`.

Also, is there a better location or calling function to log this message which 
will avoid duplicate messages as shown below?

    [sssd[be[jstephen.local]]] [fo_resolve_service_send] (0x0100): Trying to 
resolve service 'IPA'
    [sssd[be[jstephen.local]]] [get_server_status] (0x1000): Status of server 
'ipa-server-f24.jstephen.local' is 'working'
    [sssd[be[jstephen.local]]] [get_port_status] (0x1000): Port status of port 
389 for server 'ipa-server-f24.jstephen.local' is 'not working'
    [sssd[be[jstephen.local]]] [get_port_status] (0x0080): SSSD is unable to 
complete the full connection request, this internal status does not necessarily 
indicate network port issues.
    [sssd[be[jstephen.local]]] [get_server_status] (0x1000): Status of server 
'ipa-replica-f25.jstephen.local' is 'not working'
    [sssd[be[jstephen.local]]] [get_server_status] (0x1000): Status of server 
'ipa-server-f24.jstephen.local' is 'working'
    [sssd[be[jstephen.local]]] [get_port_status] (0x1000): Port status of port 
0 for server 'ipa-server-f24.jstephen.local' is 'not working'
    [sssd[be[jstephen.local]]] [get_port_status] (0x0080): SSSD is unable to 
complete the full connection request, this internal status does not necessarily 
indicate network port issues.
    [sssd[be[jstephen.local]]] [fo_resolve_service_send] (0x0020): No available 
servers for service 'IPA'
"""

See the full comment at 
https://github.com/SSSD/sssd/pull/112#issuecomment-268629883
_______________________________________________
sssd-devel mailing list -- sssd-devel@lists.fedorahosted.org
To unsubscribe send an email to sssd-devel-le...@lists.fedorahosted.org

Reply via email to