-
Notifications
You must be signed in to change notification settings - Fork 6
Moving from docker compose to helm #182
Description
Hi,
I have attempted to move from the Docker compose style local installation to helm today.
I've had a series of issues and have not yet been able to get seqr to start.
The main pod in Kubernetes is experiencing a stack trace, related to clickhouse migrations:
Running migrations:
Traceback (most recent call last):
File "/opt/venv/lib/python3.11/site-packages/clickhouse_driver/dbapi/cursor.py", line 111, in execute
response = execute(
^^^^^^^^
File "/opt/venv/lib/python3.11/site-packages/clickhouse_backend/driver/client.py", line 53, in execute
rv = self.process_ordinary_query(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/venv/lib/python3.11/site-packages/clickhouse_driver/client.py", line 580, in process_ordinary_query
return self.receive_result(with_column_types=with_column_types,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/venv/lib/python3.11/site-packages/clickhouse_driver/client.py", line 212, in receive_result
return result.get_result()
^^^^^^^^^^^^^^^^^^^
File "/opt/venv/lib/python3.11/site-packages/clickhouse_driver/result.py", line 50, in get_result
for packet in self.packet_generator:
File "/opt/venv/lib/python3.11/site-packages/clickhouse_driver/client.py", line 228, in packet_generator
packet = self.receive_packet()
^^^^^^^^^^^^^^^^^^^^^
File "/opt/venv/lib/python3.11/site-packages/clickhouse_driver/client.py", line 245, in receive_packet
raise packet.exception
clickhouse_driver.errors.ServerException: Code: 57.
DB::Exception: Table seqr.GRCh38/SNV_INDEL/reference_data/pext/all_variants already exists. Stack trace:
- DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f2bff3b
- DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000009c74bec
- DB::Exception::Exception<String, String>(int, FormatStringHelperImpl<std::type_identity::type, std::type_identity::type>, String&&, String&&) @ 0x0000000009c745ab
- DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr<DB::DDLGuard, std::default_deleteDB::DDLGuard>&, DB::LoadingStrictnessLevel) @ 0x00000000131b853b
- DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000131aa882
- DB::InterpreterCreateQuery::execute() @ 0x00000000131be038
- DB::executeQueryImpl(char const*, char const*, std::shared_ptrDB::Context, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*, std::shared_ptrDB::IAST&) @ 0x0000000013597788
- DB::executeQuery(String const&, std::shared_ptrDB::Context, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x0000000013590e86
- DB::TCPHandler::runImpl() @ 0x00000000148f12be
- DB::TCPHandler::run() @ 0x000000001490ffb9
- Poco::Net::TCPServerConnection::start() @ 0x0000000018017407
- Poco::Net::TCPServerDispatcher::run() @ 0x0000000018017859
- Poco::PooledThread::run() @ 0x0000000017fe2b7b
- Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017fe105d
- ? @ 0x00007fa1dd7791f5
- ? @ 0x00007fa1dd7f8b00
Furthermore, I am unable to revert to the hold methodology after doing this attempted upgrade today, as the older docker-compose containers will start but nothing is serving on the Seqr frontend.
Would it be possible to get some advice?
Thanks