Friday, 2025-10-03

*** mtreinish_ is now known as mtreinish00:22
*** mhen_ is now known as mhen01:09
tkajinamstephenfin, yes and that's why I added -c pyproject.toml to bandit args defined in .pre-commit-config.yaml01:36
amorinhello, quick question regarding config options. Mistral rely on oslo.messaging, oslo.messaging rely on oslo_concurrency (lock_path). Should I have oslo_concurrency options in the config generator namespace list?09:19
amorinrelated to https://review.opendev.org/c/openstack/mistral/+/96289009:19
amorincc zigo 09:19
zigoamorin: IMO, you should *if* Mistral is loading it, which wasn't the case previously.09:27
amorinthe thing is, I may not be aware of all things that could be loaded by libraries, so for sure, we will always be missing some params09:28
tkajinamamorin, the load part may need to be fixed in a more core place (within oslo.concurrency or oslo.messaging)13:14
tkajinamamorin, regarding the options exposed in list_opts we can technically include oslo.concurrency options in oslo.messaging but that cause conflict with existing projects using both libraries. so I'm hesitant to do and we may need to update all generator config instead.13:15
tkajinamthese generator config files have been maintained best-effort basis and may lack some options from indirect deps or even direct deps13:16
tkajinamwhat is strange is, although these options are registered during import these are read only when the relevant codes are actually run. I don't know what is causing that "read before load" behavior zigo mentioned13:18
tkajinamwe really need clear bug report with details for further work.13:19
tkajinamonly having that commit message does not give us full view about the problem and we can't judge if that fix is made in an appropriate place13:19
tkajinamwe should not fix "a mystery" without clear understanding about its cause IMHO13:25
* tkajinam haven't seen so far any hard code which may cause that nova path in oslo libs13:25
amorinok, so maybe for now, I should on register the oslo.concurrency namespace in mistral config, but thats all13:39
opendevreviewArnaud Morin proposed openstack/oslo.messaging master: Switch to another rabbitmq host on connection error  https://review.opendev.org/c/openstack/oslo.messaging/+/96293214:16
tkajinamamorin, you mean add oslo.concurrency namespace to config file for oslo-config-generator, right ?14:18
amorinyes, in mistral14:19
tkajinamI just wanted to make sure that you don't attempt some register_opts stuffs in the code14:19
tkajinam+1 :-)14:19
amorinzigo would you mind splitting your change in two? One to add the namespace in config, and second for your patch? At least the first one we will approve14:20
dansmithhas anyone seen rootwrap failing to start in a devstack due to debtcollector being missing?16:42
dansmithhttps://paste.opendev.org/show/bJiyOLKYUrzvztCcqCS8/16:43
dansmithits  oslo privsep failing to spawn the helper with rootwrap, because the latter fails to import debtcollector,16:43
dansmithbut it's clearly in the venv and the venv is being used for rootwrap16:44
dansmithI'm very confused16:44

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