Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-8730

Start ssl mongos where config server is non-ssl, no informative message

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • ALL

      Mongos hangs then core dumps

      ubuntu@ip-10-36-133-56:~/mongodb-linux-x86_64-subscription-ubuntu1104-2.4.0-rc0$ ./bin/mongod --dbpath ./data/config/ --configsvr Tue Feb 26 13:14:51.645 [initandlisten] MongoDB starting : pid=14166 port=27019 dbpath=./data/config/ master=1 64-bit host=ip-10-36-133-56
      Tue Feb 26 13:14:51.646 [initandlisten] db version v2.4.0-rc0, pdfile version 4.5
      Tue Feb 26 13:14:51.646 [initandlisten] git version: 09967e98e5d6280305d85553cdb2dd12e2e1e149 modules: subscription
      Tue Feb 26 13:14:51.646 [initandlisten] build info: Linux bs-e-ubuntu1104 2.6.38-13-virtual #57-Ubuntu SMP Mon Mar 5 21:16:08 UTC 2012 x86_64 BOOST_LIB_VERSION=1_49
      Tue Feb 26 13:14:51.646 [initandlisten] allocator: tcmalloc
      Tue Feb 26 13:14:51.646 [initandlisten] options: { configsvr: true, dbpath: "./data/config/" }
      Tue Feb 26 13:14:51.654 [initandlisten] journal dir=./data/config/journal
      Tue Feb 26 13:14:51.654 [initandlisten] recover : no journal files present, no recovery needed
      Tue Feb 26 13:14:51.858 [websvr] admin web console waiting for connections on port 28019
      Tue Feb 26 13:14:51.858 [initandlisten] waiting for connections on port 27019
      Tue Feb 26 13:14:55.526 [initandlisten] connection accepted from 10.36.133.56:42874 #1 (1 connection now open)
      
      
      ubuntu@ip-10-36-133-56:~/mongodb-linux-x86_64-subscription-ubuntu1104-2.4.0-rc0$ ./bin/mongos --configdb ip-10-36-133-56 --sslOnNormalPorts --sslPEMKeyFile ../sslCA/gregorFreeBSD.pem 
      Tue Feb 26 13:14:55.523 warning: running with 1 config server should be done only for testing purposes and is not recommended for production
      Tue Feb 26 13:14:55.524 [mongosMain] MongoS version 2.4.0-rc0 starting: pid=14180 port=27017 64-bit host=ip-10-36-133-56 (--help for usage)
      Tue Feb 26 13:14:55.524 [mongosMain] git version: 09967e98e5d6280305d85553cdb2dd12e2e1e149 modules: subscription
      Tue Feb 26 13:14:55.524 [mongosMain] build info: Linux bs-e-ubuntu1104 2.6.38-13-virtual #57-Ubuntu SMP Mon Mar 5 21:16:08 UTC 2012 x86_64 BOOST_LIB_VERSION=1_49
      Tue Feb 26 13:14:55.524 [mongosMain] options: { configdb: "ip-10-36-133-56", sslOnNormalPorts: true, sslPEMKeyFile: "../sslCA/gregorFreeBSD.pem" }
      Tue Feb 26 13:16:25.528 [mongosMain]   Fatal Assertion 16697
      0x9fa853 0x9a9c93 0x9e76bd 0x9e94e4 0x9e1a91 0x6ba4a5 0x6bb115 0x6bb8f9 0x6a9b4e 0x766149 0x8bf225 0x8c00d3 0x67bd99 0x67c90c 0x7f53e0af376d 0x679a39 
       ./bin/mongos(_ZN5mongo15printStackTraceERSo+0x23) [0x9fa853]
       ./bin/mongos(_ZN5mongo13fassertFailedEi+0x63) [0x9a9c93]
       ./bin/mongos(_ZN5mongo10SSLManager12_ssl_connectEP6ssl_st+0x6d) [0x9e76bd]
       ./bin/mongos(_ZN5mongo10SSLManager7connectEi+0x24) [0x9e94e4]
       ./bin/mongos(_ZN5mongo6Socket6secureEPNS_10SSLManagerE+0x31) [0x9e1a91]
       ./bin/mongos(_ZN5mongo18DBClientConnection8_connectERSs+0x415) [0x6ba4a5]
       ./bin/mongos(_ZN5mongo18DBClientConnection7connectERKNS_11HostAndPortERSs+0xc5) [0x6bb115]
       ./bin/mongos(_ZNK5mongo16ConnectionString7connectERSsd+0x429) [0x6bb8f9]
       ./bin/mongos(_ZN5mongo16DBConnectionPool3getERKSsd+0xbe) [0x6a9b4e]
       ./bin/mongos(_ZN5mongo18ScopedDbConnection29getInternalScopedDbConnectionERKSsd+0x79) [0x766149]
       ./bin/mongos(_ZNK5mongo12ConfigServer28checkConfigServersConsistentERSsi+0xc5) [0x8bf225]
       ./bin/mongos(_ZN5mongo12ConfigServer2okEb+0x33) [0x8c00d3]
       ./bin/mongos() [0x67bd99]
       ./bin/mongos(main+0x44c) [0x67c90c]
       /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f53e0af376d]
       ./bin/mongos() [0x679a39]
      Tue Feb 26 13:16:25.533 [mongosMain] 
      
      ***aborting after fassert() failure
      
      
      Aborted (core dumped)
      

            Assignee:
            Unassigned Unassigned
            Reporter:
            gregor Gregor Macadam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: