-
Notifications
You must be signed in to change notification settings - Fork 5
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
export_workspace: allow setting the region when configuring the workspaces #913
Comments
region = endpoint Option 1:
Option 2:
|
In the draft standard for workspaces (https://github.com/Open-EO/openeo-api/blob/draft/extensions/workspaces/openapi.yaml#L41) each workspace has a workspace provider. This workspace provider could determine which region (endpoint) should be used. |
This relates to MVP1 of https://confluence.vito.be/pages/viewpage.action?spaceKey=EP&title=OpenEO+S3+access It requires:
|
It seems we do not yet have a way to configure config files for a job execution in geopyspark yet. Most of the time environment variables are used. There are already config maps that are created for a spark application (like prometheus config) but these seem to be managed by the spark operator. It seems we need one for ourselves as well to store:
|
First add public and private keys to each of the environments (CDSE) as that will be a pre-requisite for the web identity tokens |
Public and private keys for IDP are staged into vault. For each environment I created a new version of the vault object we keep but I added the 2 fields that are generated using:
|
Deployed a build-version of the STS and s3 proxy with the token trust to cdse-staging but when I run the artifacts upload workflow it fails if I don´t specify the region explicitly. So that would be a regression must fix that first. |
Now running with latest build version and with s3 headless:
We also have the S3Proxy as a host port but in order to not have problems accessing it from Traefik we had to add a security group rule. |
While we will use profiles to enable these special access cases we will use region to identify the target where the bucket resides. The profile name we can keep the same as the workspace name but we do need to track the region in the backend. There is a bigger effort undergoing for supporting profile but in the meantime I will add region as an optional parameter in the config as that will ease roll-out at a later stage (allowing different types of config). |
Created #955 just to allow the region to be specified in the config. |
Implemented https://github.com/eu-cdse/openeo-cdse-infra/issues/328 in order to have the OTC setup prepared. Using the token from a local profile works correctly. |
Check what region is used for setting up the s3 client to a bucket and allow for setting the region specific for export_workspace.
Otherwise the same workspaces that work on CDSE won't work on OTC which has a different default s3 endpoint
The text was updated successfully, but these errors were encountered: