| *** mhen_ is now known as mhen | 03:01 | |
| opendevreview | Abhishek Kekane proposed openstack/castellan master: Define PQC key algorithms https://review.opendev.org/c/openstack/castellan/+/1016884 | 05:54 |
|---|---|---|
| opendevreview | Abhishek Kekane proposed openstack/oslo.utils master: Expose QCOW2 encryption state https://review.opendev.org/c/openstack/oslo.utils/+/1016885 | 06:07 |
| opendevreview | Juan Larriba proposed openstack/oslo.middleware master: Fix OpenStack attributes in tracing spans https://review.opendev.org/c/openstack/oslo.middleware/+/1016890 | 07:34 |
| MurrayGroves | Hello, 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 |
| MurrayGroves | Happy to patch myself, just looking for guidance on the correct approach. | 11:52 |
| opendevreview | fivetime proposed openstack/osprofiler master: otlp: keep trailing letters of span names https://review.opendev.org/c/openstack/osprofiler/+/1010851 | 12:19 |
| opendevreview | fivetime proposed openstack/tooz master: etcd3gw: a lock whose lease expired is lost https://review.opendev.org/c/openstack/tooz/+/1011876 | 12:29 |
| abhishekk | stephenfin: hey, can you approve openstacksdk patch or need another core for the same? https://review.opendev.org/c/openstack/openstacksdk/+/1016322 | 13:03 |
| frickler | stephenfin: fyi https://zuul.opendev.org/t/openstack/build/283846c0157748ec85bfc83d2ddf55ab | 13:11 |
| opendevreview | Stephen Finucane proposed openstack/openstackdocstheme master: Revert "Remove setup.cfg, setup.py" https://review.opendev.org/c/openstack/openstackdocstheme/+/1016949 | 13:13 |
| stephenfin | frickler: https://review.opendev.org/c/openstack/openstackdocstheme/+/1016949 https://review.opendev.org/c/openstack/releases/+/1016950 | 13:16 |
| stephenfin | I'll see if fungi or clarkb can spare some cycles to review https://review.opendev.org/c/openstack/pbr/+/1016551 today/tomorrow | 13:16 |
| opendevreview | Stephen Finucane proposed openstack/automaton master: Revert "Remove setup.py, setup.cfg" https://review.opendev.org/c/openstack/automaton/+/1016957 | 13:23 |
| opendevreview | Max proposed openstack/oslo.messaging master: fix: rabbit connection retry handling in __init__ https://review.opendev.org/c/openstack/oslo.messaging/+/1016961 | 13:25 |
| opendevreview | Julien proposed openstack/oslo.messaging master: Allow RPC servers to choose which messages they receive https://review.opendev.org/c/openstack/oslo.messaging/+/1016962 | 13:30 |
| opendevreview | Julien proposed openstack/oslo.messaging master: Allow an RPC server to listen on several targets https://review.opendev.org/c/openstack/oslo.messaging/+/1016963 | 13:30 |
| opendevreview | Merged openstack/openstackdocstheme master: Revert "Remove setup.cfg, setup.py" https://review.opendev.org/c/openstack/openstackdocstheme/+/1016949 | 13:44 |
| stephenfin | abhishekk: 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 |
| abhishekk | ohh, sorry I wan not aware about dedicated IRC channel | 14:32 |
| stephenfin | MurrayGroves: 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 itself | 14:33 |
| stephenfin | Many 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-L230 | 14:34 |
| stephenfin | I 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_imports | 14:36 |
| stephenfin | MurrayGroves: 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/conf | 14:37 |
| opendevreview | Merged openstack/oslo.config master: cfg: Initialize ConfigOpts.project in __init__ https://review.opendev.org/c/openstack/oslo.config/+/1015754 | 14:51 |
| MurrayGroves | stephenfin: 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-points | 15:16 |
| MurrayGroves | So 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 |
| stephenfin | IMO that would be a better long-term strategy but it's less backportable, of course | 15:17 |
| stephenfin | but yes, definitely a barbican issue :) | 15:18 |
| tkajinam | MurrayGroves, do you mind sharing the gerrit url for that barbican fix ? | 15:29 |
| MurrayGroves | tkajinam: https://review.opendev.org/c/openstack/barbican/+/1016973 | 15:30 |
| tkajinam | MurrayGroves, thanks | 15:36 |
| tkajinam | the 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 incomplete | 15:37 |
| tkajinam | MurrayGroves, 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 want | 15:40 |
| MurrayGroves | tkajinam: will update to use separate file - agreed it's nicer | 15:46 |
| rm_work | tkajinam: new redis-py release! woot, proposing the bump | 16:36 |
| tkajinam | \o/ | 16:36 |
| rm_work | https://review.opendev.org/c/openstack/requirements/+/1017015 | 16:37 |
| opendevreview | Adam Harwell proposed openstack/tooz master: redis: Pass type checks with redis-py 8.2.0 https://review.opendev.org/c/openstack/tooz/+/1017017 | 16:44 |
| opendevreview | Adam Harwell proposed openstack/osprofiler master: Pass type checks with redis-py 8.2.0 https://review.opendev.org/c/openstack/osprofiler/+/1017018 | 16:44 |
| rm_work | ^^ tkajinam needs those or else it'll end up with pep8 errors I think | 16:48 |
| opendevreview | Merged openstack/automaton master: Revert "Remove setup.py, setup.cfg" https://review.opendev.org/c/openstack/automaton/+/1016957 | 16:49 |
| tkajinam | rm_work, ok... I'll check the result once redis-py is bumped in global upper constraints. | 16:50 |
| rm_work | ok, err I had it depends-on those two though to avoid breaking the projects checks when merging | 16:51 |
| rm_work | those are designed to be able to merge first since they're "more permissive" | 16:51 |
| rm_work | I could just let it merge and break them though, maybe that's fine? | 16:51 |
| opendevreview | Merged openstack/oslo.config master: Add type validation to validator tool https://review.opendev.org/c/openstack/oslo.config/+/1009822 | 16:52 |
| opendevreview | Abhishek Kekane proposed openstack/oslo.utils master: Expose QCOW2 encryption state https://review.opendev.org/c/openstack/oslo.utils/+/1016885 | 16:54 |
| tkajinam | rm_work, for typing we can merge bump first and then fix the check. | 17:02 |
| tkajinam | rm_work, some unit tests block requirement bumps so we need such approach for these, but no pep8 jobs do not block requirements changes | 17:03 |
| tkajinam | no pep8 jobs block * | 17:04 |
| tkajinam | we can technically prepare something before the bump but I'd rather not if that just brings more complexity | 17:16 |
| tkajinam | fyi: there seems to be on-going issues with zuul (causing a lot of node failure) | 17:16 |
| rm_work | yeah seeing that | 17:18 |
| rm_work | well, once we merge the bump, those changes are ready | 17:18 |
| rm_work | I removed the depends-on | 17:18 |
| rm_work | i'll just wait, going to sleep now 😛 | 17:19 |
| tkajinam | ;-) | 17:19 |
| tkajinam | abhishekk, there is an on-going issue with zuul so recheck may not resolve node failures. | 17:33 |
| abhishekk | tkajinam: ack | 17: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 | |
| opendevreview | Adam Harwell proposed openstack/tooz master: redis: Retry operations in one bounded layer https://review.opendev.org/c/openstack/tooz/+/1007940 | 20:36 |
| opendevreview | Adam Harwell proposed openstack/tooz master: redis: Succeed when a retry finds its work done https://review.opendev.org/c/openstack/tooz/+/1015786 | 20:42 |
| opendevreview | Adam Harwell proposed openstack/tooz master: redis: Recover after primary role changes https://review.opendev.org/c/openstack/tooz/+/1003880 | 20:42 |
| *** haleyb|out is now known as haleyb | 21:03 | |
Generated by irclog2html.py 4.1.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!