Friday, 2017-04-28

*** erhudy has quit IRC00:00
*** lamt has joined #openstack-keystone00:08
*** yingwei has joined #openstack-keystone00:38
*** markvoelker has joined #openstack-keystone00:41
*** markvoelker has quit IRC00:46
*** browne has quit IRC01:06
*** afred312 has joined #openstack-keystone01:09
*** hoonetorg has quit IRC01:15
*** erlon has joined #openstack-keystone01:19
*** hoonetorg has joined #openstack-keystone01:20
*** spzala has quit IRC01:22
*** spzala has joined #openstack-keystone01:23
*** spzala has quit IRC01:27
*** markvoelker has joined #openstack-keystone01:38
*** spzala has joined #openstack-keystone01:44
*** spzala has quit IRC01:49
*** spzala has joined #openstack-keystone01:50
*** spzala has quit IRC01:55
*** zhurong has joined #openstack-keystone02:05
*** phalmos has quit IRC02:05
*** Nakato has quit IRC02:06
*** Nakato has joined #openstack-keystone02:09
*** spzala has joined #openstack-keystone02:11
*** edmondsw has joined #openstack-keystone02:13
*** spzala has quit IRC02:16
*** edmondsw has quit IRC02:18
*** dave-mccowan has quit IRC02:27
*** spzala has joined #openstack-keystone02:32
*** Nakato has quit IRC02:32
*** Nakato has joined #openstack-keystone02:33
*** spzala has quit IRC02:36
*** thorst has quit IRC02:36
*** prashkre has joined #openstack-keystone02:44
*** spzala has joined #openstack-keystone02:48
*** prashkre has quit IRC02:49
*** openstackgerrit has joined #openstack-keystone02:50
openstackgerritChangBo Guo(gcb) proposed openstack/keystone master: Remove usage of enforce_type  https://review.openstack.org/45539102:50
*** spzala has quit IRC02:53
*** hoonetorg has quit IRC02:59
*** spzala has joined #openstack-keystone03:01
*** gcb has joined #openstack-keystone03:02
*** thorst has joined #openstack-keystone03:07
openstackgerritShan Guo proposed openstack/keystone master: Remove unused log translation code  https://review.openstack.org/45791603:09
*** thorst has quit IRC03:11
*** hoonetorg has joined #openstack-keystone03:15
*** david-lyle is now known as dklyle03:19
*** dklyle is now known as david-lyle03:20
*** david-lyle is now known as dklyle03:21
*** nicolasbock has quit IRC03:22
*** dklyle is now known as david-lyle03:23
*** thorst has joined #openstack-keystone03:38
*** zhurong has quit IRC03:38
*** aojea has joined #openstack-keystone03:38
*** thorst has quit IRC03:45
*** aojea has quit IRC03:45
openstackgerritMerged openstack/keystone master: Readability enhancements to architecture doc  https://review.openstack.org/42237503:48
*** gagehugo has quit IRC03:58
*** gagehugo has joined #openstack-keystone03:59
*** thorst has joined #openstack-keystone04:41
*** thorst has quit IRC04:45
*** zhurong has joined #openstack-keystone05:01
*** gyee has quit IRC05:03
openstackgerritzhengliuyang proposed openstack/keystone master: use '&' instead of '?' to connect parameters in url  https://review.openstack.org/46082605:05
*** erlon has quit IRC05:13
*** mkrai_ has joined #openstack-keystone05:29
mkrai_Hi I am facing some error in keystone while running devstack setup05:30
mkrai_logs http://paste.openstack.org/show/608279/05:31
mkrai_Can anyone help?05:31
mkrai_samueldmq: Hi there05:34
*** richm has quit IRC05:43
*** edmondsw has joined #openstack-keystone05:50
*** yingwei has quit IRC05:53
*** edmondsw has quit IRC05:54
*** lamt has quit IRC05:56
*** ducttap__ has joined #openstack-keystone06:00
*** zhurong has quit IRC06:04
*** ducttap__ has quit IRC06:05
*** adrian_otto has joined #openstack-keystone06:05
*** zhurong has joined #openstack-keystone06:12
*** adrian_otto has quit IRC06:15
*** Shunli has joined #openstack-keystone06:16
*** zhurong has quit IRC06:23
*** voelzmo has joined #openstack-keystone06:24
*** pnavarro has quit IRC06:32
*** pcaruana has joined #openstack-keystone06:36
*** Aqsa has joined #openstack-keystone06:41
*** thorst has joined #openstack-keystone06:42
*** thorst has quit IRC06:46
*** tesseract has joined #openstack-keystone07:05
*** ducttape_ has joined #openstack-keystone07:10
*** ducttape_ has quit IRC07:14
*** aojea has joined #openstack-keystone07:18
*** edmondsw has joined #openstack-keystone07:38
*** edmondsw has quit IRC07:42
*** thorst has joined #openstack-keystone07:43
*** zzzeek has quit IRC08:00
*** zzzeek has joined #openstack-keystone08:00
*** andreaf has quit IRC08:02
*** thorst has quit IRC08:02
*** andreaf has joined #openstack-keystone08:04
*** aojea has quit IRC08:08
openstackgerritzhengliuyang proposed openstack/keystone master: Add filter explain in api ref about parents_as_list and subtree_as_list  https://review.openstack.org/45830708:23
openstackgerritChangBo Guo(gcb) proposed openstack/keystone master: Remove test_metadata_invalid_contact_type  https://review.openstack.org/46087308:27
*** pnavarro has joined #openstack-keystone08:28
openstackgerritMerged openstack/keystone master: Remove unused CONF  https://review.openstack.org/45904108:44
openstackgerritMerged openstack/keystone master: Remove unused LOG  https://review.openstack.org/45903808:44
*** jaosorior_away is now known as jaosorior08:49
openstackgerritChangBo Guo(gcb) proposed openstack/keystone master: Remove test_minimum_password_age_and_password_expires_days_deactivated  https://review.openstack.org/46087908:49
*** thorst has joined #openstack-keystone08:59
*** aojea has joined #openstack-keystone08:59
*** thorst has quit IRC09:10
*** MasterOfBugs has quit IRC09:14
*** markvoelker has quit IRC09:16
*** odyssey4me_ is now known as odyssey4me09:20
*** adriant_ has quit IRC09:23
*** edmondsw has joined #openstack-keystone09:26
*** Shunli has quit IRC09:26
*** edmondsw has quit IRC09:30
*** jaosorior is now known as jaosorior_away10:00
*** pnavarro has quit IRC10:03
*** nicolasbock has joined #openstack-keystone10:03
*** tesseract has quit IRC10:04
*** thorst has joined #openstack-keystone10:07
*** tesseract has joined #openstack-keystone10:08
*** thorst has quit IRC10:11
*** richm has joined #openstack-keystone10:15
*** markvoelker has joined #openstack-keystone10:17
*** markvoelker has quit IRC10:22
*** raildo has joined #openstack-keystone11:02
lbragstadmkrai_ it looks like something similar to the devstack failures we saw when the switch to uwsgi was made11:27
lbragstadmkrai_ maybe ask in the -qa channel to see if it's similar to what they were seeing last week?11:27
*** thorst has joined #openstack-keystone11:44
*** tesseract has quit IRC11:50
lbragstadrodrigods i responded to your comment here - https://review.openstack.org/#/c/455391/411:54
lbragstadrodrigods does that help?11:54
*** dave-mccowan has joined #openstack-keystone11:56
*** aojea has quit IRC12:01
*** d0ugal_ has joined #openstack-keystone12:02
*** d0ugal has quit IRC12:04
*** tesseract has joined #openstack-keystone12:05
rodrigodslbragstad, thanks12:11
*** pnavarro has joined #openstack-keystone12:11
*** chlong has quit IRC12:21
*** d0ugal_ is now known as d0ugal12:21
*** d0ugal is now known as Guest804912:21
*** Guest8049 has quit IRC12:21
*** d0ugal_ has joined #openstack-keystone12:22
*** edmondsw has joined #openstack-keystone12:22
*** edmondsw has quit IRC12:24
*** edmondsw has joined #openstack-keystone12:25
*** edmondsw has quit IRC12:29
*** edmondsw has joined #openstack-keystone12:34
*** markvoelker has joined #openstack-keystone12:38
*** gcb has quit IRC12:40
*** ducttape_ has joined #openstack-keystone12:57
*** catintheroof has joined #openstack-keystone13:01
*** catintheroof has quit IRC13:04
*** catintheroof has joined #openstack-keystone13:04
*** lamt has joined #openstack-keystone13:04
*** Aqsam has joined #openstack-keystone13:07
*** Aqsa has quit IRC13:07
*** lamt has quit IRC13:09
*** ducttap__ has joined #openstack-keystone13:13
*** lamt has joined #openstack-keystone13:14
*** ducttape_ has quit IRC13:17
*** catinthe_ has joined #openstack-keystone13:18
*** catintheroof has quit IRC13:21
*** arturb has quit IRC13:23
*** d0ugal_ has quit IRC13:26
*** d0ugal has joined #openstack-keystone13:27
*** d0ugal has quit IRC13:27
*** d0ugal has joined #openstack-keystone13:27
*** aojea has joined #openstack-keystone13:36
*** Guest24728 is now known as zeus13:37
*** zeus has quit IRC13:37
*** zeus has joined #openstack-keystone13:37
openstackgerritMerged openstack/keystone master: Remove usage of enforce_type  https://review.openstack.org/45539113:37
efriedmordred I can't tell for sure, but I think we may have some operators who still want multiple [glance]api_servers - see http://lists.openstack.org/pipermail/openstack-dev/2017-April/116028.html13:38
*** ducttap__ has quit IRC13:40
*** edmondsw_ has joined #openstack-keystone13:42
*** edmondsw has quit IRC13:43
mordredlemme go read - thanks!13:43
mordredoh dear god13:45
*** Dinesh_Bhor has quit IRC13:46
efriedmordred Will there be screaming now?13:46
efried<rubs hands together>13:47
mordredefried: well, I'm going to start with not-screaming :)13:47
efriedA sane approach, always.13:47
*** lamt has quit IRC13:49
*** lamt has joined #openstack-keystone13:51
*** chlong has joined #openstack-keystone13:53
*** ducttape_ has joined #openstack-keystone14:05
*** chlong has quit IRC14:07
*** ducttape_ has quit IRC14:10
*** jaosorior_away has quit IRC14:10
*** chlong has joined #openstack-keystone14:20
mordredefried: ok- I just sent a VERY long reponse14:21
efriedmordred Looking forward to reading it.14:21
*** rvba has quit IRC14:30
*** adrian_otto has joined #openstack-keystone14:31
*** adrian_otto has quit IRC14:44
*** ducttape_ has joined #openstack-keystone14:56
*** phalmos has joined #openstack-keystone14:57
*** voelzmo has quit IRC15:02
*** nle5223__ has joined #openstack-keystone15:03
*** ducttape_ has quit IRC15:06
*** Aqsam has quit IRC15:07
*** rvba has joined #openstack-keystone15:13
*** rvba has quit IRC15:13
*** rvba has joined #openstack-keystone15:13
*** mkrai has joined #openstack-keystone15:15
mkraiHi I am facing issue in keystone while installing devstack15:16
mkraihttp://paste.openstack.org/show/608341/15:16
mkraiCan anyone help?15:16
lbragstadmkrai how old is your devstack clone? did you just pull it?15:16
lbragstadmkrai the devstack project recently switched keystone to uwsgi instead of apache15:17
mkrailatest15:17
mkraiI cloned it right now15:17
mkraiyes issue is related to that only15:17
mkraiKeystone service is not running15:17
*** openstackgerrit has quit IRC15:17
mkrailbragstad: Is there any workaround?15:17
lbragstadmkrai can you check your keystone logs?15:18
mkraisure15:18
lbragstadmkrai you should be able to find them in /var/log/keystone or somewhere around there15:18
mkrailbragstad: http://paste.openstack.org/show/608342/15:18
mkraiIs this log helpful?15:18
lbragstadmkrai i haven't seen that error specifically15:19
lbragstadmkrai this might be related - but the change looks correct to me https://github.com/openstack-dev/devstack/commit/6ed53156b6198e69d59d1cf3a3497e96f5b7a87015:22
lbragstadmkrai you're not setting WSGI_MODE anywhere are you?15:23
mkraiNo I am not15:23
lbragstadmkrai have you checked with the devstack folks in #openstack-qa?15:24
mkraiNo not yet15:24
mkraiI should check with devstack or QA team?15:24
lbragstadmkrai that might be a good place to start, it certainly seems deployment related15:24
*** ravelar has joined #openstack-keystone15:26
*** pcaruana has quit IRC15:28
*** ducttape_ has joined #openstack-keystone15:33
*** chlong has quit IRC15:34
*** ducttape_ has quit IRC15:45
*** gyee has joined #openstack-keystone15:52
*** ducttape_ has joined #openstack-keystone15:56
*** david-lyle has quit IRC16:00
*** gcb has joined #openstack-keystone16:02
gcblbragstad,  I think we need more work from keystone side to make unit tests pass with oslo.config 4.016:04
gcblbragstad,  please check details in http://lists.openstack.org/pipermail/openstack-dev/2017-April/116051.html16:04
gcblbragstad,  hope keystone folks can help dig and fix them, I just tried the simple one16:05
*** knasim-wrs has joined #openstack-keystone16:05
lbragstadgcb you're specifically referencing https://review.openstack.org/#/c/455391/ ?16:06
*** spzala has quit IRC16:06
*** spzala has joined #openstack-keystone16:06
*** knasim-wrs has quit IRC16:06
*** aojea has quit IRC16:06
gcblbragstad,  that fixes most of failures , we still get failures in http://logs.openstack.org/11/459411/1/check/gate-cross-keystone-python27-ubuntu-xenial/8a6879b/testr_results.html.gz16:07
*** aojea has joined #openstack-keystone16:07
*** prajeesh-wrs has joined #openstack-keystone16:07
lbragstadgcb ok - checking16:07
lbragstadgcb seeing if i can reproduce locally16:07
gcblbragstad,  sure,  that's related about the keystone domain knowledge, as you know I'm not keystone expert :-), just fix two in https://review.openstack.org/#/q/status:open+project:openstack/keystone+branch:master+topic:bug/168692116:09
*** adrian_otto has joined #openstack-keystone16:09
lbragstadgcb some of those actually look like oslo.db errors16:10
*** spzala has quit IRC16:11
*** aojea has quit IRC16:11
gcblbragstad,  yeah,  the first one 'keystone.tests.unit.common.test_notifications.NotificationsTestCase'  looks like about oslo.db, I can help if  oslo.db has issue16:12
gcblbragstad,  I recorded failures and fixes in https://etherpad.openstack.org/p/keystone_enforce_type_issues16:13
lbragstadgcb still digging into it - but it might be from a type being enforced16:13
gcblbragstad,  that may be helpful to track what we have been doing16:13
*** openstackgerrit has joined #openstack-keystone16:14
openstackgerritMerged openstack/keystone master: use '&' instead of '?' to connect parameters in url  https://review.openstack.org/46082616:14
samueldmqmkrai_: hi, I am around now16:15
gcblbragstad,  take it easy, we don't bump oslo.config to 4.0 before we fixed in consuming projects, just raise the failures, hope we can fix them together :-O16:16
gcb:-)16:16
*** chlong has joined #openstack-keystone16:16
lbragstadgcb yeah - that makes sense, I appreciate the help :)16:17
prajeesh-wrshttps://thepasteb.in/p/8qhO107xN4DF016:18
prajeesh-wrsHi , I have an issue with Keystone memory leak16:18
prajeesh-wrsI found something interesting while doing a quick load test of keystone / newton .16:18
prajeesh-wrsWhen I started the load test the memory usage for keystone processes (admin and public wsgi) went up – and it never came down16:18
prajeesh-wrsAlso, found that many functions in resource/backends/sql.py are not closing the sessions once open .16:19
prajeesh-wrsDo we need to close the sessions explicitly ? Is that the reason for persistent high memory usage ?16:19
prajeesh-wrs2017-04-28 14:17:21.001 653 ERROR keystone.common.wsgi [req-2208fddc-6801-4a9c-a6fd-22cfd310427d - - - - -] QueuePool limit of size 1 overflow 10 reached, connection timed out, timeout 3016:19
prajeesh-wrs2017-04-28 14:17:21.001 653 ERROR keystone.common.wsgi Traceback (most recent call last):16:19
prajeesh-wrs2017-04-28 14:17:21.001 653 ERROR keystone.common.wsgi   File "/usr/lib/python2.7/site-packages/keystone/common/wsgi.py", line 225, in __call__16:19
prajeesh-wrs2017-04-28 14:17:21.001 653 ERROR keystone.common.wsgi     result = method(req, **params)16:19
prajeesh-wrs2017-04-28 14:17:21.001 653 ERROR keystone.common.wsgi   File "/usr/lib/python2.7/site-packages/keystone/auth/controllers.py", line 397, in authenticate_for_token16:19
prajeesh-wrs2017-04-28 14:17:21.001 653 ERROR keystone.common.wsgi [req-2208fddc-6801-4a9c-a6fd-22cfd310427d - - - - -] QueuePool limit of size 1 overflow 10 reached, connection timed out, timeout 3016:19
lbragstadprajeesh-wrs from what i can tell - most of the sql connections are in a context manager that should close them once it exits the context16:20
prajeesh-wrsis the error .  I think we can do a work around to solve this error . However , it will not address the memory / session open issue16:20
prajeesh-wrs@lbragstad - Thanks .16:20
openstackgerritayoung proposed openstack/keystone master: Refactor is_admin  https://review.openstack.org/38771016:21
prajeesh-wrsWhat I'm noticing is , memroy usage is still high even after  3 hrs after I stopped the load testing16:21
*** ducttape_ has quit IRC16:24
*** aojea has joined #openstack-keystone16:27
lbragstadprajeesh-wrs do you have steps detailing what you did to reproduce the issue?16:27
lbragstador a script?16:28
*** ducttape_ has joined #openstack-keystone16:28
prajeesh-wrsyeah ... in a python script -16:28
lbragstadprajeesh-wrs are you able to share it16:29
lbragstad?16:29
prajeesh-wrsI will launch 50 threads , and each thread will hit keystone public endpoint to get the project list / user list -16:29
prajeesh-wrssure . let me share it -16:29
prajeesh-wrsits a plain python program16:29
prajeesh-wrswe noticed this issue with a regular insallation - and able to reproduce it with this script16:30
gcbsamueldmq,  just replied your comments, feel free to update my patches if you have better solution :-)16:30
prajeesh-wrshttps://thepasteb.in/p/76hElKORnp5FV16:31
prajeesh-wrs@lbragstad - Please see the code -16:32
lbragstadprajeesh-wrs will do16:32
prajeesh-wrswhen execute it , change the IP -16:32
lbragstadprajeesh-wrs thanks for sharing16:32
prajeesh-wrsand monitor the memory usage16:32
*** ducttape_ has quit IRC16:33
*** sjain has joined #openstack-keystone16:33
samueldmqgcb: re-replied, I understand your motivation for those patches, and perhaps our code needs to be updated if oslo already does the checks for us16:35
samueldmqand yes, re-replied sounds odd16:36
samueldmq:-)16:36
*** dave-mccowan has quit IRC16:36
gcbsamueldmq, yeah, just talked with lbragstad  about the failures in  http://logs.openstack.org/11/459411/1/check/gate-cross-keystone-python27-ubuntu-xenial/8a6879b/testr_results.html.gz16:38
samueldmqgcb: are those new failures?16:38
samueldmqI think we've been those tests for a while now16:38
gcbsamueldmq,  oslo.config 4.0  make set_override with enforce_type=True by default,  test failed with oslo.config 4.016:39
gcbsamueldmq,  we have some invalid tests, now oslo.config 4.0 finds them :-),  please see http://lists.openstack.org/pipermail/openstack-dev/2017-April/116051.html16:41
gcbfor more details and background16:41
samueldmqgcb: interesting ... that'd have avoided us to misuse oslo configs16:42
samueldmqgcb: I can give a respin on those patches if you want, as you don't have keystone expertise as you stated in the review16:42
gcbsamueldmq, yeah,  we use some invalid config option value in keystone, just do it :-)16:43
samueldmqgcb: are the oslo versions capped?16:44
samueldmqgcb: in projects like keystone ? /me looks16:44
samueldmqgcb: if not, that may cause issues in current deployments which set that value to 0 (which means disabled)16:44
samueldmqif people update their oslo config version16:45
*** tesseract has quit IRC16:45
gcbsamueldmq,  look at https://review.openstack.org/#/c/459411/,   we still can't bump oslo.config to 4.016:45
samueldmqgcb: until we make sure everything passes ...16:46
samueldmqbut projects should be warned that somethign may break16:46
samueldmqif it's not tested enough :-)16:47
gcbsamueldmq, it's all about tests,  will be okay  in runtime now,  what we do is making test same value both test and runtime16:47
gcbsamueldmq,  it's a long story about enforce_type=True,  just look at https://bugs.launchpad.net/oslo.config/+bug/151783916:48
openstackLaunchpad bug 1517839 in tacker "Make CONF.set_override with parameter enforce_type=True by default" [Undecided,In progress] - Assigned to Ji.Wei (jiwei)16:48
samueldmqgcb: ++ I will have a look so I have a better understanding of it16:49
samueldmqbut I got your point16:49
*** david-lyle has joined #openstack-keystone16:50
gcbcool16:51
*** dave-mccowan has joined #openstack-keystone16:59
*** thorst has quit IRC17:01
*** prashkre has joined #openstack-keystone17:04
openstackgerritayoung proposed openstack/keystone master: Refactor is_admin  https://review.openstack.org/38771017:05
*** ducttape_ has joined #openstack-keystone17:06
*** harlowja has quit IRC17:06
lbragstadprajeesh-wrs can you open a bug for that issue?17:06
prajeesh-wrsOk . Sure .17:07
lbragstadprajeesh-wrs https://bugs.launchpad.net/keystone/+filebug17:07
lbragstadprajeesh-wrs i just don't want to lose the context of the problem17:07
lbragstadin irc17:07
lbragstadthat will also get eyes on it from other folks, too17:07
prajeesh-wrsyeah.. understand .17:07
openstackgerritMerged openstack/keystone master: Revise doc about python 3.4  https://review.openstack.org/46038517:08
*** aojea has quit IRC17:08
*** thorst has joined #openstack-keystone17:11
*** pnavarro has quit IRC17:16
prajeesh-wrs@lbragstad - I added a bug - https://bugs.launchpad.net/keystone/+bug/168707317:22
openstackLaunchpad bug 1687073 in OpenStack Identity (keystone) "Keystone Memory usage remains high " [Undecided,New]17:22
openstackgerritayoung proposed openstack/keystone master: Add is_admin_project check to policy  https://review.openstack.org/25763617:22
openstackgerritayoung proposed openstack/keystone master: Refactor is_admin  https://review.openstack.org/38771017:22
*** gcb has quit IRC17:24
openstackgerritayoung proposed openstack/keystone master: Fernet token formatter with explicit role  https://review.openstack.org/31007417:25
*** nle5223__ has quit IRC17:35
*** Aqsa has joined #openstack-keystone17:35
*** aojea has joined #openstack-keystone17:37
*** sjain has quit IRC17:38
*** aojea_ has joined #openstack-keystone17:38
*** thorst has quit IRC17:41
openstackgerritMerged openstack/keystoneauth master: Uncomment warning-is-error for doc building  https://review.openstack.org/45967317:41
*** aojea has quit IRC17:41
*** aojea_ has quit IRC17:43
openstackgerritMerged openstack/python-keystoneclient master: Remove unused log  https://review.openstack.org/45960717:59
*** thorst has joined #openstack-keystone18:03
*** catintheroof has joined #openstack-keystone18:04
openstackgerritMerged openstack/keystone master: Add notes in inherit.inc  https://review.openstack.org/45993218:07
*** catinthe_ has quit IRC18:08
openstackgerritMerged openstack/keystone master: Explicitly set 'builders' option  https://review.openstack.org/45796918:18
openstackgerritMerged openstack/keystonemiddleware master: Bump the token deferral message from info to debug  https://review.openstack.org/44154918:21
*** voelzmo has joined #openstack-keystone18:23
*** david-lyle_ has joined #openstack-keystone18:24
*** david-lyle has quit IRC18:26
*** harlowja has joined #openstack-keystone18:38
*** Aqsa has quit IRC18:39
*** odyssey4me has quit IRC18:44
*** evrardjp has quit IRC18:46
*** odyssey4me has joined #openstack-keystone18:46
*** evrardjp has joined #openstack-keystone18:47
openstackgerritayoung proposed openstack/keystone-specs master: Tokens with subsets of roles  https://review.openstack.org/18697918:57
openstackgerritayoung proposed openstack/keystone-specs master: Tokens with subsets of roles  https://review.openstack.org/18697919:06
*** david-lyle_ is now known as david-lyle19:09
ayoungdstanek, https://review.openstack.org/#/c/387710/18  can you +2 that now, please?  Changed the function name as you requested19:14
*** ducttape_ has quit IRC19:20
openstackgerritayoung proposed openstack/keystone master: Refactor Authorization:  https://review.openstack.org/38716119:26
openstackgerritayoung proposed openstack/keystone master: Refactor is_admin  https://review.openstack.org/38771019:26
openstackgerritayoung proposed openstack/keystone master: Add is_admin_project check to policy  https://review.openstack.org/25763619:30
*** voelzmo has quit IRC19:33
*** ducttape_ has joined #openstack-keystone19:36
*** adrian_otto has quit IRC19:37
*** ducttape_ has quit IRC19:37
*** ducttape_ has joined #openstack-keystone19:37
*** Aqsa has joined #openstack-keystone19:42
mordredayoung: it's likely completely valid to auth without a project scope if the thing you're planning on doing is registering services or endpoints isn't it?19:46
ayoungmordred, I don't know.19:46
ayoungmordred, probably not19:46
ayoungmordred, that is an admin operation, and you should have to specify the admin project for it19:47
ayoungmordred, speaking of which, gues which Windmill I'm tilting at today>?19:47
mordredcool. fielding a issue from someone - they're getting a traceback due to an empty service catalog - but of course they get an empty service catalog because no project19:47
mordredayoung: oh golly - there are so many fun ones...19:47
ayoungmordred, how many bugs do you know by number?  THat have been printed on T-Shirts?  THat can be played as a melody on a keyboard?19:48
mordredayoung: wow. I don't know any bugs by number. I feel deficient now :)19:49
*** thorst has quit IRC19:49
*** thorst has joined #openstack-keystone19:50
*** thorst_ has joined #openstack-keystone19:51
ayounghttps://www.youtube.com/watch?v=2h1CY-XCbic&feature=youtu.be19:52
*** thorst has quit IRC19:54
*** thorst_ has quit IRC19:56
*** thorst has joined #openstack-keystone20:07
*** dave-mccowan has quit IRC20:10
*** raildo has quit IRC20:25
mordredayoung: ahhhhhh. have fun with that20:28
ayounggagehugo, you!20:32
ayoung Change-Id: I035fe570972764b9c9342d1851654634d681ac5e20:33
ayoungPeople, please make sure you understand the changes you are making before you make them20:33
ayoungBug: #165201220:33
openstackbug 1652012 in OpenStack Identity (keystone) "token model assumes a token is is_admin_project" [Low,Fix released] https://launchpad.net/bugs/1652012 - Assigned to Gage Hugo (gagehugo)20:33
ayoungThat "Bug Fix" Made it harder/impossible to actually fix the real damn bug20:34
bretonayoung: revert it :)20:37
ayoungbreton, I am so flipping angry right now20:38
bretonayoung: and leave a better comment so that we don't break it again :)20:38
ayoungbreton, I did better than that20:38
ayoungI had a goddammn bug fix that went ignored excpet for nit picking meanwhile this kind of crap20:38
bretonayoung: what's the review number?20:39
ayoungMine?20:40
bretonayoung: yes20:40
ayounghttps://review.openstack.org/#/c/257636/  and the two it depends on20:40
ayoungyak shedding20:40
edmondsw_ayoung just to polish off your day, you're going to love my response to https://review.openstack.org/#/c/257636/20:43
edmondsw_sorry20:43
edmondsw_breton, I'm not sure you understood what he was saying in https://bugs.launchpad.net/keystone/+bug/168499420:44
openstackLaunchpad bug 1684994 in OpenStack Identity (keystone) "POST v3/auth/tokens API is returning unexpected 500 error when ldap credentials are incorrect" [Undecided,Invalid]20:44
bretonedmondsw_: what is he saying?20:44
edmondsw_breton we're giving 500 for invalid creds, but we're giving 504 for the LDAP timeout. We should give 500 for both20:44
edmondsw_and the message for both should say that we couldn't reach the identity repo, without mentioning LDAP or why we couldn't reach it20:45
edmondsw_as it is today, we leak that this is an LDAP config if there is an LDAP timeout20:45
ayoungedmondsw_, you are lucky you are not within arms reach20:46
edmondsw_ayoung... I did say sorry...20:46
ayoungedmondsw_, you are so wrong20:46
edmondsw_ayoung I thought my logic was pretty ironclad20:46
ayoungthere is nothing in Keystone that actually requires Admin on project20:46
ayoungNow, I can understand why you think there sjhould be20:46
ayoungthat would actually make sense20:46
edmondsw_if you agree to that much, then you should agree overall20:47
ayoungbut it was not how things were implemented in the past.  And this is a don't break anything20:47
edmondsw_don't put in a nasty hack that will make that harder in future20:47
edmondsw_and this is a nasty hack20:47
ayoungIIRC is was your nasty hack in the first place20:47
edmondsw_good luck to folks trying to figure out where that is / how things work20:47
ayoungKeystone is a nasty hack20:47
ayoungedmondsw_, that is why I was so pissed yesterday20:47
ayounghard coding this is just not the right approach20:48
ayoungand I recall you saying it wouldn't derail this effort20:48
edmondsw_again i don't think you understand what has been hardcoded (much less than you think)20:48
ayoungso flipping angry right now20:48
edmondsw_they coded defaults... they are still overrideable20:48
ayoungedmondsw_, the rules from the default policy.json for role checking were hard coded20:48
ayoungedmondsw_, are you going to do the work to fix this? I recall you signed up to do the Nova work, which is still malingereing20:49
edmondsw_ayoung I said I would try to help on that, and sorry that I got pulled off and haven't had time to do much... I did some work on it, but all I've had time for lately on that front is talking to johnthetubaguy about how to fix it and hoping he will20:50
ayoungFeel free to rewrite the patch, once it is working20:50
edmondsw_if I can get back to it I will20:50
ayoungI don't have time for this either.  Keystone is no longer my full time job20:50
ayoungLead, follow, or get out of the way.20:50
edmondsw_ayoung is this how we operate now... we accept nasty hacks and hope that someone will do it right later, rather than fixing it right to begin with?20:50
edmondsw_why do we even have a review process, then?20:50
ayoungedmondsw_, this is the right fix20:51
ayoungthis does not change the existing policy20:51
ayoungif you want to do a follow on that does better default policy, go for it20:52
ayoungbut don't hold up the bug fix20:52
openstackgerritayoung proposed openstack/keystone master: Add is_admin_project check to policy  https://review.openstack.org/25763620:52
bretonedmondsw_: i see now. LDAPServerConnectionError should be inherited from UnexpectedError, not from Error20:52
ayoungedmondsw_, If it makes you happy, I will add a follow on commit that will allow a non-global admin user to perform assign-role-to-user-on-project20:53
ayoungthat is the only case where that should be loosened up that I am aware of.  Do you know of any others?20:53
edmondsw_breton yeah, and a) stop explicitly coding 504 and b) stop mentioning LDAP in its message20:54
bretonedmondsw_: we can still mention LDAP, it will be displayed only in insecure_debug afaik20:54
edmondsw_and once those changes are made, it could well be used for ldap.INVALID_CREDENTIALS as well as where it's already used20:54
edmondsw_breton I think that message actually comes back on the API response20:54
edmondsw_breton so not just in logs20:55
bretonedmondsw_: ok, i am going to file a new bugreport now20:55
bretonit is also debug_message_format vs message_format20:55
ayoungand edmondsw_ I want that t-shirt back20:57
edmondsw_ayoung lots of things that need to work for folks who aren't is_admin_project:True are using rule:admin_required20:58
edmondsw_list_users, get_group, etc.20:58
edmondsw_ayoung those are domain-scoped, not global-scoped20:59
ayoungedmondsw_, Nope21:00
edmondsw_?21:00
ayoungThat is cloudsample thinking, but not how the policy.json default worked21:00
ayoungedmondsw_, you are talking about writing new default policy21:00
ayoungnot a bad idea21:00
ayoungbut way beyond the scope of this patch21:01
edmondsw_ayoung your hack doesn't just affect folks with a single domain21:01
ayoungthis is to make it possible21:01
edmondsw_ayoung what you're proposing will break anyone with multiple domains, and since it's hardcoded they have no recourse21:01
ayoungedmondsw_, it breaks no one21:01
dstanekayoung: sure i can take a look21:02
ayoungit is not enabled by default21:02
edmondsw_I agree with hardcoding, but you have to do it in a way that doesn't break multi-cloud cases21:02
bretonso tell me, how does ayoung's fix interfere with https://review.openstack.org/#/c/438035/ ?21:02
ayoungedmondsw_, that is a follow on patch21:02
ayoungplease feel free to write it21:02
ayoungbreton, OK here is how that happened21:02
edmondsw_ayoung but you want people to use it, right? So the "not on by default" argument doesn't hold. We need a solution that works for folks that do what we want them to do, which is turn this on21:02
ayounghenry was looking at the code and commented on it. I explained to him the rationale, and he agree, but opened a bug to track the issue. Then, someone saw it as low hanging fruit and fixed the bug without understand what they were doing21:03
ayoungedmondsw_, as I said, feel free to write a follow on patch21:03
ayoungmeanwhile, there is no reason to give domain admins any more leeway than project admins21:04
ayoungthe problem was one of scope in the past21:04
ayoungIE scope was ignored21:04
*** Aqsa has quit IRC21:05
ayoungdomains were a mistake anyway, but saying we should have better default policy in no way changes the scope of what this patch should do. It is as minimal as possible, and shouild have gone in in January.21:05
bretonok, wait, so this happened. What consesquences did this change from True to False have?21:06
edmondsw_breton ayoung is right about https://review.openstack.org/#/c/438035/ being premature... we need to do that someday, but we can't do it today21:06
ayounginstead of -1 my reviews on other project please just fix them https://review.openstack.org/#/c/384655/21:06
edmondsw_breton is_admin_project has to default to False if an admin_project isn't configured for backward compatibility, so that we can add checks for is_admin_project:True and not have them block folks that haven't configured an admin_project21:07
*** thorst_ has joined #openstack-keystone21:08
edmondsw_gagehugo ^21:08
gagehugoedmondsw_ thanks21:08
gagehugomy chat notifications are borked21:09
*** prashkre has quit IRC21:09
bretonwell, all of that should have gone to the note and bugreport21:09
bretonthis is what we get for being lazy and not putting all information where it needs to be21:09
*** thorst has quit IRC21:09
bretonlets revert it21:09
edmondsw_I will heartily agree that keystone code is not commented well enough21:10
breton(also, for not reviewing -- that patch was there for 2+ weeks)21:10
dstanekedmondsw_: in the code?21:11
gagehugoayoung if that change was made too early, please do revert it. But imo it does seem dangerous to leave it defaulting to true21:11
ayounggagehugo, you think?21:12
edmondsw_dstanek which topic are you referring to?21:12
ayounggagehugo, you do realize that it is implicitly DEFAULTED TO TRUE RIGHT NOW!21:12
ayoungbug 96869621:12
openstackbug 968696 in OpenStack Identity (keystone) ""admin"-ness not properly scoped" [High,In progress] https://launchpad.net/bugs/968696 - Assigned to Adam Young (ayoung)21:12
edmondsw_gagehugo nobody likes having that True. There's just no way around it at the moment21:12
ayounggagehugo, so, this is just codifying the existing behavior so we can fix it21:12
ayoungand gagehugo I don't fault you21:12
*** thorst_ has quit IRC21:12
ayoungI fault the people that +2ed your review and should have known better21:13
ayoungEspecially Henry Nash21:13
ayoungInstead of bike shedding, can we put some effort into actually solving the problems around Keystone?21:13
gagehugoayoung yeah it's a mess, but I didn't think that would add to the problem21:14
*** ayoung is now known as ayoung-ragequit21:14
dstanekedmondsw_: comments21:14
*** catintheroof has quit IRC21:14
ayoung-ragequitgagehugo, UI hereby commission you to write new default policy to edmondsw_ standards on top of my last patch21:14
gagehugoayoung I will take a look, I am behind though on the progress you've made though21:16
*** harlowja has quit IRC21:17
*** harlowja has joined #openstack-keystone21:17
*** aojea has joined #openstack-keystone21:21
edmondsw_breton you said you were opening a new bug for the LDAP thing... number?21:22
*** thorst has joined #openstack-keystone21:29
edmondsw_breton nm, see it21:30
openstackgerritMerged openstack/keystone master: Correct oauth create_request_token documentation  https://review.openstack.org/45911421:32
*** thorst has quit IRC21:33
*** aojea has quit IRC21:35
*** harlowja has quit IRC21:36
*** chlong has quit IRC21:39
*** ayoung-ragequit is now known as ayoung21:49
ayoungedmondsw_, OK, I think I see the disconnect.  You were thinking that the fix there is the new default, and it is not.  It is another interim step. Here is what needs to happen21:50
ayoung1.  get this kind of fix into the proejcts:21:50
ayoung2.  enable an admin project in devstack21:50
ayoungmeanwhile keeping Tempest running21:50
ayoungthen, we can tighten up the rules, over time, so long as the tests keep running21:51
*** cmurphy has quit IRC21:59
*** cmurphy has joined #openstack-keystone22:04
*** edmondsw_ has quit IRC22:06
*** thorst has joined #openstack-keystone22:11
*** thorst has quit IRC22:12
*** catintheroof has joined #openstack-keystone22:17
*** adrian_otto has joined #openstack-keystone22:28
*** phalmos_ has joined #openstack-keystone22:36
*** phalmos has quit IRC22:39
*** thorst has joined #openstack-keystone22:43
*** adrian_otto has quit IRC22:46
*** adrian_otto has joined #openstack-keystone22:49
morganugh.22:51
morgani think i found a security flaw =/22:51
* morgan grumps.22:51
morgannope22:54
morgannvm22:54
*** thorst has quit IRC22:59
*** lamt has quit IRC23:01
*** lamt has joined #openstack-keystone23:02
*** lamt has quit IRC23:08
*** adrian_otto has quit IRC23:09
*** catintheroof has quit IRC23:11
*** adrian_otto has joined #openstack-keystone23:11
*** adrian_otto has quit IRC23:15
*** harlowja has joined #openstack-keystone23:30
*** edmondsw has joined #openstack-keystone23:32
*** edmondsw has quit IRC23:37
*** harlowja has quit IRC23:55
*** thorst has joined #openstack-keystone23:56
*** harlowja has joined #openstack-keystone23:59

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