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

5.1 mongoldap crashing

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Blocker - P1 Blocker - P1
    • 5.2.0, 5.1.0-rc3
    • Affects Version/s: 5.1.0-rc2
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v5.1
    • Security 2021-11-01

      Atlas introduced a new e2e test about Ldap verification against 5.1 cluster and it keeps failing with the following error. Wonder if someone can take a look at this or maybe this is a known issue? 

       

      2021-10-26T20:20:38.350+0000 [JettyHttpPool-107] gid:61317a079fac2374d052f3e8 INFO  com.xgen.svc.atm.jobs.LDAPVerifyConnectivityJob [LDAPVerifyConnectivityJob.java:handleError:72] - LDAP verification failed for groupId: 61317a079fac2374d052f3e8.  mongoldap results - exitCode: -1, stdOut: Running MongoDB LDAP authorization validation checks...
      Version: 5.1.0-rc1
      
      Checking that an server has been specified...
      [OK] LDAP server(s) provided in configuration
      
      Checking that the DNS names of the LDAP servers resolve...
      	* LDAP Host: aws-atlas-ads-test-01.ldap.mmscloudteam.com was NOT successfully resolved.
      [OK] All DNS entries resolved
      
      Checking for TLS usage and connectivity...
      {"t":{"$date":"2021-10-26T20:20:38.076Z"},"s":"F",  "c":"ASSERT",   "id":23081,   "ctx":"OCSPCache-0","msg":"Invariant failure","attr":{"expr":"opCtx->lockState()","msg":"/tmp/mongoldap463633650","file":"src/mongo/db/service_context.cpp","line":254}}
      {"t":{"$date":"2021-10-26T20:20:38.076Z"},"s":"F",  "c":"ASSERT",   "id":23082,   "ctx":"OCSPCache-0","msg":"\n\n***aborting after invariant() failure\n\n"}
      {"t":{"$date":"2021-10-26T20:20:38.076Z"},"s":"F",  "c":"CONTROL",  "id":4757800, "ctx":"OCSPCache-0","msg":"Writing fatal message","attr":{"message":"Got signal: 6 (Aborted).\n"}}
      {"t":{"$date":"2021-10-26T20:20:38.330Z"},"s":"I",  "c":"CONTROL",  "id":31380,   "ctx":"OCSPCache-0","msg":"BACKTRACE","attr":{"bt":{"backtrace":[{"a":"55E4C10D1A8A","b":"55E4BF2F0000","o":"1DE1A8A","s":"_ZN5mongo18stack_trace_detail12_GLOBAL__N_119printStackTraceImplERKNS1_7OptionsEPNS_14StackTraceSinkE.constprop.358","s+":"20A"},{"a":"55E4C10D43F9","b":"55E4BF2F0000","o":"1DE43F9","s":"_ZN5mongo15printStackTraceEv","s+":"29"},{"a":"55E4C10CCE66","b":"55E4BF2F0000","o":"1DDCE66","s":"abruptQuit","s+":"66"},{"a":"7F2F8D93A630","b":"7F2F8D92B000","o":"F630","s":"_L_unlock_13","s+":"34"},{"a":"7F2F8D593387","b":"7F2F8D55D000","o":"36387","s":"gsignal","s+":"37"},{"a":"7F2F8D594A78","b":"7F2F8D55D000","o":"37A78","s":"abort","s+":"148"},{"a":"55E4BFD19D92","b":"55E4BF2F0000","o":"A29D92","s":"_ZN5mongo22invariantFailedWithMsgEPKcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES1_j","s+":"113"},{"a":"55E4C0E7435D","b":"55E4BF2F0000","o":"1B8435D","s":"_ZN5mongo14ServiceContext20makeOperationContextEPNS_6ClientE","s+":"39D"},{"a":"55E4C0E647B7","b":"55E4BF2F0000","o":"1B747B7","s":"_ZN5mongo6Client20makeOperationContextEv","s+":"27"},{"a":"55E4C0E40502","b":"55E4BF2F0000","o":"1B50502","s":"_ZZN5mongo15unique_functionIFvNS_6StatusEEE8makeImplIZNS_20ReadThroughCacheBase10_asyncWorkENS0_IFvPNS_16OperationContextERKS1_EEEEUlS1_E_EEDaOT_EN12SpecificImpl4callEOS1_","s+":"C2"},{"a":"55E4C0E46CE5","b":"55E4BF2F0000","o":"1B56CE5","s":"_ZN5mongo10ThreadPool4Impl10_doOneTaskEPSt11unique_lockINS_12latch_detail5LatchEE","s+":"135"},{"a":"55E4C0E482EB","b":"55E4BF2F0000","o":"1B582EB","s":"_ZN5mongo10ThreadPool4Impl13_consumeTasksEv","s+":"8B"},{"a":"55E4C0E49701","b":"55E4BF2F0000","o":"1B59701","s":"_ZN5mongo10ThreadPool4Impl17_workerThreadBodyERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE","s+":"161"},{"a":"55E4C0E49C10","b":"55E4BF2F0000","o":"1B59C10","s":"_ZNSt6thread11_State_implINS_8_InvokerISt5tupleIJZN5mongo4stdx6threadC4IZNS3_10ThreadPool4Impl25_startWorkerThread_inlockEvEUlvE2_JELi0EEET_DpOT0_EUlvE_EEEEE6_M_runEv","s+":"60"},{"a":"55E4C128257F","b":"55E4BF2F0000","o":"1F9257F","s":"execute_native_thread_routine","s+":"F"},{"a":"7F2F8D932EA5","b":"7F2F8D92B000","o":"7EA5","s":"start_thread","s+":"C5"},{"a":"7F2F8D65B9FD","b":"7F2F8D55D000","o":"FE9FD","s":"clone","s+":"6D"}],"processInfo":{"mongodbVersion":"5.1.0-rc1","gitVersion":"8797d34dae0f520c2cb19ff5c40ee3835ef0cc4c","compiledModules":["enterprise"],"uname":{"sysname":"Linux","release":"3.10.0-1160.41.1.el7.x86_64","version":"#1 SMP Tue Aug 31 14:52:47 UTC 2021","machine":"x86_64"},"somap":[{"b":"55E4BF2F0000","elfType":3,"buildId":"819531657F19542761F7D27633F43CF74686539C"},{"b":"7F2F8D92B000","path":"/lib64/libpthread.so.0","elfType":3,"buildId":"E10CC8F2B932FC3DAEDA22F8DAC5EBB969524E5B"},{"b":"7F2F8D55D000","path":"/lib64/libc.so.6","elfType":3,"buildId":"A317B42B15368ADCAE21C11107691A03EC91059D"}]}}}}
      {"t":{"$date":"2021-10-26T20:20:38.330Z"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"OCSPCache-0","msg":"Frame","attr":{"frame":{"a":"55E4C10D1A8A","b":"55E4BF2F0000","o":"1DE1A8A","s":"_ZN5mongo18stack_trace_detail12_GLOBAL__N_119printStackTraceImplERKNS1_7OptionsEPNS_14StackTraceSinkE.constprop.358","s+":"20A"}}}
      {"t":{"$date":"2021-10-26T20:20:38.330Z"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"OCSPCache-0","msg":"Frame","attr":{"frame":{"a":"55E4C10D43F9","b":"55E4BF2F0000","o":"1DE43F9","s":"_ZN5mongo15printStackTraceEv","s+":"29"}}}
      {"t":{"$date":"2021-10-26T20:20:38.330Z"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"OCSPCache-0","msg":"Frame","attr":{"frame":{"a":"55E4C10CCE66","b":"55E4BF2F0000","o":"1DDCE66","s":"abruptQuit","s+":"66"}}}
      {"t":{"$date":"2021-10-26T20:20:38.330Z"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"OCSPCache-0","msg":"Frame","attr":{"frame":{"a":"7F2F8D93A630","b":"7F2F8D92B000","o":"F630","s":"_L_unlock_13","s+":"34"}}}
      {"t":{"$date":"2021-10-26T20:20:38.330Z"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"OCSPCache-0","msg":"Frame","attr":{"frame":{"a":"7F2F8D593387","b":"7F2F8D55D000","o":"36387","s":"gsignal","s+":"37"}}}
      {"t":{"$date":"2021-10-26T20:20:38.330Z"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"OCSPCache-0","msg":"Frame","attr":{"frame":{"a":"7F2F8D594A78","b":"7F2F8D55D000","o":"37A78","s":"abort","s+":"148"}}}
      {"t":{"$date":"2021-10-26T20:20:38.330Z"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"OCSPCache-0","msg":"Frame","attr":{"frame":{"a":"55E4BFD19D92","b":"55E4BF2F0000","o":"A29D92","s":"_ZN5mongo22invariantFailedWithMsgEPKcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES1_j","s+":"113"}}}
      {"t":{"$date":"2021-10-26T20:20:38.330Z"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"OCSPCache-0","msg":"Frame","attr":{"frame":{"a":"55E4C0E7435D","b":"55E4BF2F0000","o":"1B8435D","s":"_ZN5mongo14ServiceContext20makeOperationContextEPNS_6ClientE","s+":"39D"}}}
      {"t":{"$date":"2021-10-26T20:20:38.330Z"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"OCSPCache-0","msg":"Frame","attr":{"frame":{"a":"55E4C0E647B7","b":"55E4BF2F0000","o":"1B747B7","s":"_ZN5mongo6Client20makeOperationContextEv","s+":"27"}}}
      {"t":{"$date":"2021-10-26T20:20:38.330Z"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"OCSPCache-0","msg":"Frame","attr":{"frame":{"a":"55E4C0E40502","b":"55E4BF2F0000","o":"1B50502","s":"_ZZN5mongo15unique_functionIFvNS_6StatusEEE8makeImplIZNS_20ReadThroughCacheBase10_asyncWorkENS0_IFvPNS_16OperationContextERKS1_EEEEUlS1_E_EEDaOT_EN12SpecificImpl4callEOS1_","s+":"C2"}}}
      {"t":{"$date":"2021-10-26T20:20:38.330Z"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"OCSPCache-0","msg":"Frame","attr":{"frame":{"a":"55E4C0E46CE5","b":"55E4BF2F0000","o":"1B56CE5","s":"_ZN5mongo10ThreadPool4Impl10_doOneTaskEPSt11unique_lockINS_12latch_detail5LatchEE","s+":"135"}}}
      {"t":{"$date":"2021-10-26T20:20:38.330Z"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"OCSPCache-0","msg":"Frame","attr":{"frame":{"a":"55E4C0E482EB","b":"55E4BF2F0000","o":"1B582EB","s":"_ZN5mongo10ThreadPool4Impl13_consumeTasksEv","s+":"8B"}}}
      {"t":{"$date":"2021-10-26T20:20:38.330Z"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"OCSPCache-0","msg":"Frame","attr":{"frame":{"a":"55E4C0E49701","b":"55E4BF2F0000","o":"1B59701","s":"_ZN5mongo10ThreadPool4Impl17_workerThreadBodyERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE","s+":"161"}}}
      {"t":{"$date":"2021-10-26T20:20:38.330Z"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"OCSPCache-0","msg":"Frame","attr":{"frame":{"a":"55E4C0E49C10","b":"55E4BF2F0000","o":"1B59C10","s":"_ZNSt6thread11_State_implINS_8_InvokerISt5tupleIJZN5mongo4stdx6threadC4IZNS3_10ThreadPool4Impl25_startWorkerThread_inlockEvEUlvE2_JELi0EEET_DpOT0_EUlvE_EEEEE6_M_runEv","s+":"60"}}}
      {"t":{"$date":"2021-10-26T20:20:38.330Z"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"OCSPCache-0","msg":"Frame","attr":{"frame":{"a":"55E4C128257F","b":"55E4BF2F0000","o":"1F9257F","s":"execute_native_thread_routine","s+":"F"}}}
      {"t":{"$date":"2021-10-26T20:20:38.330Z"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"OCSPCache-0","msg":"Frame","attr":{"frame":{"a":"7F2F8D932EA5","b":"7F2F8D92B000","o":"7EA5","s":"start_thread","s+":"C5"}}}
      {"t":{"$date":"2021-10-26T20:20:38.330Z"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"OCSPCache-0","msg":"Frame","attr":{"frame":{"a":"7F2F8D65B9FD","b":"7F2F8D55D000","o":"FE9FD","s":"clone","s+":"6D"}}}
      , stdError: 

       

            Assignee:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Reporter:
            jianling.liu@mongodb.com Jianling Liu
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: