bbejeck commented on PR #17294:
URL: https://github.com/apache/kafka/pull/17294#issuecomment-2380082805

   @ahuang98 
   For this KafkaService config 
   
   ```
   self.kafka = KafkaService(self.test_context, num_nodes=3, 
controller_num_nodes_override=1,
                                     zk=None, topics=self.topics, 
dynamicRaftQuorum=False)
   ```
   I get the error I've posted before
   
   ```
   File 
"/usr/local/lib/python3.9/dist-packages/ducktape/cluster/remoteaccount.py", 
line 310, in ssh
       raise RemoteCommandError(self, cmd, exit_status, stderr.read())
   ducktape.cluster.remoteaccount.RemoteCommandError: 
   ducker@ducker03: Command '/opt/kafka-dev/bin/kafka-storage.sh format 
--ignore-formatted --config /mnt/kafka/kafka.properties --cluster-id 
I2eXt9rvSnyhct8BYmW6-w' returned non-zero exit status 1. Remote error message: 
b'Exception in thread "main" java.lang.IllegalArgumentException: requirement 
failed: 
   If process.roles contains just the 'broker' role, the node id 2 must not be 
included in the set of voters controller.quorum.voters=Set(2)\n\tat 
   ```
   
   If I update it to have a combined controller+broker per node
   
   ```
   self.kafka = KafkaService(self.test_context, num_nodes=3,
                                     zk=None, topics=self.topics, 
dynamicRaftQuorum=False)
   ```
   I get this 
   
   ```
   ducktape.cluster.remoteaccount.RemoteCommandError: ducker@ducker02: Command 
'/opt/kafka-dev/bin/kafka-topics.sh --bootstrap-server 
ducker02:9092,ducker03:9092,ducker04:9092 --create --topic inputTopic  
--partitions 6 --replication-factor 1' returned non-zero exit status 1.
    Remote error message: b'[2024-09-27 21:05:38,441] 
   ERROR org.apache.kafka.common.errors.TimeoutException: 
   Timed out waiting for a node assignment. Call: createTopics\n 
(org.apache.kafka.tools.TopicCommand)\n'
   ```
   
   I also tried using the `isolated_kafka` mode and when I did that I received 
the `Kafka server didn't finish startup in 60 second` error 
   
   HTH
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to