chuxiangfeng opened a new issue, #31054:
URL: https://github.com/apache/airflow/issues/31054
### Apache Airflow version
2.6.0
### What happened
After update airflow to 2.6.0 and
apache-airflow-providers-cncf-kubernetes==6.1.0,Can not get more logs of DAGS
on UI when deploy on Kubernetes,It was like suspended animation, but it was
able to get the log in the end.
Before update,Kubernetes tasks logs will look like this in UI:
```
{pod_manager.py:285} WARNING - Pod not yet started:
t-crawler-gem-ipo-request-71zd2ngd
{pod_manager.py:285} WARNING - Pod not yet started:
t-crawler-gem-ipo-request-71zd2ngd
.......
{pod_manager.py:397} INFO - Pod t-crawler-gem-ipo-request-71zd2ngd has phase
Running
{pod_manager.py:397} INFO - Pod t-crawler-gem-ipo-request-71zd2ngd has phase
Running
{pod_manager.py:397} INFO - Pod t-crawler-gem-ipo-request-71zd2ngd has phase
Running
{pod_manager.py:397} INFO - Pod t-crawler-gem-ipo-request-71zd2ngd has phase
Running
{pod_manager.py:397} INFO - Pod t-crawler-gem-ipo-request-71zd2ngd has phase
Running
........
{pod.py:724} INFO - Skipping deleting pod: t-crawler-gem-ipo-request-71zd2ngd
{taskinstance.py:1373} INFO - Marking task as SUCCESS.
dag_id=d_crawler_gem_ipo, task_id=t_crawler_gem_ipo_request,
execution_date=20230504T083622, start_date=20230504T083623,
end_date=20230504T084155
{local_task_job_runner.py:232} INFO - Task exited with return code 0
{taskinstance.py:2674} INFO - 0 downstream tasks scheduled from follow-on
schedule check
```
**But now is likes this:**
```
{pod_manager.py:285} WARNING - Pod not yet started:
t-crawler-gem-ipo-request-71zd2ngd
{pod_manager.py:285} WARNING - Pod not yet started:
t-crawler-gem-ipo-request-71zd2ngd
```
.......
**(In this stage, there is no Pod startup log and no subsequent print during
the Running period, so the Pod Running log cannot be recognized, In fact, Pod
is running normally on k8s. f12 of Chrome has been calling the rotation
training query log, but no updated log content can be obtained. At the end of
the Pod it prints out _Pod t-crawler-gem-ipo-request-71zd2ngd has phase
Running_, In theory, the print _Pod t-crawler-gem-ipo-request-71zd2ngd has
phase Running_)**
```
ERROR - Error parsing timestamp (no timestamp in message ''). Will continue
execution but won't update timestamp
{pod_manager.py:342} INFO -
{pod_manager.py:397} INFO - Pod t-crawler-gem-ipo-request-71zd2ngd has phase
Running
```
### What you think should happen instead
_No response_
### How to reproduce
Just start a KubernetesPod task.
### Operating System
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)" NAME="Debian GNU/Linux"
VERSION_ID="11" VERSION="11 (bullseye)" VERSION_CODENAME=bullseye ID=debian
HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
### Versions of Apache Airflow Providers
apache-airflow==2.6.0
apache-airflow-providers-cncf-kubernetes==6.1.0
apache-airflow-providers-common-sql==1.4.0
apache-airflow-providers-dingding==3.1.0
apache-airflow-providers-elasticsearch==4.4.0
apache-airflow-providers-ftp==3.3.1
apache-airflow-providers-http==4.3.0
apache-airflow-providers-imap==3.1.1
apache-airflow-providers-mongo==3.1.1
apache-airflow-providers-mysql==5.0.0
apache-airflow-providers-postgres==5.4.0
apache-airflow-providers-redis==3.1.0
apache-airflow-providers-sqlite==3.3.2
### Deployment
Official Apache Airflow Helm Chart
### Deployment details
_No response_
### Anything else
_No response_
### Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]