--
Hi,
I cannot view tasks' logs via Airflow web log (it was working before).
The message looks as below and it seems DNS issue (i uses xxxx to replace actual hostname for showing purpose).
Any ideas ?
Thanks.*** Log file isn't local. *** Fetching here: http://airflow-worker-xxxxxxxx-xxxxx:8793/log/test_composer/bigquery_task/2018-05-29T00:00:00/1.log *** Failed to fetch log file from worker. HTTPConnectionPool(host='airflow-worker-xxxxxxxx-xxxxx', port=8793): Max retries exceeded with url: /log/test_composer/bigquery_task/2018-05-29T00:00:00/1.log (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f863ff26650>: Failed to establish a new connection: [Errno -2] Name or service not known',))
You received this message because you are subscribed to the Google Groups "cloud-composer-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-composer-discuss+unsub...@googlegroups.com.
To post to this group, send email to cloud-composer-discuss@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-composer-discuss/e1acff29-e8f4-42da-a354-c2b0049a78b1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
*** Log file isn't local. *** Fetching here: http://airflow-worker-5d89d7d5b6-n8f6l:8793/log/pb_daily_metrics_prod1/write_top_unit_sets/2018-10-10T08:00:00/6.log *** Failed to fetch log file from worker. HTTPConnectionPool(host='airflow-worker-5d89d7d5b6-n8f6l', port=8793): Max retries exceeded with url: /log/pb_daily_metrics_prod1/write_top_unit_sets/2018-10-10T08:00:00/6.log (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0d8a57f710>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Hi Jason,The webserver receives certain Composer-provided Airflow configuration values via environment variables, including one that should prevent this behavior. Please perform a NOOP environment variable (e.g., set FOO_IRRELEVANT=bar) and see if this fixes the issue. If it doesn't, please PM me and fen...@google.com (this week's customer oncall) your Airflow Web UI URL.thanks,Wilson
On Tue, May 29, 2018 at 5:39 PM, Jason Chen <chingch...@gmail.com> wrote:
Hi,
I cannot view tasks' logs via Airflow web log (it was working before).
The message looks as below and it seems DNS issue (i uses xxxx to replace actual hostname for showing purpose).
Any ideas ?
Thanks.*** Log file isn't local. *** Fetching here: http://airflow-worker-xxxxxxxx-xxxxx:8793/log/test_composer/bigquery_task/2018-05-29T00:00:00/1.log *** Failed to fetch log file from worker. HTTPConnectionPool(host='airflow-worker-xxxxxxxx-xxxxx', port=8793): Max retries exceeded with url: /log/test_composer/bigquery_task/2018-05-29T00:00:00/1.log (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f863ff26650>: Failed to establish a new connection: [Errno -2] Name or service not known',))
--
You received this message because you are subscribed to the Google Groups "cloud-composer-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-composer-discuss+unsub...@googlegroups.com.
To post to this group, send email to cloud-compo...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-composer-di...@googlegroups.com.
To post to this group, send email to cloud-compo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-composer-discuss/e1acff29-e8f4-42da-a354-c2b0049a78b1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "cloud-composer-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-composer-di...@googlegroups.com.
To post to this group, send email to cloud-compo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-composer-discuss/d7e754bc-6b51-4a62-80d5-9a621a4c8f93%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-composer-discuss+unsub...@googlegroups.com.
To post to this group, send email to cloud-compo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-composer-discuss/e1acff29-e8f4-42da-a354-c2b0049a78b1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "cloud-composer-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-composer-discuss+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-composer-di...@googlegroups.com.
To post to this group, send email to cloud-compo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-composer-discuss/e1acff29-e8f4-42da-a354-c2b0049a78b1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "cloud-composer-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-composer-di...@googlegroups.com.
To post to this group, send email to cloud-compo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-composer-discuss/d7e754bc-6b51-4a62-80d5-9a621a4c8f93%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "cloud-composer-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-composer-di...@googlegroups.com.
To post to this group, send email to cloud-compo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-composer-discuss/5c74f1fe-f369-45c0-9668-8286b4d6ec03%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-composer-discuss+unsub...@googlegroups.com.
To post to this group, send email to cloud-compo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-composer-discuss/e1acff29-e8f4-42da-a354-c2b0049a78b1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "cloud-composer-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-composer-discuss+unsub...@googlegroups.com.
To post to this group, send email to cloud-compo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-composer-discuss/d7e754bc-6b51-4a62-80d5-9a621a4c8f93%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "cloud-composer-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-composer-discuss+unsub...@googlegroups.com.
i'm currently facing this issue as well, and none of the suggested fixes seem to help. i can provide a link (or whatever info) to the currently running, and broken, composer env.
--
You received this message because you are subscribed to a topic in the Google Groups "cloud-composer-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cloud-composer-discuss/wOdZ3Kah5Ls/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cloud-composer-di...@googlegroups.com.
To post to this group, send email to cloud-compo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-composer-discuss/a3132a4c-1583-4c3c-9799-0dfe6693f92d%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "cloud-composer-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-composer-di...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-composer-discuss/de887113-451a-4013-8719-926995c5b4e5%40googlegroups.com.
http://airflow-worker-xxxxxxxx-xxxxx:8793/log/test_composer/bigquery_task/2018-05-29T00:00:00/1.log
I had these problems too, can anyone solve these problems? or this is a bug?
On Tuesday, June 5, 2018 at 4:57:02 AM UTC+7, Wilson Lian wrote:
Hi Jason,The webserver receives certain Composer-provided Airflow configuration values via environment variables, including one that should prevent this behavior. Please perform a NOOP environment variable (e.g., set FOO_IRRELEVANT=bar) and see if this fixes the issue. If it doesn't, please PM me and fen...@google.com (this week's customer oncall) your Airflow Web UI URL.thanks,Wilson
On Tue, May 29, 2018 at 5:39 PM, Jason Chen <chingch...@gmail.com> wrote:
Hi,
I cannot view tasks' logs via Airflow web log (it was working before).
The message looks as below and it seems DNS issue (i uses xxxx to replace actual hostname for showing purpose).
Any ideas ?
Thanks.*** Log file isn't local. *** Fetching here: http://airflow-worker-xxxxxxxx-xxxxx:8793/log/test_composer/bigquery_task/2018-05-29T00:00:00/1.log *** Failed to fetch log file from worker. HTTPConnectionPool(host='airflow-worker-xxxxxxxx-xxxxx', port=8793): Max retries exceeded with url: /log/test_composer/bigquery_task/2018-05-29T00:00:00/1.log (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f863ff26650>: Failed to establish a new connection: [Errno -2] Name or service not known',))
--
You received this message because you are subscribed to the Google Groups "cloud-composer-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-composer-di...@googlegroups.com.
To post to this group, send email to cloud-compo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-composer-discuss/e1acff29-e8f4-42da-a354-c2b0049a78b1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "cloud-composer-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-composer-di...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-composer-discuss/e23c88fc-2026-4219-8b66-c97d13a1c2b6%40googlegroups.com.
Álvaro Gomez Covella
Cloud Data Engineer
Trakken Web Services
Carrer de Sardenya 229
08013 Barcelona
E-mail: alv...@trakken.es
Web: www.trakken.es
_____________________________________________________________________
HRB 104862, Amtsgericht Hamburg
Managing Directors: Timo Aden, Lennart Paulsen
_____________________________________________________________________
*** Unable to read remote log from gs://XXXXXXXXXXXXX-tenant/.......
*** Unable to read remote log from gs://XXXXXXXXXXXXX-tenant/.......
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-composer-discuss/CANWZVfBmi_Py5r2PBXkpcrMda8_%2BtxWkPGnp-V8UjchEVjuqPA%40mail.gmail.com.
I have received an update from the Cloud Composer engineering team. They have two more workarounds to suggest: 1. The team can manually update the web server configuration to read logs directly from the bucket in your project. You would first need to grant viewer roles (like roles/storage.legacyBucketReader and roles/storage.legacyObjectReader) on the bucket to the service account running the web server. This fix will resolve the delay problem immediately but it will last only until the next PyPI package installation, Airflow config override change, or version upgrade that you would perform on the environment through Composer Cloud Console page, CLI, or API. 2. If you don't have DRS (Domain restricted sharing) enabled which I believe you don't. You can create a new Composer environment, this time through v1 Composer API or without Beta features enabled in Cloud Console. This way Composer will create an environment without the DRS-compliant setup, so without the bucket-to-bucket synchronization. The problem is that you would need to migrate your DAGs and data to the new environment. Looking forward to your feedback.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-composer-discuss+unsub...@googlegroups.com.
To post to this group, send email to cloud-compo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-composer-discuss/e1acff29-e8f4-42da-a354-c2b0049a78b1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "cloud-composer-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-composer-discuss+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-composer-discuss+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-composer-discuss/CANWZVfBmi_Py5r2PBXkpcrMda8_%2BtxWkPGnp-V8UjchEVjuqPA%40mail.gmail.com.