-
Notifications
You must be signed in to change notification settings - Fork 712
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bump embedded Weave Net version to 2.1.3 #2975
Conversation
There's actually a problem here:
which occurs because in 2.1, That breaks registering of the app with weaveDNS and hence discovery of the app via weaveDNS by probes. I think it's ok to say to users who want that functionality in Scope 1.7 that they need to run a 2.1 Weave Net. @bboreham what do you reckon? |
Why is it calling |
I was wondering the same. My theory is that it's done in order to get a Weave IP (and register that in WeaveDNS) even though the app is running in the host netns. It was introduced a long time ago in #302. |
Seems to come from #302, and the code seems to have used DNS before that. Certainly the code now registers all available IP addresses with WeaveDNS, so it isn't specifically trying to get one on the Weave network. Looks unnecessary to me. |
It is necessary for probes to able to connect to apps over the weave network. Note that it checks first whether there's already an exposed address, So this would still work for users of Weave Net prior to version 2.1 provided they run |
Do you mean it is aimed at the case where the probe cannot connect to the app except over the Weave network? AFAICS it registers every address the app is listening on, so which address the probe chooses is unpredictable, so in those cases it would fail much of the time. |
Yes.
Correct.
It sends to all of them. |
I've tested this while running
Precursor to addressing #2974.