Monday, 2019-08-05

*** markvoelker has joined #openstack-keystone00:02
*** markvoelker has quit IRC00:06
*** markvoelker has joined #openstack-keystone00:45
*** jamesmcarthur has quit IRC00:57
*** markvoelker has quit IRC01:09
*** jamesmcarthur has joined #openstack-keystone01:19
*** jamesmcarthur has quit IRC01:32
*** markvoelker has joined #openstack-keystone02:01
*** jamesmcarthur has joined #openstack-keystone02:03
*** markvoelker has quit IRC02:06
*** markvoelker has joined #openstack-keystone02:32
*** whoami-rajat has joined #openstack-keystone02:38
*** markvoelker has quit IRC02:42
*** jamesmcarthur has quit IRC03:11
*** markvoelker has joined #openstack-keystone03:13
*** markvoelker has quit IRC03:17
openstackgerritzhufl proposed openstack/keystone master: Fix missing print format and missing ws between words  https://review.opendev.org/67452103:24
*** jamesmcarthur has joined #openstack-keystone03:42
*** markvoelker has joined #openstack-keystone04:28
*** jamesmcarthur has quit IRC04:30
*** markvoelker has quit IRC04:33
*** jamesmcarthur has joined #openstack-keystone05:04
*** vishalmanchanda has joined #openstack-keystone05:13
*** jaosorior has joined #openstack-keystone05:41
*** jamesmcarthur has quit IRC05:53
*** dancn has joined #openstack-keystone06:03
*** jamesmcarthur has joined #openstack-keystone06:23
*** jamesmcarthur has quit IRC06:27
*** obre has joined #openstack-keystone06:29
*** jamesmcarthur has joined #openstack-keystone06:49
*** jamesmcarthur has quit IRC06:54
*** rcernin has quit IRC07:04
*** xek has joined #openstack-keystone07:05
*** pcaruana has joined #openstack-keystone07:08
*** markvoelker has joined #openstack-keystone07:17
*** tesseract has joined #openstack-keystone07:17
*** xek has quit IRC07:28
*** markvoelker has quit IRC07:51
*** tkajinam has quit IRC08:11
*** tesseract-RH has joined #openstack-keystone08:22
*** tesseract has quit IRC08:22
*** tesseract-RH has quit IRC08:24
*** tesseract has joined #openstack-keystone08:24
*** dancn has quit IRC08:33
*** dancn has joined #openstack-keystone08:39
*** jaosorior has quit IRC08:51
*** markvoelker has joined #openstack-keystone08:56
*** markvoelker has quit IRC09:30
*** dasp has quit IRC09:49
*** dasp has joined #openstack-keystone09:49
*** spsurya has joined #openstack-keystone09:50
*** dancn has quit IRC10:01
*** jaosorior has joined #openstack-keystone10:05
*** mvkr has joined #openstack-keystone10:18
openstackgerritMerged openstack/keystone master: Followup for remove signing[config].  https://review.opendev.org/67347610:35
*** markvoelker has joined #openstack-keystone10:38
*** markvoelker has quit IRC10:43
*** dancn has joined #openstack-keystone11:00
*** kplant has joined #openstack-keystone11:12
*** jaosorior has quit IRC11:23
*** raildo has joined #openstack-keystone11:44
*** jamesmcarthur has joined #openstack-keystone11:46
*** markvoelker has joined #openstack-keystone11:55
*** markvoelker has quit IRC12:02
*** markvoelker has joined #openstack-keystone12:02
*** jamesmcarthur has quit IRC12:05
*** markvoelker has quit IRC12:09
*** jaosorior has joined #openstack-keystone12:10
*** markvoelker has joined #openstack-keystone12:11
*** raildo has quit IRC12:24
*** raildo has joined #openstack-keystone12:32
*** jroll has quit IRC12:39
*** jroll has joined #openstack-keystone12:39
*** jamesmcarthur has joined #openstack-keystone12:41
*** joshualyle has joined #openstack-keystone13:01
*** jamesmcarthur has quit IRC13:04
*** joshualyle has quit IRC13:04
*** jamesmcarthur has joined #openstack-keystone13:15
*** pcaruana has quit IRC13:47
*** pcaruana has joined #openstack-keystone14:00
*** jaosorior has quit IRC14:36
*** jaosorior has joined #openstack-keystone14:39
*** bnemec-pto is now known as bnemec15:01
*** dancn has quit IRC15:48
*** gyee has joined #openstack-keystone15:48
*** tesseract has quit IRC16:04
*** Horrorcat has quit IRC16:33
*** jamesmcarthur has quit IRC16:39
*** raildo has quit IRC16:40
*** raildo has joined #openstack-keystone16:48
*** markvoelker has quit IRC16:49
*** jamesmcarthur has joined #openstack-keystone16:54
*** markvoelker has joined #openstack-keystone17:01
*** jamesmcarthur has quit IRC17:07
*** jamesmcarthur has joined #openstack-keystone17:12
*** jamesmcarthur has quit IRC17:32
*** jamesmcarthur has joined #openstack-keystone17:37
*** jamesmcarthur_ has joined #openstack-keystone17:39
*** jamesmcarthur has quit IRC17:41
*** jamesmcarthur has joined #openstack-keystone17:42
*** jamesmcarthur_ has quit IRC17:43
*** jamesmcarthur has quit IRC17:48
*** jamesmcarthur has joined #openstack-keystone17:53
*** jamesmcarthur_ has joined #openstack-keystone18:03
*** jamesmcarthur has quit IRC18:06
*** jamesmcarthur has joined #openstack-keystone18:13
*** jamesmcarthur_ has quit IRC18:14
*** jamesmcarthur_ has joined #openstack-keystone18:24
*** jamesmcarthur has quit IRC18:26
*** jamesmcarthur has joined #openstack-keystone18:28
*** jamesmcarthur_ has quit IRC18:30
*** jamesmcarthur_ has joined #openstack-keystone18:34
*** jamesmca_ has joined #openstack-keystone18:36
*** jamesmcarthur has quit IRC18:36
*** jamesmcarthur_ has quit IRC18:39
*** jamesmca_ has quit IRC18:41
*** jamesmcarthur has joined #openstack-keystone18:46
*** jamesmcarthur_ has joined #openstack-keystone18:48
*** spsurya has quit IRC18:49
*** jamesmcarthur has quit IRC18:50
*** jamesmcarthur has joined #openstack-keystone18:53
*** jamesmcarthur_ has quit IRC18:55
*** jamesmcarthur has quit IRC19:01
*** jamesmcarthur_ has joined #openstack-keystone19:01
*** jamesmcarthur_ has quit IRC19:06
*** jamesmcarthur has joined #openstack-keystone19:12
openstackgerritColleen Murphy proposed openstack/oslo.policy master: Add attribute to suppress deprecation warnings  https://review.opendev.org/67393219:13
openstackgerritColleen Murphy proposed openstack/keystone master: Suppress policy deprecation warnings in unit tests  https://review.opendev.org/67393319:13
*** jamesmcarthur has quit IRC19:17
*** jamesmcarthur has joined #openstack-keystone19:19
*** jamesmcarthur has quit IRC19:24
kmalloccmurphy: commnented on ^ those two19:25
kmalloccmurphy: is the .zuul change expected in the keystone patch?19:25
cmurphykmalloc: it's needed to test the oslo change, will W-1 this ps and undo it on the next one19:26
kmalloc++19:26
kmallocwfm19:27
cmurphyre attribute naming it's only for deprecation warnings, let me fix the name19:27
kmallocalso wfm, still +2 on the oslo.policy change.19:27
kmallocdon't forget to bump the minimum on oslo.policy once we do a release :)19:28
cmurphymay actually need to do that release before we can merge the keystone change19:28
bnemecYep.19:29
bnemecI can wait the weekly Oslo releases on it if that would help.19:30
bnemecI don't think a lot merged last week anyway, just looking through the IRC logs.19:30
bnemecAlso, commented on the policy change.19:30
*** jamesmcarthur has joined #openstack-keystone19:31
* bnemec is paranoid about adding public things that can be misused19:31
cmurphyi'd have to think for a minute what the test fixture would look like to set the private attribute19:32
openstackgerritColleen Murphy proposed openstack/oslo.policy master: Add attribute to suppress deprecation warnings  https://review.opendev.org/67393219:35
*** jamesmcarthur_ has joined #openstack-keystone19:36
openstackgerritColleen Murphy proposed openstack/keystone master: Suppress policy deprecation warnings in unit tests  https://review.opendev.org/67393319:37
bnemecIt might be as simple as just setting the private member on the Enforcer class in setUp.19:37
*** jamesmcarthur has quit IRC19:37
bnemecI guess it could be done as a followup, but once the public member is added it would be a breaking change to make it private.19:38
*** jamesmcarthur has joined #openstack-keystone19:38
kmalloceven in tests i don't want to have projects lean on a private attribute19:39
bnemecThey wouldn't, the fixture would provide a stable public interface to it.19:39
kmallochmm. weould need to become a class-level attr then... i think19:40
bnemecTechnically I guess the fixture could also be used in runtime code, but that would go against common practice in OpenStack.19:40
*** jamesmcarthur_ has quit IRC19:40
bnemecOh, hmm, I thought it already was, but I was thinking of suppress_deprecation_warnings in https://review.opendev.org/#/c/673933/8/keystone/common/rbac_enforcer/enforcer.py19:40
kmallocit is class level, but i'd want to avoid a self.XXXX reference instead lean directly on class lookup19:41
kmallocif we are doing it as a private+fixture19:41
kmallocthe enforcer is used... oddly at times19:42
kmalloc*shrug*19:43
bnemecYeah, I don't want to be too pedantic about this. It's Python, so no matter what we do someone _could_ misuse it if they try hard enough.19:43
kmallochonestly, i just don't care as long as we eliminate these log lines for tests.19:43
bnemecI'm +2 on it as-is, so it's kind of a moot point. :-)19:44
kmalloc:)19:44
*** kplant has quit IRC19:47
*** jamesmcarthur has quit IRC19:48
*** jamesmcarthur has joined #openstack-keystone20:27
*** jamesmcarthur has quit IRC20:47
*** jamesmcarthur has joined #openstack-keystone20:48
*** jamesmcarthur has quit IRC20:48
*** jamesmcarthur has joined #openstack-keystone20:48
*** vishalmanchanda has quit IRC21:03
*** jamesmcarthur has quit IRC21:18
*** jamesmcarthur has joined #openstack-keystone21:20
openstackgerritColleen Murphy proposed openstack/keystone master: Suppress policy deprecation warnings in unit tests  https://review.opendev.org/67393321:22
openstackgerritColleen Murphy proposed openstack/keystone master: Suppress policy deprecation warnings in unit tests  https://review.opendev.org/67393321:23
*** jamesmcarthur has quit IRC21:25
*** markvoelker has quit IRC21:29
cmurphyhttps://review.opendev.org/673932 should be g2g21:32
*** jamesmcarthur has joined #openstack-keystone21:49
*** jamesmcarthur has quit IRC21:55
*** whoami-rajat has quit IRC21:58
*** rcernin has joined #openstack-keystone22:06
cmurphynot sure if there's a reasonable way to address the actual complaint in https://bugs.launchpad.net/bugs/1836568 the enforcer would have to persist not just to the flask context but the wsgi app itself22:14
openstackLaunchpad bug 1836568 in oslo.policy "Logs filled with unnecessary policy deprecation warnings" [Undecided,In progress] - Assigned to Colleen Murphy (krinkle)22:14
bnemecMy only thought was to dump a map of deprecated rules to booleans that would indicate whether a warning has been logged into a shared memory space somehow that oslo.policy would check before logging.22:19
bnemecI think that would make it not matter what process the library was running in.22:20
bnemecAlthough that might be a problem if you had duplicate policy names...22:20
kmallocbnemec: eh i wouldn't do that. sounds awful22:22
bnemecIt's also a bit leaky as we have no way of cleaning up the shared memory, which is basically the same problem we have with lock files for interprocess communication.22:22
bnemecWill this become more of a problem as services migrate to stuff like the scope-based rules? As in every service will be deprecating most/all of their rules and will spam the logs a lot at startup?22:24
cmurphyyep22:24
bnemecIck22:25
cmurphywhat if instead of addressing it directly we try to mitigate it by batching the warnings and emitting it as a single warning instead of one for each policy, and omitting the "As of the Stein release bla bla" explanation22:43
bnemecThat might make it easier to dedupe your logs.22:45
*** markvoelker has joined #openstack-keystone22:46
*** jamesmcarthur has joined #openstack-keystone22:48
*** tkajinam has joined #openstack-keystone22:56
*** markvoelker has quit IRC23:20
openstackgerritColleen Murphy proposed openstack/oslo.policy master: (WIP) Batch deprecation warnings  https://review.opendev.org/67471123:29
cmurphymaybe like that ^ it doesn't make it that much less noisy without also shrinking the reason but might make it possible to do filtering23:30

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!