-
Notifications
You must be signed in to change notification settings - Fork 1
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
[GW] Non configurable storage backends #193
Comments
@butonic @felixboehm we are deploying OCIS for our production-like use cases but we need to address this issue as we'll run many storage providers instead of only one for EOS. |
Ping |
I see the problem. The ocis-reva gateway currently uses the static storage provider registry and only has 6 "slots" for storage providers. I remember you wanted to be able to point ocis-reva to a custom reva config, which I think makes sense as well, as it would allow you to configure the storage registry accordingly. In the long run I would prefer to have a dynamic registry for storage providers as we want to allow users to request 'spaces' which should be provisioned dynamically. Theoretically, the current gateway can be configured to serve 7 storage providers: But not all of them already have an environment variable: We did this to be able to preconfigure a set of storageproviders with different configurations which are started when running ocis. For a production deployment I would expect st. like a docker compose that configures the storage providers. But as I said, I see that it is not possible to configure more then 3 with the current ocis-reva gateway. I think it makes sense to add a config file option instead of trying to flatten more storage providers entries for the registry. Hm actually we could introduce AFAICT so `REVA_STORAGE_REGISTRY_RULES="/=localhost:9162,1284d238-aa92-42ce-bdc4-0b0000009154=localhost:9162" would be possible. I still prefer a config file for this case, but for docker compose |
It is also possible to use ocis-proxy to route requests to a dedicated reva instance: https://github.com/owncloud/ocis-proxy/blob/97f228b17faad20aca97dec9d0a42b276214e4d0/pkg/proxy/proxy.go#L266-L289 |
fixed by owncloud/ocis-reva#461 |
On the gateway, the config is enforcing a limited set of Storage backends.
For us, at CERN, this needs to be configurable. We have multiple EOS backends and we need to be able to mount them.
The text was updated successfully, but these errors were encountered: