Wednesday, 2021-02-03

*** ianychoi__ has joined #openstack-oslo00:14
*** tosky has quit IRC00:15
*** ianychoi_ has quit IRC00:17
*** eck` has quit IRC02:06
*** zzzeek has quit IRC02:12
*** zzzeek has joined #openstack-oslo02:12
*** lbragstad_ has joined #openstack-oslo02:14
*** lbragstad has quit IRC02:17
*** rcernin has quit IRC02:37
*** rcernin has joined #openstack-oslo02:51
*** lbragstad_ is now known as lbragstad03:51
*** brinzhang has quit IRC04:52
*** brinzhang has joined #openstack-oslo04:53
*** brinzhang_ has joined #openstack-oslo05:02
*** brinzhang has quit IRC05:05
*** rcernin has quit IRC06:08
*** rcernin has joined #openstack-oslo06:08
*** rcernin has quit IRC06:17
*** rcernin has joined #openstack-oslo06:17
*** rcernin has quit IRC06:17
*** rcernin has joined #openstack-oslo06:19
*** dasp has joined #openstack-oslo07:00
*** dasp_ has quit IRC07:01
*** brinzhang_ has quit IRC07:04
*** brinzhang_ has joined #openstack-oslo07:04
*** ralonsoh has joined #openstack-oslo07:28
*** sboyron_ has joined #openstack-oslo08:04
*** tosky has joined #openstack-oslo08:40
*** rpittau|afk is now known as rpittau08:41
*** brinzhang_ has quit IRC08:59
*** brinzhang_ has joined #openstack-oslo09:00
openstackgerritHervé Beraud proposed openstack/oslo.utils master: Allow to convert IPV4 addresses from text to binary form.  https://review.opendev.org/c/openstack/oslo.utils/+/77386310:01
stephenfinhberaud: Reviewed https://review.opendev.org/q/topic:%2522fix-json-primitive%2522+status:open Apologies for the delay10:19
hberaudstephenfin: I just seen thanx10:20
hberaudstephenfin: I think we can go with a single core approval10:20
stephenfinIs moguimar not around?10:20
hberaudstephenfin: as they already have been validated on master10:20
hberaudI just asked to him to review too in private message10:21
*** rcernin has quit IRC10:24
*** rcernin has joined #openstack-oslo10:55
*** rcernin has quit IRC11:15
openstackgerritStephen Finucane proposed openstack/oslo.policy master: Add '__str__' for 'DeprecatedRule'  https://review.opendev.org/c/openstack/oslo.policy/+/77387311:16
openstackgerritMerged openstack/whereto master: Add doc/requirements  https://review.opendev.org/c/openstack/whereto/+/76978711:33
*** rcernin has joined #openstack-oslo12:01
moguimarhberaud, stephenfin can we have code review in the first line and then backport candidate at the second on gerrit?12:11
openstackgerritStephen Finucane proposed openstack/castellan master: Allow specifying region of barbican endpoint  https://review.opendev.org/c/openstack/castellan/+/77214412:11
stephenfinmoguimar: No, it's alphabetical. That annoys me also :)12:11
moguimardang12:11
stephenfinPerhaps we could drop Backport-Candidate entirely? I don't think it's been that useful tbh12:12
hberaudIf you didn't find any added value to "Backport candidate" then yes we could drop it12:13
hberaudIt's goal isn't to annoys us12:14
hberaudAnd yes I think its added value is more than moderate12:15
openstackgerritMerged openstack/oslo.cache master: Do not hardcode flush_on_reconnect, move to oslo.cache config  https://review.opendev.org/c/openstack/oslo.cache/+/74219312:27
*** rcernin has quit IRC12:43
openstackgerritMerged openstack/oslo.service master: Drop custom implementation of EVENTLET_HUB  https://review.opendev.org/c/openstack/oslo.service/+/76476012:47
openstackgerritMerged openstack/castellan master: Fix assertion typo in barbican key manager unit test  https://review.opendev.org/c/openstack/castellan/+/76955912:49
openstackgerritMerged openstack/oslo.cache stable/queens: Cap Bandit below 1.6.0 and update Sphinx requirement  https://review.opendev.org/c/openstack/oslo.cache/+/76955712:49
openstackgerritMerged openstack/osprofiler stable/train: [stable-only] Cap bandit to 1.6.2  https://review.opendev.org/c/openstack/osprofiler/+/77000013:18
openstackgerritMerged openstack/oslo.serialization stable/victoria: Dropping lower constraints testing  https://review.opendev.org/c/openstack/oslo.serialization/+/77230213:34
openstackgerritMerged openstack/oslo.serialization stable/victoria: Fix json to_primitive when using IO OBjects  https://review.opendev.org/c/openstack/oslo.serialization/+/77147513:43
hberaudstephenfin, moguimar: Thanks for these patches, @moguimar please can you validate the ussuri part too https://review.opendev.org/q/topic:%22fix-json-primitive%22+(status:open) it will allow us to go down to "train" and then allow us to close this topic.13:50
hberaud^13:50
openstackgerritTakashi Kajinami proposed openstack/castellan master: Simplify the reference to barbican parameters  https://review.opendev.org/c/openstack/castellan/+/77389213:56
*** lbragstad has quit IRC13:57
*** zaneb has quit IRC13:58
openstackgerritTakashi Kajinami proposed openstack/castellan master: Simplify the reference to barbican parameters  https://review.opendev.org/c/openstack/castellan/+/77389214:01
*** brinzhang_ has quit IRC14:17
*** brinzhang_ has joined #openstack-oslo14:17
openstackgerritMoisés Guimarães de Medeiros proposed openstack/oslo.cache stable/ussuri: Add TLS options to oslo.cache  https://review.opendev.org/c/openstack/oslo.cache/+/77390414:21
openstackgerritMoisés Guimarães de Medeiros proposed openstack/oslo.cache stable/train: Add TLS options to oslo.cache  https://review.opendev.org/c/openstack/oslo.cache/+/77390514:21
openstackgerritMoisés Guimarães de Medeiros proposed openstack/oslo.cache stable/ussuri: Add TLS context creation from config  https://review.opendev.org/c/openstack/oslo.cache/+/77390614:27
openstackgerritHervé Beraud proposed openstack/oslo.messaging master: Allow to manage missing queue  https://review.opendev.org/c/openstack/oslo.messaging/+/77123214:32
openstackgerritTakashi Kajinami proposed openstack/castellan master: Simplify the reference to barbican parameters  https://review.opendev.org/c/openstack/castellan/+/77389214:32
hberaudstephenfin: let me know if that make sense for you, thanks for your comments ^ (my patch)14:33
* stephenfin looks14:33
*** brinzhang_ has quit IRC14:35
*** lbragstad has joined #openstack-oslo14:35
*** brinzhang_ has joined #openstack-oslo14:36
openstackgerritMoisés Guimarães de Medeiros proposed openstack/oslo.cache stable/ussuri: Add TLS context creation from config  https://review.opendev.org/c/openstack/oslo.cache/+/77390614:42
stephenfinhberaud: Replied14:43
hberaudack14:43
stephenfinIf I'm missing something obvious, please let me know14:43
openstackgerritMerged openstack/oslo.messaging master: Remove six  https://review.opendev.org/c/openstack/oslo.messaging/+/76900714:44
*** bcafarel has quit IRC14:58
*** bcafarel has joined #openstack-oslo14:59
openstackgerritMark Goddard proposed openstack/castellan master: barbican key manager: Add support for service user  https://review.opendev.org/c/openstack/castellan/+/76956015:01
openstackgerritMerged openstack/oslo.messaging master: remove unicode from code  https://review.opendev.org/c/openstack/oslo.messaging/+/76900815:04
openstackgerritMark Goddard proposed openstack/castellan master: barbican key manager: Add support for service user  https://review.opendev.org/c/openstack/castellan/+/76956015:07
openstackgerritHervé Beraud proposed openstack/oslo.messaging master: Allow to manage missing queue  https://review.opendev.org/c/openstack/oslo.messaging/+/77123215:10
openstackgerritMoisés Guimarães de Medeiros proposed openstack/oslo.cache stable/ussuri: Bump dogpile.cache's version for Memcached TLS support  https://review.opendev.org/c/openstack/oslo.cache/+/77390715:14
openstackgerritMoisés Guimarães de Medeiros proposed openstack/oslo.cache stable/ussuri: Bump dogpile.cache's version for Memcached TLS support  https://review.opendev.org/c/openstack/oslo.cache/+/77390715:16
openstackgerritHervé Beraud proposed openstack/oslo.messaging master: Allow to manage missing queue  https://review.opendev.org/c/openstack/oslo.messaging/+/77123215:22
openstackgerritMoisés Guimarães de Medeiros proposed openstack/oslo.cache stable/victoria: Add dogpile.cache.pymemcache backend  https://review.opendev.org/c/openstack/oslo.cache/+/77390815:37
openstackgerritMoisés Guimarães de Medeiros proposed openstack/oslo.cache stable/ussuri: Add dogpile.cache.pymemcache backend  https://review.opendev.org/c/openstack/oslo.cache/+/77390915:39
openstackgerritMoisés Guimarães de Medeiros proposed openstack/oslo.cache stable/ussuri: Add dogpile.cache.pymemcache backend  https://review.opendev.org/c/openstack/oslo.cache/+/77390915:44
openstackgerritMoisés Guimarães de Medeiros proposed openstack/oslo.cache stable/ussuri: Add dogpile.cache.pymemcache backend  https://review.opendev.org/c/openstack/oslo.cache/+/77390915:49
ralonsohstephenfin, hi!15:53
ralonsohabout latest oslo.policy version 3.6.115:53
ralonsohhttps://review.opendev.org/c/openstack/requirements/+/77377915:53
ralonsohseems to clash with Nova15:53
ralonsohhttps://d138d4f526b4feb9aa23-c0b1a48165a1318087e38ccc28dcb2b0.ssl.cf5.rackcdn.com/773779/1/check/cross-nova-functional/d9729b8/testr_results.html15:54
stephenfinoh wow15:54
stephenfinI'll take a look15:54
ralonsohthanks a lot15:54
gmannseems deprecated rules are not added properly with https://review.opendev.org/c/openstack/oslo.policy/+/77341415:56
openstackgerritMerged openstack/oslo.serialization stable/ussuri: Dropping lower constraints testing  https://review.opendev.org/c/openstack/oslo.serialization/+/77233815:56
openstackgerritMerged openstack/oslo.serialization stable/ussuri: Fix json to_primitive when using IO OBjects  https://review.opendev.org/c/openstack/oslo.serialization/+/77147615:56
gmannlbragstad: stephenfin ralonsoh may be new flag ( _deprecated_rule_handled  ) is getting incorrect value due to this https://bugs.launchpad.net/oslo.policy/+bug/191409515:59
openstackLaunchpad bug 1914095 in oslo.policy "The Enforcer object doesn't deepcopy rules before modifying them" [Undecided,New]15:59
bnemecHow on earth did that pass the tempest tests if it broke nova?15:59
stephenfinbnemec: I think gmann is onto something. Tempest would init policy just once16:00
gmannbnemec: only difference between them is tempest test work on defaults and functional tests with policy fixture with overridden rules (most of them '')16:01
gmannstephenfin: yes16:01
gmannlet me try to reproduce it locally and try with deepcopying the rule16:03
stephenfinokay, cool16:03
* stephenfin has a meeting so won't be able to look at it for an hour or so16:03
lbragstadi'm knee deep in glance's secure rbac patches, but let me know if you need help or a set of eyes on anything stephenfin16:06
moguimarsmcginnis, you16:11
moguimarare you the requirements PTL?16:11
gmannmoguimar: its Matthew Thode(irc prometheanfire)16:16
moguimarthanks gmann16:18
openstackgerritHervé Beraud proposed openstack/oslo.messaging master: Allow to manage missing queue  https://review.opendev.org/c/openstack/oslo.messaging/+/77123216:23
openstackgerritMark Goddard proposed openstack/castellan master: barbican key manager: Add support for service user  https://review.opendev.org/c/openstack/castellan/+/76956016:34
*** slaweq has joined #openstack-oslo16:48
stephenfinmoguimar: I stuck you on a couple of castellan reviews since I think you're well placed to review them. Let me know if that doesn't make sense (I think you've worked on Barbican previously?)16:49
moguimarstephenfin, cool16:50
openstackgerritMerged openstack/oslo.messaging master: Move jobs to py38  https://review.opendev.org/c/openstack/oslo.messaging/+/72778716:52
openstackgerritGhanshyam proposed openstack/oslo.policy master: Add project unit/functional tests job in gate  https://review.opendev.org/c/openstack/oslo.policy/+/77394716:55
stephenfingmann, bnemec: So what's happening is that rule is pointing to another rule, and that other rule is what's deprecated17:06
gmannstephenfin: yeah, deepcopy fix the issue, i am writing commit msg for fix and push soon17:06
stephenfinbut because we've already processed that other rule (by updating the check), we don't process the embedded version17:07
stephenfinah, good to hear :) I was thinking we'd have to _rely_ on rules being shared /o\17:07
openstackgerritGhanshyam proposed openstack/oslo.policy master: Work on copy of registered rule instead of orignal object  https://review.opendev.org/c/openstack/oslo.policy/+/77395017:08
gmannstephenfin: ^^17:08
gmannI am adding service functional/unit test also to avoid such issue in future17:08
gmannalso releasenotes17:10
openstackgerritGhanshyam proposed openstack/oslo.policy master: Add nova project unit/functional tests job in gate  https://review.opendev.org/c/openstack/oslo.policy/+/77394717:19
openstackgerritGhanshyam proposed openstack/oslo.policy master: Add nova project unit/functional tests job in gate  https://review.opendev.org/c/openstack/oslo.policy/+/77394717:31
*** ralonsoh has quit IRC17:31
openstackgerritGhanshyam proposed openstack/oslo.policy master: Work on copy of registered rule instead of orignal object  https://review.opendev.org/c/openstack/oslo.policy/+/77395017:57
gmannstephenfin: lbragstad bnemec ^^ added the unit test and releasenotes too17:57
lbragstadsweet17:57
lbragstadthanks gmann17:57
stephenfingmann: I still don't grok how it's breaking the nova job. What common attribute is getting changed?18:00
gmannits _deprecated_rule_handled18:00
gmannhttps://github.com/openstack/oslo.policy/blob/bd9d47aa36ad6f2f4746f09a267d7ce809a820f4/oslo_policy/policy.py#L77418:00
gmannstephenfin: and based on this flag if True _handle_deprecated_rule() does not add deprecated rule on OR check https://github.com/openstack/oslo.policy/blob/bd9d47aa36ad6f2f4746f09a267d7ce809a820f4/oslo_policy/policy.py#L70318:01
gmannso one test add the deprecated rule with OR as _deprecated_rule_handled  is false and set it to True18:02
gmannand next tests find this value as True and skip adding the deprecated rule OR addition18:02
stephenfinOkay, but if it's set that value to True, hasn't it also already added the OR?18:03
gmannhumm, with the bug 1914095 it should..18:05
openstackbug 1914095 in oslo.policy "The Enforcer object doesn't deepcopy rules before modifying them" [Undecided,New] https://launchpad.net/bugs/191409518:05
*** rpittau is now known as rpittau|afk18:08
gmannstephenfin: lbragstad . ok I got it. seems another bug. we are setting _deprecated_rule_handled =True always when _handle_deprecated_rule is called not when actually deprecated rule is added in OR check18:39
gmannand that way depends on other flag or rule in file it end up skipping the adding OR check always18:40
openstackgerritGhanshyam proposed openstack/oslo.policy master: Work on copy of registered rule instead of orignal object  https://review.opendev.org/c/openstack/oslo.policy/+/77395019:22
gmannstephenfin: lbragstad fixed ^^19:23
*** rcernin has joined #openstack-oslo19:49
*** rcernin has quit IRC20:20
*** rcernin has joined #openstack-oslo20:20
*** SpamapS has quit IRC20:52
*** rcernin has quit IRC21:22
*** hamalq has joined #openstack-oslo21:27
hamalqoslo_messaging.exceptions.MessagingTimeout: Timed out waiting for a reply to message21:47
hamalqWhen the rabbitmq is restarted the openstack services start raising the error above and the only fix is to restart all the services after the restart of the rabbitmq21:47
hamalqWhen that happen in the log on MQ u can see21:47
hamalqoperation queue.declare caused a channel exception not_found: queue 'reply_fe8c409efaa44af296a0a151daf078aa'21:47
hamalqWhich means the openstack still wait for reply from queue that is deleted due the restart of MQ and don't recover from that unless restarted21:47
hamalqDoes that mean it's required to restart all Openstack services when MQ restarted?21:47
hamalqIs an oslo.messaging bug need fixing21:47
hamalq@hberaud ^^21:49
*** sboyron_ has quit IRC21:49
*** SpamapS has joined #openstack-oslo21:54
*** rcernin has joined #openstack-oslo22:05
*** rcernin has quit IRC22:06
*** rcernin has joined #openstack-oslo22:07
*** kgiusti has left #openstack-oslo22:11
*** openstackgerrit has quit IRC22:11
*** slaweq has quit IRC22:41
*** rcernin has quit IRC22:45
*** tosky has quit IRC23:54

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