You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/11/18 20:47:16 UTC

[GitHub] [airflow] eduartua commented on issue #13494: Unable to view StackDriver logs in Web UI

eduartua commented on issue #13494:
URL: https://github.com/apache/airflow/issues/13494#issuecomment-973251448


   @mcgin Could you tell me if you ever go this working?
   I'm having the same issue.
   Airflow config
   ```
   Apache Airflow
   version                | 2.2.2
   executor               | KubernetesExecutor
   task_logging_handler   | airflow.providers.google.cloud.log.stackdriver_task_handler.StackdriverTaskHandler
   sql_alchemy_conn       | postgresql://airflow:PASSW@IP:5432/airflow?sslmode=disable
   dags_folder            | /opt/airflow/dags/repo/dags
   plugins_folder         | /opt/airflow/plugins
   base_log_folder        | /opt/airflow/logs
   remote_base_log_folder | stackdriver://airflow
   ```
   error
   ```
   google.auth.exceptions.TransportError: ("Failed to retrieve http://metadata.google.internal/computeMetadata/v1/instance/service-accounts/zelus-basketball-dev.svc.id.goog/?recursive=true from the Google Compute Enginemetadata service. Status: 404 Response:\nb'Not Found\\n'", <google.auth.transport.requests._Response object at 0x7ff67be7fac0>)
   
   ERROR - AuthMetadataPluginCallback "<google.auth.transport.grpc.AuthMetadataPlugin object at 0x7ff67be628e0>" raised exception!"
   ```
   When I inspect the network tab I get 
   ```
   {"message":"","metadata":{"end_of_log":false,"next_page_token":"xxxxxxxxx"}}
   ```
   Also, I'm using Workload Identity and the pods have the `logging.Viewer` role.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org