[SERVER-5473] mongostat throws an error when connecting via a 1.8.x mongos - "unrecognized command: getnonce" Created: 02/Apr/12  Updated: 11/Jul/16  Resolved: 12/Jun/12

Status: Closed
Project: Core Server
Component/s: Tools
Affects Version/s: 2.0.3, 2.0.4, 2.1.0
Fix Version/s: 2.0.7, 2.1.2

Type: Bug Priority: Minor - P4
Reporter: Adam Comerford Assignee: Matt Dannenberg
Resolution: Done Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

2.0.4 mongostat and 1.8.4 sharded mongos/mongod


Issue Links:
Depends
Related
is related to SERVER-3641 support mongostat through mongos with... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

Here's the output from 2.0.4 (2.1 build also shows this) mongostat connecting to the 1.8.4 mongos:

./mongostat --discover -h localhost:27017
connected to: localhost:27017
serverThread (localhost:27017) fatal error : nextSafe(): { $err: "unrecognized command: getnonce", code: 13390 }



 Comments   
Comment by auto [ 03/Jul/12 ]

Author:

{u'date': u'2012-06-12T10:26:31-07:00', u'email': u'dannenberg.matt@gmail.com', u'name': u'Matt Dannenberg'}

Message: SERVER-5473 mongostat will not auth unless passed a username or password

Signed-off-by: Spencer T Brody <spencer@10gen.com>
Signed-off-by: Eric Milkie <milkie@10gen.com>
Branch: v2.0
https://github.com/mongodb/mongo/commit/b39f7ff6b9eac988569ec7a49f7be97bc58764b4

Comment by auto [ 12/Jun/12 ]

Author:

{u'date': u'2012-06-12T10:26:31-07:00', u'email': u'dannenberg.matt@gmail.com', u'name': u'Matt Dannenberg'}

Message: SERVER-5473 mongostat will not auth unless passed a username or password

Signed-off-by: Spencer T Brody <spencer@10gen.com>
Branch: master
https://github.com/mongodb/mongo/commit/058b56c391c8b5892b9d8d366a9cf70863ea6a36

Comment by Adam Comerford [ 02/Apr/12 ]

Linking to the probable change in 2.0.3 - SERVER-3641 (this does not happen in 2.0.2)

Comment by Adam Comerford [ 02/Apr/12 ]

Steps to repro:

//start up a simple 1.8.4 sharded env from mongo-snippets
python simple-setup.py --path=~/mongo/mongodb-osx-x86_64-1.8.4/bin/
 
//use a 2.0.4 or 2.1 mongostat to do a discover
 
./mongostat --discover -h localhost:27017
connected to: localhost:27017
serverThread (localhost:27017) fatal error : nextSafe(): { $err: "unrecognized command: getnonce", code: 13390 }
 
localhost:27017	no data
 
localhost:27017	no data

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