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 2022/10/17 06:54:44 UTC

[GitHub] [airflow] dstandish commented on issue #27084: Airflow TaskInstance endpoing API error for old task instances : 'V1Container' object has no attribute '_startup_probe'

dstandish commented on issue #27084:
URL: https://github.com/apache/airflow/issues/27084#issuecomment-1280375941

   In 2.4.1 you probably still get that error because your raw value has already been pickled with the old k8s library and with the new version of the libary you can't unpickle it so there's nothnig you can do at that point. 
   
   What https://github.com/apache/airflow/pull/24117 does though is fix it on a go forward basis (by serializing to json) so we shouldn't have issues.
   
   Note that we followed up that one with https://github.com/apache/airflow/pull/26191, which fixed an issue we didn't catch in testing where the webserver would bork the executor config by repeatedly applying the serialization logic.
   
   I don't think there's anything to be done about configs that are already pickled with the old library in this way, but if you have something to contribute feel free to open a PR. There's always a way to test.  
   
   In any case this appears to be a duplicate of https://github.com/apache/airflow/issues/23727.


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org