VladimirYushkevich commented on issue #25667: URL: https://github.com/apache/airflow/issues/25667#issuecomment-1273815310
I have the same issue with airflow `2.4.1` to check `liveness` on `dag-processor`'s pod. Default is not working for me: ``` dag-processor-ccb9f9949-7zdtv:/opt/airflow$ sh -c "CONNECTION_CHECK_MAX_COUNT=0 AIRFLOW__LOGGING__LOGGING_LEVEL=ERROR exec /entrypoint \ airflow jobs check --hostname $(hostname)" No alive jobs found. ``` as well as with `$(hostname -i)`: ``` dag-processor-ccb9f9949-7zdtv:/opt/airflow$ sh -c "CONNECTION_CHECK_MAX_COUNT=0 AIRFLOW__LOGGING__LOGGING_LEVEL=ERROR exec /entrypoint \ airflow jobs check --hostname $(hostname -i)" No alive jobs found. ``` Only after removing `--hostname` flag it works: ``` dag-processor-ccb9f9949-7zdtv:/opt/airflow$ sh -c "CONNECTION_CHECK_MAX_COUNT=0 AIRFLOW__LOGGING__LOGGING_LEVEL=ERROR exec /entrypoint \ airflow jobs check" Found one alive job. ``` -- 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]
