Project

General

Profile

Actions

Bug #13371

closed

keep-web -dump-config fails if no /etc/arvados/keep-web/keep-web.yml exists

Added by Javier Bértoli almost 6 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
-
Story points:
-

Description

-dump-config parameter is meant to ease migration of command line parameters to YAML configuration files, but when running on a host with no existing /etc/arvados/keep-web/keep-web.yml file, it fails to dump the configuration:

keepproxy.abcde:~# keep-web -listen=:9200 -allow-anonymous -attachment-only-host download.abcde.arvadosapi.com --dump-config
2018/04/19 18:48:19 open /etc/arvados/keep-web/keep-web.yml: no such file or directory
Actions #1

Updated by Tom Clegg almost 6 years ago

workaround: use -config=/dev/null

Actions #3

Updated by Tom Clegg almost 6 years ago

Cancel that, 13371-dump-config is probably a bad idea. The real solution is
  • set the ARVADOS_* env vars the same way they are set in the run script
  • make sure /etc/arvados/keep-web/keep-web.yml doesn't exist (otherwise the env vars won't be used)
Actions #4

Updated by Peter Amstutz about 4 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF