[SERVER-21756] HostnameCanonicalizationWorker reverse name lookup logging level too high Created: 03/Dec/15  Updated: 07/Apr/23  Resolved: 20/May/16

Status: Closed
Project: Core Server
Component/s: Logging
Affects Version/s: None
Fix Version/s: 3.3.8

Type: Bug Priority: Minor - P4
Reporter: Scott Hernandez (Inactive) Assignee: Spencer Jackson
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Security 12 (04/01/16), Security 13 (04/22/16), Security 14 (05/13/16), Security 15 (06/03/16)
Participants:

 Description   

This is spammy and not very useful nor actionable.

We should change the log level for these to 2/3 here

Also, the message should probably get a little work to make it clear this is reverse dns/resolution for the ip addresses.

HostnameCanonicalizationWorker] Failed to obtain name info for: [ (10.4.126.58, "nodename nor servname provided, or not known"), (10.4.126.58, "nodename nor servname provided, or not known") ]



 Comments   
Comment by Githook User [ 17/May/16 ]

Author:

{u'username': u'spencerjackson', u'name': u'Spencer Jackson', u'email': u'spencer.jackson@mongodb.com'}

Message: SERVER-21756: Lower loglevel of HostnameCanonicalization
Branch: master
https://github.com/mongodb/mongo/commit/af9ad7ec9599f6c2da22a27fead7cd9bf97bda50

Comment by rohith [ 18/Mar/16 ]

This issue related to hostfile.
check your host file config ,if it is Linux go to /etc/hosts and comment or remove #::1 hostname line which is related to ipv6 generally which is disabled.
else enable Ipv6 .
after this change restart the service which should be good without any failed events logging.

Thanks

Generated at Thu Feb 08 03:58:20 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.