Not able to do a rolling bounce
Hey guys, I recently set kafka-utils up and while I was able to run a bunch of commands to check ISR etc. However, I get a lot of errors when trying to run the rolling restart. Here is the output of the command: ./kafka-rolling-restart --cluster-type alpha-cluster
Will restart the following brokers in alpha-cluster:
6001: 10.2.90.177
6002: 10.2.68.139
6003: 10.2.69.188
Do you want to restart these brokers? yes
Execute restart
Traceback (most recent call last):
File "./kafka-rolling-restart", line 6, in
Here are the contents of my alpha-cluster.yaml file:
clusters: alpha-cluster: broker_list: - "broker1-IP:9092,broker2-IP:9092,broker2-IP:9092" zookeeper: "ZK-ELB:80" local_config: cluster: alpha-cluster
Is there any obvious config I'm missing?
Make sure the user you are executing the kafka-rolling-restart tool as has an ssh-key configured for passwordless ssh, and that the user exists on all the kafka nodes and has passwordless sudo.
or set up correctly your ~/.ssh/config
would be nice if it passed on the sudo password challenge instead of swallowing it though.
(we have a policy setup so don't need it)