Skip to content
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

Couldn't handle GCS buckets with multi region location #1

Open
ayemos opened this issue Dec 16, 2019 · 0 comments
Open

Couldn't handle GCS buckets with multi region location #1

ayemos opened this issue Dec 16, 2019 · 0 comments

Comments

@ayemos
Copy link
Contributor

ayemos commented Dec 16, 2019

Choosing a GCS bucket located with multi-region configuration (s.g. asia) when initializing fuga environment causes following error

google.api_core.exceptions.BadRequest: 400 GET https://composer.googleapis.com/v1/projects/repro-lab/locations/asia/environments: Unexpected location: asia

It is because Cloud Composer only supports single locations as Cloud Engine's do.

Which should be resolved by in either way, (upper is more preferable)

  • Prevent users to choose GCS bucket in unsupported location
  • Automatically calculate/map the Composer environment location from GCS bucket location
  • Make Composer environment location configurable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant