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

airflow-code-editor on Airflow Composer(GCP) doesn't detect composer folders - dag, data, log, etc. #76

Open
benzimegido opened this issue Mar 21, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@benzimegido
Copy link

Describe the bug
I'm working with Airflow Composer (GCP), I installed the airflow-code-editor PyPI library, and when I entered to the code editor, he did not detect the composer DAGS(GCS) and any GCS folder, I also tried to set the "root_directory" and "mount"s Config Options, and I also install fs-gcsfs.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Airflow composer Version: 2.6.3+composer -> admin -> Dags Code Editor
  2. Composer folders/buckets not detected.

Expected behavior
To see all the Composer folders( DAGS, data, logs, etc...)

Screenshots
image

Server (please complete the following information):

  • Airflow Code Editor version: 7.5.0
  • Airflow version: composer-2.5.1-airflow-2.6.3
  • Environment: GCP composer

Client(please complete the following information):

  • Browser chrome
  • Version 123.0.6312.58 (Official Build) (arm64)
@benzimegido benzimegido added the bug Something isn't working label Mar 21, 2024
@andreax79
Copy link
Owner

It's likely that you have a problem with the configuration.
Try the new version 7.6.0, which reports the underlying error message instead of the "no data for table" message.
Please note that the root directory must be a local folder.

@benzimegido
Copy link
Author

Thanks for your replay,
I upgraded to the new version, and as you said, I got an informative error message:
image
It looks like it related to your last comment;
"Please note that the root directory must be a local folder."
What do you mean by that?
I have configured the root folder as mentioned in the Composer GCS folder.
Can you guide me on how to configure that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants