Thursday, 2023-09-14

*** osmanlicilegi is now known as Guest004:33
tobias-urdinsome years back (2018) i reported an issue https://storyboard.openstack.org/#!/story/2004255 moving from python 2.7 -> 3 where the default format version for pickle() was changed06:28
tobias-urdinnow some years later, moving from python 3.6 -> 3.9 the same issue occurs, if you run (same octavia version) on python 3.6 and python 3.9 with a rolling approach, python 3.6 nodes will crash when trying to read data pickle()'d on a node that is running python 3.906:29
tobias-urdinI didn't spend any time looking into it in more details, but isn't there any (easy?) way we could work around this by using an older pickle version (that would probably mean setting it to the py3.9 version in master) or moving away from pickle to just raw json like johnsom talked about back then?06:31
tobias-urdingthiemonge: ^ i talked back in 2018 to johnsom about it06:31
gthiemongetobias-urdin: hi06:50
gthiemongeI see06:50
gthiemongeso basically sa.PickleType() depends on the python version :/06:51
tobias-urdinyea, and it's a little bit of a pain since you can't really do a rolling upgrade of octavia, anytime a pickle() format version 5 (python3.9 created LB for example) hits a python 3.6 running octavia service you'd get a provisioning_status error on changes and would need to troubleshoot and fix that for example06:53
tobias-urdinit's annoying for an operator :(06:53
tobias-urdini have an example tb https://paste.opendev.org/show/b9FMUPOX2vdED3ueNgoR/ – but yea it's in the db layer06:55
gthiemongehttps://docs.python.org/3/library/pickle.html#data-stream-format06:55
gthiemongeso protocol version 4 should be ok06:55
tobias-urdinchecking codesearch, i can see heat has the same for resource_properties I think i've had that as well, but seems like octavia and heat are the only ones using PickleType (of core projects)06:56
tobias-urdinlooks like it, perhaps that could be set as a default06:59
gthiemongelet's discuss it when johnsom is here, I think that passing protocol=4 to PickleType() would be acceptable06:59
tobias-urdinif you have the issue with version 5 already you'd still need to solve it, having new ones with version 4 seems fair07:00
tobias-urdinack, thanks for looking into it!07:00
gthiemongetobias-urdin: what openstack versions are you using?07:00
opendevreviewGregory Thiemonge proposed openstack/octavia master: Fix links to the bug tracker in the docs/releasenotes  https://review.opendev.org/c/openstack/octavia/+/89514108:14
tobias-urdingthiemonge: yoga11:33
opendevreviewMerged openstack/octavia-tempest-plugin master: Fixed typo in override-checkout branch for stable/2023.1  https://review.opendev.org/c/openstack/octavia-tempest-plugin/+/89482112:49
-opendevstatus- NOTICE: The lists.airshipit.org and lists.katacontainers.io sites will be offline briefly for migration to a new server16:48

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!