Bryan Boreham
b055c9a4a2
Fool-proofing
2016-01-13 10:33:49 +00:00
Bryan Boreham
3daceac668
Allow pre-existing plugin on 'weave launch-plugin'
2016-01-13 10:05:02 +00:00
Bryan Boreham
517a2e0e0a
Fix nonzero exit code for a pre-existing plugin on launch;
...
do this purely for the 'plugin running' case, not 'restarting' etc.
2016-01-12 17:06:38 +00:00
Bryan Boreham
bb8c7c599c
Revert "don't launch anything when plugin is running"
...
This reverts commit 3ade796e8d .
2016-01-12 16:51:49 +00:00
Bryan Boreham
0d0fc39236
More review feedback
2016-01-12 15:35:34 +00:00
Bryan Boreham
3b29e8e6f2
Check for existing interfaces and routes after subscribing to receive new ones
2016-01-12 12:27:55 +00:00
Bryan Boreham
a1dff70ba2
Review feedback
2016-01-11 11:55:11 +00:00
Bryan Boreham
9a4adccec6
Remove inconsistent information about restart policy
2016-01-11 11:20:40 +00:00
Bryan Boreham
f90390974a
Add page explaining IP addresses, networks and routes
2016-01-11 10:30:37 +00:00
Bryan Boreham
4b0fe502f0
Document the --no-multicast-route flag
2016-01-08 17:12:20 +00:00
Bryan Boreham
257b1a5353
Add the plugin to the list of images to tag and push
2015-12-23 11:00:58 +00:00
Bryan Boreham
b45ac75735
Merge pull request #1825 from weaveworks/1824-idempotent-env-restore
...
make `eval $(weave env)` idempotent; LGTM. Fixes #1824
2015-12-23 10:48:35 +00:00
Bryan Boreham
ba266ef8d3
Add release v1.4.1
2015-12-22 17:25:47 +00:00
Bryan Boreham
f434fad3be
Merge pull request #1822 from weaveworks/1820-unix-only
...
Only pass $DOCKER_HOST if it is a Unix socket - fixes #1820
2015-12-22 17:16:40 +00:00
Bryan Boreham
bab758ebf9
Revert "Launch the proxy via unix socket in last test"
...
- since we won't now be copying $DOCKER_HOST
This reverts commit d8cfbc4e08 .
2015-12-22 17:01:04 +00:00
Bryan Boreham
800f4663b6
Only pass through $DOCKER_HOST in exec_remote() if it is a Unix socket;
...
a TCP socket may be secured by TLS, in which case we can't use it.
2015-12-22 17:01:04 +00:00
Bryan Boreham
6b90ef7078
Clarify message
2015-12-22 14:56:40 +00:00
Bryan Boreham
077ad4208f
Merge pull request #1813 from weaveworks/1797-plugin-version
...
Show plugin version; Fixes #1797
2015-12-22 13:12:38 +00:00
Bryan Boreham
c19edec364
Add 'weave stop-xxx' instructions for 'already running' case
2015-12-22 13:04:06 +00:00
Bryan Boreham
0c2aa494ae
Reduce duplication
2015-12-22 13:03:04 +00:00
Bryan Boreham
73e0a6bb0a
Inform user about weave containers in state 'restarting'
2015-12-22 13:01:00 +00:00
Bryan Boreham
abf1db0045
Merge pull request #1819 from weaveworks/1818-dont-launch-when-plugin-running
...
don't launch anything when plugin is running; fixes #1818 . LGTM.
2015-12-22 12:55:57 +00:00
Bryan Boreham
7c2e808924
Check we have Docker 1.9 or newer before trying to remove a network
2015-12-22 12:10:48 +00:00
Bryan Boreham
7d2227c5a4
Add plugin version to 'weave version'
2015-12-22 10:50:02 +00:00
Bryan Boreham
8a517d5c7c
Issue a warning on --with-dns option to proxy, because it was removed
2015-12-22 10:00:06 +00:00
Bryan Boreham
48658f011f
Merge pull request #1805 from weaveworks/script-indentation
...
Fix indentation of weave script
2015-12-18 09:53:12 +00:00
Bryan Boreham
4ebb13fa94
Fix indentation of netcheck if-statement
2015-12-17 16:23:42 +00:00
Bryan Boreham
37ae169323
Merge remote-tracking branch 'origin/master' into latest_release_doc_updates
2015-12-17 11:48:23 +00:00
Bryan Boreham
1ce0df4e94
Explain multiple networks
2015-12-17 11:42:41 +00:00
Bryan Boreham
db5ba61915
Improve formatting
2015-12-17 11:41:44 +00:00
Bryan Boreham
db120fb9be
Add release v1.4.0
2015-12-17 10:30:06 +00:00
Bryan Boreham
246cb76e50
Add note to docs about not removing the plugin
2015-12-17 10:26:08 +00:00
Bryan Boreham
ecf4a82b99
Warn user if weave network is in use on stop or reset
2015-12-17 10:05:36 +00:00
Bryan Boreham
357f67255e
Move logging of Docker API info to callers
2015-12-17 08:25:51 +00:00
Bryan Boreham
67195bc9f3
Remove WITH_DNS variable and deprecate --with-dns option to 'weave run'
2015-12-16 14:55:35 +00:00
Bryan Boreham
cbaa92dcb2
Revert "don't broadcast-gossip other peer when adding a connection"
...
while we consider how to fix it properly.
This reverts commit cbb2ad018d .
2015-12-16 13:46:37 +00:00
Bryan Boreham
f09d87c112
Merge pull request #1796 from weaveworks/gossip-test-connection-mistake
...
fix gossip test connection peer initialisation and connection deletion mistakes
2015-12-16 13:36:50 +00:00
Bryan Boreham
e6e414a017
Merge pull request #1795 from weaveworks/issues/1772-fix-fastdp-address-already-in-use
...
Introduce limited retry on vxlan vport creation. LGTM; fixes #1772 .
2015-12-16 13:22:50 +00:00
Bryan Boreham
3043217b2c
Extend --no-multicast-route test to plugin
2015-12-16 12:17:25 +00:00
Bryan Boreham
afcb84d42c
Set up static route for multicast, with option to turn off
2015-12-16 12:17:25 +00:00
Bryan Boreham
c46febd7df
Fix Makefile so weavewait* are statically linked
...
- the `-tags netgo` was being ignored by an interaction with the newer tags
2015-12-16 11:45:10 +00:00
Bryan Boreham
f880da4827
Merge pull request #1722 from weaveworks/fdp-high-level-overview
...
Add fast datapath high level overview
2015-12-16 10:49:31 +00:00
Bryan Boreham
85c9cf43f7
Merge pull request #1689 from weaveworks/1586-alternate-docker-sock
...
Support weave script running against non-standard DOCKER_HOST.
2015-12-16 10:35:46 +00:00
Bryan Boreham
d8cfbc4e08
Launch the proxy via unix socket in last test
...
- proxy copies permissions from $DOCKER_HOST socket if available, so in
this case it was not accessible because we were booting via a TCP
socket
2015-12-16 10:14:44 +00:00
Bryan Boreham
1a1d8b7c74
Prefix interface names with 'veth' so NetworkManager ignores them
2015-12-16 10:01:57 +00:00
Bryan Boreham
0e9991f7d4
Make plugin create 'weave' network by default
2015-12-15 16:52:37 +00:00
Bryan Boreham
41482aff01
Update plugin README and documentation
2015-12-15 16:52:37 +00:00
Bryan Boreham
791fc9d6b1
Return fake 'gateway address' to avoid requiring consensus during initialization
2015-12-15 16:52:37 +00:00
Bryan Boreham
776ccac00a
Pin docker API version to 1.21
2015-12-15 16:52:30 +00:00
Bryan Boreham
1539009362
Simple smoke-test for 'local' plugin network
2015-12-15 16:47:33 +00:00
Bryan Boreham
9542b77a34
Extend smoke-test framework for weaveplugin
2015-12-15 16:47:33 +00:00
Bryan Boreham
b709cdeab5
Create local and global network from the same driver and create local-scope weave network by default on weave launch
2015-12-15 16:47:18 +00:00
Bryan Boreham
e2f936fde3
Rework version check
...
- extract function so we can use the check elsewhere
- use shell variable expansion rather than exec-ing 'cut'
2015-12-15 16:40:43 +00:00
Bryan Boreham
a4ca389f2e
Make the plugin scope (local or global) an option
2015-12-15 16:31:07 +00:00
Bryan Boreham
c973808b20
Merge pull request #1758 from weaveworks/issues/82-optional-encryption
...
Make encryption optional; fixes #82 , #1788 . LGTM.
2015-12-15 15:23:58 +00:00
Bryan Boreham
c341399498
Document 'json' function
2015-12-15 13:52:28 +00:00
Bryan Boreham
d1ba4ab7f4
Merge pull request #1755 from weaveworks/issues/1741-weave-no-multicast-route
...
Add options to disable multicast route - LGTM; fixes #1741
2015-12-15 10:17:09 +00:00
Bryan Boreham
6fd0f121a0
Add a 'json' function for 'weave report -f'
2015-12-12 14:44:54 +00:00
Bryan Boreham
68d6c262d1
Remove --with-dns option from proxy
2015-12-12 14:12:39 +00:00
Bryan Boreham
1d9ef76080
Remove mention of --with-dns option; see #1748 and #1754
2015-12-12 13:58:14 +00:00
Bryan Boreham
b51b1adfcd
Merge pull request #1767 from weaveworks/1765-test-gossip-surrogate-failure
...
better emulation of connections in gossip tests. Fixes #1765 .
2015-12-11 17:20:23 +00:00
Bryan Boreham
700851cdd5
Add a note about connecting up peers
2015-12-10 10:40:48 +00:00
Bryan Boreham
9bf18b1761
Merge pull request #1769 from weaveworks/ditch-run-with-timeout
...
Wins the prize for "best add-to-delete ratio in a PR this year"
2015-12-09 13:56:54 +00:00
Bryan Boreham
ecd93bbfe4
Resolve weave IP every time we need it, in case it changed
2015-12-08 16:59:34 +00:00
Bryan Boreham
a6f07fbaac
Move baseUrl usage up to httpVerb
2015-12-08 16:59:34 +00:00
Bryan Boreham
f87876c1c3
Fetch the default subnet from weave to use as the ipam driver 'pool'
2015-12-08 16:59:34 +00:00
Bryan Boreham
ec3de1a072
Introduce ipam plugin
2015-12-08 16:59:32 +00:00
Bryan Boreham
c1d2c159f0
Expand listener skeleton to support IPAM driver
2015-12-08 16:58:55 +00:00
Bryan Boreham
9f86e2ba43
Moved net plugin to its own directory
2015-12-08 16:58:53 +00:00
Bryan Boreham
c981cff450
Move build of test/tls program into Makefile so it builds in the build container
2015-12-08 16:14:53 +00:00
Bryan Boreham
ab1033c26c
Merge pull request #1736 from weaveworks/remove-unknown-peer-error
...
remove UnknownPeerError for quicker convergence and efficiency. LGTM.
2015-12-04 11:00:05 +00:00
Bryan Boreham
ec420c66d4
Review feedback
2015-12-01 16:47:47 +00:00
Bryan Boreham
eb9b5b535f
Merge branch '1.3'
2015-11-30 16:16:09 +00:00
Bryan Boreham
a13351a9eb
Merge pull request #1712 from weaveworks/issues/1577-interpose-bridge-netdev
...
Optional intermediary bridge netdev. Fixes #1577 .
2015-11-30 15:54:14 +00:00
Bryan Boreham
74fdf6beec
Merge pull request #1732 from weaveworks/1731-merge-peer-has-short-id
...
update Peer.HasShortID as part of topology merge
Fixes #1731
2015-11-30 15:53:23 +00:00
Bryan Boreham
a22b88ed89
Track endpoints so we can register the right address with DNS
2015-11-30 14:27:33 +00:00
Bryan Boreham
5eb99fe5ef
Get container IP for various networks
2015-11-30 14:27:33 +00:00
Bryan Boreham
85e465cfa4
Eliminate 'dockerer'
2015-11-30 14:27:33 +00:00
Bryan Boreham
e101dde62e
Extract 'api' package
2015-11-30 14:27:33 +00:00
Bryan Boreham
bd2b8df7c5
Refactor to use Weave's docker client and watcher
2015-11-30 13:25:20 +00:00
Bryan Boreham
7e0e1fbaad
Adjust formatting after review feedback; hostnames up to 14 chars will now align
2015-11-30 12:07:59 +00:00
Bryan Boreham
9723476392
Merge pull request #1708 from weaveworks/gce-connect-fix
...
Connect to gce boxes as vagrant so we can access docker unix socket
2015-11-30 11:45:30 +00:00
Bryan Boreham
8bbf8231d2
Show which range is being allocated in weave report
2015-11-26 17:24:41 +00:00
Bryan Boreham
2fbbb802bd
Don't assert invariants when printing status
...
- if it's broken you might appreciate being able to print it out
2015-11-26 17:24:41 +00:00
Bryan Boreham
cb65a80dce
Reworded IPAM service description in weave status
...
following review in #1702
2015-11-26 17:24:41 +00:00
Bryan Boreham
3a9bcbcf6b
Remove specialised knowledge of IPAM from weave status formatter
...
and unnecessary info from `weave report` output
2015-11-26 17:24:40 +00:00
Bryan Boreham
e38018ab1e
Add warning to main ipam status if all IPs owned by unreachable peers
2015-11-26 17:23:49 +00:00
Bryan Boreham
044c6474b2
Remove counting of ring tokens, since it isn't useful to end-user.
...
Previously the count of tokens was claimed to be a count of addresses in use,
which is incorrect.
Also rename `appendAddresses` to `appendOwned` since it doesn't involve addresses.
2015-11-26 17:23:49 +00:00
Bryan Boreham
5f42a4d95e
Hold stats by peer identity not nickname
...
so we can print the peer name for each ownership.
Also avoid crashing if we don't own anything
2015-11-26 17:23:49 +00:00
Bryan Boreham
6d3fd6da07
Simplify ipam status format
...
Don't use the word "universe" in user-visible output; it is an internal term.
Removed everything but owned ranges from 'weave status ipam' results, for consistency with similar functions
2015-11-26 17:23:49 +00:00
Bryan Boreham
f2d7a28258
Add docker plugin README
2015-11-26 17:18:59 +00:00
Bryan Boreham
901bf63cb8
Fix printf error caught by lint
2015-11-26 15:19:57 +00:00
Bryan Boreham
350b8efb0b
Move Weave docker plugin into this repo
2015-11-26 14:40:28 +00:00
Bryan Boreham
ea5bae711b
Ensure /var/run/weave directory exists before telling Docker to use it
2015-11-25 13:56:09 +00:00
Bryan Boreham
44a2c5fdff
Merge pull request #1718 from weaveworks/constant-spacetime-connection-shutdown
...
LGTM. prevent unbounded number of goroutines for connection shutdown
2015-11-25 11:22:08 +00:00
Bryan Boreham
89f27ec99a
Set default port number on address before checking in InitiateConnections, to fix #1714
2015-11-24 14:55:21 +00:00
Bryan Boreham
bbf26fc3e8
Raise minimum Docker version to 1.6 to address #1683
2015-11-20 10:44:45 +00:00
Bryan Boreham
6dcc42cdeb
Merge branch '1.3'
2015-11-20 10:33:38 +00:00
Bryan Boreham
385b0aa07f
Fix typo in -tls info string
2015-11-20 10:33:20 +00:00
Bryan Boreham
f2b1ee3398
Merge branch 'latest_release_doc_updates' into 1.3
2015-11-20 10:30:28 +00:00