Page MenuHomePhabricator

Your template file (/data/project/spamcheck/service.template) contains unknown keys: - extra_args
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

Run webservice restart with this service.template file:

backend: kubernetes
type: bookworm
extra_args:
  - ./run.sh
mem: 2Gi
cpu: 2
health-check-path: /healthz

What happens?:

This warning (?) is displayed:

Your template file (/data/project/spamcheck/service.template) contains unknown keys:
- extra_args
Restarting..

What should have happened instead?:

No warning should be displayed. The extra_args entry is essential to specify which script is being run on startup.

Details

Related Changes in GitLab:
TitleReferenceAuthorSource BranchDest Branch
d/changelog: bump to 0.103.16repos/cloud/toolforge/webservice-cli!76dcarobump_tools-webservicemain
functional_tests: add extra_args to the webservice templaterepos/cloud/toolforge/toolforge-deploy!603dcaroadd_extra_argsmain
d/changelog: bump to 0.103.15repos/cloud/toolforge/webservice-cli!68dcarobump_tools-webservicemain
Don’t warn about extra_args in service.templaterepos/cloud/toolforge/webservice-cli!64lucaswerkmeisterservice-template-unknown-keysmain
Customize query in GitLab

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
LucasWerkmeister subscribed.

(Placing the task back up for grabs because the rest is deployment and I have no idea how to do that.)

dcaro claimed this task.
dcaro subscribed.

The fix has been deployed, thanks @LucasWerkmeister !