Thursday, 2021-02-04

*** hamalq has quit IRC00:12
*** hamalq has joined #openstack-oslo00:12
*** openstackgerrit has joined #openstack-oslo01:15
openstackgerritXuan Yandong proposed openstack/oslo.utils master: remove unicode from code  https://review.opendev.org/c/openstack/oslo.utils/+/76902201:15
*** rcernin has joined #openstack-oslo02:39
*** hamalq has quit IRC02:45
*** zzzeek has quit IRC07:07
*** zzzeek has joined #openstack-oslo07:08
*** lpetrut has joined #openstack-oslo07:11
*** sboyron_ has joined #openstack-oslo07:25
*** ralonsoh has joined #openstack-oslo07:36
*** rpittau|afk is now known as rpittau07:39
*** tosky has joined #openstack-oslo08:46
openstackgerritHervé Beraud proposed openstack/oslo.messaging master: Allow to manage missing queue  https://review.opendev.org/c/openstack/oslo.messaging/+/77123208:56
*** rcernin has quit IRC09:07
*** rcernin has joined #openstack-oslo09:17
*** rcernin has quit IRC09:25
*** rcernin has joined #openstack-oslo09:43
*** kevko has joined #openstack-oslo09:46
kevkoHi, maybe you notices that past days there was a disscussion about caching in multiple places ... can someone check/review my patch for keystone middleware ? https://review.opendev.org/c/openstack/keystonemiddleware/+/773939 ? Thanks09:46
openstackgerritStephen Finucane proposed openstack/oslo.messaging master: Correctly handle missing RabbitMQ queues  https://review.opendev.org/c/openstack/oslo.messaging/+/77123209:47
stephenfinkevko: I don't think any of us have core on that project. You probably want to ask on #openstack-keystone09:47
kevkostephenfin: i tried, but there is a suspicious silence :(10:16
stephenfinI think most of them are US based, if that help?10:16
stephenfin*s10:16
kevkostephenfin: BUT, I am touching oslo.cache in that patch ..so you will be helpful10:16
kevkostephenfin: probably10:16
kevkostephenfin: point is that keystonemiddleware is doing something very weird even if there is oslo.cache support long time ago ! (in times when oslo.cache was new lib)10:17
kevko(*from)10:17
stephenfinYeah, the change looks reasonable from a distance but I can only +1 at most if I review in depth, unfortunately10:19
stephenfinSo I'm not sure how much help anyone here would be10:19
kevkostephenfin: never mind, +1 will probably help littlebit:)10:20
stephenfinack, will take a look shortly10:20
kevkostephenfin: thank you very much10:21
*** rcernin has quit IRC10:48
*** rcernin has joined #openstack-oslo10:53
*** rcernin has quit IRC10:57
openstackgerritMerged openstack/etcd3gw master: Add doc/requirements  https://review.opendev.org/c/openstack/etcd3gw/+/76952111:46
*** rcernin has joined #openstack-oslo11:49
openstackgerritMerged openstack/oslo.reports stable/train: [stable-only] Cap bandit and fix lower-constraints  https://review.opendev.org/c/openstack/oslo.reports/+/76999512:29
stephenfingmann, lbragstad: https://bugs.launchpad.net/nova/+bug/1914592/comments/112:55
openstackLaunchpad bug 1914592 in oslo.policy "oslo.policy 3.6.1 breaks nova" [Critical,Confirmed] - Assigned to Stephen Finucane (stephenfinucane)12:55
stephenfinoslo.policy's lack of copying is an issue, but nova is also doing daft things12:55
openstackgerritRadosław Piliszek proposed openstack/etcd3gw master: Drop py2 support and clean things up  https://review.opendev.org/c/openstack/etcd3gw/+/77408213:14
openstackgerritRadosław Piliszek proposed openstack/etcd3gw master: Drop py2 support and clean things up  https://review.opendev.org/c/openstack/etcd3gw/+/77408213:33
*** rcernin has quit IRC13:43
*** kgiusti has joined #openstack-oslo13:44
lbragstadstephenfin sounds good - i have that oslo.policy review on my list today though since glance is hitting the same issue as placement13:56
openstackgerritRadosław Piliszek proposed openstack/etcd3gw master: Drop py2 support and clean things up  https://review.opendev.org/c/openstack/etcd3gw/+/77408214:11
gmannstephenfin: yeah, _handle_deprecated_rule was skipped completely and end up not adding the deprecated rule in OR.14:32
gmannfor nova I think we should remove all those fixture and keep RealPolicyFixture only14:32
gmannstephenfin: if you try the workflow you mentioned in 1914592 with fix then it should work fine -  https://review.opendev.org/c/openstack/oslo.policy/+/77395014:33
*** lpetrut has quit IRC15:23
*** hberaud has quit IRC16:15
*** hberaud has joined #openstack-oslo16:16
*** hberaud has quit IRC16:16
*** hberaud has joined #openstack-oslo16:17
*** hoonetorg has joined #openstack-oslo16:20
lbragstadgmann https://review.opendev.org/c/openstack/oslo.policy/+/773950 looks good to me - just a couple questions inline, but they're minor16:45
lbragstadi'll let hberaud or stephenfin give it a look16:45
stephenfinI'm trying to break it but having no success, which I guess is a good thing :)16:46
lbragstadfrustrating, in a good way16:47
gmannlbragstad: checking16:48
lbragstadi noticed glance has the same issue as placement where the enforcer bleeds between tests, i ran gmann's patch against the glance unit tests a bunch last night and i didn't see the issue crop back up16:57
openstackgerritGhanshyam proposed openstack/oslo.policy master: Work on copy of registered rule instead of original object  https://review.opendev.org/c/openstack/oslo.policy/+/77395016:59
gmannlbragstad: ^^ fixed the comment.16:59
gmannlbragstad: nice, I am sure most of them project running with policy fixture in parallel with few rules in file and few not has same issue17:00
gmannstephenfin: lbragstad hberaud I am trying to add nova unit/functional job in oslo.policy gate to detect these kind of issues before release only -https://review.opendev.org/c/openstack/oslo.policy/+/77394717:02
gmannbut tox env (from nova) use the master constraints as that is what hard coded there. does any of you know how to make tox test with oslo.policy master code?17:03
stephenfingmann: You need to specify a project dependency in .zuul.yml iirc17:04
stephenfinvia 'required-projects'17:04
stephenfinso it'll install using tox siblings17:04
gmannstephenfin: that is there as it run in oslo.policy gate which means it is already source from master17:04
gmannbut tox use u-c version in venv17:05
gmannhttps://zuul.opendev.org/t/openstack/build/f1a4e07926cb4a70832a3ea3a782653f/log/job-output.txt#60717:05
stephenfinI think you still need to specify that17:06
stephenfinlook at .zuul.yaml for python-novaclient17:06
gmannI can specify but that is not needed as test running repo is always from master17:06
gmannlet me try17:07
openstackgerritGhanshyam proposed openstack/oslo.policy master: Add nova project unit/functional tests job in gate  https://review.opendev.org/c/openstack/oslo.policy/+/77394717:07
gmanntrying ^^17:07
stephenfinYeah, I'd normally poke mordred about this in the past17:08
gmannstephenfin: i think we need to set tox env var somewher poin to /opt/stack/requirements/upper-constraints.txt https://github.com/openstack/nova/blob/master/tox.ini#L2717:08
stephenfinBut python-novaclient has that python-novaclient-functional test which should be using python-novaclient from master, so we'll see17:08
gmannk17:08
stephenfingmann: Okay, I failed to break your patch so kudos, but I'm still uncomfortable with us modifying any attribute of the existing object including the check17:21
*** openstack has joined #openstack-oslo17:25
*** ChanServ sets mode: +o openstack17:25
stephenfincos as it is, there's another problem with this - the check_str value no longer matches the check value17:25
stephenfinthat confused me a lot while debugging17:25
* stephenfin would ultimately like to make 'check' a cached property and not something anyone can set17:25
gmannyeah that is really confusing even for me too17:25
stephenfindo you mind if I push a WIP patch to show what I mean?17:25
stephenfinif you don't like it, we go with what you've got17:26
gmannsure, I can push that as alternate. checking if self.rules is all being checked in all checks etc17:29
openstackgerritStephen Finucane proposed openstack/oslo.policy master: TODO  https://review.opendev.org/c/openstack/oslo.policy/+/77411117:33
openstackgerritStephen Finucane proposed openstack/oslo.policy master: WIP: Don't modify 'Rule.check'  https://review.opendev.org/c/openstack/oslo.policy/+/77411217:33
stephenfinwhoops, ignore the TODO17:33
stephenfingmann: but that's what I mean. Lemme know what you think. I'm happy to go with what we have if we want to fix this asap, but I think this is a better long-term fix17:34
openstackgerritStephen Finucane proposed openstack/oslo.policy master: WIP: Don't modify 'Rule.check'  https://review.opendev.org/c/openstack/oslo.policy/+/77411217:34
gmannstephenfin: that looks good (I can test locally ) and I think we can do deepcopy also for safer side  https://review.opendev.org/c/openstack/oslo.policy/+/773950/4/oslo_policy/policy.py#110817:41
*** zzzeek has quit IRC17:42
*** zzzeek has joined #openstack-oslo17:44
stephenfinyup, makes sense17:44
stephenfinI'll rebase onto yours so17:44
gmannyou want me to undo rest of other and you can rebase your on top of that ?17:45
stephenfinI can rebase onto that17:45
gmannok17:45
*** sboyron_ has quit IRC18:08
*** rpittau is now known as rpittau|afk18:10
*** hemna has quit IRC18:11
*** hemna has joined #openstack-oslo18:13
*** hamalq has joined #openstack-oslo18:14
*** ralonsoh has quit IRC18:18
*** hoonetorg has quit IRC18:24
openstackgerritGhanshyam proposed openstack/oslo.policy master: Work on copy of registered rule instead of original object  https://review.opendev.org/c/openstack/oslo.policy/+/77395018:25
gmannstephenfin: fixed, sorry for that mesh ^^18:25
lbragstadlooks like we have another failure18:40
*** kevko_ has joined #openstack-oslo18:49
*** kevko has quit IRC18:51
*** sboyron has joined #openstack-oslo18:59
*** sboyron has quit IRC19:05
*** rcernin has joined #openstack-oslo19:40
*** rcernin has quit IRC19:45
*** hoonetorg has joined #openstack-oslo20:01
*** hoonetorg has quit IRC20:13
*** rcernin has joined #openstack-oslo20:17
*** hoonetorg has joined #openstack-oslo20:30
*** rcernin has quit IRC20:31
*** rcernin has joined #openstack-oslo21:00
lbragstadgmann stephenfin passed the gate https://review.opendev.org/c/openstack/oslo.policy/+/773950/521:15
gmannyeah21:16
gmannstephenfin: wow, required_project worked - https://review.opendev.org/c/openstack/oslo.policy/+/77394721:17
gmannstephenfin: lbragstad we can see the failure on gate now https://review.opendev.org/c/openstack/oslo.policy/+/77394721:17
gmannlet me rebase this on top of fix21:17
openstackgerritGhanshyam proposed openstack/oslo.policy master: Add nova project unit/functional tests job in gate  https://review.opendev.org/c/openstack/oslo.policy/+/77394721:19
*** rcernin has quit IRC21:39
*** rcernin has joined #openstack-oslo21:56
*** kevko_ has quit IRC21:59
*** kgiusti has left #openstack-oslo22:18
*** lbragstad_ has joined #openstack-oslo22:22
*** lbragstad has quit IRC22:24
*** rcernin has quit IRC22:26
*** rcernin has joined #openstack-oslo22:26
*** tkajinam has quit IRC22:59
*** tkajinam has joined #openstack-oslo22:59
*** lbragstad_ is now known as lbragstad23:03
gmannlbragstad: stephenfin nova functional tests passing on fix https://review.opendev.org/c/openstack/oslo.policy/+/773947/523:06
lbragstadsweet - ship it https://review.opendev.org/c/openstack/oslo.policy/+/77395023:06
*** kevko_ has joined #openstack-oslo23:15
*** lbragstad has quit IRC23:21
*** lbragstad has joined #openstack-oslo23:23

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