Friday, 2017-03-17

*** aasthad has quit IRC00:02
*** ntpttr_ has quit IRC00:07
*** yazpik has joined #osic00:08
*** jlopezgu_ has quit IRC00:11
*** yazpik has quit IRC00:12
*** jrobinson has quit IRC00:27
*** csomerville has joined #osic00:35
*** cody-somerville has quit IRC00:35
*** john-davidge has joined #osic00:56
*** MasterOfBugs has quit IRC01:01
*** john-davidge has quit IRC01:01
*** jrobinson has joined #osic01:03
*** yazpik has joined #osic01:05
*** sayantani01 has quit IRC01:07
*** yazpik_ has joined #osic01:08
*** yazpik has quit IRC01:09
*** yazpik_ has quit IRC01:13
*** sayantani01 has joined #osic02:06
*** knangia has quit IRC02:11
*** cathrich_ has joined #osic02:47
*** cathrichardson has quit IRC02:47
*** john-davidge has joined #osic02:57
*** knangia has joined #osic03:00
*** john-davidge has quit IRC03:02
*** yazpik has joined #osic03:03
*** yazpik has quit IRC03:07
*** jrobinson has quit IRC03:08
*** john-davidge has joined #osic03:58
*** john-davidge has quit IRC04:02
*** alex_xu has quit IRC04:17
*** alex_xu has joined #osic04:23
*** sayantani01 has quit IRC04:52
*** cody-somerville has joined #osic04:54
*** csomerville has quit IRC04:54
*** sayantani01 has joined #osic04:54
*** csomerville has joined #osic04:58
*** cody-somerville has quit IRC04:58
*** yazpik has joined #osic05:08
*** csomerville has quit IRC05:12
*** yazpik has quit IRC05:12
*** yazpik has joined #osic05:48
*** rderose has quit IRC05:49
*** yazpik has quit IRC05:52
*** john-davidge has joined #osic05:59
*** john-davidge has quit IRC06:03
*** jascott1- is now known as jascott106:06
*** sayantan_ has joined #osic06:11
*** sayantani01 has quit IRC06:14
*** yazpik has joined #osic06:17
*** yazpik has quit IRC06:22
*** yazpik has joined #osic06:57
*** yazpik has quit IRC07:01
*** knangia has quit IRC07:11
*** sayantan_ has quit IRC07:15
*** JayF has quit IRC07:20
*** mrhillsman has quit IRC07:20
*** yazpik has joined #osic07:26
*** yazpik has quit IRC07:30
*** JayF has joined #osic07:33
*** mrhillsman has joined #osic07:33
*** john-davidge has joined #osic07:59
*** john-davidge has quit IRC08:04
*** yazpik has joined #osic08:06
*** yazpik has quit IRC08:10
*** yazpik has joined #osic08:55
*** yazpik has quit IRC08:59
*** john-davidge has joined #osic09:13
*** john-davidge has quit IRC10:37
*** john-dav_ has joined #osic10:37
*** john-dav_ has quit IRC10:54
*** john-davidge has joined #osic11:03
*** yazpik has joined #osic13:28
*** cathrichardson has joined #osic13:34
*** john-davidge has quit IRC13:36
*** cathrich_ has quit IRC13:36
*** john-davidge has joined #osic13:36
*** FrankZhang has joined #osic13:53
*** FrankZhang has quit IRC13:58
*** FrankZhang has joined #osic13:58
*** diltram has quit IRC14:05
*** diltram_ has joined #osic14:05
lbragstadaunnam I think I figured out why those tests are failing with oslo.policy14:26
lbragstadaunnam the tests rely on a method in the enforcer that loads the policy file - https://github.com/openstack/oslo.policy/blob/master/oslo_policy/policy.py#L331-L35514:27
lbragstadaunnam i think that method makes the assumption that it's suppose to get some sort of json/yaml to parse, which it doesn't, it gets a bunch of comments14:28
*** chris_hultin|AWA is now known as chris_hultin14:30
*** sayantani01 has joined #osic14:31
*** cathrichardson has quit IRC14:39
*** cathrichardson has joined #osic14:39
*** rderose has joined #osic14:46
*** raj_sing- is now known as raj_singh14:49
*** aasthad has joined #osic15:32
aunnamlbragstad, ya that's the problem as it is getting the file from _generate_sample method which generates a complete commented out file15:56
aunnamlbragstad, i had a fix for it15:56
aunnamlbragstad, let me paste the link for patches15:56
aunnamlbragstad, https://review.openstack.org/#/c/447034/ this is to fix tests15:57
lbragstadaunnam here is what i have - i just pushed what i had to do to get the tests to pass15:57
lbragstadhttps://review.openstack.org/#/c/447042/15:57
aunnamlbragstad,https://review.openstack.org/#/c/447034/15:57
aunnamlbragstad, https://review.openstack.org/#/c/447041/15:57
aunnamlbragstad, oh you had a fix for it too, i did it in a different way15:59
*** ntpttr_ has joined #osic16:01
*** chris_hultin is now known as chris_hultin|AWA16:07
*** knangia has joined #osic16:12
lbragstadaunnam yeah - i think mine is kind of a hack16:15
lbragstadaunnam i just wanted to see what was going on16:15
*** MasterOfBugs has joined #osic16:17
*** shananigans has quit IRC16:23
*** zz_pwnall1337 is now known as pwnall133716:25
lbragstadaunnam so - in your patch, the help text can either include the commented out operation or not16:26
lbragstadright?16:26
aunnamlbragstad, so if the include_help=True, it gets all the description, operations and rule as commented, otherwise it gets only the rule which is not commented16:29
lbragstadaunnam nice16:29
lbragstadaunnam that seems better than my hack16:29
lbragstadaunnam and by default it keeps the operation commented out16:30
aunnamlbragstad, yes16:30
lbragstadaunnam it's just that the tests use include_help = False in order to work, right?16:30
aunnamyes only the tests16:30
lbragstadsweet - i'm going to abandon my patch in favor of yours16:30
aunnamlbragstad, so you think that fix is ok? I tried different approaches and finally felt this fix is more reasonable16:32
lbragstadaunnam i think so - because the by default it will be commented out (which is the behavior we have with oslo.config when we generate sample configuration files)16:32
lbragstadaunnam i think your solution is better because it's also not modifying the main code path16:33
lbragstadwhich is here - https://review.openstack.org/#/c/447042/1/oslo_policy/policy.py16:33
lbragstadaunnam i think your approach is making the tests deal with the difference, instead of making the implementation deal with the tests16:34
aunnamlbragstad, cool, thanks for reviewing those patches16:34
lbragstadaunnam no problem - thanks for working on them16:35
aunnamlbragstad, :)16:35
lbragstadaunnam i'll see if i can get another oslo core to review them, it'd be nice to get them merged so we can propose a release of oslo.policy next week16:35
aunnamlbragstad, so with this change we have everything that we need for the policy spec16:35
aunnamlbragstad, FYI nova spec got approved16:36
lbragstadaunnam i think we also need https://review.openstack.org/#/c/443330/16:36
lbragstadaunnam sweet16:36
aunnamlbragstad, oh ya we need description support as well16:37
lbragstadaunnam antwash's patch works - i just had a couple minor comments on it16:38
lbragstadaunnam and i only had one comment here - https://review.openstack.org/#/c/447041/116:39
aunnamlbragstad nice16:39
*** chris_hultin|AWA is now known as chris_hultin17:35
*** csomerville has joined #osic17:36
*** chris_hultin is now known as chris_hultin|AWA17:38
*** csomerville has quit IRC17:47
*** chris_hultin|AWA is now known as chris_hultin17:51
*** shananigans has joined #osic17:53
kencjohnstono/18:13
kencjohnstonAnyone have thoughts on a way to get an automated list of the core reviewers we have within OSIC?18:13
kencjohnstonI can't seem to get gerrit to provide a list of core reviewers across all projects.18:13
*** john-davidge has quit IRC18:41
*** joanna is now known as joanna_lunch18:50
*** cody-somerville has joined #osic18:57
*** csomerville has joined #osic19:02
*** cody-somerville has quit IRC19:05
*** joanna_lunch is now known as joanna19:41
*** john-davidge has joined #osic19:41
*** john-davidge has quit IRC19:46
*** john-davidge has joined #osic20:34
*** chris_hultin is now known as chris_hultin|AWA20:36
*** csomerville has quit IRC20:50
*** csomerville has joined #osic20:50
*** john-davidge has quit IRC21:09
*** john-davidge has joined #osic21:11
*** alex_xu has quit IRC21:25
*** alex_xu has joined #osic21:28
*** cody-somerville has joined #osic21:49
*** csomerville has quit IRC21:51
*** yazpik has quit IRC22:24
*** yazpik has joined #osic22:25
*** yazpik has quit IRC22:30
*** aasthad has quit IRC22:52
*** john-dav_ has joined #osic22:55
*** john-davidge has quit IRC22:55
*** john-dav_ has quit IRC23:01
*** yazpik has joined #osic23:20
*** yazpik has quit IRC23:24

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