Monday, 2026-11-23

*** mhen_ is now known as mhen03:01
opendevreviewAbhishek Kekane proposed openstack/castellan master: Define PQC key algorithms  https://review.opendev.org/c/openstack/castellan/+/101688405:54
opendevreviewAbhishek Kekane proposed openstack/oslo.utils master: Expose QCOW2 encryption state  https://review.opendev.org/c/openstack/oslo.utils/+/101688506:07
opendevreviewJuan Larriba proposed openstack/oslo.middleware master: Fix OpenStack attributes in tracing spans  https://review.opendev.org/c/openstack/oslo.middleware/+/101689007:34
MurrayGrovesHello, when generating config for a project which has optional dependencies for optional components, oslo config generator crashes due to importing the optional component if the corresponding optional deps are missing. Is this considered as a bug, and is the solution to skip generation for modules which fail to import?11:51
MurrayGrovesHappy to patch myself, just looking for guidance on the correct approach.11:52
opendevreviewfivetime proposed openstack/osprofiler master: otlp: keep trailing letters of span names  https://review.opendev.org/c/openstack/osprofiler/+/101085112:19
opendevreviewfivetime proposed openstack/tooz master: etcd3gw: a lock whose lease expired is lost  https://review.opendev.org/c/openstack/tooz/+/101187612:29
abhishekkstephenfin: hey, can you approve openstacksdk patch or need another core for the same? https://review.opendev.org/c/openstack/openstacksdk/+/101632213:03
fricklerstephenfin: fyi https://zuul.opendev.org/t/openstack/build/283846c0157748ec85bfc83d2ddf55ab13:11
opendevreviewStephen Finucane proposed openstack/openstackdocstheme master: Revert "Remove setup.cfg, setup.py"  https://review.opendev.org/c/openstack/openstackdocstheme/+/101694913:13
stephenfinfrickler: https://review.opendev.org/c/openstack/openstackdocstheme/+/1016949 https://review.opendev.org/c/openstack/releases/+/101695013:16
stephenfinI'll see if fungi or clarkb can spare some cycles to review https://review.opendev.org/c/openstack/pbr/+/1016551 today/tomorrow13:16
opendevreviewStephen Finucane proposed openstack/automaton master: Revert "Remove setup.py, setup.cfg"  https://review.opendev.org/c/openstack/automaton/+/101695713:23
opendevreviewMax proposed openstack/oslo.messaging master: fix: rabbit connection retry handling in __init__  https://review.opendev.org/c/openstack/oslo.messaging/+/101696113:25
opendevreviewJulien proposed openstack/oslo.messaging master: Allow RPC servers to choose which messages they receive  https://review.opendev.org/c/openstack/oslo.messaging/+/101696213:30
opendevreviewJulien proposed openstack/oslo.messaging master: Allow an RPC server to listen on several targets  https://review.opendev.org/c/openstack/oslo.messaging/+/101696313:30
opendevreviewMerged openstack/openstackdocstheme master: Revert "Remove setup.cfg, setup.py"  https://review.opendev.org/c/openstack/openstackdocstheme/+/101694913:44
stephenfinabhishekk: I was hoping one of the glance cores like croelandt would be able to take a look first?14:31
stephenfin(Also, you want #openstack-sdks for SDK discussions)14:31
abhishekkohh, sorry I wan not aware about dedicated IRC channel14:32
stephenfinMurrayGroves: I don't think there's an "official" answer, but my expectation would be that any dependency in the impacted modules need to present in the same venv as oslo.config itself14:33
stephenfinMany services provide a tox testenv specifically for oslo config generation for this reason. For example: https://github.com/openstack/nova/blob/74344dc9b7dd199710802787acfb1c3b2775bccc/tox.ini#L227-L23014:34
stephenfinI can't imagine we'd want to grow something like a mock setting a lá sphinx autodoc (which also relies on introspection) https://www.sphinx-doc.org/en/master/usage/extensions/autodoc.html#confval-autodoc_mock_imports14:36
stephenfinMurrayGroves: Another option could be to move all config opts to an e.g. `conf` or `config` module that only contains oslo.config and stdlib imports https://github.com/openstack/nova/tree/master/nova/conf14:37
opendevreviewMerged openstack/oslo.config master: cfg: Initialize ConfigOpts.project in __init__  https://review.opendev.org/c/openstack/oslo.config/+/101575414:51
MurrayGrovesstephenfin: I found in the oslo.config docs that actually a module holding an entrypoint must be importable even if the dependencies are not installed, and this can be done with import_utils.try_import: https://docs.openstack.org/oslo.config/latest/cli/generator.html#defining-option-discovery-entry-points15:16
MurrayGrovesSo I submitted a patch to Barbican (which is the project with the problem) to use try_import :)15:16
stephenfin"or the option definitions can be placed in a file that does not try to import the optional dependency."15:17
stephenfinIMO that would be a better long-term strategy but it's less backportable, of course15:17
stephenfinbut yes, definitely a barbican issue :)15:18
tkajinamMurrayGroves, do you mind sharing the gerrit url for that barbican fix ?15:29
MurrayGrovestkajinam: https://review.opendev.org/c/openstack/barbican/+/101697315:30
tkajinamMurrayGroves, thanks15:36
tkajinamthe generated config files are mainly for reference purpose and I expect the file contains all available options. I'd rather not make oslo-config-generator ignore un-loadable options really because that can easily hide real problems and make the reference quite incomplete15:37
tkajinamMurrayGroves, I've left a few comments in the change just fyi. it seems dogtag plugin has a separate file for options (dogtag_config_opts.py) to avoid such problems. so you can follow that path instead of adding the explicit dependency in __init__, if you want15:40
MurrayGrovestkajinam: will update to use separate file - agreed it's nicer15:46
rm_worktkajinam: new redis-py release! woot, proposing the bump16:36
tkajinam\o/16:36
rm_workhttps://review.opendev.org/c/openstack/requirements/+/101701516:37
opendevreviewAdam Harwell proposed openstack/tooz master: redis: Pass type checks with redis-py 8.2.0  https://review.opendev.org/c/openstack/tooz/+/101701716:44
opendevreviewAdam Harwell proposed openstack/osprofiler master: Pass type checks with redis-py 8.2.0  https://review.opendev.org/c/openstack/osprofiler/+/101701816:44
rm_work^^ tkajinam needs those or else it'll end up with pep8 errors I think16:48
opendevreviewMerged openstack/automaton master: Revert "Remove setup.py, setup.cfg"  https://review.opendev.org/c/openstack/automaton/+/101695716:49
tkajinamrm_work, ok... I'll check the result once redis-py is bumped in global upper constraints.16:50
rm_workok, err I had it depends-on those two though to avoid breaking the projects checks when merging16:51
rm_workthose are designed to be able to merge first since they're "more permissive"16:51
rm_workI could just let it merge and break them though, maybe that's fine?16:51
opendevreviewMerged openstack/oslo.config master: Add type validation to validator tool  https://review.opendev.org/c/openstack/oslo.config/+/100982216:52
opendevreviewAbhishek Kekane proposed openstack/oslo.utils master: Expose QCOW2 encryption state  https://review.opendev.org/c/openstack/oslo.utils/+/101688516:54
tkajinamrm_work, for typing we can merge bump first and then fix the check.17:02
tkajinamrm_work, some unit tests block requirement bumps so we need such approach for these, but no pep8 jobs do not block requirements changes17:03
tkajinamno pep8 jobs block *17:04
tkajinamwe can technically prepare something before the bump but I'd rather not if that just brings more complexity17:16
tkajinamfyi: there seems to be on-going issues with zuul (causing a lot of node failure)17:16
rm_workyeah seeing that17:18
rm_workwell, once we merge the bump, those changes are ready17:18
rm_workI removed the depends-on17:18
rm_worki'll just wait, going to sleep now 😛17:19
tkajinam;-)17:19
tkajinamabhishekk, there is an on-going issue with zuul so recheck may not resolve node failures.17:33
abhishekktkajinam: ack17:49
-opendevstatus- NOTICE: Gerrit changes in the "openstack" zuul tenant with `NODE_FAILURE` build results reported between 16:45 and 19:45 UTC can be safely rechecked, the underlying problem has been addressed.20:07
opendevreviewAdam Harwell proposed openstack/tooz master: redis: Retry operations in one bounded layer  https://review.opendev.org/c/openstack/tooz/+/100794020:36
opendevreviewAdam Harwell proposed openstack/tooz master: redis: Succeed when a retry finds its work done  https://review.opendev.org/c/openstack/tooz/+/101578620:42
opendevreviewAdam Harwell proposed openstack/tooz master: redis: Recover after primary role changes  https://review.opendev.org/c/openstack/tooz/+/100388020:42
*** haleyb|out is now known as haleyb21:03

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