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

Keda-kafka - scaledobject reports healthy despite not creating hpa resource #5312

Closed
markallanson opened this issue Dec 22, 2023 · 1 comment

Comments

@markallanson
Copy link

Report

When a scaledobject was created, it was unable to communicate with Kafka, so did not create a HPA. Despite this, the scaledobject reports as Ready, meaning systems such as ArgoCD report it as healthy instead of degraded.

The scaledobject status reports type: Ready despite being in an error state.

  conditions:
    - message: failed to ensure HPA is correctly created for ScaledObject
      reason: ScaledObjectCheckFailed
      status: 'False'
      type: Ready

This failed due to a kafka connectivity error error creating kafka client: kafka: client has run out of available brokers to talk to: unexpected EOF

Expected Behavior

The most recent status for the CRD should report as an error state when the HPA cannot be created for any reason.

Actual Behavior

The most recent status for the CRD is reporting as "Ready"

Steps to Reproduce the Problem

  1. Deploy a scaledobject while a kafka broker is unavailable?

Logs from KEDA operator

No response

KEDA Version

2.11.2

Kubernetes Version

1.25

Platform

Any

Scaler Details

Kafka

Anything else?

No response

@markallanson markallanson added the bug Something isn't working label Dec 22, 2023
@zroubalik zroubalik removed the bug Something isn't working label Dec 22, 2023
@zroubalik zroubalik moved this from To Triage to Abanoned in Roadmap - KEDA Core Dec 22, 2023
@zroubalik
Copy link
Member

zroubalik commented Dec 22, 2023

It is a field type Ready - it is a name. The value is reported in status, where I can see it is False, so it is working correctly.

@github-project-automation github-project-automation bot moved this from Abanoned to Ready To Ship in Roadmap - KEDA Core Dec 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants