kbrew-dev / kbrew-registry

Collection of kbrew recipes
10 stars 5 forks source link

Kafka recipe fails and does not honor timeout #30

Open vishal-biyani opened 3 years ago

vishal-biyani commented 3 years ago

Tried on DO K8S - single node cluster. It looks like it does not really wait for 30 minutes even if I specify 30 min as timeout, finally results in error:

It took only 6.5 odd minutes but it failed:

kbrew install kafka-operator -t 30m  32.13s user 8.73s system 10% cpu 6:34.59 total

And error:

zookeepercluster.zookeeper.pravega.io/zookeeper created
Waiting for zookeeper cluster to be ready
timed out while waiting for cluster to be ready
Failed to report event. exit status 1
Error: exit status 1

Also exit status is not right:

$ echo $?
0
meain commented 2 years ago

Seems to be failing when trying to install kafka on kind locally as well. This is from kbrew built on e418f0ea. The exit code is 1 for me though.

Adding kbrew-dev/kbrew-registry registry to /home/meain/.kbrew/registries
Registry kbrew-dev/kbrew-registry head at 05372b97462cf505768b544d8557cf26dd7e0ab0 refs/heads/main
🚀 Installing kafka app...
Version: v0.17.0
Pre-install dependencies:
 - cert-manager
 - zookeeper-operator
 - kube-prometheus-stack
 - kafka-operator
Post-install dependencies:
---
 ✓ Installing app cert-manager in cert-manager namespace
 ✓ Installing app zookeeper-operator in zookeeper namespace
 ✓ Installing app kube-prometheus-stack in default namespace
 ✓ Installing app kafka-operator in kafka namespace
 ✓ Installing app kafka in kafka namespace
ERROR: Timed out while installing kafka app in kafka namespace

 ✗ Setting up post-install dependencies for kafka
signal: killed