-
Notifications
You must be signed in to change notification settings - Fork 681
Warn on 'weave reset' if we cannot release IP space #2332
Conversation
Hmm. If the user has just run Perhaps a) the warning should more directly highlight that problem, and b) instead of warning this should be an error, which the user can get around with a |
what is "that problem"? They shouldn't have run If the underlying issue is that the weave router has crashed (maybe is repeatedly crashing), this would be unhelpful. I guess we can check with Docker that the |
We could have a |
Correct. And I know from my own workflow that I run |
1978dd6
to
39326f6
Compare
I added the I did not handle the case where the container seems to be running but the DELETE fails, and I did not check to see if some other bogus argument was added after |
@@ -2177,11 +2177,25 @@ EOF | |||
stop_plugin | |||
;; | |||
reset) | |||
[ $# -eq 0 ] || usage | |||
[ $# -lt 2 ] || usage |
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
One minor comment + needs rebase |
39326f6
to
9a17439
Compare
Updated and rebased |
Fixes #2326
I did not put anything in about re-launching and re-resetting, because during
reset
we will have deleted the persistence data so re-resetting would require that we can connect to another peer who can supply us with our old IPAM ring and then do the reset.