From de47033cb700ba5655dc6cfde77b888e8a94e87f Mon Sep 17 00:00:00 2001 From: Eric Biagiotti Date: Tue, 20 Aug 2019 17:27:13 -0400 Subject: [PATCH] 14715: Fixes keepproxy config migration doc Arvados-DCO-1.1-Signed-off-by: Eric Biagiotti --- .../config-migration.html.textile.liquid | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/doc/admin/config-migration.html.textile.liquid b/doc/admin/config-migration.html.textile.liquid index ae85876fd5..15925fbac1 100644 --- a/doc/admin/config-migration.html.textile.liquid +++ b/doc/admin/config-migration.html.textile.liquid @@ -64,22 +64,9 @@ Currently only reads @RemoteClusters@ from centralized configuration. Still req h2(#keepproxy). keepproxy -The legacy keepproxy config is stored at @/etc/arvados/keepproxy/keepproxy.yml@ by default and will continue to take precedence over the cluster config, unless removed. Also, a legacy keepproxy config in a different path can still be used with the @-legacy-keepproxy-config=path/to/legacy/config@ keepproxy command line argument. If the @-legacy-keepproxy-config@ command line argument is provided, this will take precedence over @/etc/arvados/keepproxy/keepproxy.yml@ and the cluster config. If migrating to the centralized config, @keepproxy.yml@ should be moved out of the way and/or deleted and the @-legacy-keepproxy-config@ command line argument should not be used. - -Configuration via individual command line arguments is no longer available. The following table maps former keepproxy command line arguments and legacy config values to their equivalent representation in the centralized config, which may need to be set manually. - -table(table table-bordered table-condensed). -|*Command Line*|*Legacy keepproxy.yml*|*Centralized config.yml*| -|-listen|Listen|Services.Keepproxy.InternalURLs| -|-no-get|DisableGet|N/A| -|-no-put|DisablePut|N/A| -|-default-replicas|DefaultReplicas|Collections.DefaultReplication| -|-pid|PIDFile|N/A| -|N/A|Debug|SystemLogs.LogLevel| -|-timeout|Timeout|API.KeepServiceRequestTimeout| -|-management-token|ManagementToken|ManagementToken| - -Note that some options are no longer supported. If you are still using the legacy config at @/etc/arvados/keepproxy/keepproxy.yml@ and @DisableGet@ or @DisablePut@ are set to true or @PIDFile@ has a value, keepproxy will produce an error and fail to start. +The legacy keepproxy config (loaded from @/etc/arvados/keepproxy/keepproxy.yml@ or a different location specified via -legacy-keepproxy-config command line argument) takes precedence over the centralized config. After you migrate everything from the legacy config to the centralized config, you should delete @/etc/arvados/keepproxy/keepproxy.yml@ and stop using the -legacy-keepproxy-config argument. + +Also, configuration via individual command line arguments is no longer available and the @DisableGet@, @DisablePut@, and @PIDFile@ configuration options are no longer supported. If you are still using the legacy config at @/etc/arvados/keepproxy/keepproxy.yml@ and @DisableGet@ or @DisablePut@ are set to true or @PIDFile@ has a value, keepproxy will produce an error and fail to start. h2. arvados-controller -- 2.30.2