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

Get proxy to re-attach weave router if it restarts #1359

Closed
wants to merge 2 commits into from

Conversation

bboreham
Copy link
Contributor

This is a follow-on to #1210, created as a separate PR for clarity.

Fixes part (a) in #401

You get a bit of noise in the logs on a total restart (e.g. a reboot), because the router isn't necessarily up and listening before we start re-attaching other containers. But it all works out in the end, because the router attach re-does all the parts that went wrong.


# Recreate the parameter values that are set when the router is first launched
fetch_router_args() {
IPRANGE=$(docker inspect -f '{{.Args}}' $1 | grep -o -e '-ipalloc-range [^ ]*')

This comment was marked as abuse.

This comment was marked as abuse.

This comment was marked as abuse.

@bboreham
Copy link
Contributor Author

bboreham commented Oct 9, 2015

Replaced by #1518

@bboreham bboreham closed this Oct 9, 2015
@rade rade added this to the 1.2.0 milestone Oct 15, 2015
@rade rade deleted the 401-reattach-weave branch March 19, 2016 16:20
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.

3 participants