Thursday, 2016-10-20

*** asettle has joined #openstack-keystone00:00
*** LiYuenan has joined #openstack-keystone00:04
openstackgerritJamie Lennox proposed openstack/keystoneauth: Add testscenarios to test-requirements  https://review.openstack.org/38894300:04
*** asettle has quit IRC00:04
jamielennoxstevemar: required: ^00:04
jamielennoxoh, wait, hmm00:12
*** spzala has joined #openstack-keystone00:13
*** spzala has quit IRC00:18
openstackgerritJamie Lennox proposed openstack/keystoneauth: Don't use private testtools.test module  https://review.openstack.org/38894500:24
jamielennoxstevemar, morgan: unbreak CI tests ^00:25
*** spzala has joined #openstack-keystone00:26
*** ravelar has joined #openstack-keystone00:26
*** guoshan has joined #openstack-keystone00:29
*** ravelar has quit IRC00:30
*** agrebennikov has quit IRC00:31
*** agrebennikov_ has joined #openstack-keystone00:31
*** spzala has quit IRC00:32
*** edmondsw has quit IRC00:46
*** hoangcx has joined #openstack-keystone00:49
*** gagehugo has quit IRC00:49
*** Zer0Byte__ has joined #openstack-keystone00:49
*** david-lyle_ has joined #openstack-keystone00:51
*** david-lyle has quit IRC00:54
*** guoshan has quit IRC00:55
*** spzala has joined #openstack-keystone00:59
*** kiran-r has joined #openstack-keystone01:02
*** kiran-r has quit IRC01:08
*** agrebennikov_ has quit IRC01:15
*** gyee has quit IRC01:18
openstackgerritMerged openstack/python-keystoneclient: [doc] remove auth plugin docs  https://review.openstack.org/38888201:20
*** spzala has quit IRC01:26
*** wangqun has joined #openstack-keystone01:35
*** scarlisle has quit IRC01:35
*** davechen has joined #openstack-keystone01:41
*** nk2527 has quit IRC01:48
*** r-daneel has quit IRC01:48
*** tqtran has quit IRC02:06
stevemarjamielennox: i go away for a few minutes and you do wat!02:13
jamielennoxstevemar: pshh, that was hours ago02:14
stevemarjamielennox: we need another release of ksa?02:14
jamielennoxi can do so much worse in hours02:14
stevemarjust catching up, i was out looking for your cookies02:14
jamielennoxstevemar: umm - maybe02:14
openstackgerritMerged openstack/keystoneauth: Don't use private testtools.test module  https://review.openstack.org/38894502:14
*** scarlisle has joined #openstack-keystone02:14
jamielennoxstevemar: lol, really? don't worry too much, i assumed they'd be everywhere02:15
openstackgerritSteve Martinelli proposed openstack/keystoneauth: Show deprecation warning and limit features for KSC session  https://review.openstack.org/38773302:15
openstackgerritSteve Martinelli proposed openstack/keystoneauth: Allow setting client_name, client_version on adapter  https://review.openstack.org/38773402:15
jamielennoxi thought recheck might be enough there02:15
jamielennoxstevemar: i'm not sure if ksa requires a release there, it might be a problem if you're running tests with the new oslotest02:20
stevemarjamielennox: maybe? i'm not sure, but a rebase definitely does the trick02:20
jamielennoxstevemar: but if we get those in i'm happy to see a release anyway02:20
stevemaryarg02:20
stevemari'll ask for one tomorrow02:21
stevemarthe osc-lib patches will need a newer minimum version02:21
stevemarbbl02:21
*** spzala has joined #openstack-keystone02:27
*** LiYuenan has quit IRC02:32
*** scarlisle has quit IRC02:42
*** spzala has quit IRC02:43
*** catintheroof has joined #openstack-keystone02:52
catintheroofhi guys, quick question, if for example I have an API in-house that holds the "users" of the cloud, and I want keystone to use that API to authenticate the users, conceptually, I need to code an auth plugin? and identity package? or enable federation and use ( in some way ) that API as idP ?02:55
*** catintheroof has quit IRC02:56
*** catintheroof has joined #openstack-keystone02:57
*** Zer0Byte__ has quit IRC02:57
catintheroofhi guys, quick question , suppose I have an API that holds the users of the cloud, an API that I also use for authenticate, if I want to use keystone to call that API and learn how to read those users and authenticate them, do I need to either code an auth plugin? code an identity backend? or enable federation and code new idP that knows how to deal with this API?03:02
dstanekcatintheroof: does your API use some standard federation protocols?03:09
*** david-lyle_ has quit IRC03:23
*** david-lyle has joined #openstack-keystone03:23
*** dave-mccowan has quit IRC03:27
*** phalmos has quit IRC03:29
openstackgerritMerged openstack/keystoneauth: Allow setting client_name, client_version on adapter  https://review.openstack.org/38773403:52
openstackgerritMerged openstack/keystoneauth: Show deprecation warning and limit features for KSC session  https://review.openstack.org/38773304:01
*** richm1 has joined #openstack-keystone04:04
*** richm has quit IRC04:05
*** GB21 has joined #openstack-keystone04:07
*** GB21 has quit IRC04:12
*** links has joined #openstack-keystone04:23
*** GB21 has joined #openstack-keystone04:25
*** links has quit IRC04:27
*** code-R has joined #openstack-keystone04:31
*** jdennis has quit IRC04:34
stevemarjamielennox: easy https://review.openstack.org/#/c/388618/204:35
*** jdennis has joined #openstack-keystone04:36
jamielennoxstevemar: done04:37
jamielennoxstevemar: cookie success?04:37
stevemarnah, didn't actually venture to the shop, had family stuff to do04:38
stevemarjamielennox: i literally live across the street from a grocery store, it makes me lazy04:39
jamielennoxstevemar: heh, my sister is like that, has 1 night of food in the house at a time04:39
stevemarjamielennox: thats currently the situation here, especially since we're traveling in 36 hours04:40
*** code-R_ has joined #openstack-keystone04:41
*** code-R has quit IRC04:41
*** spzala has joined #openstack-keystone04:44
*** spzala has quit IRC04:48
*** markvoelker_ has quit IRC04:49
*** haplo37_ has quit IRC04:51
*** haplo37_ has joined #openstack-keystone04:53
*** sfilatov has joined #openstack-keystone04:57
*** sfilatov has quit IRC05:02
bretonstevemar: https://www.openstack.org/project-mascots05:04
bretonmorning, keystone05:04
*** jaosorior has joined #openstack-keystone05:09
stevemarbreton: ah05:10
stevemarbreton: well damn05:11
stevemarctrl+z ? :)05:11
bretonstevemar: https://www.youtube.com/watch?v=JmMTCWyY8Y4&feature=youtu.be you seen this?05:11
stevemarbreton: yeah, tried to find the keystone one, couldn't05:11
stevemarbreton: i still don't have the draft image, maybe i'm not actually ptl o_O05:11
stevemar"I'm reaching out to the PTLs individually to share your team's draft logo"05:12
bretonstevemar: it's not even in the list when the list gets scrolled05:15
* breton likes how ">" in mplayer moves just one frame forward05:16
stevemari also took many looks at that list05:16
openstackgerritMerged openstack/python-keystoneclient: Updated coverage configuration file  https://review.openstack.org/38861805:17
*** sfilatov has joined #openstack-keystone05:20
*** sfilatov has quit IRC05:23
*** sfilatov has joined #openstack-keystone05:24
openstackgerritMerged openstack/python-keystoneclient: TrivialFix: Using assertIsNone() instead of assertEqual(None)  https://review.openstack.org/37719005:24
*** sfilatov has quit IRC05:27
*** sfilatov has joined #openstack-keystone05:27
openstackgerritMerged openstack/python-keystoneclient: Enable release notes translation  https://review.openstack.org/38337405:27
*** markvoelker_ has joined #openstack-keystone05:30
*** LiYuenan has joined #openstack-keystone05:31
*** richm1 has quit IRC05:39
*** markvoelker_ has quit IRC05:46
*** Dave____ has joined #openstack-keystone05:47
*** sfilatov has quit IRC05:53
*** Dave has quit IRC05:56
*** pcaruana has joined #openstack-keystone06:18
*** tqtran has joined #openstack-keystone06:19
*** voelzmo has joined #openstack-keystone06:21
*** tqtran has quit IRC06:23
*** voelzmo has quit IRC06:41
*** code-R_ has quit IRC06:53
stevemarjamielennox: 2014! https://review.openstack.org/#/c/141614/06:53
*** code-R has joined #openstack-keystone06:53
stevemarjamielennox: is everything in ^ necessary, seems like some refactoring was thrown in06:56
stevemarjamielennox: nvm, it's good06:57
stevemarjust had to do a lot of back and forth06:57
*** sfilatov has joined #openstack-keystone06:59
*** voelzmo has joined #openstack-keystone07:03
*** sfilatov has quit IRC07:04
*** sfilatov has joined #openstack-keystone07:04
*** voelzmo has quit IRC07:09
*** belmoreira has joined #openstack-keystone07:09
*** tqtran has joined #openstack-keystone07:10
*** tesseract has joined #openstack-keystone07:11
*** tesseract is now known as Guest1406907:12
*** pnavarro has joined #openstack-keystone07:15
*** amoralej|off is now known as amoralej07:21
*** code-R has quit IRC07:28
*** spzala has joined #openstack-keystone07:29
*** spzala has quit IRC07:34
openstackgerritMerged openstack/keystonemiddleware: Add service token to user token plugin  https://review.openstack.org/14161407:40
jamielennoxstevemar: it's my oldest active patch07:42
*** Zer0Byte__ has joined #openstack-keystone07:43
openstackgerritmelissaml proposed openstack/python-keystoneclient: TrivialFix: Remove default=None when set value in Config  https://review.openstack.org/38904607:49
LiYuenanHi guys07:51
LiYuenanI have a 401 error when I create project.07:52
LiYuenanroot@host1:/# openstack project create --domain default --description "Test Project" Test07:52
LiYuenanThe request you have made requires authentication. (HTTP 401) (Request-ID: req-752cff03-589a-4817-90cf-0860dcf05a2f)07:52
LiYuenanI use fernet keys and abandon admin_token07:52
*** sfilatov_ has joined #openstack-keystone07:53
*** sfilatov has quit IRC07:56
*** voelzmo has joined #openstack-keystone07:57
*** zzzeek has quit IRC08:00
*** zzzeek has joined #openstack-keystone08:00
*** voelzmo has quit IRC08:03
*** asettle has joined #openstack-keystone08:04
*** david-lyle_ has joined #openstack-keystone08:07
*** david-lyle has quit IRC08:09
*** jrist has quit IRC08:09
*** jrist has joined #openstack-keystone08:11
*** voelzmo has joined #openstack-keystone08:11
*** qwertyco has joined #openstack-keystone08:11
morganLiYuenan: either you have not sourced your openrc file, have not provided the correct information in your clouds.yaml file, or need to add the proper auth flags to the command line08:14
*** Dave____ is now known as Dave08:14
*** Zer0Byte__ has quit IRC08:15
LiYuenanmorgan: I fine that the OS_PASSWORD in my admin-openrc.sh is wrong. Thx :)08:17
*** markvoelker has joined #openstack-keystone08:19
*** tqtran has quit IRC08:21
morganLiYuenan: np! happy to help08:32
*** hoangcx has quit IRC08:32
*** hoangcx has joined #openstack-keystone08:32
*** sfilatov_ has quit IRC08:34
*** haplo37_ has quit IRC08:40
*** haplo37_ has joined #openstack-keystone08:42
*** spzala has joined #openstack-keystone08:43
*** davechen has left #openstack-keystone08:43
*** spzala has quit IRC08:47
*** code-R has joined #openstack-keystone08:48
*** code-R_ has joined #openstack-keystone08:49
openstackgerritShan Guo proposed openstack/keystone: log.error use _LE of i18n  https://review.openstack.org/38907008:50
*** code-R has quit IRC08:52
*** woodster_ has quit IRC08:55
bretonmorgan: are you in Barcelona already?09:00
morganbreton: i wont be going to barcelona09:14
morgani'm still on the west coast of the US and will be staying here instead of going to the summit09:15
*** hoangcx has quit IRC09:15
bretonmorgan: :(09:28
*** sfilatov has joined #openstack-keystone09:30
*** ganeshk has joined #openstack-keystone09:32
ganeshkHi breton09:32
ganeshkbreton: 'nova-compute' on the controller is going down repeatedly in kilo09:32
*** markvoelker has quit IRC09:39
*** spzala has joined #openstack-keystone09:41
*** jaosorior has quit IRC09:44
*** jaosorior has joined #openstack-keystone09:44
*** spzala has quit IRC09:45
*** sfilatov has quit IRC09:48
bretonganeshk: hi. You should probably ask about nova in #openstack-nova, because i have experience only with keystone09:49
*** sfilatov has joined #openstack-keystone09:50
ganeshkbreton: Ok. Thank you09:51
*** wangqun has quit IRC09:52
*** sfilatov has quit IRC10:07
*** jpich has joined #openstack-keystone10:10
*** sfilatov has joined #openstack-keystone10:13
*** sfilatov has quit IRC10:21
*** sfilatov has joined #openstack-keystone10:21
catintheroof hi guys, quick question , suppose I have an API that holds the users of the cloud, an API that I also use for authenticate, if I want to use keystone to call that API and learn how to read those users and authenticate them, do I need to either code an auth plugin? code an identity backend? or enable federation and code new idP that knows how to deal with this API?10:31
*** markvoelker has joined #openstack-keystone10:37
*** code-R_ has quit IRC10:54
*** asettle has quit IRC10:54
*** asettle has joined #openstack-keystone10:58
*** asettle has quit IRC10:59
*** code-R has joined #openstack-keystone11:01
*** markvoelker_ has joined #openstack-keystone11:07
*** guoshan has joined #openstack-keystone11:08
*** markvoelker has quit IRC11:11
*** sfilatov has quit IRC11:12
catintheroofstevemar:  morning! quick question , suppose I have an API that holds the users of the cloud, an API that I also use for authenticate, if I want to use keystone to call that API and learn how to read those users and authenticate them, do I need to either code an auth plugin? code an identity backend? or enable federation and code new idP that knows how to deal with this API?11:14
bretoncoding an idp sounds better to me11:15
bretonwith idp you won't have any problems with us changing our driver interfaces11:17
*** qwertyco has quit IRC11:42
*** nicolasbock has joined #openstack-keystone11:49
catintheroofbreton: what does it mean to code an idp? can you please expand? i would love to understand the concepts11:49
*** aloga_ has joined #openstack-keystone11:55
*** catintheroof has quit IRC12:01
*** catintheroof has joined #openstack-keystone12:02
*** code-R has quit IRC12:02
*** guoshan has quit IRC12:04
*** sfilatov has joined #openstack-keystone12:07
*** edmondsw has joined #openstack-keystone12:08
*** amoralej is now known as amoralej|lunch12:08
*** guoshan has joined #openstack-keystone12:12
*** markvoelker has joined #openstack-keystone12:12
*** markvoelker_ has quit IRC12:16
*** sfilatov has quit IRC12:16
*** sfilatov has joined #openstack-keystone12:17
*** lamt has joined #openstack-keystone12:17
*** nk2527 has joined #openstack-keystone12:17
*** aloga_ has quit IRC12:17
*** aloga_ has joined #openstack-keystone12:18
*** zhugaoxiao has quit IRC12:18
*** zhugaoxiao has joined #openstack-keystone12:19
*** maticue has joined #openstack-keystone12:25
*** mvk has quit IRC12:26
*** nk2527 has quit IRC12:29
*** GB21 has quit IRC12:36
*** richm has joined #openstack-keystone12:41
*** rcernin has joined #openstack-keystone12:53
*** sfilatov has quit IRC12:54
*** sfilatov has joined #openstack-keystone12:55
*** mvk has joined #openstack-keystone12:57
*** lamt has quit IRC12:58
*** jaosorior is now known as jaosorior_brb13:01
*** gagehugo has joined #openstack-keystone13:01
catintheroofbreton: what does it mean to code an idp? can you please expand? i would love to understand the concepts13:02
*** sfilatov has quit IRC13:07
*** sfilatov has joined #openstack-keystone13:07
*** code-R has joined #openstack-keystone13:07
*** jistr is now known as jistr|biab13:08
dstanekcatintheroof: if your system doesn't support federation protocols then at a minimun you'll need to write an identity backend13:09
*** richm1 has joined #openstack-keystone13:10
*** richm has quit IRC13:10
*** jistr|biab is now known as jistr13:11
*** code-R_ has joined #openstack-keystone13:13
*** adrian_otto has joined #openstack-keystone13:14
dstanekcatintheroof: you'll only need an auth plugin if you have a completely different way to auth (not using passwork, totp, etc)13:14
*** catintheroof has quit IRC13:16
*** code-R has quit IRC13:16
*** guoshan has quit IRC13:19
*** nicolasbock has quit IRC13:23
*** nicolasbock has joined #openstack-keystone13:27
*** gagehugo has quit IRC13:30
*** billiebobthorty has joined #openstack-keystone13:33
*** sfilatov has quit IRC13:35
*** code-R_ has quit IRC13:35
*** nicolasbock has quit IRC13:39
*** amoralej|lunch is now known as amoralej13:43
*** asettle has joined #openstack-keystone13:43
*** gagehugo has joined #openstack-keystone13:47
*** asettle has quit IRC13:47
*** sfilatov has joined #openstack-keystone13:50
*** guoshan has joined #openstack-keystone13:52
*** gagehugo_ has joined #openstack-keystone13:53
*** gagehugo has quit IRC13:53
*** asettle has joined #openstack-keystone13:55
*** guoshan has quit IRC13:56
*** lamt has joined #openstack-keystone14:01
*** spzala has joined #openstack-keystone14:01
*** nicolasbock has joined #openstack-keystone14:01
*** belmorei_ has joined #openstack-keystone14:02
*** adrian_otto has quit IRC14:02
*** scarlisle has joined #openstack-keystone14:03
*** belmoreira has quit IRC14:04
*** jaosorior_brb is now known as jaosorior14:05
*** gagehugo has joined #openstack-keystone14:06
*** gagehugo_ has quit IRC14:07
*** lamt has quit IRC14:07
*** code-R has joined #openstack-keystone14:08
*** lamt has joined #openstack-keystone14:09
*** gagehugo has quit IRC14:11
*** gagehugo has joined #openstack-keystone14:12
*** code-R_ has joined #openstack-keystone14:12
*** code-R has quit IRC14:15
*** agrebennikov_ has joined #openstack-keystone14:17
*** lamt has quit IRC14:17
*** gagehugo has quit IRC14:18
*** thebloggu has joined #openstack-keystone14:18
*** gagehugo has joined #openstack-keystone14:19
*** spilla has joined #openstack-keystone14:31
*** code-R_ has quit IRC14:37
*** code-R has joined #openstack-keystone14:37
*** ravelar has joined #openstack-keystone14:39
*** chris_hultin|AWA is now known as chris_hultin14:39
spillastevemar: quick question, for https://review.openstack.org/#/c/385028/6, was the cert from ca.pem supposed to go under "Show Signing Certificate"? Or should it be the cert from signing_cert.pem?14:40
*** jaugustine has joined #openstack-keystone14:42
stevemarspilla: lemme see14:43
stevemarspilla: hmm14:44
stevemarspilla: i guess flip them around? use the content of ca.pem for "Show CA" and use signing_cert for the "Show Signing Cert"14:45
*** sfilatov has quit IRC14:46
spillastevemar: ok will do. I was using http://docs.openstack.org/admin-guide/identity-certificates-for-pki.html as a reference and wanted to make sure I understood. Thanks! :)14:46
*** belmorei_ has quit IRC14:53
*** spzala has quit IRC14:53
*** sfilatov has joined #openstack-keystone14:54
*** prashkre has joined #openstack-keystone14:55
*** phalmos has joined #openstack-keystone14:55
*** sfilatov has quit IRC14:56
*** sfilatov has joined #openstack-keystone14:56
*** nicolasbock has quit IRC14:56
*** sfilatov has joined #openstack-keystone14:57
*** nicolasbock has joined #openstack-keystone14:58
*** sfilatov has quit IRC14:59
*** belmoreira has joined #openstack-keystone14:59
*** belmoreira has quit IRC14:59
*** sfilatov has joined #openstack-keystone14:59
*** voelzmo has quit IRC15:02
openstackgerritRichard Avelar proposed openstack/keystone: Remove new_id() in test_revoke  https://review.openstack.org/38924115:04
*** r-daneel has joined #openstack-keystone15:04
*** aswadr_ has joined #openstack-keystone15:06
*** prashkre has quit IRC15:06
*** sfilatov has quit IRC15:10
*** nicolasbock has quit IRC15:11
ravelarstevemar I have a question about a couple of the comments on https://review.openstack.org/#/c/387548/4/keystone/tests/unit/test_revoke.py15:20
stevemarravelar: yo15:20
*** spzala has joined #openstack-keystone15:20
ravelarhaving events=None come before token_data yeilds a syntax error non-default argument follows default. I just wanted to clarify what you meant on line 116?15:21
stevemarravelar: ah right, you can probably set events=None and token_data=None though?15:21
stevemaror refactor it first, then apply the follow on15:22
ravelarbut wouldn't token_data always need to be present in order to use list_events for check_token?15:22
ravelaror is it fine either way?15:22
*** nicolasbock has joined #openstack-keystone15:24
ravelarstevemar, the reason that events is even a parameter in the assert method is because some of the methods use event = [] which essentially just makes the revoked events into a list instead of using the actual revoke_api methods to put them in the database15:25
stevemarravelar: why not propose a patch where you flip the args around first? just a straight refactoring15:26
ravelarstevemar, so I could just refactor it to actually test the db revocation events rather then add them to a created list and therefore, remove the needs of an event parameter altogether?15:26
*** aloga_ has quit IRC15:26
ravelarstevemar cause the tests didn't need to create an empty list posing as events when it would get the events from the actual database with list_events. But I definitely see what you are saying. If I leave it as is then I could pass in an empty list instead.15:27
ravelarbut the only reason they were flipped is because I didn't have a need for an event list and having it as a placeholder forces it to come after a default like token_data15:28
ravelarstevemar what do you suggest?15:29
stevemarravelar: yep, i get why they are flipped, i just ask that you do the flipping in a separate patch (since it's unrelated to the bug -- sort of)15:29
stevemaror if can be handled separately15:29
ravelarI could have them as both placeholders and keep them in the same order like you suggested15:30
*** code-R has quit IRC15:33
*** spzala has quit IRC15:37
*** billiebobthorty has quit IRC15:38
*** nicolasbock has quit IRC15:39
*** jaosorior has quit IRC15:44
*** spzala has joined #openstack-keystone15:46
*** spzala has quit IRC15:50
*** aloga_ has joined #openstack-keystone15:52
*** rcernin has quit IRC15:52
openstackgerritRichard Avelar proposed openstack/keystone: Remove unused statements in matches  https://review.openstack.org/38754815:55
knikollao/15:56
*** ganeshk has quit IRC15:56
*** Guest14069 has quit IRC15:59
openstackgerritRichard Avelar proposed openstack/keystone: Remove unused statements in matches  https://review.openstack.org/38754815:59
*** david-lyle_ is now known as david-lyle16:01
*** AlexeyAbashkin has quit IRC16:01
*** jpich has quit IRC16:04
*** GB21 has joined #openstack-keystone16:04
*** tqtran has joined #openstack-keystone16:06
*** voelzmo has joined #openstack-keystone16:07
*** pjm6 has quit IRC16:07
*** nicolasbock has joined #openstack-keystone16:09
*** pjm6 has joined #openstack-keystone16:11
*** voelzmo has quit IRC16:12
*** voelzmo has joined #openstack-keystone16:12
*** voelzmo has quit IRC16:17
*** GB21 has quit IRC16:18
*** openstackgerrit has quit IRC16:18
*** openstackgerrit has joined #openstack-keystone16:19
openstackgerritLance Bragstad proposed openstack/keystone: Use issue_v3_token instead of issue_v2_token  https://review.openstack.org/38666516:19
openstackgerritLance Bragstad proposed openstack/keystone: refactor the token controller  https://review.openstack.org/38672616:20
openstackgerritLance Bragstad proposed openstack/keystone: Remove issue_v2_token  https://review.openstack.org/38676216:20
*** simondodsley has joined #openstack-keystone16:22
*** phalmos has quit IRC16:24
*** aloga_ has quit IRC16:25
*** aloga_ has joined #openstack-keystone16:25
openstackgerritRon De Rose proposed openstack/keystone: Validate mapping exists when creating/updating a protocol  https://review.openstack.org/36239716:25
*** lamt has joined #openstack-keystone16:26
*** jaugustine has quit IRC16:27
*** gagehugo_ has joined #openstack-keystone16:28
openstackgerritSamuel Pilla proposed openstack/keystone: Document OS-SIMPLE-CERT Routes  https://review.openstack.org/38502816:28
*** asettle has quit IRC16:29
*** gagehugo has quit IRC16:31
openstackgerritRon De Rose proposed openstack/keystone: Validate mapping exists when creating/updating a protocol  https://review.openstack.org/36239716:40
*** prashkre has joined #openstack-keystone16:41
*** mvk has quit IRC16:45
*** AlexeyAbashkin has joined #openstack-keystone16:49
*** AlexeyAbashkin has quit IRC16:49
*** aloga_ has quit IRC16:51
*** sfilatov has joined #openstack-keystone16:52
*** AlexeyAbashkin has joined #openstack-keystone16:54
*** browne has joined #openstack-keystone16:58
*** aloga_ has joined #openstack-keystone17:03
*** Zer0Byte__ has joined #openstack-keystone17:07
*** sfilatov has quit IRC17:17
*** jaugustine has joined #openstack-keystone17:17
*** phalmos has joined #openstack-keystone17:18
*** sfilatov has joined #openstack-keystone17:20
*** voelzmo has joined #openstack-keystone17:20
*** sfilatov_ has joined #openstack-keystone17:21
*** aloga_ has quit IRC17:21
*** aloga_ has joined #openstack-keystone17:22
*** sfilatov has quit IRC17:24
*** voelzmo has quit IRC17:36
*** aloga_ has quit IRC17:38
*** pnavarro has quit IRC17:44
openstackgerritTin Lam proposed openstack/keystone-specs: PCI-DSS Expired Password Users  https://review.openstack.org/38383217:44
*** sfilatov_ has quit IRC17:47
openstackgerritNITIN GUPTA proposed openstack/keystone: added test cases for verifying the fix regarding bug #1614154 Test cases are added to verify the code with "None" Value of hints.  https://review.openstack.org/38854117:53
openstackbug 1614154 in OpenStack Identity (keystone) "Hints with values of None seem to be broken" [Medium,Confirmed] https://launchpad.net/bugs/1614154 - Assigned to NITIN GUPTA (nitin-29-gupta)17:53
*** mvk has joined #openstack-keystone17:54
*** markvoelker has quit IRC17:56
*** aswadr_ has quit IRC17:59
*** amoralej is now known as amoralej|off18:00
*** spilla has quit IRC18:01
openstackgerritLance Bragstad proposed openstack/keystone: Remove issue_v3_token in favor of issue_token  https://review.openstack.org/38683718:02
*** tqtran has quit IRC18:06
-openstackstatus- NOTICE: The Gerrit service on review.openstack.org is being restarted now in an attempt to resolve some mismatched merge states on a few changes, but should return momentarily.18:08
*** browne has quit IRC18:10
*** phalmos has quit IRC18:11
*** phalmos has joined #openstack-keystone18:16
*** dave-mccowan has joined #openstack-keystone18:18
*** phalmos has quit IRC18:18
*** phalmos has joined #openstack-keystone18:19
openstackgerritLance Bragstad proposed openstack/keystone: Remove issue_v2_token  https://review.openstack.org/38676218:21
openstackgerritLance Bragstad proposed openstack/keystone: Remove issue_v3_token in favor of issue_token  https://review.openstack.org/38683718:21
*** Administrator_ has joined #openstack-keystone18:22
*** phalmos_ has joined #openstack-keystone18:24
*** zhugaoxiao has quit IRC18:25
*** phalmos has quit IRC18:27
*** markvoelker has joined #openstack-keystone18:46
knikollastevemar, why is there a 1 hour difference between the wiki and the summit agenda? :/18:46
*** markvoelker has quit IRC18:47
*** markvoelker has joined #openstack-keystone18:47
openstackgerritayoung proposed openstack/keystone: WIP Support AD Nested groups  https://review.openstack.org/38931618:51
*** tobias_ has joined #openstack-keystone18:52
*** tobias_ has quit IRC18:59
*** woodster_ has joined #openstack-keystone19:00
stevemarknikolla: i mentioned this at the meeting, not sure why i wrote them down wrong19:05
stevemarknikolla: either i can't 24hr or they changed19:05
stevemarknikolla: i'll update the wiki19:05
*** asettle has joined #openstack-keystone19:05
knikollastevemar, oh right. didn't quite understand it at the meeting as i hadn't looked at the schedule yet. :P19:07
stevemarknikolla: done!19:07
openstackgerritSteve Martinelli proposed openstack/keystone: Validate mapping exists when creating/updating a protocol  https://review.openstack.org/36239719:12
ayoungstevemar, so, we found an issue when going with straight V3.  Something expects there to be a _member_ role, but if you never create a user with V2, there is no _member_ role.  If you try to create the role manuially, the id is autogenerated, and does not match what the configfile default says19:12
ayoungI'd like to create this role in the bootstrap if possible.  Is it allowed?19:12
stevemarayoung: depends on what expected it to be there?19:13
ayoungstevemar, the values need to come from conf19:13
ayoungI'll link the keys19:13
ayoungstevemar, http://git.openstack.org/cgit/openstack/keystone/tree/keystone/conf/default.py#n9719:14
ayoungand http://git.openstack.org/cgit/openstack/keystone/tree/keystone/conf/default.py#n10919:14
ayoungdefault='9fe2ff9ee4384b1894a90878d3e92bab',  for id19:14
ayoungstevemar, are we allowed to create database entries upon bootstrap>19:15
ayoung?19:15
stevemarayoung: you are19:15
stevemarayoung: so _member_ is only assigned when you give a user a default project (but have yet to assign her the role) IIRC19:16
ayoungstevemar, if you use the V2 API add_user_to_project they get that role19:16
stevemarwhy not, if you're going straight v3, just assign the user the role on the proejct19:16
ayoungstevemar, Horizon something or other...19:16
stevemari believe that is correct19:16
ayounglet me find the bug19:16
stevemarits very much a v2-ism19:17
ayounghttps://bugzilla.redhat.com/show_bug.cgi?id=1387313#c019:17
openstackbugzilla.redhat.com bug 1387313 in openstack-tripleo "After newton deployment _member_ role is missing in keystone" [High,New] - Assigned to jslagle19:17
stevemarand actually assigning the role to the user should resolve the issue19:17
ayoungstevemar, and until V2.0 is dead, buried, decomposed, exhumed, and put in a museum, we need it19:17
ayounghttps://bugzilla.redhat.com/show_bug.cgi?id=1387313#c019:17
ayoungwhich does not really state the problem19:17
*** asettle has quit IRC19:18
ayounghttps://bugs.launchpad.net/tripleo/+bug/1635306  is the launchpad19:18
openstackLaunchpad bug 1635306 in tripleo "After newton deployment _member_ role is missing in keystone" [High,Triaged]19:18
stevemarI can confirm I see the same problem on my overcloud. This is causing issues e.g. when using Horizon and trying to manage projects, as every command fails with "Error: Could not find default role "_member_" in Keystone."19:18
stevemareww19:18
stevemarhorizon, y u do dis19:18
stevemarayoung: comment 6 here https://bugs.launchpad.net/tripleo/+bug/163530619:20
openstackLaunchpad bug 1635306 in tripleo "After newton deployment _member_ role is missing in keystone" [High,Triaged]19:20
stevemarahhh its used when assigning a user to a project19:21
ayoungstevemar, so horizon has a config option that could be set.  I don't know why they feel the need to Know what Role the users would have, but  i assume it is to customize the UI and distinguish between admin and member users19:22
*** thebloggu has quit IRC19:22
ayoungyep19:22
ayoungthat makes even more sense19:22
lbragstadstevemar do we open bugs for untested bits of code?19:22
lbragstadstevemar and by bits I mean controllers19:22
ayoungHey Keystoners,  here's my line in the sand...er whiteboard, for the Keystone Mascot.  https://twitter.com/admiyoung/status/78917975253166899219:23
ayounglbragstad, yes, great first bug for a newbie19:23
stevemarayoung: http://imgur.com/a/m9e3P19:23
*** asettle has joined #openstack-keystone19:24
ayoungYep19:24
stevemarso there's no concept of what "role" a user has in a project19:24
stevemar:(19:24
stevemarjust "add me to it"19:24
ayoungstevemar, blame ziad19:24
stevemarand give me that OPENSTACK_KEYSTONE_DEFAULT_ROLE role19:24
ayoungOr probable joe19:24
openstackgerritMerged openstack/keystone: Remove new_id() in test_revoke  https://review.openstack.org/38924119:25
stevemarid say that if horizon wants to support v3 proper, then they need to be able to express the role someone is given when added to the project19:25
stevemarr1chardj0n3s: ^19:25
*** voelzmo has joined #openstack-keystone19:26
stevemarlbragstad: sounds bug worthy to me19:26
ayoungstevemar, just so you know, that if you stick to that I am in a position where I have a bug we created that I cannot fix19:27
*** sheel has joined #openstack-keystone19:28
ayoungwe pushed people to move to V3.  THis magically worked under V219:28
lbragstadstevemar done, thanks19:28
ayoungso, unless we want people to keep using V2 we need a transition19:28
ayoungstevemar, my origianal question still stands.  Is it OK to add a record to the role table during bootstrap?19:31
stevemarayoung: blah, i'd prefer not, it'll promote bad behaviour :)19:32
ayoungstevemar, so that is a yes, then?19:32
ayoungstevemar, we found this in Tripleo based on Newton after newton was released.  We need a fix in order to keep Newton working.19:33
ayoungAdding new code to Horizon is not an option.19:33
ayoungstevemar, ?19:35
*** voelzmo_ has joined #openstack-keystone19:36
stevemarayoung: mulling it over19:36
*** phalmos_ has quit IRC19:36
ayoungstevemar, we don't allow creating the role with a specific ID.  So we can't tell the installers to do a role_create19:36
kfox1111so, seeing a really weird thing with a gate job I have set up.19:36
ayoungunless they then grab the ID, stick it in the config file, and then restart Keystone.  At which point, they lynch us19:36
kfox1111keystone misses some endpoints...19:36
stevemarayoung: i was thinking that...19:37
kfox1111http://logs.openstack.org/99/389299/1/experimental/gate-kolla-kubernetes-deploy-ubuntu-binary-ceph-nv/8efde8c/logs/openstack-catalog-after-bootstrap.json19:37
kfox1111it is missing the internal cinderv2 endpoint in that case.19:37
kfox1111but, right before that file is generated, I capture:19:37
kfox1111curl -H "X-Auth-Token:$OS_TOKEN" $OS_AUTH_URL/endpoints -o /tmp/$$19:38
kfox1111which looks like this: http://logs.openstack.org/99/389299/1/experimental/gate-kolla-kubernetes-deploy-ubuntu-binary-ceph-nv/8efde8c/logs/endpoints.txt19:38
*** voelzmo has quit IRC19:38
kfox1111and the endpoint is listed there.19:38
kfox1111all are enabled too.19:38
kfox1111so either the extra entry is disapearing from keystone, or endpoints list isn't exactly what openstack catalog list is showing.19:39
kfox1111and nova's failing to find the cinderv2 endpoint, so whatever its doing to lookup too.19:39
kfox1111any ideas?19:39
ayoungkfox1111, neither have cinderv2 in them19:40
*** voelzmo_ has quit IRC19:41
kfox1111well, the openstack catalog list does.19:41
kfox1111the other one only has uuid's in it, but there are 3 entries for 6 services.19:42
kfox1111so they seem like they are all there.19:42
kfox1111if I: jq -r '.endpoints[] | .service_id' /tmp/$$ | sort | uniq -c #on the json endpoint dump, I see:19:43
kfox1111http://pastebin.com/rERHLPgT19:44
kfox1111so it seems like one of the endpoints is going away, or is being ignored somehow.19:46
openstackgerritRichard Avelar proposed openstack/keystone: Remove unused statements in matches  https://review.openstack.org/38754819:47
*** prashkre has quit IRC19:49
ayoungkfox1111, can you reporduce, or is it just in the gate job?  Is there a specific qurery being called, and maybe there is a filter used for endpoints?  Keystone does not drop data unless told to.19:51
kfox1111it has happened frequently enough I've had to start tracking down why, but maybe one in 5 runs or so.19:52
kfox1111only seen it in the gate so far.19:53
kfox1111but finally added enough logging in it to see that if  Icall the curl I seem to see all the endpoints, but then an openstack catalog list after that doesn't.19:53
kfox1111so something is very weird there.19:53
kfox1111at first I thought it was just an endpoint creation race condition or something.19:53
kfox1111like it wasn't waiting until all the endpoints were created.19:53
kfox1111but the curl is showing them all existing. and then later the catalog shows fewer.19:54
kfox1111its very strange.19:54
kfox1111I can add more logging if you can think of anything.19:55
openstackgerritGage Hugo proposed openstack/keystone: Doctor check for LDAP domain specific configs  https://review.openstack.org/36143520:00
jlkdolphm: stevemar: So I've been playing with rally while upgrading today. While the restart happens, I wound up with 2 503s in the rally tests. This may be due to haproxy above keystone, not stopping things from going to a downed back end fast enough (even though I'm giving it a 5 second pause), but still, 2 failures out of 500 some odd attempts isn't bad. (5 attempts at a time, I'm going to bump that up a bunch and try the restarts again).20:03
*** ravelar has quit IRC20:04
jlkmind you, this is just testing the restart bit, I need to reset some things to test while db migrations (live) happen.20:04
kfox1111ayoung: is the catalog ever cached?20:05
kfox1111could one that was cached before all the endpoints were created be being returned?20:06
ayoungkfox1111, yeah, but cache should be invalidated upon add.  Everything is cached20:06
ayoungpossible, but unlikely20:06
ayoungunless it is a total race condition, maybe in how kolla sets things Up?  But that would be weieird20:06
kfox1111I thought it could be my workflow. but spent a long time debugging it, and haven't found an indication that its not running the endpoint creation jobs successfully any more.20:08
kfox1111https://review.openstack.org/#/c/386966/26/tests/bin/ceph_workflow.sh20:08
*** voelzmo has joined #openstack-keystone20:14
*** haplo37_ has quit IRC20:16
*** haplo37_ has joined #openstack-keystone20:18
r1chardj0n3sstevemar: got that message. am gonna read the scrollback to see if I can understand the context of the comment :-)20:24
*** phalmos has joined #openstack-keystone20:25
*** dave-mccowan has quit IRC20:28
kfox1111ayoung: I added a fiew more entries for logging, and disabled memcached. I'll let you know if it disapears.20:31
*** phalmos has quit IRC20:36
openstackgerritSamuel Pilla proposed openstack/keystone: Document OS-SIMPLE-CERT Routes  https://review.openstack.org/38502820:39
*** ravelar has joined #openstack-keystone20:43
*** voelzmo has quit IRC20:43
*** gagehugo_ has quit IRC20:45
*** gagehugo has joined #openstack-keystone20:45
*** ravelar has quit IRC20:48
*** esp has joined #openstack-keystone20:49
*** esp has left #openstack-keystone20:50
*** catintheroof has joined #openstack-keystone20:51
openstackgerritayoung proposed openstack/keystone: WIP Support AD Nested groups  https://review.openstack.org/38931620:52
*** dave-mccowan has joined #openstack-keystone20:54
openstackgerritGage Hugo proposed openstack/keystone-specs: Add keystone project metadata  https://review.openstack.org/38888620:54
*** esp has joined #openstack-keystone20:59
*** ravelar has joined #openstack-keystone21:00
*** edmondsw has quit IRC21:02
*** raildo has quit IRC21:03
*** dave-mcc_ has joined #openstack-keystone21:05
*** dave-mccowan has quit IRC21:08
*** catintheroof_ has joined #openstack-keystone21:11
*** ravelar has quit IRC21:12
*** ayoung has quit IRC21:12
catintheroof_hi guys, one quick question, if i have a rest API (in-house) that provides me of a user authentication method, and i want keystone to use that API, several people told me that i need to code a idP, so what i want to understand is, i need to code something like an LDAP identitiy provider, or a federation mechanism?? i want to start with this but i d21:15
catintheroof_ont seem to understand the concepts21:15
*** gyee has joined #openstack-keystone21:16
*** ChanServ sets mode: +v gyee21:16
*** sheel has quit IRC21:30
*** dave-mcc_ has quit IRC21:33
*** gagehugo has quit IRC21:38
dstanekcatintheroof: if your system doesn't support federation protocols then at a minimun you'll need to write an identity backend21:40
dstanekcatintheroof: you'll only need an auth plugin if you have a completely different way to auth (not using passwork, totp, etc)21:40
dstanekcatintheroof_: ^ (i just pressed up arrow to get to my responses this morning. didn't realized you changed nicks)21:41
catintheroof_dstanek: nice, so ... just an auth plugin? in that case, where i get the users from in that case ?21:43
dstanekcatintheroof_: you have it reversed. you will need an identity backend unless you already support federation21:43
*** simondodsley has quit IRC21:44
catintheroof_dstanek: in your experiencie, if i ALREADY have a backend api, would it be easier to add support to federation ?? that API uses user/pwd, but they want for keystone to use that REST endpoint of information to auth21:50
openstackgerritLance Bragstad proposed openstack/keystone: Remove format_token method  https://review.openstack.org/38936421:51
openstackgerritLance Bragstad proposed openstack/keystone: Remove metadata from token provider  https://review.openstack.org/38936521:51
openstackgerritLance Bragstad proposed openstack/keystone: Clarify the v2.0 validation path  https://review.openstack.org/38936621:51
*** chris_hultin is now known as chris_hultin|AWA21:52
*** jaugustine has quit IRC21:55
dstanekcatintheroof_: implementing a SAML2 (or other) protocol yourself is not the easiest feat. if i didn't have that already i would just implement an identity backend.21:59
dstanekcatintheroof_: since you system uses username/password you can use the existing password auth plugin22:01
catintheroof_dstanek: nice, im starting to get it, can you point me to some doc that says the broad idea of writing an identity backend ? kinda the same way the doc tells you how to write an auth plugin ?22:03
dstanekcatintheroof_: i don't know if that exists. you could look at the code22:04
openstackgerritLance Bragstad proposed openstack/keystone: Simplify the validate_token method  https://review.openstack.org/38937122:05
*** asettle has quit IRC22:05
openstackgerritLance Bragstad proposed openstack/keystone: Remove the v2.0 validate path from validate_token  https://review.openstack.org/38937122:05
catintheroof_dstanek: when we are talkinĀ“ about that, are we talking about the same IB that as today only are sql & ldap ?22:10
dstanekcatintheroof_: yes, you would create your own22:15
*** r-daneel has quit IRC22:17
catintheroof_dstanek: looking at the base.py from the identity dir and their methods22:19
catintheroof_dstanek: i can see thats exactly what i need22:20
*** ayoung has joined #openstack-keystone22:24
*** ChanServ sets mode: +v ayoung22:24
*** lamt has quit IRC22:25
openstackgerritayoung proposed openstack/keystone: WIP Support AD Nested groups  https://review.openstack.org/38931622:34
*** roxanaghe has joined #openstack-keystone22:35
*** catintheroof_ has quit IRC22:38
*** gagehugo has joined #openstack-keystone22:42
openstackgerritLance Bragstad proposed openstack/keystone: Move V2TokenDataHelper to the v2.0 controller  https://review.openstack.org/38938322:45
openstackgerritOpenStack Proposal Bot proposed openstack/keystone: Updated from global requirements  https://review.openstack.org/38831722:53
*** roxanaghe has quit IRC23:01
*** ayoung has quit IRC23:06
*** gyee has quit IRC23:06
*** scarlisle has quit IRC23:09
*** catintheroof has quit IRC23:13
jlkWell, bad news, I'm getting some keystone errors while in partially upgraded mode23:19
jlkerror inserting a 'created_at' entry for a password23:20
jlkand then some deadlocks23:20
*** dave-mccowan has joined #openstack-keystone23:24
jlkdolphm: stevemar: Seeing some errors like http://paste.openstack.org/show/586638/23:24
*** r-daneel has joined #openstack-keystone23:28
*** r-daneel has quit IRC23:33
*** markvoelker has quit IRC23:37
r1chardj0n3sstevemar: I've gone back and read the scrollback regarding Horizon/Keystone v3/_member_/roles&projects and I'm not clear on what we're doing wrong, and what the correct approach should be. It's my understanding that to be in a project, a user must have a role in that project. That's _member_, as I understand it.23:38
jlkusers aren't necessarily "in" projects, its just that users can have one or more roles within one or more project23:42
jlkthe role is what maps the user to the project23:42
r1chardj0n3sjlk: great, I'm glad I understand that aspect correctly!23:42
r1chardj0n3sjlk: so now I just don't understand what we're doing wrong re: _member_23:43
jlkI'm missing context :)23:44
jlk_member_ is a defacto standard, but not necessarily one that's enforced23:44
r1chardj0n3sjlk:  the conversation started here http://eavesdrop.openstack.org/irclogs/%23openstack-keystone/%23openstack-keystone.2016-10-20.log.html#t2016-10-20T19:12:3023:44
jlkoh okay23:45
r1chardj0n3sjlk: yep, that's why it's a setting in Horizon OPENSTACK_KEYSTONE_DEFAULT_ROLE='_member_'23:45
*** agrebennikov_ has quit IRC23:46
r1chardj0n3sdeployments can change it, but the impression I got from the scrollback was that users weren't getting a role at all in their projects23:46
jlkI think v2 automagically did that, but v3 doesn't.23:46
r1chardj0n3syeah, that seems to be the case :-)23:46
jlkew this is ugly23:49
jlkI bet we haven't hit this because our automation still ensures the _member_ role exists23:50
jlkas part of our install23:50
r1chardj0n3syep, sounds like it23:50
r1chardj0n3slooks like some automation systems dropped _member_ in Newton23:50
jlkyeah I don't know why they were dependent on the role ID23:52
jlkour automation isn't23:52
jlksince role names are unique23:53
* jlk vanishes23:55
*** ayoung has joined #openstack-keystone23:59
*** ChanServ sets mode: +v ayoung23:59

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