-
Notifications
You must be signed in to change notification settings - Fork 36
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
Error creating accounts when cloud kms returns PENDING_GENERATION #267
Comments
Thanks for reporting this @seita-uc! Have you observed this with AWS KMS too, or just Google KMS? |
@nanuuki I only use cloud kms so I'm not sure with aws kms. |
According to the document,
|
@seita-uc I managed to reproduce this, I'll let you know once a fix has been applied :) |
@nanuuki FYI I have been measuring the response time of key creation and time to wait for the key to be enabled. I figured out that keeping the request rate to 1rps solves the problem. If the |
Update: I managed to get better response time when I turn cloud kms keyring's region to |
I was trying to create many accounts asynchronously and after it reaches certain load I saw following errors from job.
This seems due to the latency of cloud kms generating many asymmetric keys. The current key creation logic does not handle this error. So retrying error job try to generate new key in kms which results in increasing load to kms.
The text was updated successfully, but these errors were encountered: