Thursday, 2021-08-19

opendevreviewCyril Roelandt proposed openstack/oslo.config master: Fix tests for Python3.  https://review.opendev.org/c/openstack/oslo.config/+/80509000:42
*** rpittau|afk is now known as rpittau07:08
*** redrobot1 is now known as redrobot07:59
stephenfinzzzeek: Any chance you'll have time to plough through a few more of these SQLA 2.0 changes for oslo.db before EOW? https://review.opendev.org/q/project:openstack/oslo.db+is:open+topic:sqlalchemy-20 (CC: hberaud)09:38
stephenfinzzzeek: Also, if you've docs on alternatives to what I'm doing here, I'd appreciate it. Don't need a solution but just enough pointers to get me going :) https://review.opendev.org/c/openstack/oslo.db/+/80477509:40
opendevreviewMerged openstack/oslo.config master: Fix tests for Python3.  https://review.opendev.org/c/openstack/oslo.config/+/80509010:29
opendevreviewMerged openstack/oslo.db master: requirements: Bump sqlalchemy lower constraint  https://review.opendev.org/c/openstack/oslo.db/+/80470511:02
ykarelzaneb, hi14:21
ykarelzaneb, was looking at packaging autopage for RDO as next cliff release will need it. And found that you have copr repo for it https://copr.fedorainfracloud.org/coprs/zaneb/autopage/package/python-autopage/14:23
ykarelwe rebuild in RDO from fedora builds, are you also planning to add that package to Fedora rawhide?14:24
zanebykarel: yeah, I hadn't submitted a Fedora package request for it yet because I wasn't sure if that would make your life easier or harder :)14:24
ykarelor already in process, i didn't find bz for it though14:24
zanebhappy to do it if it would make it easier14:24
ykarelyes please we would need it, we rebuild for centos8-stream from fedora srpms14:25
ykareli tried scratch build against c8-stream with your spec https://github.com/zaneb/autopage/blob/rpm/python-autopage.spec and worked fine14:26
zanebok, that also answers my other question about whether to submit the pure pyproject-rpm-macros one from https://github.com/zaneb/autopage/blob/fedora/python-autopage.spec or the combined fedora/centos one from https://github.com/zaneb/autopage/blob/rpm/python-autopage.spec :)14:27
ykarelyes would need combined one14:34
zanebykarel: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=199567615:24
zzzeek@stephenfin: will take a look.  we got a bunch merged right?   will get some more15:24
stephenfinwe sure did :) thanks!15:24
ykarelzaneb, Thanks15:26
*** rpittau is now known as rpittau|afk15:51
zzzeek@stephenfin: the neutron issue im not sure how to fix right now because i can't get a simple reproducer16:58
zzzeek@stephenfin: basically somethign uses the session in that case, and they have to call session.commit()16:58
zzzeek@stephenfin: the session will "Autobegin" the first time it's used.  if they are doing db operations that they need completed before that method is called then they should commit16:59
stephenfinOk, great, I can work on a reproducer. Out of curiosity, what happens if I call session.commit() when auto-commit is enabled?16:59
zzzeek@stephenfin: but someone knowlegeable about neutron would need to show us what the methods being called are, because the unit tests at least run that method without issue16:59
zzzeekyou probably get an error17:00
stephenfinDrat, I was hoping it would be a no-op /o\17:00
zzzeekso the fix in ntruon would be, they set autocommit=False on their session up front, then make sure they commit() when they expected it to17:00
stephenfinIt sounds like I won't be able to approach things this way. I'll have to deprecate autocommit first and force everyone to set it to False17:00
stephenfinyeah17:00
zzzeekstephenfin: you can check "if session.transacvtion: session.commit()"17:00
zzzeekbut we need to find in neutron hwere theyu are currently expecting autocommit to occur and that has to be made explicit17:01
zzzeekneutron is the most difficult openstack project to approach17:01
stephenfinUup. I'll have to lean on the neutron folks for that because I've no idea how their API and DB layers work17:01
stephenfin*Yup17:01
stephenfinI've got guys on the inside though ;)17:01
zzzeekalso the one w/ the most problems17:02
zzzeekok great17:02
zzzeekthere is a TODO for that wrapper from kevinbenton, "TODO remove all use of this flag"17:02
zzzeekthe wrapper there is acvtually OK, they should leave it17:02
zzzeekthey just need to make sure commits are explicit where expected17:02
stephenfinack, can do that17:03
stephenfinThanks for taking a look :)17:05
*** mtreinish_ is now known as mtreinish17:22

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