-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Metrics server suddenly stoped getting metrics from rabbitmq #2476
Comments
Hi @alexbanditos |
@JorTurFer
from keda operator: {error | Exception (504) Reason: "channel/connection is not open" { This is the only errors I got |
I think that there are missing logs :( |
Might be related to this: #2415 |
The metrics server logs show one error, I think that not because #2415 is related with the operator |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed due to inactivity. |
Report
Without known reason keda metrics server started getting errors for all auth triggers -
E0111 20:51:14.833101 1 scale_resolvers.go:164] keda_metrics_adapter/scalehandler "msg"="Error getting triggerAuth" "error"="context canceled" "name"="service-hpa-rmq" "namespace"="default" "type"="ScaledObject" "triggerAuthRef.Name"="prod-something-rmq"
E0111 20:51:14.845428 1 provider.go:124] keda_metrics_adapter/provider "msg"="error getting metric for scaler" "error"="error parsing rabbitmq metadata: no host setting given" "scaledObject.Name"="service-rmq" "scaledObject.Namespace"="default" "scaler"={}
we are using TriggerAuthentication with vault , no issues with vault cluster
the trigger and the scaledobject are in the same ns
trigger:
apiVersion: keda.sh/v1alpha1
kind: TriggerAuthentication
metadata:
name: prod-something-rmq
spec:
hashiCorpVault:
address: https://vault.cluster.com
authentication: kubernetes
role: keda-operator
mount: 'kubernetes/prod-cluster/'
credential:
serviceAccount: '/var/run/secrets/kubernetes.io/serviceaccount/token'
secrets:
- parameter: host
key: host
path: "secrets/data/infra/keda/prod-something-rmq"
Only after I delete the metrics server pod and it recreated scaling started working.
Expected Behavior
Metrics server able to monitor rabbitmq queues
Actual Behavior
keda in not scaling hpa based on rmq
Steps to Reproduce the Problem
Logs from KEDA operator
KEDA Version
2.5.0
Kubernetes Version
1.18
Platform
Amazon Web Services
Scaler Details
rabbitmq
Anything else?
No response
The text was updated successfully, but these errors were encountered: