Skip to content

Moving from docker compose to helm #182

@atb1r21

Description

@atb1r21

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:

  1. DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f2bff3b
  2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000009c74bec
  3. DB::Exception::Exception<String, String>(int, FormatStringHelperImpl<std::type_identity::type, std::type_identity::type>, String&&, String&&) @ 0x0000000009c745ab
  4. DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr<DB::DDLGuard, std::default_deleteDB::DDLGuard>&, DB::LoadingStrictnessLevel) @ 0x00000000131b853b
  5. DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000131aa882
  6. DB::InterpreterCreateQuery::execute() @ 0x00000000131be038
  7. DB::executeQueryImpl(char const*, char const*, std::shared_ptrDB::Context, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*, std::shared_ptrDB::IAST&) @ 0x0000000013597788
  8. DB::executeQuery(String const&, std::shared_ptrDB::Context, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x0000000013590e86
  9. DB::TCPHandler::runImpl() @ 0x00000000148f12be
  10. DB::TCPHandler::run() @ 0x000000001490ffb9
  11. Poco::Net::TCPServerConnection::start() @ 0x0000000018017407
  12. Poco::Net::TCPServerDispatcher::run() @ 0x0000000018017859
  13. Poco::PooledThread::run() @ 0x0000000017fe2b7b
  14. Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017fe105d
  15. ? @ 0x00007fa1dd7791f5
  16. ? @ 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions