Bryan Boreham
4c01af4e1d
Check if container is still running right after allocating
2015-06-12 17:09:11 +01:00
Bryan Boreham
13944f3811
Refactor is-running check so we can re-use more of the code
2015-06-12 17:09:11 +01:00
Bryan Boreham
5aafbbeff0
Fix compile error introduced in merge of #904
2015-06-12 16:20:35 +01:00
Matthias Radestock
7462fe91d5
Merge pull request #904 from bboreham/inercia-weave-821
...
Remove stale records for short-lived containers (bis)
Fixes #821 . Replaces and hence closes #865 .
2015-06-12 15:36:12 +01:00
Matthias Radestock
79c5343ca5
Merge pull request #905 from bboreham/slashten
...
Use /10 instead of /9 for default iprange
Patching up #893 .
2015-06-12 15:21:38 +01:00
Matthias Radestock
d5ebd6a0c4
Merge branch 'latest_release_doc_updates'
...
Conflicts:
CHANGELOG.md
nameserver/cache_test.go
site/features.md
site/proxy.md
weave
2015-06-12 15:16:50 +01:00
Bryan Boreham
12de13c678
Use /10 instead of /9 for default iprange, so it doesn't clash with CircleCI address
2015-06-12 15:15:36 +01:00
Matthias Radestock
97d692df80
don't restart docker in test setup
...
due to that leaving container debris behind that docker takes ages to
clean up.
2015-06-12 15:01:35 +01:00
Bryan Boreham
7941612dad
remove one level of indentation
2015-06-12 15:01:06 +01:00
Matthias Radestock
c25706f6a5
Merge pull request #902 from bboreham/885-gossip-race
...
Keep flushing gossip until it's all gone
A better (i.e. working?) fix for #885 .
2015-06-12 15:00:02 +01:00
Bryan Boreham
799e202d6d
Make error message more readable
2015-06-12 14:52:20 +01:00
Bryan Boreham
658fbac7aa
Keep flushing gossip until it's all gone
...
A better (i.e. working?) fix for #885 .
2015-06-12 14:50:37 +01:00
Bryan Boreham
086daca3d0
Fold communication-checking code into docker.Client.NewClient()
2015-06-12 14:45:29 +01:00
Matthias Radestock
f48f9ba475
relax documented weavedns subnet requirements somewhat
...
Following #763 .
2015-06-12 14:22:57 +01:00
Bryan Boreham
29c988d42f
Merge pull request #900 from rade/762_dns_ipam
...
LGTM. Closes #762 .
2015-06-12 14:21:07 +01:00
Matthias Radestock
06183bea1a
extensive documentation
2015-06-12 14:01:34 +01:00
Matthias Radestock
a2146ca5b0
add tests for launching DNS with various ways of obtaining an IP
...
As a side effect this also tests repopulation on restart, so we can
remove the separate test for that.
2015-06-12 13:50:22 +01:00
Matthias Radestock
727a213ba1
permit weavedns IP addresses to be choosen by IPAM
...
Same as for ordinary containers.
Closes #762 .
2015-06-12 13:50:22 +01:00
Matthias Radestock
38266f2918
fix layout
2015-06-12 13:35:12 +01:00
Matthias Radestock
6d4c1e49fe
fix layout
2015-06-12 13:33:32 +01:00
Matthias Radestock
fa00b9faf3
add ToC to ipam docs
...
also shorten some of the headings, and use H2 instead of H3
2015-06-12 12:24:32 +01:00
Matthias Radestock
685d7d2559
Merge pull request #893 from bboreham/743-default-iprange-in-script
...
Default value for -iprange
Closes #743 . Closes #870 .
2015-06-12 11:17:12 +01:00
Matthias Radestock
df918ab3c4
revamp ipam docs
2015-06-11 22:24:07 +01:00
Bryan Boreham
404ae010e4
Improve flow of IPAM doc
2015-06-11 18:35:18 +01:00
Bryan Boreham
43d42e6f15
Update docs for default -iprange
2015-06-11 18:01:28 +01:00
Bryan Boreham
328e63828e
Check whether netcheck exists before relying on it
2015-06-11 17:55:27 +01:00
Bryan Boreham
465b16e668
Give -iprange a default, and check if it is free
2015-06-11 17:34:43 +01:00
Bryan Boreham
0e6569d78c
New program netcheck to check if network overlaps routes
2015-06-11 17:27:20 +01:00
Bryan Boreham
8285046962
Function to check if a network overlaps with existing routes
2015-06-11 17:27:20 +01:00
Matthias Radestock
8e04b135bb
check that nsenter is present
...
for `weave --local ...`
Closes #895 .
2015-06-11 16:37:28 +01:00
Matthias Radestock
2b7c785386
don't output container id when we kill it
...
This was missed from #831 .
2015-06-11 16:34:46 +01:00
Paul Bellamy
09f491821b
making test executable
2015-06-11 13:51:41 +01:00
Adam Harrison
c0cfacdb28
Repatriate itinerant smoke test
2015-06-11 12:54:07 +01:00
Matthias Radestock
e96cde1872
Merge pull request #890 from awh/use_container_name_as_hostname
...
Use container name as hostname
Closes #750 .
2015-06-11 12:35:46 +01:00
Adam Harrison
12fc760e4a
Refocus documentation around --name
2015-06-11 12:17:05 +01:00
Paul Bellamy
d2b17690f9
use dnsutils image in one test instead of awk on all the tests.
2015-06-11 12:13:24 +01:00
Adam Harrison
8d7fe2b9e7
Renamed smoke test to avoid number clash
2015-06-11 11:55:21 +01:00
Adam Harrison
1fa7c24a2a
Prefer --name to -h in examples
2015-06-11 11:54:05 +01:00
Adam Harrison
6b80dc035a
Simplify smoke test
2015-06-11 11:53:24 +01:00
Adam Harrison
35cfafc319
Defer evaluation of $(dns_domain) until necessary
2015-06-11 11:52:33 +01:00
Matthias Radestock
e1c07dce3f
permit overriding of DOCKERHUB_USER
...
which in turn enables operation from private registries
Closes #887 .
2015-06-11 11:50:55 +01:00
Paul Bellamy
96bda1639e
define weavedns http port as a constant
2015-06-11 10:27:35 +01:00
Adam Harrison
a424bfe715
Correctly interpret long form arguments that lack an equals symbol
2015-06-11 10:27:34 +01:00
Adam Harrison
4f6ace8b10
Permit optional trailing dot on hostname
2015-06-11 10:27:34 +01:00
Adam Harrison
bccb5065db
Update docs with new weave run behaviour
2015-06-11 10:27:34 +01:00
Adam Harrison
bed6a130d6
Smoke test for new weave run behaviour
2015-06-11 10:27:34 +01:00
Adam Harrison
108eea8b79
Modify weave run to use container name as fqdn
...
When run is invoked with `--with-dns` and a container name but no
hostname, synthesise a fully qualified hostname from the container name
and the weaveDNS domain and supply that as a hostname for the container.
2015-06-11 10:27:34 +01:00
Paul Bellamy
678063efec
updating proxy docs on hostname/domainname dns
2015-06-11 10:27:34 +01:00
Paul Bellamy
99d9ad7042
[proxy] query weavedns for domain
2015-06-11 10:27:34 +01:00
Paul Bellamy
b9850ac200
[proxy] Set hostname and domainname based on container name, when dns
...
Had to make the assert_dns_record test helper more robust against
'getent hosts' returning duplicates
2015-06-11 10:27:29 +01:00