T214343 has been closed and yet the Perl image is not available for running jobs.
Not listed in 'toolforge-jobs images'
Tried tf-perl532 and tf-perl53 for the image parameter and neither worked.
Description
Description
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | • JHedden | T251027 "signatures" tool has failed job pods on Kubernetes cluster | |||
Resolved | aborrero | T251917 Design the Jobs service in k8s | |||
Resolved | aborrero | T283238 Toolforge: develop jobs-framework-api | |||
Resolved | aborrero | T285944 Toolforge: beta phase for the new jobs framework | |||
Resolved | taavi | T309146 Perl Docker image not available for Toolforge Kubernetes jobs |
Event Timeline
Comment Actions
The container was added to the toolforge-jobs config by:
But it appears that nobody has actually deployed that change to Toolforge yet. We need a WMCS root to follow the deployment instructions at https://wikitech.wikimedia.org/wiki/Portal:Toolforge/Admin/Kubernetes/Jobs_framework#deployment
Comment Actions
Mentioned in SAL (#wikimedia-cloud-feed) [2022-05-26T15:39:27Z] <wm-bot2> deployed kubernetes component https://gerrit.wikimedia.org/r/cloud/toolforge/jobs-framework-api (e6fa299) (T309146) - cookbook ran by taavi@runko
Comment Actions
taavi@tools-sgebastion-11:~ $ become majavah-test toolforge-jobs containers | grep perl tf-perl532 docker-registry.tools.wmflabs.org/toolforge-perl532-sssd-base:latest
Comment Actions
Per request, recording here what I did:
- Used the spicerack cookbook to deploy the updated container configMap:
cookbook wmcs.toolforge.k8s.component.deploy --git-url https://gerrit.wikimedia.org/r/cloud/toolforge/jobs-framework-api --project tools --deploy-node-hostname tools-k8s-control-2 --task-id T309146
- Since the configmap update doesn't automatically restart the pods (let's fix that if/when the repo is moved to Helm), I restarted the pods to pick up updates:
taavi@tools-k8s-control-2:~ $ kubectl get pod -n jobs-api -o wide NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES jobs-api-5b5ddf77df-hgcjh 2/2 Running 0 166m 192.168.110.175 tools-k8s-worker-72 <none> <none> jobs-api-5b5ddf77df-zblj8 2/2 Running 0 166m 192.168.142.121 tools-k8s-worker-77 <none> <none> taavi@tools-k8s-control-2:~ $ kubectl sudo delete pod -n jobs-api jobs-api-5b5ddf77df-hgcjh jobs-api-5b5ddf77df-zblj8 pod "jobs-api-5b5ddf77df-hgcjh" deleted pod "jobs-api-5b5ddf77df-zblj8" deleted