Thursday, 2021-09-02

hberaudbnemec: o/ Please can you have a look to this backport https://review.opendev.org/c/openstack/oslo.messaging/+/744262 Thanks by advance.07:12
hberaudzzzeek: o/ ironic folks face issue with the latest version of oslo.db (https://review.opendev.org/c/openstack/requirements/+/805611) they think that this could be related to the "remove use of metadata.bind arguments" (https://opendev.org/openstack/oslo.db/commit/22b44ee18b1585bc2943a29ddaa18051cb1344ed). For now this version of oslo.db is not our upper-constraints, so only cross tests07:34
hberaudare impacted. Please can you have a look when you'll have spare time. Here are the logs https://zuul.opendev.org/t/openstack/build/bbaf8fed127d4df2882db50fe2a30a41. Thanks by advance07:34
opendevreviewlikui proposed openstack/oslo.config master: setup.cfg: Replace dashes with underscores  https://review.opendev.org/c/openstack/oslo.config/+/80712211:58
zzzeekhberaud: yes there is a bug in ironic13:37
hberaudack13:37
zzzeekhberaud: they will need to convert all implicit execution to explicit13:38
zzzeekif oslo.db is in fact moving forward with these changes13:39
zzzeekhberaud: all of these https://github.com/openstack/ironic/blame/df92f8089eef5925bd827ea2705b40916633fbca/ironic/tests/unit/db/sqlalchemy/test_migrations.py#L22513:39
hberaudzzzeek: this is related to the metadata.bind or does it have nothing to do with it?13:40
hberaudI see thanks for the link13:40
zzzeekhberaud: it is related yes, it's a SQLAlhcemy API that has been discouraged for some years now and is now deprecated13:40
hberaudgot it13:40
zzzeekhberaud: https://docs.sqlalchemy.org/en/14/changelog/migration_20.html#implicit-and-connectionless-execution-bound-metadata-removed 13:41
zzzeekhberaud: it's not trivial as you see in oslo.db and i was surprised oslo.db moved ahead as fast as it did13:41
hberaudstephenfin did a great work with these patches13:42
hberaudstephenfin: o/ please can you have a look to https://review.opendev.org/c/openstack/oslo.messaging/+/74426214:46
stephenfinhberaud: Did we ever figure out why the patch looks differently on stable/train to stable/ussuri, i.e. why can't we use the exception directly rather than adding them to oslo_messaging.exceptions ?14:50
stephenfincompare https://review.opendev.org/c/openstack/oslo.messaging/+/743647/1/oslo_messaging/_drivers/impl_rabbit.py (Ussuri) with https://review.opendev.org/c/openstack/oslo.messaging/+/744262/3/oslo_messaging/_drivers/impl_rabbit.py (Train)14:51
hberaudstephenfin: yes we already discussed this point through the both patches 14:51
stephenfinI know we discussed it, but I didn't get a clear answer14:51
bnemecI find that commit message confusing. It says ConnectionForced requires a reboot, but the exception handler says it's recoverable?14:51
stephenfinIt's very muddled because of the confusion with the other test failures14:52
zzzeekhberaud: dogpile is released14:52
hberaudzzzeek: thanks14:52
hberaudstephenfin: I'm not sure to see why the import fail with the original version, but I can reproduce it all the time locally14:52
stephenfinOh yeah, that is weeeeird14:54
opendevreviewMerged openstack/oslo.config master: setup.cfg: Replace dashes with underscores  https://review.opendev.org/c/openstack/oslo.config/+/80712215:03
hberaudstephenfin: however I can't reproduce it with the repl... the import seems to works as expected...15:09
stephenfinhberaud: Ah, I've seen this before15:10
stephenfinIt's Python 2.7's broken import system15:10
hberaudand the problem was only with py2715:11
stephenfinWe're doing the import in 'oslo_messaging/_drivers/impl_rabbit.py'15:11
stephenfinand there's another file in the same directory, 'oslo_messaging/_drivers/amqp.py'15:11
hberaudah good catch15:11
stephenfinso 'import amqp' is essentially doing 'import .amqp' or 'from oslo_messaging._drivers import amqp'15:11
hberaudI think you are right15:11
stephenfinpython2.7---15:11
hberaudhow to get around that?15:12
opendevreviewStephen Finucane proposed openstack/oslo.messaging stable/train: Catch ConnectionForced Exception  https://review.opendev.org/c/openstack/oslo.messaging/+/74426215:17
stephenfinhberaud: Like that ^15:17
opendevreviewStephen Finucane proposed openstack/oslo.messaging stable/train: Catch ConnectionForced Exception  https://review.opendev.org/c/openstack/oslo.messaging/+/74426215:18
stephenfinI'm +2 on that now since I think my changes are minimal15:19
stephenfinAs a general observation though, we should really try to document every single change in a backport, including why it was necessary. It makes the lives of reviewers so much easier and ensure we're actually backporting the same effective thing as opposed to an entirely new patch15:20
stephenfinThey are stable branches, after all :)15:20
opendevreviewMerged openstack/oslo.messaging stable/train: Catch ConnectionForced Exception  https://review.opendev.org/c/openstack/oslo.messaging/+/74426219:59
*** bnemec is now known as bnemec-pto21:45

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