Skip to content

Conversation

@karunpoudel
Copy link
Contributor

@karunpoudel karunpoudel commented Apr 9, 2022

closes: #22693

If container task writes error message in /dev/termination-log, it will show up in Pod's status message. Include this message in the Exception so that it appears at the top.


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.

@boring-cyborg boring-cyborg bot added provider:cncf-kubernetes Kubernetes (k8s) provider related issues area:providers labels Apr 9, 2022
@karunpoudel karunpoudel changed the title Added containererror message in exception Added container's error message in exception Apr 9, 2022
@karunpoudel karunpoudel changed the title Added container's error message in exception Add container's error message in exception Apr 9, 2022
@karunpoudel karunpoudel changed the title Add container's error message in exception Add k8s container's error message in airflow exception Apr 9, 2022
@github-actions github-actions bot added the okay to merge It's ok to merge this PR as it does not require more tests label Apr 9, 2022
@github-actions
Copy link

github-actions bot commented Apr 9, 2022

The PR is likely OK to be merged with just subset of tests for default Python and Database versions without running the full matrix of tests, because it does not modify the core of Airflow. If the committers decide that the full tests matrix is needed, they will add the label 'full tests needed'. Then you should rebase to the latest main or amend the last commit of the PR, and push it with --force-with-lease.

@potiuk potiuk merged commit d81703c into apache:main Apr 14, 2022
@boring-cyborg
Copy link

boring-cyborg bot commented Apr 14, 2022

Awesome work, congrats on your first merged pull request!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:providers okay to merge It's ok to merge this PR as it does not require more tests provider:cncf-kubernetes Kubernetes (k8s) provider related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

KubernetesPodOperator failure email alert with actual error log from command executed

2 participants