David Scott
4bd38ce8bf
diagnose: try a ping, grab /etc/resolv.conf and route -n
...
Signed-off-by: David Scott <dave.scott@docker.com >
2016-03-30 14:25:58 +01:00
David Scott
d402a579f5
diagnostics-server: add more diagnostics
...
For networking:
- ifconfig -a
- brctl show
For storage:
- mount
- df
Signed-off-by: David Scott <dave@recoil.org >
2016-03-30 10:34:04 +01:00
David Scott
d842e1b5dc
Allow diagnostics to be downloaded on port 62374
...
A client like `pinata diagnose` can do the equivalent of:
nc 192.168.64.2 62374 > foo.tar
and find `foo.tar` contains
- the output of `/usr/bin/diagnostics`
- `iptables -L`
- `netstat -an`
- `ps uax`
- `docker ps`
- `dig docker.com`
- `wget http://docker.com `
This will allow us to diagnose various in-VM faults, without having
to ask the user to access the console and run commands.
Signed-off-by: David Scott <dave.scott@docker.com >
2016-03-30 10:31:55 +01:00
David Sheets
726650a126
Replace 9pudfuse with transfused
2016-02-12 14:07:43 +00:00
Justin Cormack
67fb87a8f6
typo
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-01-26 17:42:45 +00:00
Justin Cormack
34150463e5
add diagnostics for fuse if used
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-01-26 10:59:09 +00:00
Justin Cormack
bc3f3f005a
make diagnostics run after all teh things it checks
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-01-25 23:25:25 +00:00
Justin Cormack
a1283877fe
add hupper process to diagnostics
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-01-25 10:45:50 +00:00
Justin Cormack
7f49537054
make sure diagnostics runs after all other startup
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2015-12-21 11:14:30 +00:00
Justin Cormack
010382b4a3
new initrd with diagnostics
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2015-12-21 10:57:30 +00:00