Thursday, 2016-07-28

dstanekadriant: actually in thnking about it i think you need to have a full set of test cases anyway and there isn't much to share with password auth00:02
dstanekconsider how the other auth plugins are tests00:02
dstanekit's possible that you can factor out the setup and use a shared set of tests that use different setup, but likely that's a later refactor00:03
dstanekheading to the gym now. i'll be back in about an hour00:03
*** david-lyle_ has joined #openstack-keystone00:28
*** dan_nguyen has quit IRC00:30
*** roxanaghe has quit IRC00:31
*** bigjools has quit IRC00:43
*** code-R has joined #openstack-keystone00:44
*** bigjools has joined #openstack-keystone00:44
adriantdstanek: The problem I'm having currently is that if PasswordTOTP isn't the default, my tests fail and there doesn't seem to be a way to tell the tests: "run this plugin instead"00:50
adriantPartly I assume because this issue here is that Password and PasswordTOTP both use the method_name 'password'00:51
adriantand I'm not sure if anyone has yet had a testing usecase where two plugins share the same method name00:52
*** adu has quit IRC00:59
*** tqtran has quit IRC00:59
adriantand now that my test run has finished...01:01
adriant1363 tests do something via the current password plugin01:02
adriantso by testing with my one as the default as well there are 1363 tests already that confirm my plugin works as a replacement for it should someone activate it on their deployment01:03
*** gyee has quit IRC01:03
adriantThat aside, I'm uploading the doc changes now and my separate bug fix patch seems to be passing Zuul. :)01:06
*** chlong has joined #openstack-keystone01:06
*** code-R_ has joined #openstack-keystone01:07
*** adu has joined #openstack-keystone01:09
*** code-R has quit IRC01:10
*** david-lyle_ has quit IRC01:14
*** mfisch has quit IRC01:17
openstackgerritAdrian Turjak proposed openstack/keystone: adding totp support to password auth plugin  https://review.openstack.org/34342201:22
*** davechen has joined #openstack-keystone01:26
*** shoutm has joined #openstack-keystone01:27
*** TxGVNN has joined #openstack-keystone01:29
davechenrodrigods: are you arond?01:30
*** roxanaghe has joined #openstack-keystone01:32
openstackgerritBilly Olsen proposed openstack/keystone: Maintain ordered list for KVS token persistence  https://review.openstack.org/34804001:32
adriantdstanek: just shifting computers, will be back soon. Newest patch is going through Zuul right now.01:34
*** adriant has quit IRC01:35
dstanekadriant: does it have failing tests?01:35
dstanekdavechen: i doubt it. it's late there01:35
*** roxanaghe has quit IRC01:36
*** mfisch has joined #openstack-keystone01:39
*** mfisch has quit IRC01:39
*** mfisch has joined #openstack-keystone01:39
davechendstanek: thanks you, nothing major just want to have a short disccuss with him01:39
*** dan_nguyen has joined #openstack-keystone01:41
*** woodster_ has quit IRC01:59
*** ddieterly has quit IRC01:59
*** adriant has joined #openstack-keystone02:00
*** dan_nguyen has quit IRC02:02
*** dan_nguyen has joined #openstack-keystone02:06
*** songjian has joined #openstack-keystone02:08
*** browne has quit IRC02:11
*** marekd2 has joined #openstack-keystone02:16
*** itisha has quit IRC02:20
*** marekd2 has quit IRC02:21
*** ravelar159 has joined #openstack-keystone02:22
*** songjian has quit IRC02:24
*** songjian has joined #openstack-keystone02:24
*** ayoung has quit IRC02:25
*** ubuntu__ has joined #openstack-keystone02:26
*** adu has quit IRC02:26
*** ayoung has joined #openstack-keystone02:27
*** ChanServ sets mode: +v ayoung02:27
*** ubuntu__ has quit IRC02:29
*** songjian has quit IRC02:29
*** ayoung has quit IRC02:32
*** roxanaghe has joined #openstack-keystone02:33
*** richm has quit IRC02:34
*** spandhe has joined #openstack-keystone02:35
*** gagehugo has joined #openstack-keystone02:35
*** ravelar159 has quit IRC02:35
*** ayoung has joined #openstack-keystone02:36
*** ChanServ sets mode: +v ayoung02:36
*** jaugustine has quit IRC02:36
*** roxanaghe has quit IRC02:37
*** dan_nguyen has quit IRC02:37
*** nk2527_ has quit IRC02:38
*** songjian has joined #openstack-keystone02:40
dstanekadriant: are you still having a problem getting the tests to pass?02:50
*** jrist has quit IRC02:55
*** agireud has quit IRC02:55
adriantYep02:56
adriantdstanek: is there a way to specify in the tests: "use this plugin"02:56
adriant?02:56
*** tqtran has joined #openstack-keystone02:57
dstanekadriant: yes, i have made a few changes to that review. mind if i just push them?02:58
*** agireud has joined #openstack-keystone02:58
adriantdstanek: based on the most recent patch? If so, then sure. :)02:59
dstanekadriant: yes02:59
dstanekon it's way02:59
openstackgerritDavid Stanek proposed openstack/keystone: adding totp support to password auth plugin  https://review.openstack.org/34342202:59
*** browne has joined #openstack-keystone03:00
*** adu has joined #openstack-keystone03:01
dstanekadriant: that will make it not the default and allow you to specify password_with_totp in your config to use the new plugin03:01
*** tqtran has quit IRC03:01
adriantdstanek: awesome, I had a feeling something like that would work03:02
adriantnow...03:02
adriantI could actually just extend the password auth test class03:02
adriantso my class uses those test cases, but with my config03:02
adriantsave me writing duplicate test cases03:03
adriantdstanek: as that's my main issue with this approach, I'm not getting the befit of tests running against the passwordtotp plugin assuming it is the password one03:04
adriantbenefit* of03:05
*** nk2527 has joined #openstack-keystone03:06
*** jaugustine has joined #openstack-keystone03:08
openstackgerritMerged openstack/keystone: Add schema validation to v2 create tenant  https://review.openstack.org/34659403:09
openstackgerritAdrian Turjak proposed openstack/keystone: TOTP auth not functional in python3  https://review.openstack.org/34808103:11
*** dikonoor has joined #openstack-keystone03:13
*** ayoung has quit IRC03:14
*** iurygregory has quit IRC03:15
*** iurygregory has joined #openstack-keystone03:15
*** sdake has joined #openstack-keystone03:15
*** tonytan4ever has joined #openstack-keystone03:17
*** dan_nguyen has joined #openstack-keystone03:22
*** sdake_ has joined #openstack-keystone03:25
*** sdake has quit IRC03:27
rderoseadriant: test still passes with the old code: return six.text_type(totp.generate(timeutils.utcnow_ts(microsecond=True)))03:36
adriantthe new test?03:37
adriantnot in python3...03:37
adriantat least not for me03:37
adriantrderose: ^03:37
rderoseah, right. let me try that03:38
adriantin python2 the old code is fine03:38
adriantthe issue is python3 specific03:38
rderosehow do I tell tox to run in python3?03:39
rderoseadriant^03:39
adrianttox -e py3403:39
adriantor03:39
adrianttox -e py3503:39
songjiantox -e py3403:40
adriantyou can also tell it to run specific tests03:40
adrianttox -e py34 -- '(TestAuthTOTP)'03:41
adriantthat will run just the test cases you care about in py3403:41
songjianhello,everybody.I have a question about keystoneclient and keystoneauth. I'm in the direction of the trove, want to replaced keystoneclient keystoneauth. But encountered in the execution of a mistake, whether is because, for help function parameter type updated?03:42
songjianThe original code: sc = ServiceCatalog factory ({' token ': None,03:42
songjian'serviceCatalog: service_catalog})03:42
songjianUrls = sc. Get_urls (service_type = service_type, region_name = endpoint_region,03:42
songjianEndpoint_type = endpoint_type).03:42
songjianChange the code: sc = ServiceCatalog ServiceCatalogV2 (03:42
songjian{' serviceCatalog: service_catalog})03:42
songjianUrls = sc. Get_urls (service_type = service_type,03:42
songjianRegion_name = endpoint_region,03:42
songjianInterface = endpoint_type)03:42
songjianTypeError: string indices must be integers, not str03:43
*** dan_nguyen has quit IRC03:45
*** david-lyle_ has joined #openstack-keystone03:45
*** sdake_ has quit IRC03:46
adriantrderose: any luck (or failure as the case should be :P)?03:46
*** sdake has joined #openstack-keystone03:46
rderoseadriant songjian: I hate when I ask stupid questions :)  I'm all looking in the ini file...  been a long day03:48
rderoseadriant: looks good, thx03:48
adriantrderose: It took me a while to get my head around tox. I still get very confused with it at times!03:49
*** bill_az has quit IRC03:49
dstanekadriant: agreed, but i don't see it as important as long as the test cases are covered and i think your patch gets most of them03:50
adriantdstanek: I've managed to pretty much cover the password tests by doing this:03:50
adriantclass TestAuthPasswordTOTP(test_v3.RestfulTestCase, TokenAPITests):03:50
adriantthe TokenAPITests check a bunch of the password stuff, so that works out quite well03:51
dstanekadriant: why tokenapitests?03:51
adriantIt seemed it contained the most password related tests, and it already extended for similar enough reasons by the other test classes03:51
adriantit is already extended*03:52
adriantThere aren't any, "password auth" tests that I can see, but that class has tests which pretty much cover them it seems. :)03:53
songjianI am so sorry03:53
*** songjian has left #openstack-keystone03:53
*** david-lyle_ is now known as david-lyle03:54
dstanekadriant: i'll have to take acloser look at that later then03:56
adriantdstanek: new patch up updated docs will be up by then :)03:56
*** julim has quit IRC03:59
*** bill_az has joined #openstack-keystone04:01
*** julim has joined #openstack-keystone04:02
*** julim has quit IRC04:02
*** links has joined #openstack-keystone04:03
*** david-lyle has quit IRC04:07
*** david-lyle has joined #openstack-keystone04:11
openstackgerritDavid Stanek proposed openstack/keystone: Adds test for SecurityError's translation behavior  https://review.openstack.org/34808504:16
openstackgerritDavid Stanek proposed openstack/keystone: Adds a custom deepcopy handler  https://review.openstack.org/34808604:16
dstanekrderose: ^04:16
*** spandhe has quit IRC04:20
*** spandhe_ has joined #openstack-keystone04:20
*** dan_nguyen has joined #openstack-keystone04:23
openstackgerritDave Chen proposed openstack/keystone: Add the missing testcases for `name` and `enabled`  https://review.openstack.org/34811504:31
openstackgerritDave Chen proposed openstack/keystone: No need the redundant validation in manager level  https://review.openstack.org/34811604:31
*** adu has quit IRC04:32
stevemarsorrison: merged https://review.openstack.org/#/c/347975/ let us know how it goes04:36
patchbotstevemar: patch 347975 - keystone (stable/mitaka) - Change LocalUser sql model to eager loading (MERGED)04:36
stevemardavechen: nice clean up patches :)04:36
openstackgerritDave Chen proposed openstack/keystone: No need the redundant validation in manager level  https://review.openstack.org/34811604:36
davechenstevemar: ha, you are still up :)04:39
stevemardavechen: oh, just for a few minutes04:39
davechenstevemar: btw, i am not object to this one now - https://review.openstack.org/34709704:40
davechenstevemar: just thought there are not much value with it, and we need follow up reviews to clean all of them if we merge one.04:41
davechenstevemar: have a good night, sir. I am gonna leave for an while for lunch (on the bed) :)04:43
*** davechen is now known as davechen_afk04:44
*** bill_az has quit IRC04:44
stevemardavechen_afk: have a good lunch04:45
rderosedstanek: sweet!04:45
stevemarrderose: quit lying already04:45
rderosestevemar: huh?04:45
stevemarrderose (reference to the card game)04:46
rderosestevemar: I don't like, that's why I sucked at the resistance game.  you on the other hand...04:46
rderose*I don't lie04:46
stevemarmaybe you are lying about lying04:46
stevemar>.>04:46
stevemar<.<04:46
rderosestevemar: I'm not that smart :)04:47
stevemarhey thats my line!04:47
rderosehaha04:50
openstackgerritAdrian Turjak proposed openstack/keystone: adding combined password and totp auth plugin  https://review.openstack.org/34342204:51
*** tqtran has joined #openstack-keystone04:59
*** dikonoor has quit IRC05:00
*** jrist has joined #openstack-keystone05:03
*** tqtran has quit IRC05:04
*** dan_nguyen has quit IRC05:07
*** davechen_afk has quit IRC05:08
*** code-R_ has quit IRC05:14
*** adriant has quit IRC05:32
*** shoutm has quit IRC05:34
*** shoutm has joined #openstack-keystone05:35
*** shoutm has quit IRC05:45
*** shoutm has joined #openstack-keystone05:51
*** david-lyle has quit IRC06:02
*** spandhe_ has quit IRC06:07
*** spandhe has joined #openstack-keystone06:07
openstackgerritSwapnil Kulkarni (coolsvap) proposed openstack/keystone: [WIP] Testing latest u-c  https://review.openstack.org/31843506:10
*** roxanaghe has joined #openstack-keystone06:12
*** code-R has joined #openstack-keystone06:12
*** roxanaghe has quit IRC06:16
*** pcaruana has joined #openstack-keystone06:17
*** code-R_ has joined #openstack-keystone06:29
*** code-R has quit IRC06:33
*** tonytan4ever has quit IRC06:38
*** tesseract- has joined #openstack-keystone06:42
*** sdake has quit IRC06:42
*** code-R has joined #openstack-keystone06:43
*** code-R_ has quit IRC06:44
*** shoutm_ has joined #openstack-keystone06:47
*** shoutm has quit IRC06:47
*** songjian has joined #openstack-keystone06:47
*** spandhe has quit IRC06:48
*** songjian has left #openstack-keystone06:48
*** shoutm_ has quit IRC07:05
*** shoutm has joined #openstack-keystone07:05
*** roxanaghe has joined #openstack-keystone07:13
*** permalac has joined #openstack-keystone07:13
*** davechen has joined #openstack-keystone07:13
*** roxanaghe has quit IRC07:17
*** pnavarro has joined #openstack-keystone07:17
*** agireud has quit IRC07:17
*** danpawlik has joined #openstack-keystone07:25
*** agireud has joined #openstack-keystone07:26
*** tonytan4ever has joined #openstack-keystone07:29
*** pece has joined #openstack-keystone07:29
*** marekd2 has joined #openstack-keystone07:36
*** chlong has quit IRC07:47
*** zzzeek has quit IRC08:00
*** zzzeek has joined #openstack-keystone08:00
*** code-R has quit IRC08:06
*** browne has quit IRC08:06
*** aastha has quit IRC08:09
*** permalac has quit IRC08:26
*** permalac has joined #openstack-keystone08:26
*** tonytan4ever has quit IRC08:51
openstackgerritwangxiyuan proposed openstack/keystoneauth: Fix the doc error in "using-session"  https://review.openstack.org/34817608:52
openstackgerritBoris Bobrov proposed openstack/keystone: Test number of queries on list_users  https://review.openstack.org/34796708:53
*** nishaYadav has joined #openstack-keystone08:54
marekd2breton: hi! :-)08:56
marekd2regarding https://review.openstack.org/347967 - what factor makes you think the number of calls should be sublinear? caching ?08:57
*** roxanaghe has joined #openstack-keystone09:00
*** daemontool has joined #openstack-keystone09:03
*** roxanaghe has quit IRC09:04
*** permalac has quit IRC09:25
*** shoutm has quit IRC09:35
*** brancaleone has quit IRC09:35
*** shoutm has joined #openstack-keystone09:38
bretonmarekd2: type of calls10:16
marekd2breton: you mean?10:16
bretonmarekd2: 1 min10:16
marekd2breton: sure.10:16
bretonmarekd2: https://bugs.launchpad.net/bugs/1606426 here we had an issue that for each user a call to db was made10:17
openstackLaunchpad bug 1606426 in OpenStack Identity (keystone) mitaka "user list is much slower in mitaka and newton" [Critical,Fix committed] - Assigned to Ron De Rose (ronald-de-rose)10:17
marekd2yeah, i read it10:17
bretonmarekd2: we fixed it by eagerly loading passwords10:18
bretonmarekd2: before it made 1 db query for 1 password10:18
bretonmarekd2: after the fix it made 1 db query to fetch all passwords10:18
marekd2breton: and match passwors w/ users in-memory10:18
marekd2?10:18
bretonmarekd2: before fetching users was made in O(N) time. Now in O(1).10:19
bretonmarekd2: sqlalchemy does it10:19
bretonmarekd2: probably it does it in-memory10:19
marekd2O(n) vs O(1) in terms of separate SQL calls ... ?10:19
marekd2i still think it needs to process each users query :-)10:19
bretonmarekd2: yes, in terms of SQL calls.10:19
marekd2breton: so it does one SELECT statement for users and somehow same thing for passwords and joins them in memeory instead of one SQL query for users and  n queries for passwords?10:20
bretonmarekd2: now it works this way.10:21
bretonmarekd2: https://review.openstack.org/#/c/347972/ here it should work in 1 query10:21
patchbotbreton: patch 347972 - keystone - Make fetching all foreign keys in a join10:21
*** hwcomcn has joined #openstack-keystone10:21
bretonmarekd2: it == fetching everything -- local users, passwords, non-local users etc.10:22
bretonmarekd2: but it fails tests for a reason10:22
marekd2breton: yeah, but apart from dsvm tests it's neutron test so looks like 'not related'.10:24
bretonmarekd2: nope, it looks related. Because something about passwords fail.10:25
bretonmarekd2: and we change the way passwords are fetched10:25
bretonmarekd2:  but i have not investigated it at all :(10:26
*** brancaleone has joined #openstack-keystone10:26
marekd2breton: so the gerrit tests are failing while unit tests are fine...10:28
*** davechen has left #openstack-keystone10:30
openstackgerritAlexander Makarov proposed openstack/keystone: Unified delegation trust driver  https://review.openstack.org/29187110:41
*** roxanaghe has joined #openstack-keystone10:48
*** roxanaghe has quit IRC10:53
*** brancaleone has quit IRC11:10
*** GB21 has quit IRC11:18
*** tonytan4ever has joined #openstack-keystone11:53
*** chlong has joined #openstack-keystone11:55
*** hoonetorg has quit IRC11:56
*** tonytan4ever has quit IRC11:57
*** hoonetorg has joined #openstack-keystone12:27
*** hwcomcn has quit IRC12:31
*** dave-mccowan has joined #openstack-keystone12:35
*** roxanaghe has joined #openstack-keystone12:36
*** links has quit IRC12:40
*** roxanaghe has quit IRC12:41
*** julim has joined #openstack-keystone12:43
*** gordc has joined #openstack-keystone12:46
*** pauloewerton has joined #openstack-keystone12:49
*** nishaYadav has quit IRC12:51
*** nishaYadav has joined #openstack-keystone12:52
*** nishaYadav is now known as Guest1852612:52
*** woodster_ has joined #openstack-keystone12:55
*** jsavak has joined #openstack-keystone12:56
*** tqtran has joined #openstack-keystone13:02
*** edmondsw has joined #openstack-keystone13:07
*** tqtran has quit IRC13:07
*** edmondsw has quit IRC13:08
*** Guest18526 is now known as nishaYadav13:12
*** richm has joined #openstack-keystone13:13
*** edmondsw has joined #openstack-keystone13:14
openstackgerritNisha Yadav proposed openstack/python-keystoneclient: Add region functional tests  https://review.openstack.org/33915813:16
openstackgerritBoris Bobrov proposed openstack/keystone: Fix cache invalidation  https://review.openstack.org/32788513:19
*** daemontool has quit IRC13:21
*** bill_az has joined #openstack-keystone13:21
openstackgerritBoris Bobrov proposed openstack/keystone: Fix cache invalidation  https://review.openstack.org/32788513:22
openstackgerritMerged openstack/keystone: Add the missing testcases for `name` and `enabled`  https://review.openstack.org/34811513:23
*** markvoelker has joined #openstack-keystone13:30
*** markvoelker has quit IRC13:34
*** sdake has joined #openstack-keystone13:36
openstackgerritMerged openstack/keystone: No need the redundant validation in manager level  https://review.openstack.org/34811613:37
openstackgerritMerged openstack/python-keystoneclient: Improve implied-role functional tests  https://review.openstack.org/34161213:39
*** code-R has joined #openstack-keystone13:41
*** code-R_ has joined #openstack-keystone13:42
*** ayoung has joined #openstack-keystone13:43
*** ChanServ sets mode: +v ayoung13:43
*** code-R has quit IRC13:45
*** itisha has joined #openstack-keystone13:46
*** tonytan4ever has joined #openstack-keystone13:52
*** samueldmq has joined #openstack-keystone13:57
*** ChanServ sets mode: +v samueldmq13:57
*** pnavarro has quit IRC13:57
*** ddieterly has joined #openstack-keystone13:58
samueldmqmorning13:58
openstackgerritBoris Bobrov proposed openstack/keystone: Test number of queries on list_users  https://review.openstack.org/34796714:02
*** code-R_ has quit IRC14:03
*** code-R has joined #openstack-keystone14:04
openstackgerritNisha Yadav proposed openstack/python-keystoneclient: Improve docs for v3 endpoints  https://review.openstack.org/33946814:07
*** code-R_ has joined #openstack-keystone14:10
*** gagehugo_ has joined #openstack-keystone14:11
lbragstadmorning14:12
*** code-R has quit IRC14:13
rderoselbragstad: good morning!14:14
openstackgerritMerged openstack/keystoneauth: Fix the doc error in "using-session"  https://review.openstack.org/34817614:15
lbragstadrderose i just cracked https://review.openstack.org/#/c/333360 open14:16
patchbotlbragstad: patch 333360 - keystone - PCI-DSS Password expires validation14:16
lbragstadI have a good feeling about landing a PCI patch today14:18
rderoselbragstad: that's a good feeling to have :)14:18
lbragstadI hope so!14:18
stevemarlbragstad: what should i be reviewing for pci?14:19
lbragstadstevemar rderose has at least three that are getting real close14:19
lbragstadstevemar i'm going to start with https://review.openstack.org/#/c/33336014:19
patchbotlbragstad: patch 333360 - keystone - PCI-DSS Password expires validation14:19
stevemarlbragstad: i just proposed new releases for our libs and did the post midcycle recap and mailing list blast14:19
lbragstadthen move to https://review.openstack.org/#/c/328339/14:19
patchbotlbragstad: patch 328339 - keystone - PCI-DSS Password history requirements14:19
stevemarlbragstad: i've got time now for pci :O14:19
lbragstadand and finish up with - https://review.openstack.org/#/c/340074/14:20
patchbotlbragstad: patch 340074 - keystone - PCI-DSS Lockout requirements14:20
stevemarlbragstad: https://review.openstack.org/#/c/343314/ already has a +2 :O14:20
patchbotstevemar: patch 343314 - keystone - PCI-DSS Minimum password age requirements14:20
openstackgerritRon De Rose proposed openstack/keystone: PCI-DSS Password history requirements  https://review.openstack.org/32833914:20
lbragstadstevemar then that one is on my list to get through today too14:21
*** roxanaghe has joined #openstack-keystone14:22
openstackgerritMerged openstack/keystone: Invalid tls_req_cert constant as default  https://review.openstack.org/34752314:23
rderosestevemar lbragstad: because the patches are independent, it's likely that when one gets merged it will cause a merge conflict for the remaining patches14:23
rderosestevemar lbragstad: I'll fix those promptly though14:23
rderosestevemar lbragstad: anyway, just a heads up14:24
lbragstadrderose that sounds good14:24
lbragstadhopefully they are trivial14:24
rderoselbragstad: yeah should be14:25
*** roxanaghe has quit IRC14:27
*** jistr is now known as jistr|call14:35
dstaneklbragstad: that's a good call on the docs. i was thinking of moving some of the text to __deepcopy__, but never did14:36
henrynashstevemar: do you think we still need the separate extensions repos that are in contrib for federation/endpoint filter....they just raise an exception if you call them - if not, we could remove all the db_sync extension support - making the rolling upgrade code cleaner14:38
lbragstaddstanek your explanation in the tests helped me a lot14:39
lbragstaddstanek thanks for adding it14:39
*** shoutm has quit IRC14:41
dstaneki aim to please :-)14:42
*** clenimar has joined #openstack-keystone14:42
*** spandhe has joined #openstack-keystone14:43
*** spandhe_ has joined #openstack-keystone14:45
*** spandhe has quit IRC14:47
*** spandhe_ is now known as spandhe14:47
*** jistr|call is now known as jistr14:49
*** nkinder has joined #openstack-keystone14:49
dstaneklbragstad: i am thinking of just transporting that test docstring over to the exception module. do you think that's too much?14:51
lbragstaddstanek not at all14:51
lbragstaddstanek it's probably more discoverable in the exception module than it is in the tests14:52
dstaneklbragstad: yes, that's true14:52
dstanekthx14:52
lbragstadyep14:52
lbragstaddstanek i have both those patches on my review queue today so that we can merge them for the pci stuff14:53
dstaneklbragstad: updating now so that we can get this rolling :-)14:53
*** timcline has joined #openstack-keystone14:55
openstackgerritBilly Olsen proposed openstack/keystone: Maintain ordered list for KVS token persistence  https://review.openstack.org/34804014:57
*** timcline_ has joined #openstack-keystone14:57
*** EinstCra_ has joined #openstack-keystone14:57
*** timcline has quit IRC15:00
*** KevinE has joined #openstack-keystone15:04
*** KevinE has quit IRC15:05
*** KevinE has joined #openstack-keystone15:05
*** EinstCra_ has quit IRC15:06
*** EinstCrazy has joined #openstack-keystone15:06
openstackgerritNisha Yadav proposed openstack/python-keystoneclient: Add endpoint functional tests  https://review.openstack.org/34041815:07
*** EinstCrazy has quit IRC15:12
openstackgerritMerged openstack/keystoneauth: Use assertEqual() instead of assertDictEqual()  https://review.openstack.org/34674315:16
*** dan_nguyen has joined #openstack-keystone15:16
*** openstackgerrit has quit IRC15:18
*** openstackgerrit has joined #openstack-keystone15:18
openstackgerritDavid Stanek proposed openstack/keystone: Adds a custom deepcopy handler  https://review.openstack.org/34808615:19
dstanekdolphm: since nobody can reproduce that critical bug does it make sense to downgrade its severity?15:20
*** pcaruana has quit IRC15:22
dolphmdstanek: i don't think so - if it IS reproducible, it'd still be a critical15:29
*** browne has joined #openstack-keystone15:29
dstanekdolphm: when do we make that call or do we just have to wait out the 90 days with that on top?15:29
dolphmdstanek: it's sort of a trifecta of an upgrade blocker, affects a critical use case of keystone, and happens to result in massive data loss15:29
dolphmdstanek: i'd say leave our $.02 in the commetns and wait out the 90 days15:30
dolphmdstanek: letting it hang there as a critical might encourage someone else to try to repro, and maybe they'll figure it out?15:31
dstanekdolphm: sounds good. i think i need an ignore feature on os-trello15:31
*** ddieterly is now known as ddieterly[away]15:35
*** roxanaghe has joined #openstack-keystone15:38
*** ddieterly[away] is now known as ddieterly15:40
*** jistr is now known as jistr|afk15:42
*** roxanaghe has quit IRC15:42
openstackgerritDolph Mathews proposed openstack/keystone: Add token feature support matrix to documentation  https://review.openstack.org/31611815:44
*** woodster_ has quit IRC15:49
stevemarhenrynash: i think they are being removed in O?15:53
openstackgerritRon De Rose proposed openstack/keystone: PCI-DSS Password expires validation  https://review.openstack.org/33336015:53
*** KevinE has quit IRC15:54
*** timcline_ has quit IRC15:54
*** comstud has quit IRC15:55
*** arunkant_ has joined #openstack-keystone15:55
*** browne has quit IRC15:56
*** pece has quit IRC15:58
openstackgerritRon De Rose proposed openstack/keystone: PCI-DSS Password history requirements  https://review.openstack.org/32833915:59
*** gagehugo_ has quit IRC16:03
*** david-lyle has joined #openstack-keystone16:07
*** code-R_ has quit IRC16:07
*** GB21 has joined #openstack-keystone16:12
*** marekd2 has quit IRC16:16
*** marekd2 has joined #openstack-keystone16:17
stevemarhenrynash: we did it at the same time we did https://github.com/openstack/keystone/blob/master/keystone/contrib/oauth1/routers.py#L29-L3216:17
stevemarhenrynash: i suppose we could remove the migrations in N and the entry points in O?16:17
*** code-R has joined #openstack-keystone16:18
openstackgerritMerged openstack/python-keystoneclient: Add project functional tests  https://review.openstack.org/33287116:19
*** woodster_ has joined #openstack-keystone16:20
*** brancaleone has joined #openstack-keystone16:20
openstackgerritRon De Rose proposed openstack/python-keystoneclient: Removing old-new password matches validation from keystoneclient  https://review.openstack.org/34846416:20
*** adu has joined #openstack-keystone16:21
*** ddieterly is now known as ddieterly[away]16:21
*** aastha has joined #openstack-keystone16:21
*** marekd2 has quit IRC16:21
*** avvdemarchis has joined #openstack-keystone16:24
*** ddieterly[away] is now known as ddieterly16:26
stevemargagehugo: lamt_ jaugustine poke, i meant to share this earlier, dolphm kindly whipped up a performance doc: http://docs.openstack.org/developer/keystone/performance.html16:26
stevemarrderose: regarding https://bugs.launchpad.net/python-keystoneclient/+bug/1607436 -- what if someone doesn't have pci enabled :O16:27
openstackLaunchpad bug 1607436 in python-keystoneclient "Remove password validation logic from client" [Undecided,In progress] - Assigned to Ron De Rose (ronald-de-rose)16:27
*** jistr|afk is now known as jistr16:30
*** tesseract- has quit IRC16:32
*** browne has joined #openstack-keystone16:34
*** ninag has joined #openstack-keystone16:39
henrynashstevemar: (on migrations) - I don't see how any of the keystone-manage extension migrations commands are of any use for N, since all they would do is raise an error (e.g. MigrationMovedFailure: The oauth1 extension has been moved into keystone core and as such its migrations are maintained by the main keystone database control. Use the command: keystone-manage db_sync )16:39
henrynashstevemar: so I think we might as well strip not try any of those, and just return a default error if somehine trues to sue the --extension option to db_sync16:40
*** KevinE has joined #openstack-keystone16:41
henrynash(that was good english....I mean strip out all the underly support in, for example, migration_helpers.py and the extension repos themselves16:41
*** ninag has quit IRC16:43
*** gyee has joined #openstack-keystone16:43
*** ChanServ sets mode: +v gyee16:43
*** TxGVNN has quit IRC16:44
*** timcline has joined #openstack-keystone16:45
rderosestevemar: I'd argue that if the business logic belongs in the client, then it probably belongs in keystone16:45
rderosestevemar: shouldn't be duplicated in keystoneclient16:45
lamt_stevemar: thanks, and dolphm, thanks for the performance doc16:46
henrynashrderose: this goes to the point I raised on the server code...what happens if they update the user passing in the current password again...I do  think we should spot that and not treat this as a "new" password16:47
henrynashrderose: in the server16:47
*** gyee has quit IRC16:48
*** jsavak has quit IRC16:48
*** jsavak has joined #openstack-keystone16:49
rderosestevemar: PCI or not, the validation belongs in keystone; not keystoneclient16:49
*** nishaYadav has quit IRC16:50
*** nishaYadav has joined #openstack-keystone16:51
rderosehenrynash: yeah, if they are passing in their password and calling update user, it's a password update according to the API16:51
*** nishaYadav has quit IRC16:52
rderosehenrynash: but I see you point.  I just don't want to assume that is what the user intended.16:52
rderosehenrynash: what is they were actually trying to do a password update, for example.16:53
rderosehenrynash: I want to give them the appropriate error message in that case16:53
henrynashrderose: I must admit, until I knew keystoneclient generated an error, I would have expected such a cmd to be silient....but I can see the argument as you why chaneging the password attribute is different than any other16:55
rderosestevemar: And the validation should be handled in keystone regardless of the version.  If v2 keystone doesn't have this check, then either it's a bug or expected behavior.16:55
dstaneki think v2 is a bug16:57
*** pnavarro has joined #openstack-keystone16:58
rderosedstanek: ++16:58
rderose:)16:58
*** ddieterly is now known as ddieterly[away]17:01
dstanekoh, did i say that outloud?17:02
*** david-lyle has quit IRC17:03
*** ddieterly[away] is now known as ddieterly17:06
*** roxanaghe has joined #openstack-keystone17:06
*** pnavarro has quit IRC17:12
*** jsavak has quit IRC17:14
*** pnavarro has joined #openstack-keystone17:17
*** ddieterly is now known as ddieterly[away]17:18
*** jsavak has joined #openstack-keystone17:20
lbragstadok - i have to step away to grab some lunch17:25
*** Gorian_ has joined #openstack-keystone17:25
lbragstadbrb17:25
*** roxanagh_ has joined #openstack-keystone17:26
*** david-lyle has joined #openstack-keystone17:28
*** roxanagh_ has quit IRC17:31
*** nishaYadav has joined #openstack-keystone17:32
*** nishaYadav is now known as Guest1267617:32
*** Guest12676 has quit IRC17:32
*** nisha_ has joined #openstack-keystone17:33
*** tqtran has joined #openstack-keystone17:33
*** nisha_ has quit IRC17:33
*** tqtran has quit IRC17:38
*** adu has quit IRC17:38
*** nishaYadav has joined #openstack-keystone17:51
*** nishaYadav is now known as Guest6831417:51
dstanek i think it may be lunch time for me too17:52
*** gagehugo_ has joined #openstack-keystone17:52
*** Guest68314 has quit IRC17:52
*** nisha_ has joined #openstack-keystone17:52
*** raildo has joined #openstack-keystone17:53
jaugustinelamt17:55
jaugustinewhoops :)17:56
gagehugostevemar dolphm: sweet17:56
jaugustineThanks Steve! Will take a look17:56
jaugustine(And thanks dolphm ;) )17:56
dolphmjaugustine: of course!17:57
*** gagehugo_ has quit IRC17:57
harlowjaqq, trying to remember the history here18:07
harlowjawhy does keystone have an admin and public endpoint?18:07
harlowjavs say using policy to do this18:07
harlowjawas just talking internally with a coworker and couldn't really remember, ha18:07
bknudsonv2 had no policy18:07
harlowjathat would do it :-P18:08
dstanekharlowja: v3 only needs a single endpoint now18:08
harlowjacool beans18:09
openstackgerritNisha Yadav proposed openstack/python-keystoneclient: Improve docs for v3 roles  https://review.openstack.org/33454618:10
openstackgerritNisha Yadav proposed openstack/python-keystoneclient: Add role functional tests  https://review.openstack.org/33511818:10
*** ddieterly[away] has quit IRC18:18
*** tqtran has joined #openstack-keystone18:19
stevemarhenrynash: i'm not unopposed to returning a default "you done messed up!" if --extension is used with db_sync18:23
stevemarthat basically serves the same purpose and should allow you to rip the extensions out18:23
stevemarhenrynash: want me to do it?18:23
*** nkinder has quit IRC18:24
*** ayoung has quit IRC18:24
*** ddieterly has joined #openstack-keystone18:25
*** spandhe has quit IRC18:30
openstackgerritMerged openstack/python-keystoneclient: Add region functional tests  https://review.openstack.org/33915818:30
openstackgerritNisha Yadav proposed openstack/python-keystoneclient: Improve docs for v3 credentials  https://review.openstack.org/34850618:33
nisha_samueldmq, ^18:33
*** catintheroof has joined #openstack-keystone18:34
*** GB21 has quit IRC18:37
bretoni thought we discussed deprecating v2 in Tokyo18:38
*** tonytan4ever has quit IRC18:38
bretonat least non-auth API18:38
openstackgerritMerged openstack/python-keystoneclient: Improve docs for v3 endpoints  https://review.openstack.org/33946818:38
bretonwhy we haven't done it?18:38
*** roxanagh_ has joined #openstack-keystone18:42
*** david-lyle has quit IRC18:42
*** gagehugo_ has joined #openstack-keystone18:43
dstanekbreton: i think we were waiting for all openstack projects to be off v2 and i don't think that has entirely happened yet18:45
bretonbut maybe we should start emitting deprecation warnings18:46
*** roxanagh_ has quit IRC18:46
bretonand they will have to move18:46
dstanekbreton: i did that a while ago. not sure if we can put it back18:48
*** ddieterly is now known as ddieterly[away]18:53
*** ddieterly[away] is now known as ddieterly18:59
openstackgerritSteve Martinelli proposed openstack/keystone: remove contrib migrations  https://review.openstack.org/34851519:00
dstanekstevemar: woot!19:02
*** ddieterly is now known as ddieterly[away]19:02
stevemardstanek: i do good? yay \o/19:02
*** fifieldt has quit IRC19:02
dstanekstevemar: you deserve a scooby snack19:03
*** jsavak has quit IRC19:07
*** jsavak has joined #openstack-keystone19:08
openstackgerrithenry-nash proposed openstack/keystone: Remove the extensions repos  https://review.openstack.org/34852119:15
henrynashstevemar: bugger...we just dud the same patch!19:17
henrynash(did)19:17
*** fifieldt has joined #openstack-keystone19:18
openstackgerritBrian Haley proposed openstack/keystoneauth: Fix arguments to _auth_required()  https://review.openstack.org/34852319:19
*** gagehugo has left #openstack-keystone19:19
*** avvdemarchis has quit IRC19:20
*** gagehugo_ has quit IRC19:20
*** gagehugo_ has joined #openstack-keystone19:20
henrynashstevemar: somehow I managed to delete more lines than you!19:21
lbragstadsamueldmq do we have a bug open for the revocation event issues?19:22
lbragstadspecifically the caching stuff with revocation events?19:22
stevemarhenrynash: hehe19:24
stevemarhenrynash: i waaaas 15 minutes sooner :P19:24
stevemarhenrynash: ah nice19:26
stevemarhenrynash: abandoned mine, yours looks nicer19:27
*** fifieldt has quit IRC19:27
*** tonytan4ever has joined #openstack-keystone19:30
*** ddieterly[away] is now known as ddieterly19:31
*** brancal has joined #openstack-keystone19:34
*** brancaleone has quit IRC19:36
*** fifieldt has joined #openstack-keystone19:37
*** mvk has quit IRC19:40
*** woodster_ has quit IRC19:49
*** jsavak has quit IRC19:54
dstanekstevemar: henrynash: plus deleting more lines is more better19:56
openstackgerritGage Hugo proposed openstack/keystone: Add schema validation to create user v2  https://review.openstack.org/34853119:56
gagehugo_^ gonna break up create and update with the user v2 schema validation19:57
*** jsavak has joined #openstack-keystone19:58
*** roxanagh_ has joined #openstack-keystone20:12
*** ddieterly is now known as ddieterly[away]20:13
*** adu has joined #openstack-keystone20:14
*** roxanagh_ has quit IRC20:18
*** KevinE has quit IRC20:20
*** gyee has joined #openstack-keystone20:21
*** ChanServ sets mode: +v gyee20:21
*** timcline has quit IRC20:23
*** pnavarro has quit IRC20:26
*** brancal has quit IRC20:27
*** pnavarro has joined #openstack-keystone20:29
dstanekrderose: so with minimum password age a user can't change their password if there is a compromise right? they would have to call their cloud provider?20:36
rderosedstanek: correct, and an admin could do a password reset20:38
dstanekrderose: i think we need to loudly call that our in the release notes since that is an important new thing to know20:39
*** ddieterly[away] has quit IRC20:40
samueldmqlbragstad: hmm, not sure20:44
rderosedstanek: hmm... it sounds like you find this troubling, but this seems like a standard way to prevent users from clearing out their password history.20:44
lbragstadsamueldmq I have a devstack stood up and I'm seeing some weird stuff with fernet20:44
dstanekrderose: no troubling, but we do need to call it out.20:45
samueldmqlbragstad: if we do, it would be nice to make it more specific by saying the issue we've found is with cache20:45
lbragstadsamueldmq it seems in line with what you were saying with the revocation stuff20:45
samueldmqlbragstad: what type of weirdness ?20:45
samueldmqlbragstad: hmm, nic20:45
samueldmqnice20:45
rderosedstanek: okay20:45
openstackgerrithenry-nash proposed openstack/keystone: Remove the extensions repos  https://review.openstack.org/34852120:46
lbragstadsamueldmq for example - this test is one of the ones failing when fernet is enabled - https://github.com/openstack/tempest/blob/5ba5d648f613822f5fe39bccece72f5f74103113/tempest/api/identity/admin/v3/test_tokens.py#L27-L5020:46
rderosedstanek: but I kind of find this troubling or not to my liking; wondering if I can come up with something more sophisticated here.20:46
rderosedstanek: I guess, it's only a problem if you account is compromised before the min password age20:47
dstanekrderose: what does AD do here?20:47
lbragstadsamueldmq this line is failing because keystone is returning a valid token response instead of a HTTP NotFound exception - https://github.com/openstack/tempest/blob/5ba5d648f613822f5fe39bccece72f5f74103113/tempest/api/identity/admin/v3/test_tokens.py#L4920:47
rderosedstanek: AD does min password age I believe20:47
rderosedstanek: but the strange thing is, I just tried to change my Intel password several times and it let me20:48
dstanekrderose: it sounds like it's available, but rarely used https://technet.microsoft.com/en-us/library/cc779758(v=ws.10).aspx20:48
rderosedstanek: I wasn't able to reuse a password in my history, but it let me change it20:48
openstackgerritNisha Yadav proposed openstack/python-keystoneclient: Improve docs for v3 credentials  https://review.openstack.org/34850620:49
*** woodster_ has joined #openstack-keystone20:49
samueldmqlbragstad: locally in your devstack?20:49
rderosedstanek: hmm... then how are they enforcing password history20:49
rderosedstanek: maybe password history is set at a high number or something20:49
dstaneknot sure. sounds like we need to invoke the advice of an SME?20:50
lbragstadsamueldmq yep20:50
rderosedstanek: yeah20:51
dstanekrderose: you have to be more harsh in your reviews!20:52
lbragstadsamueldmq the interesting part is that if i turn off caching for revocation events, it will still be transient20:52
rderosedstanek: why do you say that?20:52
samueldmqlbragstad: so it still happens with turning cache off ?20:53
samueldmqlbragstad: can you try applying that patch that removes the cache for revoke ?20:53
samueldmqlbragstad: and see if it works?20:53
lbragstadsamueldmq actually, that was a lie... if I turn revocation event caching off the test passes for fernet20:54
lbragstadso - that's good20:54
samueldmqlbragstad: don't lie :/20:55
samueldmqlbragstad: hehe, nice, good to know it works :)20:55
lbragstadthere must have been a rogue apache process still running when I did the first test that had caching enabled because it failed20:56
lbragstadI was able to repeatedly run it after that and it worked20:56
samueldmqlbragstad: and it's actually very nice we got to reproduce something locally20:56
dstaneklbragstad: how sold are you on the doc changes in https://review.openstack.org/#/c/348085/2/keystone/tests/unit/test_exception.py20:56
patchbotdstanek: patch 348085 - keystone - Adds test for SecurityError's translation behavior20:56
dstaneklbragstad: i'd rather address them in the follow up since i rewrote that quite a bit20:56
*** jamielennox|away is now known as jamielennox20:57
samueldmqlbragstad: going afk for a bit,back later20:58
lbragstadsamueldmq ok20:58
lbragstaddstanek sure that works20:58
lbragstaddstanek I'd be fine to address them in a separate patch since rderose is waiting on those changes20:58
openstackgerritDavid Stanek proposed openstack/keystone: Adds a custom deepcopy handler  https://review.openstack.org/34808620:58
dstaneklbragstad: already addressed it in the existing follow up patch ^20:59
*** samueldmq has quit IRC20:59
lbragstaddstanek awesome - thanks!21:00
lbragstaddstanek i +A'd the first and +2'd the second21:00
dstaneklbragstad: muchas gracias21:01
lbragstaddstanek thanks for the fix21:01
lbragstadI have to quick run an error but I'll be back soon21:01
openstackgerritEric Brown proposed openstack/keystone: Remove configuration references to eventlet  https://review.openstack.org/34855521:05
openstackgerritNisha Yadav proposed openstack/python-keystoneclient: Add credential functional tests  https://review.openstack.org/34855721:06
*** jsavak has quit IRC21:11
*** jsavak has joined #openstack-keystone21:12
openstackgerritEric Brown proposed openstack/keystone: Document the domain config API as stable  https://review.openstack.org/34856021:13
*** nisha__ has joined #openstack-keystone21:16
*** nisha__ has quit IRC21:17
*** nisha_ has quit IRC21:19
rderosedstanek: Regarding the password history patch, I did respond to your comments. Are you satisfied?21:20
dstanekrderose: looking21:20
dstanekrderose: i think so....i'll take a closer look after dinner21:28
*** pauloewerton has quit IRC21:29
rderosedstanek: cool. the unit tests could be improved and let me know if that is what it's going to take.  bottom line, what do I have to do to put you in a +2 today :)21:30
*** ddieterly has joined #openstack-keystone21:33
*** ddieterly is now known as ddieterly[away]21:33
*** ddieterly[away] is now known as ddieterly21:33
openstackgerritRon De Rose proposed openstack/keystone: PCI-DSS Password expires validation  https://review.openstack.org/33336021:38
*** aastha has quit IRC21:39
*** edmondsw has quit IRC21:46
*** adu has quit IRC21:46
*** aastha has joined #openstack-keystone21:50
*** ddieterly has quit IRC22:01
*** ddieterly has joined #openstack-keystone22:10
*** tonytan4ever has quit IRC22:10
*** ddieterly has quit IRC22:11
openstackgerritRon De Rose proposed openstack/keystone: PCI-DSS Minimum password age requirements  https://review.openstack.org/34331422:12
*** dan_nguyen has quit IRC22:21
openstackgerritRon De Rose proposed openstack/keystone: PCI-DSS Password expires validation  https://review.openstack.org/33336022:22
* lbragstad stevemar not sure what you wanna do about this guy - but if we don't fix it before this release we will forsure need to document the issues of running fernet with revocation event caching enabled https://bugs.launchpad.net/keystone/+bug/160755322:23
openstackLaunchpad bug 1607553 in OpenStack Identity (keystone) "Revocation event caching is broken" [Undecided,New]22:23
openstackgerritRon De Rose proposed openstack/python-keystoneclient: Removing old-new password matches validation from keystoneclient  https://review.openstack.org/34846422:29
*** ntpttr- has quit IRC22:31
*** ntpttr- has joined #openstack-keystone22:36
*** jsavak has quit IRC22:39
*** roxanagh_ has joined #openstack-keystone23:01
*** ddieterly has joined #openstack-keystone23:04
*** roxanagh_ has quit IRC23:06
*** mvk has joined #openstack-keystone23:07
*** tonytan4ever has joined #openstack-keystone23:11
*** ddieterly is now known as ddieterly[away]23:13
*** tonytan4ever has quit IRC23:16
openstackgerritBoris Bobrov proposed openstack/keystone: Fix cache invalidation  https://review.openstack.org/32788523:22
*** tonytan4ever has joined #openstack-keystone23:23
*** adriant has joined #openstack-keystone23:24
*** tonytan_brb has joined #openstack-keystone23:24
notmynameany ideas what would cause this uncaught exception? I haven't seen it before https://gist.github.com/notmyname/d4fd1c977ff470fcf342df73ddf3ec8023:28
*** tonytan4ever has quit IRC23:28
*** ddieterly[away] has quit IRC23:28
*** iurygregory_ has joined #openstack-keystone23:41
*** arunkant_ has quit IRC23:42
*** timcline has joined #openstack-keystone23:48
*** tonytan_brb has quit IRC23:52
*** itlinux has joined #openstack-keystone23:55
*** code-R has quit IRC23:56

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