-
Notifications
You must be signed in to change notification settings - Fork 14
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
Use omero-user-token in Bio-Formats cache regeneration #426
Comments
Ah - my bad. I checked the help options and this worked...
|
Thinking how to apply this to the parallel-based omero render command.... Since the existing workflow connects to all 5 servers in the same way
But if we create a different session on each server then we can't use a single token to connect to all the servers. Maybe we need an updated Any other ideas? cc @sbesson |
Double checked and you're correct, a session key is only valid within the context of a server so you'll need to create one token per node. The workflow highlighted in #426 (comment) is certainly the way these session tokens are being used with the CLI i.e. retrieve it, split it into key vs server and consume it with |
Proposing to close this as per limitation mentioned above. We need to review the cache regeneration process, possibly leveraging the memo regeneration tool included in the image-region micro-service if this is in scope for an upcoming IDR release /cc @jburel |
Workflow described at
https://github.com/IDR/deployment/blob/master/docs/operating-procedures.md#bio-formats-cache-regeneration
can result in connection issues as all the processes try to connect to OMERO at the same time. E.g. see IDR/idr-metadata#686 (comment)
One possible solution is to use https://github.com/glencoesoftware/omero-user-token so we are not creating many new sessions at the start.
The text was updated successfully, but these errors were encountered: