Justin Cormack
206dfe0950
simplify vendor tar
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-12 16:36:01 +01:00
Justin Cormack
43ab6520cf
update to latest alpine base images
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:02:07 +01:00
Justin Cormack
5c634808df
simplify tar for vendor directory
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:02:07 +01:00
Justin Cormack
276157a769
Move all output to the directories it will be in eventually
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:02:07 +01:00
Justin Cormack
d00ed9ce6e
run with no network
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 15:59:19 +01:00
Justin Cormack
168fdedace
clean up diagnostics server build
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 15:59:19 +01:00
Justin Cormack
28afc72a97
move vendor directory directly under packages
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 15:59:19 +01:00
Justin Cormack
089c592873
Include the Go binary in the hash of the go build base
...
As this is not installed via apk it was not being included in the
checksum.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-09 15:46:23 +01:00
Justin Cormack
4e2a2db5c7
set a timeout for database capture
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-08 22:18:04 +01:00
Justin Cormack
7daf4563e5
Merge pull request #380 from nathanleclaire/diagnostix
...
[WIP] Add ability for diagnostics to upload to S3 bucket
2016-09-08 09:41:03 +01:00
Justin Cormack
d4b5fc07c9
Closer to reproducible builds
...
Make an alpine base image for C and Go builds.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-06 13:18:11 +01:00
Justin Cormack
30d4cf9675
more specific golang alpine base package
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-05 15:05:52 +01:00
Nathan LeClaire
0a7634fbd3
Use additional parent (global) context
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com >
2016-09-02 16:45:05 -07:00
Nathan LeClaire
5d4b7a6f86
Fix race condition(s) in command collection code
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com >
2016-09-02 16:40:38 -07:00
Justin Cormack
bf397574cc
diagnostics program fix up output
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-02 16:30:37 +01:00
David Scott
7e58c70929
diagnostics: no need to collect /var/log/service-port-opener.log
...
This log file has been removed and the contents are now in /var/log/messages
which we already collect.
Signed-off-by: David Scott <dave.scott@docker.com >
2016-09-01 11:28:43 +01:00
Nathan LeClaire
d7c2f7aed5
Add a few command capture tweaks
...
- Human readable df output
- Dramatically more history from Docker and syslog
- brctl doesn't output anything without 'show'
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com >
2016-08-29 16:10:31 -07:00
Nathan LeClaire
970bc31977
Add ability to upload diagnostics to S3
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com >
2016-08-29 16:03:27 -07:00
Justin Cormack
a4878c37d1
Fix for util-linux, no lsblk
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-08-22 19:08:26 +01:00
Rolf Neugebauer
c36072713a
diagnostics: fix diagnostics for local/desktop editions
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2016-07-29 16:28:34 +01:00
Justin Cormack
32aa36439a
allow for args for servers in diagnostics
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-07-21 18:38:38 +01:00
Justin Cormack
6a6f924283
fix typo
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-07-21 17:35:11 +01:00
Justin Cormack
7682ed2503
Tweak disk detection diagnostics to match what is going on better
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-07-21 15:48:24 +01:00
Rolf Neugebauer
423b3c2765
Merge pull request #309 from justincormack/tapvsockvmbus
...
Use mobyplatform not vmbus for tap-vsock
2016-07-21 10:34:57 +01:00
Nathan LeClaire
afb9b91b60
Remove unused file
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com >
2016-07-20 13:48:52 -07:00
Nathan LeClaire
9ecf003a33
Fix error in diagnostic server init code
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com >
2016-07-20 13:48:21 -07:00
Justin Cormack
c475121074
Use mobyplatform not vmbus for tap-vsock
...
Plus cleanup for less indentation. No functional change.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-07-20 12:30:59 +01:00
Justin Cormack
093a81064b
Only run transfused on mac platform
...
See #301
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-07-20 12:11:39 +01:00
Justin Cormack
2bf06aab05
Remove rawtcp from diagnostics server
...
See https://github.com/docker/moby/pull/303
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-07-20 11:46:54 +01:00
Nathan LeClaire
1e0dfd4798
Re-write diagnostic server to support cloud/HTTP
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com >
2016-07-19 17:40:15 -07:00
Justin Cormack
498c481700
Wait for docker to finish starting up before terminateing init script
...
This means dependent services can rely on docker being up.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-07-15 11:29:32 +01:00
Justin Cormack
220f3df37a
Add a system containerd
...
This adds an independent system containerd for running internal
containers.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-07-14 12:28:44 +01:00
Rolf Neugebauer
1977888b18
diagnostics: Don't check for transfused on Windows
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2016-07-12 14:28:11 +01:00
Ian Campbell
dd41c21021
diagnostics: Only log connection failure if not EAFNOTSUPPORT
...
EAFNOTSUPPORT likely means we are running on a hypervisor which doesn't support
that particular socket type.
Signed-off-by: Ian Campbell <ian.campbell@docker.com >
2016-07-01 15:35:27 +01:00
Ian Campbell
d9288f5bba
diagnostics: Log over syslog
...
Instead of spamming the console.
Signed-off-by: Ian Campbell <ian.campbell@docker.com >
2016-07-01 15:35:27 +01:00
Ian Campbell
421dee55d0
diagnostics: Correct error formatting
...
They should be formatted as %s not %#v (which prints all sorts of opaque
pointers).
Signed-off-by: Ian Campbell <ian.campbell@docker.com >
2016-07-01 15:35:26 +01:00
Ian Campbell
c9c9994d89
diagnostics: run "gofmt -w" over go code
...
Signed-off-by: Ian Campbell <ian.campbell@docker.com >
2016-07-01 15:35:26 +01:00
Rolf Neugebauer
7b5811cdbd
diag: improve diagnostics
...
- try several wget's on well known IP addresses to check IP
connectivity (ping in hostnet mode is not good enough)
- try DNS lookup on a well known server
- add service-port-opener logs
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2016-06-22 11:38:51 +01:00
Justin Cormack
5b7c05c25b
reverse on Windows check for diagnostics
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-06-15 10:42:21 +01:00
Justin Cormack
dd5fe0455b
Update to docker 1.12-dev plus proxy patches, close to what will be rc1
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-06-14 14:13:36 +01:00
Ian Campbell
5165a6c795
Add || true to the docker rmi invocations in the clean target
...
Linux xargs calls the command with no arguments if it gets no inputs, which
`docker rmi` complains about. It provides -r / --no-run-if-empty to prevent
this but unfortunately this isn't supported on OSX.
Ignore errors from `docker rmi` so that `make clean` will keep going and clean
up later stuff.
Signed-off-by: Ian Campbell <ian.campbell@docker.com >
2016-06-08 13:59:47 +01:00
Rolf Neugebauer
e56be71ba3
diagnostics: Add daemon.json to the diagnistics tarball
...
With #186 we are now using /etc/docker/daemon.json again.
Add it to the tarball.
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2016-06-08 13:51:59 +01:00
Rolf Neugebauer
59ed40b5ed
diagnostics: dump more config files
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2016-06-07 16:00:16 +01:00
Rolf Neugebauer
1fa702886b
diagnostics: dump the master branch of the database
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2016-06-07 16:00:16 +01:00
Rolf Neugebauer
218e9de40c
diagnostics: add more log files and more content from logfiles
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2016-06-07 15:04:17 +01:00
Dave Tucker
66372fe5e8
Remove hupper and mobyconfig watch
...
Signed-off-by: Dave Tucker <dt@docker.com >
2016-06-02 20:39:25 +01:00
Justin Cormack
41c1231c47
update diagnostics now tap-vsockd only runs on WIndows
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-05-31 15:07:33 +01:00
David Scott
d7863c8882
tap-vsockd: add to /sbin
...
Install the daemon in /sbin, but don't start it up yet.
Signed-off-by: David Scott <dave.scott@docker.com >
2016-05-21 21:15:11 +01:00
Rolf Neugebauer
f1aa816c4a
diagnostics: add support for hyper-V sockets
...
Use the new shared vendor'ed packages
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2016-05-19 13:54:48 +01:00
Justin Cormack
a740d022ff
use build-base not alpine-sdk as smaller
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-05-17 10:00:58 -05:00