Merge branch '19830-pysdk-util-docs'
[arvados.git] / doc / install / diagnostics.html.textile.liquid
1 ---
2 layout: default
3 navsection: installguide
4 title: Cluster diagnostics tool
5
6 ...
7 {% comment %}
8 Copyright (C) The Arvados Authors. All rights reserved.
9
10 SPDX-License-Identifier: CC-BY-SA-3.0
11 {% endcomment %}
12
13 The @diagnostics@ subcommand of @arvados-client@ performs a variety of checks to help confirm that your Arvados installation has been properly configured.  It is extremely helpful to validate that your install is successful.
14
15 Depending on where you are running the installer, you need to provide @-internal-client@ or @-external-client@.
16
17 * If you are running the diagnostics from one of the Arvados machines inside the private network, you want @-internal-client@.
18 * If you running the diagnostics from your workstation outside of the private network, you should use @-external-client@.
19
20 Here is an example of it in action:
21
22 <pre>
23 root@api:~$ apt-get install arvados-client
24 root@api:~$ export ARVADOS_API_HOST=ClusterID.example.com
25 root@api:~$ export ARVADOS_API_TOKEN=YourSytemRootTokenHere
26 root@api:~$ arvados-client diagnostics -external-client
27 INFO      10: getting discovery document from https://ClusterID.example.com/discovery/v1/apis/arvados/v1/rest
28 INFO      20: getting exported config from https://ClusterID.example.com/arvados/v1/config
29 INFO      30: getting current user record
30 INFO      40: connecting to service endpoint https://keep.ClusterID.example.com/
31 INFO      41: connecting to service endpoint https://*.collections.ClusterID.example.com/
32 INFO      42: connecting to service endpoint https://download.ClusterID.example.com/
33 INFO      43: connecting to service endpoint wss://ws.ClusterID.example.com/websocket
34 INFO      44: connecting to service endpoint https://workbench.ClusterID.example.com/
35 INFO      45: connecting to service endpoint https://workbench2.ClusterID.example.com/
36 INFO      50: checking CORS headers at https://ClusterID.example.com/
37 INFO      51: checking CORS headers at https://keep.ClusterID.example.com/d41d8cd98f00b204e9800998ecf8427e+0
38 INFO      52: checking CORS headers at https://download.ClusterID.example.com/
39 INFO      60: checking internal/external client detection
40 INFO      61: reading+writing via keep service at https://keep.ClusterID.example.com:443/
41 INFO      80: finding/creating "scratch area for diagnostics" project
42 INFO      90: creating temporary collection
43 INFO     100: uploading file via webdav
44 INFO     110: checking WebDAV ExternalURL wildcard (https://*.collections.ClusterID.example.com/)
45 INFO     120: downloading from webdav (https://d41d8cd98f00b204e9800998ecf8427e-0.collections.ClusterID.example.com/foo)
46 INFO     121: downloading from webdav (https://d41d8cd98f00b204e9800998ecf8427e-0.collections.ClusterID.example.com/sha256:feb5d9fea6a5e9606aa995e879d862b825965ba48de054caab5ef356dc6b3412.tar)
47 INFO     122: downloading from webdav (https://download.ClusterID.example.com/c=d41d8cd98f00b204e9800998ecf8427e+0/_/foo)
48 INFO     123: downloading from webdav (https://download.ClusterID.example.com/c=d41d8cd98f00b204e9800998ecf8427e+0/_/sha256:feb5d9fea6a5e9606aa995e879d862b825965ba48de054caab5ef356dc6b3412.tar)
49 INFO     124: downloading from webdav (https://a15a27cbc1c7d2d4a0d9e02529aaec7e-128.collections.ClusterID.example.com/sha256:feb5d9fea6a5e9606aa995e879d862b825965ba48de054caab5ef356dc6b3412.tar)
50 INFO     125: downloading from webdav (https://download.ClusterID.example.com/c=ce8i5-4zz18-bkfvq2skqqf78xd/_/sha256:feb5d9fea6a5e9606aa995e879d862b825965ba48de054caab5ef356dc6b3412.tar)
51 INFO     130: getting list of virtual machines
52 INFO     140: getting workbench1 webshell page
53 INFO     150: connecting to webshell service
54 INFO     160: running a container
55 INFO      ... container request submitted, waiting up to 10m for container to run
56 INFO    9990: deleting temporary collection
57 INFO    --- no errors ---
58 </pre>