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/06/10 06:16:34 UTC
[GitHub] [airflow] grepthat opened a new issue #16362: Kubernetes Executor - ContainerCannotRun - "hostname for pod was longer than 63"
grepthat opened a new issue #16362:
URL: https://github.com/apache/airflow/issues/16362
Apache Airflow version: master
Kubernetes version: v1.19.3
Environment: Ubuntu 18.04 Server
I'm using Airflow with the **KubernetesExecutor**. Certain tasks create a k8s container with status **"ContainerCannotRun".** Looking at the kubelet logs I see `"hostname for pod:"XX" was longer than 63. Truncated hostname to :"XY"`
```bash
❯ kubectl get pods -n airflow
NAME READY STATUS RESTARTS AGE
202103x8projectxyzsubsetabcsinglesequenceprocessingtgsurveyset0.a9f22a70681c4c9aaa16f04602a9f350 0/1 ContainerCannotRun 0 13h
202103x8projectxyzsubsetabcsinglesequenceprocessingtgsurveyset0.b0a2134828c14a0fb7e63a3d4bfd6f0c 0/1 ContainerCannotRun 0 13h
❯ sudo journalctl -u kubelet -f
Jun 10 06:06:22 atremata.lan kubelet[2856]: E0610 06:06:22.483466 2856 kubelet_pods.go:403] hostname for pod:"202104usadrycreektgsurveyset000ex003tsmoothingquadadjustere8422.4fbe91ce276048ea8d99b74ffdbda909" was longer than 63. Truncated hostname to :"202104usadrycreektgsurveyset000ex003tsmoothingquadadjustere8422"
```
--
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] grepthat closed issue #16362: Kubernetes Executor - ContainerCannotRun - "hostname for pod was longer than 63"
Posted by GitBox <gi...@apache.org>.
grepthat closed issue #16362:
URL: https://github.com/apache/airflow/issues/16362
--
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] grepthat commented on issue #16362: Kubernetes Executor - ContainerCannotRun - "hostname for pod was longer than 63"
Posted by GitBox <gi...@apache.org>.
grepthat commented on issue #16362:
URL: https://github.com/apache/airflow/issues/16362#issuecomment-858357814
After checking `kubectl describe pods` I saw that the container failed due to a different reason.
--
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org