Hi team, currently our team has implemented Signoz in Kubernetes Cluster and in that setup there was...
s
Hi team, currently our team has implemented Signoz in Kubernetes Cluster and in that setup there was an error made by a developer for which Signoz which was running on version 0.28.0 was downgraded to version 0.5.0 by performing helm update. This resulted in failure of the clickhouse pod which resulted in crashloopbackoff. Now we were able to make the clickhouse pod up by following steps mentioned in this https://github.com/Altinity/clickhouse-operator/issues/1331 for kubernetes. But currently viewing the logs of signoz clickhouse pod we are receiving this error. How can this issue be resolved so that Signoz can be up? As I am unable to find any solution for this.
Copy code
2024.09.03 06:43:35.215355 [ 245 ] {1af6f1b0-0ff2-47ef-b271-ca2c8135053b} <Error> TCPHandler: Code: 170. DB::Exception: Requested cluster 'cluster' not found. (BAD_GET), Stack trace (when copying this message, always include the lines below):

0. DB::Exception::Exception(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool) @ 0xa3ef75a in /usr/bin/clickhouse
1. DB::Context::getCluster(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) const @ 0x148c3f51 in /usr/bin/clickhouse
2. DB::InterpreterCreateQuery::prepareOnClusterQuery(DB::ASTCreateQuery&, std::__1::shared_ptr<DB::Context const>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) @ 0x14dc5f62 in /usr/bin/clickhouse
3. DB::InterpreterCreateQuery::executeQueryOnCluster(DB::ASTCreateQuery&) @ 0x14dbf959 in /usr/bin/clickhouse
4. DB::InterpreterCreateQuery::execute() @ 0x14dc70cd in /usr/bin/clickhouse
5. ? @ 0x151640c9 in /usr/bin/clickhouse
6. DB::executeQuery(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::shared_ptr<DB::Context>, bool, DB::QueryProcessingStage::Enum) @ 0x151615f7 in /usr/bin/clickhouse
7. DB::TCPHandler::runImpl() @ 0x15c5946c in /usr/bin/clickhouse
8. DB::TCPHandler::run() @ 0x15c6da79 in /usr/bin/clickhouse
9. Poco::Net::TCPServerConnection::start() @ 0x189db793 in /usr/bin/clickhouse
10. Poco::Net::TCPServerDispatcher::run() @ 0x189dcaed in /usr/bin/clickhouse
11. Poco::PooledThread::run() @ 0x18b9f449 in /usr/bin/clickhouse
12. Poco::ThreadImpl::runnableEntry(void*) @ 0x18b9cd02 in /usr/bin/clickhouse
13. ? @ 0x7fd11b718609 in ?
14. __clone @ 0x7fd11b63d133 in ?
@nitya-signoz