-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
"Creating additional Kafka topics" step is failed #2754
Comments
Can you try and do this:
|
@aldy505
output like: kafka log:
zookeeper log:
|
Your kafka is pretty much healthy. But it just shows that it's healthy for 1 minute, can you wait for a few more minutes and check if that's healthy after > 5 minutes of uptime? |
looks ok I ran run kafka kafka-topics again - it crashed due to timeout. The connection never works, no matter how long the command hangs |
@BBKiper I have no idea on what's wrong right now. But I'm so curious for that issue. Is there any other custom configuration for your Sentry deployment? |
@aldy505 The fact of the matter is that I didn't change anything. only data storage time and smtp settings |
Self-Hosted Version23.12.1, 24.1.0, 24.1.1 CPU Architecturex86_64 Docker Version25.0.2 Docker Compose Version2.11.1
I have the same error. Doing a clean install, not an update. |
I had the same problem on Ubuntu 22.04.3 LTS x64, the solution was to install on CentOS Stream release 9 x64 |
What does your RAM/CPU usage look like? |
I use 8cpu\16ram |
Okay so, for some reasons we encountered an unknown error while creating topics. I can't reproduce this because I'm running Sentry with Redpanda instead of Kafka on my instance. If you're upgrading from previous Sentry version, just comment out these lines: self-hosted/install/create-kafka-topics.sh Lines 7 to 12 in 302b22b
Then do Side note: if anyone's interested on moving to Redpanda instead of Kafka, see my guide here on Sentry's Discord https://discord.com/channels/621778831602221064/796028405833007104/1201076383426809948 |
@aldy505 I solved the situation in the same way. |
Great to hear that. I'll close the issue for now. If anyone encountered the same issue, maybe I can reopen this or just create a new one :) |
Hello @aldy505 thx for your suggestions.
I tryed your redpanda workaround, it got me to a new issue,
|
@Christophe31 Hi, yeah you must create those topics manually. Otherwise your containers will keep restarting.
|
I used your initializing script overriding create-kafka-topics.sh, it didn't worked at first but after a few relaunch I got it to work again, thx |
After upgrade from 22.x.x (didn't remember version) to 24.2.0 through 23.6.2 (as pointed in upgrade guide) I stacked with same error.
What can I do in this case? Please! |
@AlxGls you can temporarily empty your echo "${_group}Creating additional Kafka topics ..."
echo "${_endgroup}" Then run the install script using |
Self-Hosted Version
24.1.0
CPU Architecture
x86_64
Docker Version
25.0.1
Docker Compose Version
2.18.1
Steps to Reproduce
after the disk is full launching install.sh gives an error at the step Creating additional Kafka topics
Clearing all docker caches and containers doesn't help. Kafka and zookeeper volumes were also deleted before launch
Expected Result
correctly working self-hosted sentry
Actual Result
Event ID
No response
exec:
docker-compose run --rm kafka kafka-topics --list --bootstrap-server kafka:9092
output:
[2024-01-31 14:06:17,120] WARN [AdminClient clientId=adminclient-1] Connection to node -1 (kafka/172.25.0.4:9092) could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient)
no changes were made to the compose file
When running kafka in the background, no critical errors were noticed in the logs. port 9092 listens on docker network address
The text was updated successfully, but these errors were encountered: