Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

External Zookeeper seems ignored - references built-in #665

Open
1 task
voarsh2 opened this issue Jan 11, 2023 · 0 comments
Open
1 task

External Zookeeper seems ignored - references built-in #665

voarsh2 opened this issue Jan 11, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@voarsh2
Copy link

voarsh2 commented Jan 11, 2023

Bug description

My external Zookeeper settings in the helm chart aren't being used, despite setting them in the chart.

Wed, Jan 11 2023 5:31:01 pm | Merging configuration file '/etc/clickhouse-server/conf.d/chop-generated-zookeeper.xml'.

Wed, Jan 11 2023 5:31:01 pm | Merging configuration file '/etc/clickhouse-server/conf.d/chop-generated-zookeeper.xml'.
Wed, Jan 11 2023 5:31:01 pm | Merging configuration file '/etc/clickhouse-server/conf.d/chop-generated-zookeeper.xml'.
Wed, Jan 11 2023 5:31:01 pm | 2023.01.11 17:31:01.997911 [ 7 ] {} <Debug> SystemLog: Not creating system.zookeeper_log since corresponding section 'zookeeper_log' is missing from config

2023.01.11 17:31:03.102557 [ 59 ] {} <Error> DDLWorker: ZooKeeper error: Code: 999. Coordination::Exception: Cannot use any of provided ZooKeeper nodes (Bad arguments). (KEEPER_EXCEPTION), Stack trace (when copying this message, always include the lines below):
3. zkutil::ZooKeeper::init(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) @ 0x16b8a73c in /usr/bin/clickhouse
4. zkutil::ZooKeeper::ZooKeeper(Poco::Util::AbstractConfiguration const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::shared_ptr<DB::ZooKeeperLog>) @ 0x16b8bd0d in /usr/bin/clickhouse
5. void std::__1::allocator<zkutil::ZooKeeper>::construct<zkutil::ZooKeeper, Poco::Util::AbstractConfiguration const&, char const (&) [10], std::__1::shared_ptr<DB::ZooKeeperLog> >(zkutil::ZooKeeper*, Poco::Util::AbstractConfiguration const&, char const (&) [10], std::__1::shared_ptr<DB::ZooKeeperLog>&&) @ 0x1537c41b in /usr/bin/clickhouse

Expected behavior

My settings should be respected:

kafka:
  enabled: false
  externalZookeeper:
    servers:
      - kafka-zookeeper-0:2181,kafka-zookeeper-1:2181,kafka-zookeeper-2:2181
externalKafka:
  brokers:
    - kafka-kafka-brokers-0:9092,kafka-kafka-brokers-1:9092,kafka-kafka-brokers-2:9092

I've even changed the chop-generated-zookeeper.xml configmap - no effect - it installs it wrong...

Actual behavior

How to reproduce

Environment

Helm Chart - RKE 1, K8
Posthog 1.42
Chart Version:
posthog:30.2.7

  • k8s version (server version from kubectl version): 1.23

Additional context

@voarsh2 voarsh2 added the bug Something isn't working label Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant