-
Notifications
You must be signed in to change notification settings - Fork 188
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
Graph remembers Gateway IP address for listing OCM shares #10846
Comments
Prio 1 to find out if this is a release blocker. Can be deprioritized if not. |
It is working until the pods are restarted, right? |
We can never guarantee to NOT restart pods. So it might break sooner than you'd wish. |
Similar but different message during OCM sharing:
|
It is probably not related to ocm but to the service registry issues. Should be reproducible without ocm |
Insight: Restarting the ocm service fixes the problem |
it fixes the error in the graph service? 😆 |
Yes. The connection issue with gateway is coming from ocm service. It talked to the gateway using a gateway client initialized at start only. So it would never talk to nats to get recent registry changes. Fix in above PR. |
Ah, the graph service just "repeats" the error message of OCM in this case? |
Yes exactly. We thought it is the connection graph:gateway but in fact it is ocm:gateway that throws this error. Therefore we should be able to find the same error first in the ocm logs. Then it is repeated by gateway(?) and graph. |
Fun Fact: The SQL invite manager has the same flaw. But we don't care because we don't support it. |
Describe the bug
I'm testing OCM sharing with owncloud/ocis-charts#840 and cs3org/reva#5033
Steps to reproduce
ocm-install
deplyoment example in minikubekubectl rollout restart deploy -n $ns gateway
where ns is the namespace of instance B / user xExpected behavior
Everything works as before
Actual behavior
We don't see the OCM share anymore.
Graph service complains:
The used gateway IP is the one of the old gateway pod:
Setup
see issue description
Additional context
restarting the graph service doesn't help here.
The text was updated successfully, but these errors were encountered: