Page MenuHomePhabricator

Running out of "secrets" quota (envvars) produces unhelpful error message from `toolforge envvars create`
Closed, ResolvedPublicBUG REPORT

Description

$ toolforge envvars create GITLAB_EVENTS_URL http://gitlab-webhooks.tool-gitlab-webhooks.svc.tools.local:8000/sse/
EnvvarsClientError: Error contacting k8s cluster.
Please report this issue to the Toolforge admins if it persists: https://w.wiki/6Zuu
$ kubectl describe quota
Name:                   tool-wikibugs-testing
Namespace:              tool-wikibugs-testing
Resource                Used    Hard
--------                ----    ----
configmaps              2       10
count/cronjobs.batch    0       50
count/deployments.apps  6       6
count/jobs.batch        0       15
limits.cpu              3       8
limits.memory           3Gi     8Gi
persistentvolumeclaims  0       0
pods                    6       16
requests.cpu            1375m   4
requests.memory         1536Mi  4Gi
secrets                 30      30
services                2       3
services.nodeports      0       0

Event Timeline

project_1317_bot_df3177307bed93c3f34e421e26c86e38 opened https://gitlab.wikimedia.org/repos/cloud/toolforge/toolforge-deploy/-/merge_requests/282

maintain-kubeusers: bump to 0.0.130-20240515100829-b436eda6

dcaro triaged this task as Medium priority.May 15 2024, 1:19 PM
dcaro moved this task from Backlog to Ready to be worked on on the Toolforge board.

closing this as this is no longer an issue. I ran a script to create multiple envvars and when the quota has been exceeded, I got Error: Envvars quota exceeded, which is a reasonable error message.