Bryan Boreham
|
efd4fc4704
|
Merge pull request #1901 from weaveworks/1897-weaveutil-plugin-network
move plugin network creation/removal into weaveutil
|
2016-01-15 11:07:38 +00:00 |
|
Bryan Boreham
|
8eeb6dd836
|
Only rebuild without coverage if we're going to publish
|
2016-01-14 15:33:46 +00:00 |
|
Bryan Boreham
|
bd7e5d6921
|
Do a build before the 'go test'; perversely this runs faster
|
2016-01-14 15:29:58 +00:00 |
|
Bryan Boreham
|
7c1e80ca89
|
Don't do coverage on vendored directories
|
2016-01-14 14:16:28 +00:00 |
|
Bryan Boreham
|
9aae1fa3c9
|
Save the ~/docker directory in cache because rebuild_image stores things there
|
2016-01-14 13:02:32 +00:00 |
|
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
|
e468399616
|
Extend the timeout for dead containers to 30 seconds,
but remove them if they are destroyed, to reduce starvation
when users are creating and destroying containers quickly.
|
2016-01-12 14:38:44 +00:00 |
|
Bryan Boreham
|
b2b293a8ee
|
Added 'ContainerDestroyed()' callback from docker client
|
2016-01-12 14:38:44 +00:00 |
|
Bryan Boreham
|
2f885a7906
|
Reclaim all addresses on restart
|
2016-01-12 14:38:44 +00:00 |
|
Bryan Boreham
|
7985e43e68
|
Add 'weave restart' command
|
2016-01-12 14:38:44 +00:00 |
|
Bryan Boreham
|
f84b933d7c
|
Leave container allocations for a time after death
so they will be reclaimed if the container is restarted.
Still cancel pending operations immediately a container dies
|
2016-01-12 14:38:44 +00:00 |
|
Bryan Boreham
|
4672e9ec1f
|
Generalise ticker so we can use it for more than paxos,
and call tryPendingOps() from it so we eventually re-try operations
|
2016-01-12 14:38:44 +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
|
f91d7bb7e4
|
Rewrite TestHTTPCancel to avoid fiddling inside Allocator
|
2016-01-08 13:37:15 +00:00 |
|
Bryan Boreham
|
987d89632d
|
Merge pull request #1847 from weaveworks/1613-weaveutil
extract script utilities into single binary; LGTM
|
2016-01-07 18:53:25 +00:00 |
|
Bryan Boreham
|
8804f88c93
|
Merge pull request #1856 from weaveworks/no-gossip-sender-gc
get rid of GossipSender gc; LTGM
|
2016-01-07 17:29:54 +00:00 |
|
Bryan Boreham
|
3c654bc036
|
Merge pull request #1561 from weaveworks/proxy-retry-attach
Proxy retry attaching containers; fixes #1556
|
2016-01-07 17:27:19 +00:00 |
|
Bryan Boreham
|
604f5c599a
|
Check if there are any machines to destroy, and stop masking failures
|
2016-01-07 13:40:34 +00:00 |
|
Bryan Boreham
|
bbd0b15792
|
Merge pull request #1855 from weaveworks/gossip-broadcast-stall-3
don't stall gossip broadcasting when there are blocked connections; LGTM
|
2016-01-06 16:43:37 +00:00 |
|
Bryan Boreham
|
262f8915a8
|
Merge pull request #1826 from weaveworks/cleaner-gossip-sender
clean up GossipSender
|
2016-01-05 16:36:26 +00:00 |
|
Bryan Boreham
|
1796582032
|
Merge pull request #1773 from weaveworks/1761-lazy-route-calculation-1
lazy route calculation; LGTM
|
2015-12-23 12:27:02 +00:00 |
|
Bryan Boreham
|
4214a09392
|
Merge branch '1.4'
|
2015-12-23 11:09:13 +00:00 |
|
Bryan Boreham
|
e833ab672d
|
Merge branch '1.4'
|
2015-12-23 11:08:23 +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
|
ec0c5f0375
|
Merge pull request #1800 from weaveworks/1568-release-process
Add more steps to the release process; fixes #1568 and #1506
|
2015-12-23 10:52:02 +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
|
ac53d7d47b
|
Merge pull request #1801 from weaveworks/1723_publish_plugin
Add the plugin to the list of images to tag and push. Fixes #1723
|
2015-12-23 10:46:15 +00:00 |
|
Bryan Boreham
|
fdc7e15192
|
Merge branch '1.4'
|
2015-12-22 17:36:06 +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
|
ceac3c3d83
|
Merge branch '1.4'
|
2015-12-18 09:54:22 +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
|
5580b7a522
|
Add more steps to the process
|
2015-12-17 13:55:26 +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
|
31006002f3
|
Add the plugin to the list of images to tag and push
|
2015-12-17 11:08:00 +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 |
|