Thursday, 2022-04-28

elodilleshi, fyi, a lot of projects' openstack-tox-docs job started to fail due to the latest oslo.policy release (?)06:27
elodillesthe error log is this usually: https://zuul.opendev.org/t/openstack/build/c1504d60e39f41b7ac022d952b913168/log/job-output.txt#1477-148006:28
elodillesthis patch could be connected to the issue: https://review.opendev.org/c/openstack/oslo.policy/+/83051406:28
elodillesany suggestion about how to fix these / any way forward?06:29
elodilles(i did not investigate the issue deeper yet)06:29
hberaudelodilles: without too digging that seems to be an oslo.config issue08:08
hberaudelodilles: BTW, thanks for the heads up08:08
elodilleshberaud: no problem :) i thought it's oslo.policy as that is in the last log lines o:)08:28
hberaudelodilles: well this new oslo.policy option seems to trigger the oslo.context error. When I follow step by step the execution it fail when we generate the config (with oslo.config) to generate the policy sample.08:43
hberaudI don't know yet why this option seems to be a problem for oslo.config08:44
opendevreviewRajat Dhasmana proposed openstack/oslo.policy master: Only pass exclude-deprecated when True  https://review.opendev.org/c/openstack/oslo.policy/+/83971109:18
ralonsohelodilles, hberaud ^^ right, this seems to be the problem09:19
hberaudralonsoh: I tested your patch and indeed it fix the glance tox docs target09:24
hberaudralonsoh: kudos09:24
ralonsohnot mine09:24
hberaudoh09:24
hberaudah yes indeed09:26
elodillesralonsoh: thanks! looks promising!09:31
gibiralonsoh: thanks for the fix, it works for the nova doc job too09:50
ralonsohgibi, hehehe the fix is not mine09:50
ralonsohbut works!09:50
gibiahh yes09:50
gibithanks Rajat!09:51
opendevreviewRajat Dhasmana proposed openstack/oslo.policy master: Only pass exclude-deprecated when True  https://review.opendev.org/c/openstack/oslo.policy/+/83971109:57
opendevreviewJorhson Deng proposed openstack/oslo.cache master: Support SASL protocol for memcached  https://review.opendev.org/c/openstack/oslo.cache/+/74206010:50
hberaudstephenfin, damani: please can review this patch https://review.opendev.org/c/openstack/oslo.policy/+/83971111:54
hberaudstephenfin, damani: Once released this patch will unlock many gates12:00
hberaudSee the above discussion 12:00
damanihberaud, done and merge 12:02
hberaudthanks12:02
sean-k-mooneyby the way removing a paramater form oslo.polies config generator is a backward incompatible change so that should have been a majory version bump when it was released13:05
sean-k-mooneyso the next release shoudl proably do a major version bump when you ship the fix to signal that13:06
sean-k-mooneyhum i guess that was just intoduce in the most recent release?13:08
sean-k-mooneywith https://review.opendev.org/c/openstack/oslo.policy/+/83051413:08
sean-k-mooneyi guess there has not been time for peopel to start dependin on --exclude-deprecated false13:10
sean-k-mooneyso we might be able to get away with a minor versios or even a patch fix eventhough strictly specing it woudl be a major bump13:10
sean-k-mooneyhberaud: there is just one oslo-specs repo right so its the right one for oslo.messaging13:26
hberaudsean-k-mooney: yes13:26
sean-k-mooneycool just creating the spec for the oslo messaging unix socket notifiction driver i talked about a few months ago13:26
sean-k-mooneyhuh looks like no one has added a driver since mitaka13:28
sean-k-mooneyat least not with a spec 13:28
sean-k-mooneydo you somethime just use specless blueprints13:29
sean-k-mooneyi proably shoudl ask that before i write a spec13:29
hberaudsean-k-mooney: AFAIK nope, we usually try to write specs (my experience is more related to oslo.cache)13:38
sean-k-mooneyack no worreis 13:43
opendevreviewMerged openstack/oslo.policy master: Only pass exclude-deprecated when True  https://review.opendev.org/c/openstack/oslo.policy/+/83971113:50
hberaudsean-k-mooney: concerning the oslo.policy stuff I'm not sure to see which backward incompatible change you mean? the `--exclude-deprecated false`?14:22
sean-k-mooneyit is being chagne form a optional parmater that took True|False to a parmater that takes no argurments14:24
sean-k-mooneyso --exclude-deprecated false woudl no longer be valid correct14:25
sean-k-mooneyor did i missunderstand14:25
hberaudIf yes, IMO this a new feature with a default value so I'm not sure we could consider that as an incompatible change. IMO the problem is more on the sample generator and not related to the option itself14:25
hberaudThe option was not changed it was only added14:25
sean-k-mooneyit was added in one patch and then modifed in the more recent one that just merged14:26
sean-k-mooneyand presumable there was a release in between becasue it broke ci jobs14:26
hberaudthe option remains the same between those patches, only its usage in the sphinx plugin have been changed14:27
sean-k-mooneyok so you can still pass false if you want too14:28
hberaudyes14:28
sean-k-mooneyand that will have the expected behavior? if so how did the sphix usage break things14:28
hberaudbecause the sphinx plugin passed the bool value to oslo.config that tried to use it as a string14:29
sean-k-mooneyah so type error as a result14:31
hberaudMy point is that I planed to release a bugfix version because I think these changes are backward compat14:32
hberauddoes it make sense for you?14:32
sean-k-mooneyyep14:32
sean-k-mooneyi tought ye were removing the ablity to pass the bool on the cli14:32
sean-k-mooneyso i just missread the commit message14:32
hberaudFor the first patch I didn't released a major version because from my POV only a new option with a defaut value was added14:32
hberaudnp you did well to talk about it14:33
hberaudI prefered to double check with you14:33
sean-k-mooneyyep the first patch is just a feature release not a major and the second is not removign the value form the cli so also fine14:36
sean-k-mooneyits just a patch release14:36
sean-k-mooneyso a z bump in x.y.z numbering14:36
hberaudyes14:36
hberaudsean-k-mooney: https://review.opendev.org/c/openstack/releases/+/83977514:36
opendevreviewsean mooney proposed openstack/oslo-specs master: [oslo.messaging] add unix socket notifcation driver  https://review.opendev.org/c/openstack/oslo-specs/+/83981919:31
sean-k-mooneystephenfin: hberaud: ^ im not really sure what else to add to that. i was going to see if i could create WIP verions early next week 19:32
sean-k-mooneymaybe the week after actully since monday is a bank holiday and i have some doctors appointes mid week19:33
opendevreviewsean mooney proposed openstack/oslo-specs master: [oslo.messaging] add unix socket notifcation driver  https://review.opendev.org/c/openstack/oslo-specs/+/83981919:36

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