-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[alerting] apiKey invalidation task gets "unable to decrypt" error #110792
Comments
Pinging @elastic/kibana-alerting-services (Team:Alerting Services) |
Was wondering - haven't really looked - to see if we can identify the source of the API key that fails decryption - specifically to the alerting rule. We may not be providing that info today in the invalidation docs. And not completely sure it would be actionable. It was a previous API key for a rule. The rule might not even exist :-). I have a feeling like it could be useful in some sort of diagnosis though. |
I'm getting following message as well:
version 7.17.4 & 7.17.5 |
I'm getting the following message as well:
but in version 8.4.1 running on ECK |
Same here with Kibana v8.11.3 deployed using ECK v2.10.0
|
|
@a1exus do you know if this is related to some specific saved objects? And also if there is a way to figure out which they are? |
my guess it's not a single object, it's all.. hence re-creating all objects should help, and setting up an apikey so it won't change next time you restart.. |
Which is the stable version to work in ELK? |
Kibana version: 7.13.1
Describe the bug:
Seen in logs:
Steps to reproduce:
The task body is here:
kibana/x-pack/plugins/alerting/server/invalidate_pending_api_keys/task.ts
Lines 118 to 186 in 3a434d7
Not clear to me how this could happen, I guess we need to look for some race conditions? Also checking if there is a multi-tenant story going on, or if multiple Kibanas with different encryption keys could be using the same elasticsearch.
I advised the user to look for saved objects of the type
api_key_pending_invalidation
, presumably the problematic key keeps running into this problem, and is one of the oldest.Even if we don't find the source of the method, I'm guessing there are some changes that we can make:
The text was updated successfully, but these errors were encountered: