-
Notifications
You must be signed in to change notification settings - Fork 14.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Status of testing Providers that were prepared on February 19, 2024 #37534
Comments
I marked all items that were tested in RC2 #37504 as tested here too but feel free to retest them. |
#37514 works as expected. Thanks Elad for quick RC3. |
Tested my changes. looking good. Thanks for the RC's |
#37508 looks good. Thank you! 🙇 |
logging_interval is at None by default in the 8.0.0 is that voluntary ? would be more friendly for users that we have this , wdyt ( I was surprise to not see logs anymore in airflow for my pod ) ? if get_logs:
if logging_interval is None:
logging_interval = 10 |
That should not be the case. If the logging interval is none then you will see logs at the end of a task execution. |
sorry I was not explicit I was surprise to not see logs anymore in airflow for my pod during the run of the pod cause I have the option get_logs at true |
@raphaelauv I believe I guess what you mean is the missing logs in trigger showing that the container is not yet finished and that the trigger is polling with sleep that we were seeing earlier. I have created a PR to show those logs #37546. The good point now is that with setting logging_interval, we now would also be able to periodically fetch logs from the pod itself to show what's happening inside the pod. |
Agree with @pankajkoti that this was also the behavior previously. For deferrable tasks, logs were fetched and sent at the end (on pod completion) to the task. New commits included in this RC now allow us to modify this behavior and fetch logs periodically. If deferrable is set to false, the behavior of get_logs is synchronous and logs will be streamed to the task. |
in 7.1.4 with only it fetch the logs regularly when the pod is running in 8.0.0rc3 with only it fetch the logs only at the end users will be surprise |
Yes, I agree there will be no informative logs in RC3 from the triggerer saying the container is still running. However, the trigger logs are independent of get_logs (even if we set it to False we will see the same diff between 7.1.4 and 8.0.0RC3). In the case of deferrable mode, with 7.1.4, get_logs is relevant only for fetching logs from within the pod and at the end of pod completion - not while pod is running. It is not relevant while the pod is still running. While the pod is still running, we get logs from trigger saying the container is still running and it's going to sleep. This is independent of get_logs. |
@raphaelauv I'm a bit confused now. Sorry!. Do you mean the container log is not visible regularly or the log statement something like "container is still running/pending" when the trigger loop is running?
If you are talking about just logs statement when the trigger loop is running then yeah it is important if the pod is running for a long time and we should add it but I'll not call it a breaking change |
"Container logs was not available earlier regularly" That's wrong, the kpo with get_logs , get the container logs regularly |
@raphaelauv It was not possible to get logs from within the container previously in with 8.0.0RC3 you might want to try below example task in your DAG
and you can try to run the same task without the You will observe that you won't see logs from the echo command above periodically in 7.14.0 while the pod is running. You will only see them at the end. |
I'm not speaking about the deferrable mode |
Okay, :). The And I checked both 7.14.0 and 8.0.0RC3 for synchronous (non-deferrable mode) and I do not see any diff, I can see that 8.0.0RC3 is able to show pod logs when the pod is still running. |
Still not sure, @raphaelauv would you like to share some example DAG/logs |
@pankajastro you are correct I mixed the settings between asyn and non async when I checked the RC. |
@raphaelauv @pankajastro @pankajkoti If i get it right the resolution we are good to go with release? |
@eladkal IMO, yes, we're good to go with release. |
@eladkal yes, we are good to go with the release. Thanks! |
Thank you everyone. Providers are released. I invite everyone to help improve providers for the next release, a list of open issues can be found here. |
Body
I have a kind request for all the contributors to the latest provider packages release.
Could you please help us to test the RC versions of the providers?
The guidelines on how to test providers can be found in
Verify providers by contributors
Let us know in the comment, whether the issue is addressed.
Those are providers that require testing as there were some substantial changes introduced:
Provider cncf.kubernetes: 8.0.0rc3
SparkKubernetesOperator.template_body
(#37271): @Taragolis__init__
inKubernetesPodOperator
(#37010): @romsharon98All users involved in the PRs:
@MaksYermak @pankajkoti @Taragolis @potiuk @kacpermuda @VladaZakharova @hussein-awala @romsharon98 @vchiapaikeo @dirrao @pankajastro
Committer
The text was updated successfully, but these errors were encountered: