Hello, a cryosparc instance for one of our users is currently failing to start and reporting an error configuring the databse. For information, the cryosparc instances on our cluster are configured in a kubernetes pod for each user group. Several identically configured pods (with different port ranges) are still running normally and this instance was running normally until very recently. Do you have any advice on getting it running again?
The following is the output from running cryosparcm start:
CryoSPARC is not already running.
configuring database
Warning: Could not get database status (attempt 1/3)
Warning: Could not get database status (attempt 2/3)
Warning: Could not get database status (attempt 3/3)
Traceback (most recent call last):
File “”, line 1, in
File “/mnt/beegfs/software/structural_biology/release/cryosparc/roberts/cryosparc/cryosparc_master/cryosparc_compute/database_management.py”, line 49, in configure_mongo
initialize_replica_set()
File “/mnt/beegfs/software/structural_biology/release/cryosparc/roberts/cryosparc/cryosparc_master/cryosparc_compute/database_management.py”, line 88, in initialize_replica_set
admin_db = try_get_pymongo_db(mongo_client)
File “/mnt/beegfs/software/structural_biology/release/cryosparc/roberts/cryosparc/cryosparc_master/cryosparc_compute/database_management.py”, line 251, in try_get_pymongo_db
admin_db.command(({‘serverStatus’: 1}))
File “/mnt/beegfs/software/structural_biology/release/cryosparc/roberts/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.8/site-packages/pymongo/database.py”, line 827, in command
with self.__client._socket_for_reads(read_preference, session) as (sock_info, secondary_ok):
File “/mnt/beegfs/software/structural_biology/release/cryosparc/roberts/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.8/contextlib.py”, line 113, in enter
return next(self.gen)
File “/mnt/beegfs/software/structural_biology/release/cryosparc/roberts/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.8/site-packages/pymongo/mongo_client.py”, line 1478, in _socket_for_reads
server = self._select_server(read_preference, session)
File “/mnt/beegfs/software/structural_biology/release/cryosparc/roberts/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.8/site-packages/pymongo/mongo_client.py”, line 1436, in _select_server
server = topology.select_server(server_selector)
File “/mnt/beegfs/software/structural_biology/release/cryosparc/roberts/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.8/site-packages/pymongo/topology.py”, line 250, in select_server
return random.choice(self.select_servers(selector, server_selection_timeout, address))
File “/mnt/beegfs/software/structural_biology/release/cryosparc/roberts/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.8/site-packages/pymongo/topology.py”, line 211, in select_servers
server_descriptions = self._select_servers_loop(selector, server_timeout, address)
File “/mnt/beegfs/software/structural_biology/release/cryosparc/roberts/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.8/site-packages/pymongo/topology.py”, line 226, in _select_servers_loop
raise ServerSelectionTimeoutError(
pymongo.errors.ServerSelectionTimeoutError: localhost:30214: [Errno 111] Connection refused, Timeout: 20.0s, Topology Description: <TopologyDescription id: 66c5aba2ab4aed32941eabb6, topology_type: Single, servers: [<ServerDescription (‘localhost’, 30214) server_type: Unknown, rtt: None, error=AutoReconnect(‘localhost:30214: [Errno 111] Connection refused’)>]>
[2024-08-21T08:57:12+00:00] Error configuring database. Most recent database log lines:
mongod(wiredtiger_open+0x1BBA) [0x55c85d5e9c8a]
mongod(_ZN5mongo18WiredTigerKVEngineC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_PNS_11ClockSourceES8_mmbbbb+0x8D6) [0x55c85d5b6cf6]
mongod(+0xA25AEC) [0x55c85d598aec]
mongod(_ZN5mongo20ServiceContextMongoD29initializeGlobalStorageEngineEv+0x266) [0x55c85d7a8fb6]
mongod(+0xA025B8) [0x55c85d5755b8]
mongod(ZN5mongo11mongoDbMainEiPPcS1+0x26C) [0x55c85d57863c]
mongod(main+0x9) [0x55c85d4febc9]
libc.so.6(__libc_start_main+0xF3) [0x7f809aede083]
mongod(+0x9ED741) [0x55c85d560741]
----- END BACKTRACE -----