diff --git a/.gitignore b/.gitignore index 47c9056e..ed8b528e 100644 --- a/.gitignore +++ b/.gitignore @@ -37,7 +37,6 @@ coverage.html prog/weaver/weaver prog/weavedns/weavedns prog/weavehosts/weavehosts -prog/weaveproxy/weaveproxy prog/sigproxy/sigproxy prog/weavewait/weavewait prog/weavewait/weavewait_noop @@ -55,7 +54,6 @@ releases weave*.tar.gz prog/weaver/weave prog/weaveexec/weavehosts -prog/weaveexec/weaveproxy prog/weaveexec/weavewait prog/weaveexec/weavewait_noop prog/weaveexec/weavewait_nomcast diff --git a/site/weave-docker-api/troubleshooting-proxy.md b/site/weave-docker-api/troubleshooting-proxy.md deleted file mode 100644 index 62a3c871..00000000 --- a/site/weave-docker-api/troubleshooting-proxy.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: Troubleshooting -menu_order: 60 -search_type: Documentation ---- - -The command - - weave status - -reports on the current status of various Weave Net components, including -the proxy, if it is running: - -``` -... - Service: proxy - Address: tcp://127.0.0.1:12375 -... -``` - -Information on the operation of the proxy can be obtained from the -weaveproxy container logs using: - - docker logs weaveproxy - -**See Also** - - * [Troubleshooting Weave](/site/troubleshooting.md) diff --git a/test/090_docker_restart_policy_2_test.sh b/test/090_docker_restart_policy_2_test.sh index 938bd834..e22dbd8f 100755 --- a/test/090_docker_restart_policy_2_test.sh +++ b/test/090_docker_restart_policy_2_test.sh @@ -12,7 +12,7 @@ assert_raises "check_restart $HOST1 weave" # in the old containers being removed and new ones created weave_on $HOST1 stop weave_on $HOST1 launch --no-restart -assert "docker_on $HOST1 inspect -f '{{.HostConfig.RestartPolicy.Name}}' weave weaveproxy" "no" +assert "docker_on $HOST1 inspect -f '{{.HostConfig.RestartPolicy.Name}}' weave" "no" assert_raises "! check_restart $HOST1 weave" # Relaunch to prevent the `weave stop` in `end_suite` diff --git a/test/config.sh b/test/config.sh index 2174934e..6ed34cf4 100644 --- a/test/config.sh +++ b/test/config.sh @@ -136,9 +136,7 @@ stop_weave_on() { host=$1 weave_on $host stop 1>/dev/null 2>&1 || true if [ -n "$COVERAGE" ]; then - for C in weaveplugin weave ; do - collect_coverage $host $C - done + collect_coverage $host weave fi } @@ -322,8 +320,7 @@ check_restart() { start_suite() { for host in $HOSTS; do [ -z "$DEBUG" ] || echo "Cleaning up on $host: removing all containers and resetting weave" - PLUGIN_FILTER=$(docker_on $host inspect -f 'grep -v {{printf "%.12s" .Id}}' weaveplugin 2>/dev/null) || PLUGIN_FILTER=cat - rm_containers $host $(docker_on $host ps -aq 2>/dev/null | $PLUGIN_FILTER) + rm_containers $host $(docker_on $host ps -aq 2>/dev/null) weave_on $host reset 2>/dev/null run_on $host sudo rm -f /opt/cni/bin/weave-plugin-latest /opt/cni/bin/weave-net /opt/cni/bin/weave-ipam /etc/cni/net.d/10-weave.conf done