Project

General

Profile

Configuration tools » History » Version 1

Tom Clegg, 04/26/2019 06:37 PM

1 1 Tom Clegg
h1. Configuration tools
2
3
See #15003
4
5
"Check config" example, using the config file created by run-tests.sh:
6
7
<pre>
8
$ ./tmp/GOPATH/bin/arvados-server config-check < ./tmp/arvados.yml  
9
deprecated or unknown config entry: Clusters.zzzzz.HTTPRequestTimeout
10
deprecated or unknown config entry: Clusters.zzzzz.NodeProfiles
11
Your configuration is relying on deprecated entries. Suggest making the following changes.
12
--- without-deprecated-configs
13
+++ relying-on-deprecated-configs
14
@@ -92,7 +92,8 @@
15
     Services:
16
       Controller:
17
         ExternalURL: ""
18
-        InternalURLs: {}
19
+        InternalURLs:
20
+          http://localhost:42003: {}
21
       DispatchCloud:
22
         ExternalURL: ""
23
         InternalURLs: {}
24
@@ -113,7 +114,8 @@
25
         InternalURLs: null
26
       RailsAPI:
27
         ExternalURL: ""
28
-        InternalURLs: {}
29
+        InternalURLs:
30
+          https://localhost:39269: {}
31
       WebDAV:
32
         ExternalURL: ""
33
         InternalURLs: {}
34
exit status 1
35
</pre>
36
37
"Dump config" example, using the config file created by run-tests.sh:
38
39
<pre>
40
$ ./tmp/GOPATH/bin/arvados-server config-dump < ./tmp/arvados.yml
41
WARN[2019-04-26T14:36:32.094970598-04:00] deprecated or unknown config entry: Clusters.zzzzz.HTTPRequestTimeout
42
WARN[2019-04-26T14:36:32.095022801-04:00] deprecated or unknown config entry: Clusters.zzzzz.NodeProfiles
43
Clusters:
44
  zzzzz:
45
    API:
46
      MaxItemsPerResponse: 1000
47
      MaxRequestAmplification: 4
48
    CloudVMs:
49
      BootProbeCommand: ""
50
      Driver: ""
51
      DriverParameters: null
52
      ImageID: ""
53
      MaxCloudOpsPerSecond: 0
54
      SSHPort: ""
55
      SyncInterval: 0
56
      TimeoutBooting: 0
57
      TimeoutIdle: 0
58
      TimeoutProbe: 0
59
      TimeoutShutdown: 0
60
    Dispatch:
61
      MaxProbesPerSecond: 0
62
      PollInterval: 0
63
[...]
64
</pre>