open-nomad/client
Michael Schurter a1d4f77ce0 rkt: skip retrieving network information when net=none
Even when net=none we would attempt to retrieve network information from
rkt which would spew useless log lines such as:

```
testlog.go:30: 20:37:31.409209 [DEBUG] driver.rkt: failed getting network info for pod UUID 8303cfe6-0c10-4288-84f5-cb79ad6dbf1c attempt 2: no networks found. Sleeping for 970ms
```

It would also delay tests for ~60s during the network information retry
period.

So skip this when net=none. It's unlikely anyone actually uses net=none
outside of tests, so I doubt anyone will notice this change.

Official docs:
https://coreos.com/rkt/docs/latest/networking/overview.html#no-loopback-only-networking
2018-07-09 13:44:43 -07:00
..
allocdir Fix test using a lot of memory 2018-06-13 15:52:25 -07:00
allocrunner Parametrized/periodic jobs per child tagged metric emmision 2018-06-21 10:40:56 +03:00
config refactor NewTLSConfiguration to pass in verifyIncoming/verifyOutgoing 2018-05-23 18:35:30 -04:00
consul Refactor - wip 2018-06-12 10:23:45 -07:00
driver rkt: skip retrieving network information when net=none 2018-07-09 13:44:43 -07:00
fingerprint Merge branch 'master' into f_gh_4381 2018-06-19 17:51:57 +02:00
lib/streamframer framer: fix early exit/truncation in framer 2018-05-02 10:46:16 -07:00
servers Tests only use testlog package logger 2018-06-13 15:40:56 -07:00
state Refactor - wip 2018-06-12 10:23:45 -07:00
stats Tests only use testlog package logger 2018-06-13 15:40:56 -07:00
structs remove structs + bump version 2018-06-11 13:52:19 -07:00
testutil Add test and docs 2018-05-31 18:05:03 -07:00
vaultclient Tests only use testlog package logger 2018-06-13 15:40:56 -07:00
acl.go SecretID -> AuthToken 2017-10-12 15:16:33 -07:00
acl_test.go Add testing interfaces 2018-02-15 13:59:00 -08:00
alloc_endpoint.go feedback and rebasing 2018-02-15 13:59:03 -08:00
alloc_endpoint_test.go fix flaky gc tests 2018-02-15 13:59:03 -08:00
client.go Merge pull request #3882 from burdandrei/telemetry-add-node-class-tag 2018-06-21 17:04:35 -05:00
client_stats_endpoint.go Server side impl + touch ups 2018-02-15 13:59:02 -08:00
client_stats_endpoint_test.go Server side impl + touch ups 2018-02-15 13:59:02 -08:00
client_test.go Tests only use testlog package logger 2018-06-13 15:40:56 -07:00
fingerprint_manager.go DriverContext: Add the TaskGroup and the Job name 2018-04-23 00:15:29 +02:00
fingerprint_manager_test.go Tests only use testlog package logger 2018-06-13 15:40:56 -07:00
fs_endpoint.go Keep stream and logs in sync for detecting closed pipe 2018-05-09 11:22:52 -07:00
fs_endpoint_test.go Tests only use testlog package logger 2018-06-13 15:40:56 -07:00
gc.go Refactor - wip 2018-06-12 10:23:45 -07:00
gc_test.go Fix gc tests + parallel destroy + small test fixes 2018-06-12 10:23:45 -07:00
rpc.go RPC Retry Watcher 2018-04-03 18:05:28 -07:00
rpc_test.go Client tls 2018-02-15 15:22:57 -08:00
testing.go Refactor - wip 2018-06-12 10:23:45 -07:00
util.go Refactor - wip 2018-06-12 10:23:45 -07:00
util_test.go Remove structs import from api 2017-09-29 10:36:08 -07:00