Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Make address argument to weave dns-{add|remove} optional #1377

Closed

Conversation

awh
Copy link
Contributor

@awh awh commented Sep 1, 2015

Fixes #1369.

paulbellamy and others added 30 commits July 17, 2015 12:41
Don't swallow errors in the docker client.
Correctly stop the test gossip router to prevent complaints of data races in subsequent tests.
since $CONTAINER gets stomped on by various functions, in particular
populate_dns.

Broken by weaveworks#1065.
using the same "always shift one" approach as in proxy_args
and ditch the wait_for_status, since we've only just called that
undocumented, since it is mainly meant for testing
Thus unbreaking it post weaveworks#1065.
…) for debugging.

Also, make Address marshall into json as an IP string, not a number.
Don't periodically delete all non-tombstone entries.

Fixes weaveworks#1177.
1) We cannot send "Connection: close", because the fsouza docker client
   expects the tcp socket to stay open between requests.

2) Because we cannot force-close the connection, we can't hijack the
   connection (because go's net/http doesn't let use un-hijack it).

3) Because we need to maintain the individual chunking of messages (for
   docker-py), we can't just copy the response body, as Go will remove and
   re-add the chunking willy-nilly.

Therefore, we have to read each chunk one-by-one, and flush the
ResponseWriter after each one.
bboreham and others added 19 commits August 27, 2015 15:03
('docker kill' breaks restart policy)
… container entrypoint.

We have moved the 'route add' command to the end of 'attach', so this
indicates that all network interface set-up is complete.
…-adverse-firewall-config

Warn on detection of REJECT rule in FORWARD chain

Fixes weaveworks#1266.
…tlink

Wait for ethwe via netlink, not via polling or signals

Fixes weaveworks#1209. Fixes weaveworks#1258. Fixes weaveworks#1300.
Conflicts:
	proxy/create_exec_interceptor.go
	test/600_proxy_docker_py_test.sh
Fix docker api proxy smoke-tests after docker-py change
$ C=$(docker run -e WEAVE_CIDR=10.2.1.27/24 -ti ubuntu)
$ weave dns-add 10.2.1.27 $C -h pingme2.weave.local
$ C=$(docker run -ti ubuntu)
$ weave dns-add $C -h pingme2.weave.local

This comment was marked as abuse.

@awh awh force-pushed the issues/1369-weave-dns-add-remove-optional-ip branch from f6fe1b9 to 0125e67 Compare September 3, 2015 08:59
@awh
Copy link
Contributor Author

awh commented Sep 3, 2015

For some reason GitHub thinks there are 563 commits in this PR - I'm going to close it and create a new one to be on the safe side...

@awh awh closed this Sep 3, 2015
@rade rade modified the milestone: 1.1.0 Sep 4, 2015
@awh awh deleted the issues/1369-weave-dns-add-remove-optional-ip branch October 7, 2015 17:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants