[SERVER-19698] Typo in error message Created: 31/Jul/15  Updated: 19/Sep/15  Resolved: 31/Jul/15

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

Type: Bug Priority: Major - P3
Reporter: Hannes Magnusson Assignee: Mark Benvenuto
Resolution: Done Votes: 0
Labels: dnsf
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

When initializing a replicaset through rs.initialize() using X509 certificate that doesn't match the hostname used an error is raised:

2015-07-31T13:22:30.051-0700 I COMMAND  [conn8] initiate : no configuration specified. Using a default configuration for the set
2015-07-31T13:22:30.051-0700 I COMMAND  [conn8] created this configuration for initiation : { _id: "RS", version: 1, members: [ { _id: 0, host: "infant:27017" } ] }
2015-07-31T13:22:30.051-0700 I REPL     [conn8] replSetInitiate admin command received from client
2015-07-31T13:22:30.052-0700 I NETWORK  [initandlisten] connection accepted from 127.0.0.1:60812 #9 (2 connections now open)
2015-07-31T13:22:30.068-0700 E NETWORK  [conn8] The server certificate does not match the host name infant
2015-07-31T13:22:30.068-0700 I NETWORK  [conn9] end connection 127.0.0.1:60812 (1 connection now open)
2015-07-31T13:22:30.068-0700 W NETWORK  [conn8] could't check isSelf (infant:27017) socket exception [CONNECT_ERROR] for The server certificate does not match the host name infant
2015-07-31T13:22:30.069-0700 E REPL     [conn8] replSet initiate got NodeNotFound No host described in new configuration 1 for replica set RS maps to this node while validating { _id: "RS", version: 1, members: [ { _id: 0, host: "infant:27017" } ] }
2015-07-31T13:22:38.258-0700 I NETWORK  [conn8] end connection 127.0.0.1:41447 (0 connections now open)

"could't check isSelf" should say "couldn't"



 Comments   
Comment by Githook User [ 31/Jul/15 ]

Author:

{u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@10gen.com'}

Message: SERVER-19698: Typo in error message

closes #1006

Signed-off-by: Mark Benvenuto <mark.benvenuto@mongodb.com>
Branch: master
https://github.com/mongodb/mongo/commit/ce1019eabc51305ec7fabc1808605b9c9fb24523

Comment by Hannes Magnusson [ 31/Jul/15 ]

https://github.com/mongodb/mongo/pull/1006

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