Friday, 2015-11-20

*** EinstCrazy has joined #openstack-keystone00:01
*** markvoelker has quit IRC00:01
*** mylu has quit IRC00:02
*** roxanaghe has joined #openstack-keystone00:02
RichardRaseleyOK, so I realize that --os-project-id isn't a valid arg, so I changed to --os-tenant-id and I did get a catalog!00:02
*** mylu has joined #openstack-keystone00:02
stevemar_RichardRaseley: hooray!00:03
RichardRaseleyBUT! On neutronclient when I pass --os-tenant-id instead of --os-project-id I get a 500 error vs a empty catalog error.00:03
RichardRaseleyNow to debug that once again.00:03
*** bapalm has quit IRC00:03
*** bapalm has joined #openstack-keystone00:04
openstackgerritDeepti Ramakrishna proposed openstack/keystone: Reject user creation using admin token without domain  https://review.openstack.org/19694200:04
*** mylu_ has joined #openstack-keystone00:04
*** mylu has quit IRC00:05
gyeeRichardRaseley, 500 usually yield a nice looking traceback in keystone server log00:06
RichardRaseleygyee shaleh OK, the behavior is different when using --os-tenant-id vs. --os-project-id. I thought those were treated the same, just new terminology. http://paste.openstack.org/show/479513/00:06
RichardRaseleygyee : Let me enable debug and bounce services.00:07
gyeeRichardRaseley, we need to log a bug, project_id and tenant_id are supposed to be interchangeable00:07
gyeeRichardRaseley, that 500 is coming from Neutron00:08
gyeenot Keystone00:09
gyeelooks like you got the right token from keystone00:09
RichardRaseleygyee: That would make sense. But that is so odd that I get different results from passing tenant id vs project id, just validated again.00:10
gyeeso we have two issues00:10
RichardRaseley(500 from neutron vs empty catalog, respectively)00:10
gyee1) inconsistency between project_id and tenant_id, that's a bug on neutronclient/keystoneclient00:10
RichardRaseleySure, which is good in part because it reduces the amount of crazy I view myself as being.00:10
gyee2) 500 from Neutron00:10
RichardRaseleyHow can I help with #1?00:10
gyeefor #1, we need to log a bug against neutronclient00:11
RichardRaseleyThese are RDO Kilo packages on CentOS 7. neutronclient 3.1.0 and keystoneclient 1.8.100:11
*** EinstCrazy has quit IRC00:12
gyeeRichardRaseley, looking at the neutronclient code, it seem auth_project_id is being ignored no matter what00:13
RichardRaseleygyee: Is that... right?00:13
RichardRaseley(guessing no?)00:13
shalehok, I have one +2 who wants to kick this down the pipe? https://review.openstack.org/#/c/24725700:14
RichardRaseleyThat would explain the behavior as if it were an unscoped token (because it was)00:14
*** fangxu has quit IRC00:14
RichardRaseleygyee shaleh stevemar_ : *Really* appreciate the help you folks gave me on this issue. Thank you.00:16
*** aginwala has quit IRC00:17
shalehRichardRaseley: hopefully you learned something00:17
gyeeRichardRaseley, you're welcome, time to log a bug for neutronclient :)00:17
RichardRaseleyI learned *at least* one thing.00:17
RichardRaseleyNow on to my Neutron 500 errors. Yeeehaw!!!00:18
* shaleh points RichardRaseley to #openstack-neutron :-)00:18
* RichardRaseley tips fedora00:18
*** navid_ has joined #openstack-keystone00:19
shalehbknudson_'s patch could use a kick two. We need to get them over with so we can get the merge conflicts out of the way. https://review.openstack.org/#/c/237205/00:19
shalehs/two/too/00:19
shalehbah00:19
*** davechen1 has left #openstack-keystone00:20
*** mylu_ has quit IRC00:20
*** mylu has joined #openstack-keystone00:21
*** ninag has joined #openstack-keystone00:21
*** ninag has quit IRC00:22
*** navid_ has quit IRC00:23
*** mylu_ has joined #openstack-keystone00:24
*** mylu has quit IRC00:25
*** jamielennox|away is now known as jamielennox00:32
openstackgerritMerged openstack/oslo.policy: Updated from global requirements  https://review.openstack.org/24714000:38
*** mylu_ has quit IRC00:40
*** fangxu has joined #openstack-keystone00:46
jamielennoxmordred notmorgan what would this task manager do?00:47
samueldmqlbragstad: ping, you around ?00:47
notmorganjamielennox: i'll have more info next week but it seems like a tracing/profiling and it *could* do proactive ratelimiting00:47
notmorganbut the former is more interesting, but no-op if not provided00:47
jamielennoxAny reason to not just wrap requests.Session and pass it in?00:48
jamielennoxWhat's the interaction with ksa session?00:48
notmorganjamielennox: let me get more info next week and we shall see?00:49
jamielennoxAlright00:49
notmorganjamielennox: mordred might be able to provide more now, but in either case i'll be looking at it closely when in nyc00:50
jamielennoxNo rush, i was just wondering what you were trying to do and see if i know a way to solve it today00:50
openstackgerritzouyee proposed openstack/keystone: notification.Audit.update needed to be changed from service_id to ref['id']  https://review.openstack.org/24732400:53
*** zouyee has joined #openstack-keystone00:54
*** aginwala has joined #openstack-keystone00:59
*** RichardRaseley has quit IRC01:01
*** EinstCrazy has joined #openstack-keystone01:01
openstackgerritSean Perry proposed openstack/keystone: Minor cleanups for usage of group refs  https://review.openstack.org/24786501:04
*** mylu has joined #openstack-keystone01:09
*** markvoelker has joined #openstack-keystone01:17
*** shaleh has quit IRC01:18
*** markvoelker has quit IRC01:22
*** zqfan is now known as zqfan_AFK01:27
*** miyagishi_t has joined #openstack-keystone01:37
*** mylu has quit IRC01:38
*** daemontool_ has quit IRC01:41
*** daemontool_ has joined #openstack-keystone01:42
*** exploreshaifali has quit IRC01:42
*** mylu has joined #openstack-keystone01:44
*** markvoelker has joined #openstack-keystone01:50
openstackgerritzouyee proposed openstack/keystone: notification.Audit.update needed to be changed from service_id to ref['id']  https://review.openstack.org/24732401:51
*** lhcheng has quit IRC01:54
openstackgerritSamuel de Medeiros Queiroz proposed openstack/keystone: Add caching to role assignments  https://review.openstack.org/21571501:55
*** aginwala has quit IRC01:58
samueldmqlbragstad: dolphm: ^ I added the missing bits; I see it now as good to go (for improving token creation time) :)01:58
dolphmsamueldmq: awesome!01:59
*** davechen has joined #openstack-keystone02:08
*** aginwala has joined #openstack-keystone02:08
*** aginwala has quit IRC02:11
*** mylu has quit IRC02:12
*** jerrygb has quit IRC02:14
openstackgerritMerged openstack/keystone: Manager support for projects acting as domains  https://review.openstack.org/21344802:15
*** aginwala has joined #openstack-keystone02:15
*** davechen1 has joined #openstack-keystone02:18
notmorgandolphm: oh hai02:19
dolphmnotmorgan: o/02:19
notmorgandolphm: how goes?02:20
* notmorgan is slowly being unburntout02:20
openstackgerritMerged openstack/python-keystoneclient: Swap the order of username deprecation  https://review.openstack.org/24757402:20
notmorganvery slowly... but def feeling better. also PDX > LA :P02:21
dolphmnotmorgan: good to hear! i'm getting 4+ keystone devs up to speed!02:21
dolphmnotmorgan: did you move?!02:21
notmorgandolphm: ooh so you have minions?!02:21
*** davechen has quit IRC02:21
dolphmnotmorgan: not really. they're all from intel02:21
notmorgandolphm: yah. last weekend drove up to my new home02:21
dolphmnotmorgan: not sure if you saw the keynote on OSIC, but they're all working as part of that02:22
notmorganyah I saw it02:22
notmorgancool stuff.02:22
dolphmactually, 5 - i haven't met the 5th yet02:23
*** jerrygb has joined #openstack-keystone02:24
*** mylu has joined #openstack-keystone02:31
*** mylu has quit IRC02:32
*** mylu has joined #openstack-keystone02:35
*** mylu has quit IRC02:38
*** mylu has joined #openstack-keystone02:38
*** dims_ has quit IRC02:39
*** topol has joined #openstack-keystone02:42
*** ChanServ sets mode: +v topol02:42
*** mylu has quit IRC02:43
*** mylu has joined #openstack-keystone02:44
*** aginwala has quit IRC02:45
openstackgerritDave Chen proposed openstack/keystone: Remove core module from the legacy endpoint_filter extension  https://review.openstack.org/24788502:46
*** topol has quit IRC02:46
*** aginwala has joined #openstack-keystone02:48
*** aginwala has quit IRC02:48
stevemar_gyee: thanks for reviewing specs!02:52
stevemar_dolphm: push this patch through? https://review.openstack.org/#/c/237205/02:54
*** woodster_ has quit IRC02:59
*** fawadkhaliq has joined #openstack-keystone03:08
*** jasonsb has joined #openstack-keystone03:09
*** fangxu has quit IRC03:10
openstackgerritzouyee proposed openstack/keystone: notification.Audit.update needed to be changed from service_id to ref['id']  https://review.openstack.org/24732403:19
*** edmondsw has quit IRC03:19
*** dims has joined #openstack-keystone03:21
*** mylu_ has joined #openstack-keystone03:22
*** mylu has quit IRC03:22
gyeestevemar_, get my reviews in before next week, I'll be take most of next week off03:28
stevemar_gyee: slacking as usual!03:28
stevemar_gyee: :)03:28
gyeehahah03:28
stevemar_gyee: thanksgiving is so huge in the states!03:28
openstackgerritDave Chen proposed openstack/keystone: Update docs for legacy keystone extensions  https://review.openstack.org/24790003:29
stevemar_it's barely a blip on the radar up north03:29
gyeestevemar_, yeah, give us excuse to spend more time with the family03:29
stevemar_davechen1: yessssssssssss thanks for that03:29
gyeeI am not a fan if turkey though03:29
*** davechen1 is now known as davechen03:29
davechenpls review, gentlemen03:29
gyeedstanek, that you? http://thebiglead.com/2015/11/06/browns-fan-re-purposes-trent-richardson-jersey-by-removing-four-letters/03:30
davechengyee: what's your for the vacation?03:30
stevemar_davechen: i was going to start doing that, but i'm glad you did :)03:30
davechenstevemar_: i am not quite sure about the grammer.03:31
gyeedavechan, house projects03:31
stevemar_davechen: that's fine, i appreciate the effort03:31
davechengyee: that must be funny :)03:31
davechenstevemar_: i am also just doing my job. :)03:31
stevemar_davechen: i was thinking we could wrap all those under configuration.rst http://docs.openstack.org/developer/keystone/configuration.html03:31
davechenstevemar_: i agree.03:32
gyeeif dstanek were that jersey, I would hate to sit in front of him :)03:32
gyees/were/ware/03:32
*** roxanaghe has quit IRC03:32
davechenlittle info is needed in these docs.03:32
davechengyee: what's the story behind this?03:34
openstackgerritayoung proposed openstack/keystone-specs: Correct unscoped token request layout  https://review.openstack.org/15879103:34
gyeedavechen, sucks to be a browns fan these days03:36
davechengyee: :)03:36
gyeedavechen, I live in the bay area now, same thing happen to the Oakland A's fan, they have to re-purpose they jerseys every year03:37
davechenhow long you live in bay area?03:37
openstackgerritayoung proposed openstack/keystone-specs: Correct unscoped token request layout  https://review.openstack.org/15879103:38
gyeedavechen, 15 years03:39
*** gyee has quit IRC04:00
*** fawadkhaliq has quit IRC04:01
*** topol has joined #openstack-keystone04:03
*** ChanServ sets mode: +v topol04:03
*** dave-mccowan has quit IRC04:07
*** swebb has quit IRC04:07
*** telemons1er has quit IRC04:08
*** telemonster has joined #openstack-keystone04:08
*** trey has quit IRC04:08
*** EmilienM has quit IRC04:08
*** EmilienM has joined #openstack-keystone04:10
*** trey has joined #openstack-keystone04:11
*** swebb has joined #openstack-keystone04:12
*** topol has quit IRC04:28
*** dims has quit IRC04:36
*** gildub has quit IRC04:36
*** richm has quit IRC04:45
*** fangxu has joined #openstack-keystone04:47
*** mylu_ has quit IRC04:47
*** ajaya has joined #openstack-keystone04:55
openstackgerritOpenStack Proposal Bot proposed openstack/keystone: Updated from global requirements  https://review.openstack.org/24711304:55
*** daemontool_ has quit IRC04:58
*** daemontool_ has joined #openstack-keystone04:58
openstackgerritOpenStack Proposal Bot proposed openstack/python-keystoneclient: Updated from global requirements  https://review.openstack.org/24715404:59
*** fawadkhaliq has joined #openstack-keystone04:59
*** fawadkhaliq has quit IRC05:00
*** fawadk has joined #openstack-keystone05:00
*** mylu has joined #openstack-keystone05:24
*** mylu has quit IRC05:25
*** mylu has joined #openstack-keystone05:26
*** fangxu has quit IRC05:26
*** mylu has quit IRC05:27
*** mylu has joined #openstack-keystone05:28
*** jerrygb has quit IRC05:29
*** stevemar_ has quit IRC05:34
*** stevemar_ has joined #openstack-keystone05:35
*** ChanServ sets mode: +o stevemar_05:35
*** stevemar_ has quit IRC05:38
*** mylu has quit IRC05:39
*** davechen has left #openstack-keystone05:44
*** jbell8 has quit IRC05:49
*** mylu has joined #openstack-keystone05:57
*** Nirupama has joined #openstack-keystone06:05
*** aginwala has joined #openstack-keystone06:07
*** mylu has quit IRC06:12
*** mylu has joined #openstack-keystone06:12
*** jasonsb has quit IRC06:14
*** mylu has quit IRC06:18
*** roxanaghe has joined #openstack-keystone06:18
*** jasonsb has joined #openstack-keystone06:19
*** jasonsb has quit IRC06:21
openstackgerritzouyee proposed openstack/keystone: notification.Audit.update needed to be changed from service_id to ref['id']  https://review.openstack.org/24732406:29
*** rcernin has joined #openstack-keystone06:30
*** jerrygb has joined #openstack-keystone06:30
*** jerrygb has quit IRC06:36
*** jbell8 has joined #openstack-keystone07:00
*** jbell8 has quit IRC07:04
openstackgerritMerged openstack/python-keystoneclient: Updated from global requirements  https://review.openstack.org/24715407:06
*** jasonsb has joined #openstack-keystone07:10
*** jaosorior has joined #openstack-keystone07:19
*** jbell8 has joined #openstack-keystone07:24
*** jbell8 has quit IRC07:37
*** zouyee has quit IRC07:49
*** _zouyee has joined #openstack-keystone07:49
*** csoukup has joined #openstack-keystone07:50
*** lhcheng has joined #openstack-keystone07:57
*** ChanServ sets mode: +v lhcheng07:57
*** csoukup has quit IRC08:00
*** tyagiprince has joined #openstack-keystone08:05
tyagiprincehey people.. I am getting an error on running a command "openstack user list"..08:05
tyagiprinceWARNING: keystoneclient.auth.identity.generic.base Discovering versions from the identity service failed when creating the password plugin. Attempting to determine version from URL.08:05
tyagiprinceERROR: openstack Internal Server Error (HTTP 500)08:05
tyagiprincewhen I looked inside the logs, it says no module to import in /var/www/cgi-bin/keystone/admin08:06
*** roxanaghe has quit IRC08:06
*** roxanaghe has joined #openstack-keystone08:07
*** roxanaghe has quit IRC08:11
*** henrynash has joined #openstack-keystone08:13
*** ChanServ sets mode: +v henrynash08:13
tyagiprinceGot it right brothers.. Thanks.. :)08:15
*** spandhe has joined #openstack-keystone08:18
*** spandhe has left #openstack-keystone08:18
*** fawadk has quit IRC08:21
*** fawadkhaliq has joined #openstack-keystone08:22
openstackgerrithenry-nash proposed openstack/keystone-specs: Enable retrieval of default values of domain config options  https://review.openstack.org/18565008:26
*** daemontool_ has quit IRC08:36
*** daemontool_ has joined #openstack-keystone08:39
openstackgerrityangweiwei proposed openstack/oslo.policy: Modified enforce method in oslo.policy to enforce user-defined policy rules.  https://review.openstack.org/24797508:45
*** fawadkhaliq has quit IRC08:53
*** fawadkhaliq has joined #openstack-keystone08:53
*** aginwala has quit IRC08:56
openstackgerritJulien Danjou proposed openstack/keystone: wsgi: fix base_url finding  https://review.openstack.org/22646408:56
*** fhubik has joined #openstack-keystone08:57
xekmorning :)08:58
tyagiprincepeople.. I am working on configuring keystone with ldap.. and I have sourced my credentials like I used to do when it was configured with sql.. the problem is when i run the command "openstack user list" it gives the error messages.. one of them is could not find user admin..09:03
*** pnavarro|afk has joined #openstack-keystone09:03
jamielennoxtyagiprince: any idea what's causing the 500?09:03
jamielennoxit usually is accompanied by a stacktrace on the server09:04
jamielennoxthough you might have to set debug=True in keystone.conf for that09:04
jamielennoxthe discovering versions from service thing isn't relevant09:04
tyagiprincejamielennox: I am not getting 500.. ERROR: openstack The request you have made requires authentication. (HTTP 401) (Request-ID: req-8a988897-7a21-4f7e-9630-164c94222741)09:04
jamielennoxoh, sorry i was just looking up the scrollback and was confusing earlier09:05
jamielennoxok, so couldn't find admin is a fairly generic message, and could come from a number of places09:06
jamielennoxand i don't have an ldap setup at the moment that i can walk through with09:06
jamielennoxbut is the user being found in ldap?09:06
*** roxanaghe has joined #openstack-keystone09:08
tyagiprincejamielennox: No it is not looking up in ldap.. I am sourcing a file admin-openrc.sh and the user it is talking about is the same present in the same file I am sourcing..09:09
tyagiprincejamielennox: I have enabled the logs.. Do you want to take a look at them?09:09
jamielennoxtyagiprince: sure09:10
jamielennoxtyagiprince: when you source the accrc file you are loading the client side with user/pass, if you are getting a message "could not find user admin" then that's coming from the server09:11
jamielennoxsaying that it was trying to authenticate with the user/pass you loaded but there was no admin user on the server side for it to auth with09:11
tyagiprincejamielennox: http://pastebin.com/SwT34tG309:11
*** roxanaghe has quit IRC09:12
tyagiprinceYes.. It is going to ldap maybe.. and couldnt find the admin user.. so I replaced the user with my user on ldap ie. prince.tyagi..09:12
jamielennoxtyagiprince: yea, so its made it through to keystone - do you have an admin user in your ldap?09:13
tyagiprincestill I am getting the same message that could not find the user prince.tyagi09:13
jamielennoxso does your ldap query actually return?09:13
jamielennoxlike if you execute the query against the ldap server directly it works?09:14
tyagiprincejamielennox: Nope.. I sent you the logs after changing the user from admin to prince.tyagi09:14
jamielennoxright - but skip keystone, does the ldap return a record for that query09:14
tyagiprinceYes.. If you are asking me if the credentials I m putting down there are correct.. I have checked that..09:15
jamielennoxno, i'm saying if you execute the query against ldap with like ldapsearch it is returning something?09:15
openstackgerritzouyee proposed openstack/keystone: notification.Audit.update needed to be changed from service_id to ref['id']  https://review.openstack.org/24732409:15
jamielennoxi'm trying to figure out if the ldap filters are correct09:16
tyagiprincejamielennox: I have not tried that.. Let me do that and get back to you..09:16
jamielennoxand this is an area i'm not good at09:16
openstackgerritzouyee proposed openstack/keystone-specs: Update sample value of Policy blob attribute  https://review.openstack.org/24282709:23
*** jaosorior has quit IRC09:23
*** markvoelker has quit IRC09:30
tyagiprincejamielennox: yes.. the ldap filters are correct.. I am able to retrieve the users using ldapsearch09:31
*** e0ne has joined #openstack-keystone09:31
jamielennoxtyagiprince: hmm, that's almost always the problem there09:33
jamielennoxthe traceback is telling us that it's tried to query the ldap server and didn't find anythign09:33
jamielennoxsn=prince.tyagi doesn't look right09:35
jamielennoxshould it be cn09:35
jamielennoxor uid09:36
*** mhickey has joined #openstack-keystone09:37
tyagiprincejamielennox: I want to connect to active directory.. Should I follow the configuration in keystone doc?09:38
tyagiprince[ldap]09:39
tyagiprinceuser_objectclass          = person09:39
tyagiprinceuser_id_attribute         = cn09:39
tyagiprinceuser_name_attribute       = cn09:39
tyagiprinceuser_mail_attribute       = mail09:39
tyagiprinceuser_enabled_attribute    = userAccountControl09:39
tyagiprinceuser_enabled_mask         = 209:39
tyagiprinceuser_enabled_default      = 51209:39
tyagiprinceuser_attribute_ignore     = tenant_id,tenants09:39
tyagiprinceproject_objectclass       = groupOfNames09:39
tyagiprinceproject_id_attribute      = cn09:39
tyagiprinceproject_member_attribute  = member09:39
tyagiprincedo I need to configure these in ldap section?09:39
jamielennoxi'm not a great person to ask about ldap, i mostly get it but it's not my area09:39
jamielennoxparticularly for AD09:39
jamielennoxwhat was the ldapsearch query you executed09:40
jamielennoxso that doesn't look like what's being used09:40
tyagiprince ldapsearch -b "OU=users,OU=Technology,OU=snapdeal_delhi,OU=India,OU=Users,OU=UserId&Rooms,DC=jasperindia,DC=local" -D "CN=Prince Tyagi,OU=users,OU=Technology,OU=snapdeal_delhi,OU=India,OU=Users,OU=UserId&Rooms,DC=jasperindia,DC=local" -h 10.20.49.100 -W -u09:40
jamielennoxput_filter: "(&(sn=prince.tyagi)(objectClass=inetOrgPerson))"09:40
*** jaosorior has joined #openstack-keystone09:41
jamielennoxhave you got all your suffix etc configure?09:42
*** jistr has joined #openstack-keystone09:44
tyagiprincejamielennox: I did some changes as suggested in the keystone configuration on http://docs.openstack.org/developer/keystone/configuration.html#configuring-the-ldap-identity-provider09:47
tyagiprincehttp://pastebin.com/LqhAgSAi09:47
tyagiprinceYou can take a look at the new logs I am getting at pastebin09:47
jamielennoxtyagiprince: can you show me the conf?09:47
jamielennoxi'm not actually sure how AD configuration is different there09:49
*** EinstCrazy has quit IRC09:49
jamielennoxbut it looks to me like you're still missing like a bunch of suffix and like user_tree options09:49
tyagiprincehttp://pastebin.com/cTrdEhvF09:50
tyagiprincejamielennox: heres the keystone.conf09:50
tyagiprincejamielennox: I have changed the password.. since its my company ldap.. :P09:51
jamielennoxgood09:51
jamielennoxso i'm not sure why but your options don't seem to be coming through09:56
jamielennoxlike it's not picking up person objecttype09:56
tyagiprinceso should I go with the default ones? inetOrgPerson instead of person09:57
openstackgerritMarian Horban proposed openstack/python-keystoneclient: Remove lock object from BaseIdentityPlugin  https://review.openstack.org/24652109:57
jamielennoxno, from the doc that looks ok for AD, it just doesn't seem to be doing it in keystone09:58
tyagiprincejamielennox: Did you find any problem with the configuration?10:01
jamielennoxcan you set the suffix and try it that way10:01
jamielennoxi'm not sure, it shouldn't matter if you've got user_tree set10:03
tyagiprinceI think theres some change in the logs.. I'll post them to you.. but the error is still the same.. 401.10:03
jamielennoxyouve got debug set right, there seems to be some logging statements missing10:04
tyagiprincejamielennox: http://pastebin.com/pjUh7W3310:05
*** fawadkhaliq has quit IRC10:05
tyagiprinceno these are the same logs.. let me get you different one.. sorry10:06
*** aix has joined #openstack-keystone10:07
jamielennoxtyagiprince: so i think it's going through this function: https://github.com/openstack/keystone/blob/master/keystone/common/ldap/core.py#L144010:09
jamielennoxcan you put a debug statement in there to show whats actually being requeste10:09
jamielennoxd10:09
*** fhubik has quit IRC10:10
tyagiprincejamielennox: http://pastebin.com/Fv6ExTaX10:11
tyagiprincetake a look at this.. it says at the end requires authentication from 10.41.0.122 which is my compute.. and also neutron comes up in the logs..10:11
jamielennoxyea, that's just the other services trying to auth in for something10:13
tyagiprincejamielennox: okay.. yes theres a neutron user.. It might be requesting for authentication.. I am not able to look up anything similar on google.. :P10:17
tyagiprinceshould I go with kerberos protocal and then configure ldap?10:17
tyagiprincejamielennox: yesterday I had a chat with ayoung.. He said that he would go with kerberos only but that will be make it difficult..10:19
openstackgerritGrzegorz Grasza (xek) proposed openstack/keystone-specs: Online schema migration  https://review.openstack.org/24518610:19
jamielennoxkerberos is great, but it's going to be harder to configure10:19
jamielennoxto just test it out i'd stay with straight ldap, it should be easier10:20
jamielennoxyou can always try kerberos later10:21
*** pnavarro|afk has quit IRC10:27
*** fawadkhaliq has joined #openstack-keystone10:30
*** markvoelker has joined #openstack-keystone10:31
tyagiprincejamielennox: how do I know if I have to use cn or sn or uid etc? I guess I am making mistakes in that only..10:35
*** markvoelker has quit IRC10:36
*** pnavarro|afk has joined #openstack-keystone10:39
*** lhcheng has quit IRC10:43
*** e0ne has quit IRC10:43
tyagiprincejamielennox: what should I do?10:45
tyagiprince:P10:45
tyagiprincehenrynash: hey do you have any idea about ldap (active directory) configuration with keystone?10:46
*** topol has joined #openstack-keystone10:46
*** ChanServ sets mode: +v topol10:46
*** Nirupama has quit IRC10:49
henrynashtyagiprince: hi10:50
*** topol has quit IRC10:51
*** e0ne has joined #openstack-keystone10:51
*** EinstCrazy has joined #openstack-keystone10:54
*** fhubik has joined #openstack-keystone10:56
openstackgerrithenry-nash proposed openstack/keystone: Use list_role_assignments to get projects/domains for user  https://review.openstack.org/24251310:58
openstackgerrithenry-nash proposed openstack/keystone: Show defect in list_user_ids that only lists direct user assignments  https://review.openstack.org/24256410:59
openstackgerrithenry-nash proposed openstack/keystone: Fix defect in list_user_ids that only lists direct user assignments  https://review.openstack.org/24257411:02
*** henrynash has quit IRC11:02
*** henrynash has joined #openstack-keystone11:05
*** ChanServ sets mode: +v henrynash11:05
samueldmqhenrynash: hi11:08
*** fawadkhaliq has quit IRC11:08
*** roxanaghe has joined #openstack-keystone11:10
henrynashsamueldmq: hi11:10
samueldmqhenrynash: if by chance you are going to submit another patchset for this chain https://review.openstack.org/#/c/242513/11:11
henrynashsamueldmq: which  i might!11:11
samueldmqhenrynash: where I am co-author, please fix my email from @lsd (university) to samueldmq at gmail :)11:12
henrynashsanueldmq: oops, sorry about that - stole it from an old bp!11:12
henrynashsamueldmq: so samueldmq@gmail.com ?11:13
*** tyagiprince has quit IRC11:14
openstackgerrithenry-nash proposed openstack/keystone: Create new version of assignment driver interface  https://review.openstack.org/24285311:14
*** roxanaghe has quit IRC11:14
samueldmqhenrynash: yep11:14
henrynashsamueldmq: will do11:14
samueldmqhenrynash: thanks, just noticed11:15
samueldmqhenrynash: and to finishing reviewing all that chain; I will take still another look at the first one (creating the new driver) and put some wheight there11:15
samueldmqweight*11:16
samueldmqhenrynash: for me it is the most complex :)11:16
openstackgerrithenry-nash proposed openstack/keystone: Use list_role_assignments to get projects/domains for user  https://review.openstack.org/24251311:22
henrynashsamueldmq: thanks - most of the “change” is, of course, just copyin thr old driver files (unchanged) to a new location11:22
*** dims has joined #openstack-keystone11:24
*** topol has joined #openstack-keystone11:25
*** ChanServ sets mode: +v topol11:25
openstackgerrithenry-nash proposed openstack/keystone: Show defect in list_user_ids that only lists direct user assignments  https://review.openstack.org/24256411:26
openstackgerrithenry-nash proposed openstack/keystone: Fix defect in list_user_ids that only lists direct user assignments  https://review.openstack.org/24257411:27
*** fawadkhaliq has joined #openstack-keystone11:30
*** topol has quit IRC11:30
*** henrynash has quit IRC11:36
*** tyagiprince has joined #openstack-keystone11:39
*** doug-fish has quit IRC11:42
*** doug-fish has joined #openstack-keystone11:42
*** tyagiprince has quit IRC11:45
*** doug-fish has quit IRC11:47
*** fawadkhaliq has quit IRC11:53
*** daemontool_ has quit IRC11:58
*** daemontool_ has joined #openstack-keystone12:01
*** fhubik is now known as fhubik_brb12:07
*** fhubik_brb is now known as fhubik12:09
*** roxanaghe has joined #openstack-keystone12:10
*** roxanaghe has quit IRC12:15
*** e0ne has quit IRC12:19
*** e0ne has joined #openstack-keystone12:19
*** fhubik is now known as fhubik_brb12:26
*** _zouyee has quit IRC12:29
*** alejandrito has joined #openstack-keystone12:30
*** markvoelker has joined #openstack-keystone12:32
*** henrynash has joined #openstack-keystone12:32
*** ChanServ sets mode: +v henrynash12:32
*** aix has quit IRC12:36
*** markvoelker has quit IRC12:37
*** raildo-afk is now known as raildo12:39
openstackgerrithenry-nash proposed openstack/keystone: Create V9 Role Driver  https://review.openstack.org/24780512:39
*** miyagishi_t has quit IRC12:43
openstackgerrithenry-nash proposed openstack/keystone: Create V9 Role Driver  https://review.openstack.org/24780512:44
*** tyagiprince has joined #openstack-keystone12:47
*** topol has joined #openstack-keystone12:52
*** ChanServ sets mode: +v topol12:52
*** tyagiprince1 has joined #openstack-keystone12:54
*** wuhg has joined #openstack-keystone12:55
tyagiprince1do I need to create some specific schema in ldap server for my keystone to configure ldap?12:55
*** tyagiprince has quit IRC12:57
*** tyagiprince1 is now known as tyagiprince12:57
*** fhubik_brb is now known as fhubik13:00
samueldmqhenrynash: would be nice to get your role assignments expertise on https://review.openstack.org/#/c/215715/13:03
henrynashsameuldmq: ok, will take a look bit later, sure!13:03
*** ajaya has quit IRC13:05
openstackgerritAlexander Makarov proposed openstack/keystone-specs: Unified delegation spec  https://review.openstack.org/18981613:06
openstackgerritAlexander Makarov proposed openstack/keystone-specs: Unified delegation spec  https://review.openstack.org/18981613:07
*** tellesnobrega is now known as tellesnobrega_af13:10
*** pauloewerton has joined #openstack-keystone13:12
*** roxanaghe has joined #openstack-keystone13:12
*** jaosorior has quit IRC13:13
*** roxanaghe has quit IRC13:16
*** mkoderer has quit IRC13:18
*** mkoderer has joined #openstack-keystone13:21
*** thiagop has joined #openstack-keystone13:29
*** aix has joined #openstack-keystone13:30
*** dave-mccowan has joined #openstack-keystone13:30
breton_jamielennox: in Fuel people ran into https://bugs.launchpad.net/python-openstackclient/+bug/141036413:32
openstackLaunchpad bug 1410364 in python-keystoneclient "Version discovery fails with default Keystone config" [Undecided,In progress] - Assigned to Dean Troyer (dtroyer)13:32
breton_jamielennox: they have a similar issue -- the address in public_endpoint is not accessible during bootstraping13:33
*** ayoung has joined #openstack-keystone13:33
*** ChanServ sets mode: +v ayoung13:33
breton_and the address there is not localhost, so tha patch suggested by dtroyer doesn't work for them13:34
*** markvoelker has joined #openstack-keystone13:35
*** richm has joined #openstack-keystone13:39
*** sborkows has joined #openstack-keystone13:40
openstackgerrithenry-nash proposed openstack/keystone-specs: Allow url-safe project and domain names to be optionally enforced  https://review.openstack.org/24808313:43
openstackgerrithenry-nash proposed openstack/keystone-specs: Allow url-safe project and domain names to be optionally enforced  https://review.openstack.org/24808313:47
*** gordc has joined #openstack-keystone13:52
*** fhubik has quit IRC13:54
samueldmqhenrynash: reviewed! lgtm13:59
samueldmq:)13:59
henrynashsamulemq: thx13:59
*** rm_work has quit IRC14:01
*** tellesnobrega_af has quit IRC14:02
*** tellesnobrega_af has joined #openstack-keystone14:02
*** tellesnobrega_af has quit IRC14:02
*** tellesno` has joined #openstack-keystone14:02
*** tellesno` is now known as tellesnobrega_af14:02
tyagiprincehey... do I need to create some specific schema in ldap server for my keystone to configure ldap?14:04
*** rm_work has joined #openstack-keystone14:04
*** roxanaghe has joined #openstack-keystone14:13
*** stevemar_ has joined #openstack-keystone14:13
*** ChanServ sets mode: +o stevemar_14:13
*** roxanaghe has quit IRC14:17
*** jerrygb has joined #openstack-keystone14:21
*** doug-fish has joined #openstack-keystone14:21
*** tellesnobrega_af is now known as tellesnobrega14:30
*** petertr7_away is now known as petertr714:31
*** daemontool has joined #openstack-keystone14:35
*** daemontool_ has quit IRC14:37
*** fawadkhaliq has joined #openstack-keystone14:41
*** petertr7 is now known as petertr7_away14:46
*** aix has quit IRC14:47
*** petertr7_away is now known as petertr714:48
*** aix has joined #openstack-keystone14:49
openstackgerritTom Cocozzello proposed openstack/keystone: Pass dict into update() rather than **kwargs  https://review.openstack.org/24811614:50
*** ninag has joined #openstack-keystone14:50
*** xek has quit IRC14:55
*** gwei3 has joined #openstack-keystone14:56
*** pumaranikar has joined #openstack-keystone14:56
lbragstadsamueldmq thanks for respinning15:00
*** boris-42 has joined #openstack-keystone15:01
*** henrynash has quit IRC15:02
*** breitz has joined #openstack-keystone15:03
opilottedstanek, dolphm: if you have some spare time: https://review.openstack.org/#/c/21058115:03
*** jasondotstar is now known as jasondotstar_afk15:08
*** stevemar_ has quit IRC15:10
*** e0ne has quit IRC15:11
*** roxanaghe has joined #openstack-keystone15:13
*** roxanaghe has quit IRC15:18
*** jerrygb has quit IRC15:22
*** jerrygb has joined #openstack-keystone15:23
*** davechen has joined #openstack-keystone15:26
*** timcline has joined #openstack-keystone15:26
openstackgerritMerged openstack/pycadf: Remove Python 2.6 classifier  https://review.openstack.org/24626515:28
*** tyagiprince has quit IRC15:29
*** petertr7 is now known as petertr7_away15:31
*** e0ne has joined #openstack-keystone15:33
*** rcernin has quit IRC15:34
*** gwei3 has quit IRC15:34
*** topol has quit IRC15:36
*** petertr7_away is now known as petertr715:44
*** roxanaghe has joined #openstack-keystone15:52
*** tellesnobrega is now known as tellesnobrega_af15:52
*** tellesnobrega_af is now known as tellesnobrega15:52
*** stevemar_ has joined #openstack-keystone15:52
*** ChanServ sets mode: +o stevemar_15:52
*** roxanaghe has quit IRC15:55
*** e0ne_ has joined #openstack-keystone15:57
*** e0ne has quit IRC15:58
*** svasheka has quit IRC15:58
*** stevemar_ has quit IRC15:58
*** stevemar_ has joined #openstack-keystone15:59
*** ChanServ sets mode: +o stevemar_15:59
*** rcernin has joined #openstack-keystone16:00
*** rcernin is now known as rcernin|dinner16:00
openstackgerritTony Wang proposed openstack/keystone: Add `type' filter for list_credentials_for_user  https://review.openstack.org/23521416:01
*** sborkows has quit IRC16:03
*** svasheka has joined #openstack-keystone16:05
*** mhickey has quit IRC16:14
*** stevemar_ has quit IRC16:26
*** woodster_ has joined #openstack-keystone16:29
*** roxanaghe has joined #openstack-keystone16:30
*** roxanaghe has quit IRC16:31
*** gordc has quit IRC16:33
*** gordc has joined #openstack-keystone16:33
*** mylu has joined #openstack-keystone16:34
*** gyee has joined #openstack-keystone16:37
*** ChanServ sets mode: +v gyee16:37
*** mylu has quit IRC16:38
*** stevemar_ has joined #openstack-keystone16:39
*** ChanServ sets mode: +o stevemar_16:39
*** lhcheng has joined #openstack-keystone16:40
*** ChanServ sets mode: +v lhcheng16:40
*** rcernin|dinner is now known as rcernin16:42
*** stevemar_ has quit IRC16:44
*** dims_ has joined #openstack-keystone16:44
*** dims has quit IRC16:44
*** mylu has joined #openstack-keystone16:44
*** stevemar_ has joined #openstack-keystone16:45
*** ChanServ sets mode: +o stevemar_16:45
*** pnavarro|afk has quit IRC16:45
*** mylu has quit IRC16:48
*** mylu has joined #openstack-keystone16:48
*** mylu has quit IRC16:50
*** mylu_ has joined #openstack-keystone16:50
*** topol has joined #openstack-keystone16:50
*** ChanServ sets mode: +v topol16:50
*** roxanaghe has joined #openstack-keystone16:55
*** e0ne_ has quit IRC16:58
*** daemontool has quit IRC16:59
*** stevemar_ has quit IRC16:59
*** stevemar_ has joined #openstack-keystone17:00
*** ChanServ sets mode: +o stevemar_17:00
*** daemontool has joined #openstack-keystone17:02
*** toddnni has quit IRC17:02
*** stevemar_ has quit IRC17:04
*** mylu_ has quit IRC17:16
*** mylu has joined #openstack-keystone17:16
*** wuhg has quit IRC17:31
*** petertr7 is now known as petertr7_away17:34
openstackgerritHenrique Truta proposed openstack/keystone: API support for project cascade delete  https://review.openstack.org/24424817:35
openstackgerritHenrique Truta proposed openstack/keystone: Manager support for project delete cascade  https://review.openstack.org/24414917:35
openstackgerritHenrique Truta proposed openstack/keystone: Add backend support for deleting a projects list  https://review.openstack.org/24591617:35
*** petertr7_away is now known as petertr717:42
*** jasonsb has quit IRC17:44
*** mylu has quit IRC17:46
*** mylu has joined #openstack-keystone17:46
openstackgerritHenrique Truta proposed openstack/keystone: API support for cascade update  https://review.openstack.org/24358517:50
openstackgerritHenrique Truta proposed openstack/keystone: Manager support for project cascade update  https://review.openstack.org/24358417:50
*** mylu has quit IRC17:51
*** jasonsb has joined #openstack-keystone17:54
openstackgerritHenrique Truta proposed openstack/keystone: Tests for projects acting as domains  https://review.openstack.org/21121917:54
openstackgerritHenrique Truta proposed openstack/keystone: Bye Bye Domain Table  https://review.openstack.org/16185417:54
openstackgerritHenrique Truta proposed openstack/keystone: Remove domain table references  https://review.openstack.org/16593617:54
openstackgerritHenrique Truta proposed openstack/keystone: Projects acting as domains  https://review.openstack.org/23128917:54
openstackgerritHenrique Truta proposed openstack/keystone: Removes project.domain_id FK  https://review.openstack.org/23327417:54
openstackgerritHenrique Truta proposed openstack/keystone: Change project name constraints  https://review.openstack.org/15837217:54
openstackgerritHenrique Truta proposed openstack/keystone: Add is_domain parameter to get_project_by_name  https://review.openstack.org/21060017:54
*** RichardRaseley has joined #openstack-keystone17:56
*** ericksonsantos has quit IRC17:58
openstackgerritHenrique Truta proposed openstack/keystone: Add is_domain filter to list_projects v3  https://review.openstack.org/15839817:58
*** chrisshattuck has joined #openstack-keystone17:58
openstackgerritHenrique Truta proposed openstack/keystone: Tests for subprojects acting as domains  https://review.openstack.org/23490717:59
*** josecastroleon has quit IRC17:59
*** mylu has joined #openstack-keystone18:00
*** mylu has quit IRC18:01
*** jistr has quit IRC18:01
*** mylu has joined #openstack-keystone18:03
*** daemontool has quit IRC18:05
*** dims has joined #openstack-keystone18:05
*** dims_ has quit IRC18:06
*** lhcheng has quit IRC18:06
*** lhcheng_ has joined #openstack-keystone18:07
*** daemontool has joined #openstack-keystone18:07
*** fawadkhaliq has quit IRC18:07
*** mylu has quit IRC18:09
*** mylu has joined #openstack-keystone18:09
*** aix has quit IRC18:10
*** e0ne has joined #openstack-keystone18:11
*** mylu has quit IRC18:11
*** mylu has joined #openstack-keystone18:12
*** mylu has quit IRC18:14
*** thiagop has quit IRC18:15
*** mylu has joined #openstack-keystone18:15
*** mylu_ has joined #openstack-keystone18:17
*** mylu has quit IRC18:18
*** jbell8 has joined #openstack-keystone18:21
*** e0ne has quit IRC18:22
*** toddnni has joined #openstack-keystone18:32
*** petertr7 is now known as petertr7_away18:34
*** e0ne has joined #openstack-keystone18:34
samueldmqlbragstad: sure, np18:36
openstackgerritayoung proposed openstack/keystone: Implied Roles  https://review.openstack.org/24261418:37
openstackgerritayoung proposed openstack/keystone: Implied Roles  https://review.openstack.org/24261418:37
*** mylu_ has quit IRC18:39
*** mylu has joined #openstack-keystone18:39
*** edmondsw has joined #openstack-keystone18:39
openstackgerritLance Bragstad proposed openstack/keystone: Replace DateTime with BigInteger for Revocation Events  https://review.openstack.org/24374218:40
*** shaleh has joined #openstack-keystone18:44
*** stevemar_ has joined #openstack-keystone18:46
*** ChanServ sets mode: +o stevemar_18:46
*** stevemar_ has quit IRC18:48
*** stevemar_ has joined #openstack-keystone18:48
*** ChanServ sets mode: +o stevemar_18:48
*** aginwala has joined #openstack-keystone18:51
openstackgerritSean Perry proposed openstack/keystone: Use unit.new_project_ref consistently  https://review.openstack.org/24452318:53
shalehwow the bot is fast18:54
openstackgerritLance Bragstad proposed openstack/keystone: Replace DateTime with BigInteger for Revocation Events  https://review.openstack.org/24374218:54
notmorganshaleh: yes18:56
*** tsymanczyk has quit IRC18:56
notmorganshaleh: it is meant to be18:56
*** e0ne has quit IRC18:57
lbragstaddb question19:06
lbragstadis it only drop and alter table/column that cause database downtime?19:08
*** aginwala has quit IRC19:09
shalehlbragstad: unless you are locking and changing a bunch of data that about covers it19:10
*** tsymanczyk has joined #openstack-keystone19:11
*** tsymanczyk is now known as Guest6650719:12
notmorganlbragstad: uhm.19:12
notmorganlbragstad: many things can cause db downtime19:12
notmorganlbragstad: it really depends on what you're doing. i can cause downtime with DELETE if I try.19:12
*** gordc has quit IRC19:13
*** stevemar_ has quit IRC19:13
notmorganlbragstad: but for the most part alter *can* cause downtime, drop doesn't have to.19:13
*** aginwala has joined #openstack-keystone19:13
*** mylu has quit IRC19:13
*** pumaranikar has quit IRC19:15
*** stevemar_ has joined #openstack-keystone19:16
*** ChanServ sets mode: +o stevemar_19:16
*** aginwala has quit IRC19:16
*** mylu has joined #openstack-keystone19:21
*** lhcheng_ has quit IRC19:23
*** lhcheng has joined #openstack-keystone19:23
*** ChanServ sets mode: +v lhcheng19:23
samueldmqstevemar_: you around ?19:24
stevemar_samueldmq: of course19:24
*** aginwala has joined #openstack-keystone19:24
notmorganstevemar_: i'm guessing you got a bouncer all setup now? haven't seen you drop off recently19:25
samueldmqstevemar_: do we have a pach for removing endpoint_filter - enabled option ?19:26
samueldmqstevemar_: https://review.openstack.org/#/c/183377/30/keystone/common/config.py19:26
notmorganstevemar_, dstanek, gyee, jamielennox: https://review.openstack.org/#/c/247699/2 should be a quick/easy review19:26
notmorganwould be good to get that rolling in.19:26
*** Guest66507 is now known as tsymanczyk19:27
edmondswstevemar_, I thought we'd said at the summit that we were deprecating v2.0, period. What's this about only deprecating parts of it?19:27
samueldmqstevemar_: found it, no need to approve this sample config update (https://review.openstack.org/#/c/247304/)19:31
samueldmqnotmorgan: cc ^19:31
shalehedmondsw: as I recall, we agreed to keep enough to auth and we'd drop just about everything else. This allowed people using non-Python tools the ability to catch up.19:34
edmondswI guess I missed that...19:35
*** pauloewerton has quit IRC19:36
lbragstadnotmorgan makes sense19:37
notmorganshaleh: auth v2 could actually be done strictly as translation middleware [almost]19:37
lbragstadnotmorgan I was trying to figure out what how many cycles it would take to rename a column or table without downtim19:37
notmorganedmondsw: and v2 auth, unfortunately, needs to stick around for a bit19:37
lbragstaddowntime19:37
shalehnotmorgan: agreed19:37
notmorganlbragstad: look at how nova does versioned objects... that is how it was solved for nova19:38
edmondswnotmorgan why?19:38
edmondswand remembring that deprecated is not removed...19:38
notmorganlbragstad: there will always be a quiesce requirement for writes/reads while a migration is done if data is matierially affected. but that can be handled with a lock19:38
notmorganedmondsw: v2 auth is so heavily used... is the major issue19:39
notmorganedmondsw: but thankfully most people are moving to keystoneauth so it becomes easier to control this19:39
edmondswthat's the reason to deprecate it... to finally get people to move off19:39
notmorganedmondsw: well if everything isn't currently working on v3 (gate, etc)19:39
stevemar_notmorgan: still don't have it setup, just haven't been traveling recently :)19:40
edmondswisn't it?19:40
notmorganedmondsw: we can't rightfully deprecate19:40
notmorganedmondsw: no.19:40
notmorganstevemar_: dude, weechat in a screen man ;)19:40
edmondswok... I thought we resolved that in Liberty19:40
stevemar_notmorgan: i'm setting that up tonight!19:40
notmorganstevemar_: good!19:40
notmorganedmondsw: we need to have a gate job that effectively runs w/ v2 disabled19:41
notmorganedmondsw: and passes anything that isn't v2 specific19:42
notmorganonce that is in place we can say we're ready to deprecate... at least that was the plan last cycle... stevemar_ is the ptl now so defer to him19:42
*** pumaranikar has joined #openstack-keystone19:45
*** mylu has quit IRC19:46
*** mylu has joined #openstack-keystone19:46
edmondswyep, that's why I'd directed to him... but tx for your answer, makes a little more sense19:47
*** mylu has quit IRC19:51
dstanekHmmm... Looks like ZNC keeps bugging out.19:56
*** mylu has joined #openstack-keystone19:57
*** aginwala has quit IRC19:58
*** aginwala has joined #openstack-keystone19:58
*** henrynash has joined #openstack-keystone20:00
*** ChanServ sets mode: +v henrynash20:00
stevemar_edmondsw: !20:02
*** mylu has quit IRC20:02
edmondswhey, steve20:02
*** slberger has joined #openstack-keystone20:02
stevemar_edmondsw: deprecating v2.020:02
*** mylu has joined #openstack-keystone20:02
*** mylu has quit IRC20:02
stevemar_edmondsw: we agreed at the summit that we need to keep the authentication parts20:02
*** mylu has joined #openstack-keystone20:02
stevemar_edmondsw: did you miss those parts?20:02
*** fangxu has joined #openstack-keystone20:02
edmondswyeah... I guess I missed that we were not deprecating it entirely20:02
edmondswif we've still got things using v2.0 in the gate, that is a decent argument for not deprecating it entirely, I guess. I thought we'd already gotten everything in the gate onto v320:04
*** mylu has quit IRC20:05
shalehhttps://review.openstack.org/#/c/247865 <-- 2 +2's but no Workflow....20:06
*** mylu has joined #openstack-keystone20:07
shalehyay another one down the pipe20:07
stevemar_edmondsw: i think it's just a case of not wanting to break folks that only have v2 endpoints in their setup20:08
stevemar_and RC files20:08
*** obedmr_ has joined #openstack-keystone20:09
edmondswdeprecating something doesn't break anyone20:09
*** tsymanczyk has quit IRC20:17
obedmr_hi all, I'm having trouble when trying to manage project members from Horizon, it's saying "Error: Could not find default role "_member_" in Keystone ",  in order to fix that, I created the _member_ role and added 'admin' user to it20:20
obedmr_it doesnt appear on Liberty documentation, so, not sure if it should be there or?20:20
*** fangxu has quit IRC20:21
*** dims has quit IRC20:23
*** obedmr_ is now known as obedmr20:25
stevemar_edmondsw: true dat20:30
*** petertr7_away is now known as petertr720:33
*** tsymanczyk has joined #openstack-keystone20:36
*** tsymanczyk is now known as Guest2043420:36
*** aginwala has quit IRC20:40
lbragstadnotmorgan so, if we were to take the versioned objects approach, we'd have to convert entities to be objects prior to online upgrades/20:43
notmorganI think so20:43
*** toddnni has quit IRC20:44
*** ninag has quit IRC20:44
*** aginwala has joined #openstack-keystone20:47
*** NM has joined #openstack-keystone20:53
*** NM has quit IRC20:55
*** gordc has joined #openstack-keystone20:55
*** jasonsb has quit IRC20:56
ayounglbragstad, so I moved one of my bugs over to you21:01
ayounghttps://bugs.launchpad.net/keystone/+bug/126875121:02
openstackLaunchpad bug 1268751 in OpenStack Identity (keystone) "Potential token revocation abuse via group membership" [High,Triaged] - Assigned to Lance Bragstad (lbragstad)21:02
ayoungit assumes we will be moving to Fernet.21:02
*** shaleh is now known as shaleh|afk21:02
*** openstackstatus has quit IRC21:02
*** openstack has joined #openstack-keystone21:03
*** openstackstatus has joined #openstack-keystone21:04
*** ChanServ sets mode: +v openstackstatus21:04
*** mylu has quit IRC21:07
*** mylu has joined #openstack-keystone21:07
lbragstadayoung i believe we have another bug open that is very similar to that?21:08
lbragstadayoung similar to - https://bugs.launchpad.net/keystone/+bug/151177521:10
openstackLaunchpad bug 1511775 in OpenStack Identity (keystone) "Revoking a role revokes the unscoped token for a user" [Medium,Triaged] - Assigned to Jorge Munoz (jorge-munoz)21:10
*** mylu has quit IRC21:11
*** pnavarro|afk has joined #openstack-keystone21:12
*** ninag has joined #openstack-keystone21:15
stevemar_ayoung: thanks for cleaning up all the bugs21:15
stevemar_ayoung: you da you da man21:15
*** navid_ has joined #openstack-keystone21:18
*** daemontool has quit IRC21:19
*** tjcocozz has left #openstack-keystone21:19
*** tjcocozz has joined #openstack-keystone21:19
*** daemontool has joined #openstack-keystone21:19
*** Guest20434 has quit IRC21:20
*** slberger has left #openstack-keystone21:24
*** tsymanczyk has joined #openstack-keystone21:25
*** mylu has joined #openstack-keystone21:25
*** tsymanczyk is now known as Guest7006621:26
*** stevemar_zzz has joined #openstack-keystone21:27
stevemar_zzztest21:30
stevemar_stevemar_zzz: hey21:30
*** stevemar_ has quit IRC21:31
*** mylu has quit IRC21:31
*** mylu has joined #openstack-keystone21:32
*** mylu_ has joined #openstack-keystone21:33
*** mylu has quit IRC21:33
*** lamb has joined #openstack-keystone21:34
lambstevemar_zzz: hello!21:35
lambstevemar_zzz: are you getting this?21:35
lambstevemar_zzz: this is a test.  hopefully you can see this on your phone21:36
lambstevemar_zzz: here's another message21:36
*** toddnni has joined #openstack-keystone21:37
*** topol has quit IRC21:38
*** RichardRaseley has quit IRC21:41
ayoungstevemar_zzz, just the ones assigned to me21:45
ayounglbragstad, yep...I'd argue that it is a duplicate21:45
*** fangxu has joined #openstack-keystone21:47
*** rcernin has quit IRC21:50
openstackgerritFangzhou Xu proposed openstack/keystone: Make getting token revocation list 9x faster on Mysql  https://review.openstack.org/23960821:54
*** pnavarro|afk has quit IRC21:55
openstackgerritFangzhou Xu proposed openstack/keystone: Make getting token revocation list 9x faster on Mysql  https://review.openstack.org/23960821:58
*** ninag has quit IRC21:58
*** roxanaghe has quit IRC21:58
*** roxanaghe has joined #openstack-keystone21:59
*** navid_ has quit IRC22:01
kfox1111does the [token] driver= change for fernet tokens too, or just provider=?22:01
*** dave-mccowan has quit IRC22:03
*** henrynash has quit IRC22:03
*** timcline has quit IRC22:04
*** gordc has quit IRC22:04
kfox1111something seems wrong...22:05
kfox1111I do:22:05
kfox1111keystone-manage fernet_setup --keystone-user keystone --keystone-group apache22:05
*** mylu_ has quit IRC22:05
kfox1111and it made /etc/keystone/fernet-keys but its empty.22:05
*** mylu has joined #openstack-keystone22:05
kfox1111doing a fernet_rotate doesn't create keys either.22:06
kfox1111any ideas?22:06
*** davechen has left #openstack-keystone22:06
lbragstadkfox1111 fernet_setup should create keys for you22:06
*** henrynash has joined #openstack-keystone22:06
*** ChanServ sets mode: +v henrynash22:06
*** mylu_ has joined #openstack-keystone22:07
*** lamb has quit IRC22:07
*** mylu has quit IRC22:07
lbragstadkfox1111 http://cdn.pasteraw.com/exoeh3f081lfeamocyuct8onu9sohmi22:08
kfox1111I'm also seeing this: https://ask.openstack.org/en/question/84451/help-no-handlers-oslo_configcfg-installing-keystone/22:08
kfox1111lbragstad: yeah, thats what I'd expect, but I'm not seeing that. just a return code of 1.22:09
*** lhcheng has quit IRC22:09
*** stevemar_zzz is now known as stevemar22:09
lbragstadkfox1111 enable debug = True if you haven't already?22:09
*** ChanServ sets mode: +o stevemar22:09
lbragstadand verbose = True22:09
kfox1111ah. yeah. sec...22:09
lbragstadcould be a permissions thing?22:09
kfox1111http://pastebin.com/zL55nR6J22:10
openstackgerritMerged openstack/keystoneauth: Put Session options into an option group  https://review.openstack.org/24769922:10
*** richm has left #openstack-keystone22:10
kfox1111still no joy.22:11
kfox1111not sure how.22:11
kfox1111the command runs as root I think?22:11
lbragstadkfox1111 no, it uses the user and group you pass it22:11
lbragstadcheck the permissions on /etc/keystone/22:12
lbragstadand ensure the keystone user is a member of the apache group?22:12
kfox1111Its being made like:22:12
kfox1111drwx------ 2 keystone apache 6 Nov 20 14:11 /etc/keystone/fernet-keys/22:12
henrynashdstanek: ping22:12
kfox1111in the strace, I'm seeing:22:13
kfox1111open("/etc/keystone/fernet-keys/0", O_WRONLY|O_CREAT|O_TRUNC, 0666) = -1 EACCES (Permission denied)22:13
kfox1111so, yeah, that is a problem.22:13
lbragstadkfox1111 yeah22:13
*** pumaranikar has quit IRC22:13
lbragstadkfox1111 just out of curiosity22:13
lbragstadwhat if you use apache as the user and the group?22:14
*** aginwala has quit IRC22:14
kfox1111I'm sticking keystone in apache.22:14
lbragstadkeystone-manage fernet_setup --keystone-user apache --keystone-group apache22:14
kfox1111did I guess wrong?22:14
lbragstadok22:14
kfox1111let me try that...22:14
lbragstadas long as your keystone user can read from that location, you should be good22:15
openstackgerritMerged openstack/keystone: Minor cleanups for usage of group refs  https://review.openstack.org/24786522:15
lbragstadwhich would require it being a member of the apache group22:15
kfox1111open("/etc/keystone/fernet-keys/0", O_WRONLY|O_CREAT|O_TRUNC, 0666) = -1 EACCES (Permission denied)22:15
kfox1111drwx------ 2 apache apache 6 Nov 20 14:15 /etc/keystone/fernet-keys/22:16
kfox1111that didn't work either. :/22:16
*** aginwala has joined #openstack-keystone22:16
lbragstadkfox1111 did it create the keys though?22:16
kfox1111nope. it creates the dir, then bails after failing to create the 0 key.22:17
kfox1111keystone keystone works though.....22:18
kfox1111I'll see if apache can use it that way...22:18
lbragstadkfox1111 it works when you specify keystone as the user and the group  in the `keystone-manage fernet_setup` command?22:19
stevemarkfox1111: ping me22:19
*** ninag has joined #openstack-keystone22:20
kfox1111yeah.22:20
*** ninag has quit IRC22:20
lbragstadcool22:20
stevemarkfox1111: use my username!22:20
stevemaror lbragstad22:20
stevemar:)22:20
lbragstadstevemar22:20
lbragstadsteve22:20
lbragstadste22:20
lbragstadst22:20
lbragstad:)22:20
stevemarHellllo22:21
stevemarFinally setup znc22:21
stevemarThanks guys!22:21
*** tellesnobrega is now known as tellesnobrega_af22:22
kfox1111np. :)22:22
*** tellesnobrega_af is now known as tellesnobrega22:23
*** henrynash has quit IRC22:24
lbragstadkfox1111 can you run keystone and get fernet tokens?22:24
*** doug-fish has quit IRC22:25
kfox1111I'm testing that now...22:25
*** richm has joined #openstack-keystone22:27
kfox1111looking like it. gota try it on the other cluster members now.22:27
openstackgerritLance Bragstad proposed openstack/keystone: Replace DateTime with BigInteger for Revocation Events  https://review.openstack.org/24374222:27
kfox1111is it safe to sync with rsync, or do you have to do the ordering more carefully?22:29
lbragstadkfox1111 what do you mean by ordering?22:30
lbragstadkfox1111 do you always have to sync from the same keystone node?22:30
kfox1111I mean, do you need to ensure the new keys get added before the old ones are deleted?22:31
kfox1111or does the order not matter?22:31
lbragstadkfox1111 yes22:31
lbragstadkfox1111 i have a write up22:31
kfox1111so, maybe two rsync passes then?22:31
kfox1111one to sync new files, then one to clean out old files?22:31
*** RichardRaseley has joined #openstack-keystone22:31
*** ninag has joined #openstack-keystone22:31
*** ninag has quit IRC22:31
lbragstadkfox1111 oh, no rsync will do that in one stepl22:31
lbragstads/stepl/step/22:32
kfox1111it always adds first, then deletes?22:32
lbragstadkfox1111 what you'll what to be mindful of is performing a rotation on one node and ensuring it was successful before attempting the distribution to the other keystone nodes in the cluster22:32
kfox1111k.22:33
kfox1111I was just scripting up the second part. getting the key dir synced to the other nodes.22:33
lbragstadkfox1111 http://superuser.com/questions/156664/what-are-the-differences-between-the-rsync-delete-options22:35
lbragstadkfox1111 you could pass rsync something like --delete-after ?22:35
lbragstadi tried to put together an FAQ after the summit - https://github.com/lbragstad/notes/blob/master/summits/tokyo/fernet-notes.md22:36
lbragstad^ that and other things have been merged to the openstack-manuals projec t22:36
kfox1111ah. nice.22:36
lbragstadkfox1111 https://github.com/openstack/openstack-manuals/commit/d0003aa13363265fe049c05acfae6f97f4fb98f122:36
kfox1111darn. you can't rsync from a remote host to a remote host... ok. will have to do this two part.22:36
lbragstadkfox1111 the openstack-ansible has a pretty slick way to do it with rsync22:37
*** roxanaghe has quit IRC22:37
lbragstadkfox1111 they actually prep scripts on each keystone node that allows any keystone node the ability to sync keys22:37
kfox1111k. I'll see if I can find the scripts.22:38
lbragstadkfox1111 https://github.com/openstack/openstack-ansible/blob/master/playbooks/roles/os_keystone/templates/keystone-fernet-rotate.sh.j222:39
lbragstadkfox1111 i believe that is the script that is dropped on each keystone node22:39
lbragstadkfox1111 https://github.com/openstack/openstack-ansible/blob/master/playbooks/roles/os_keystone/tasks/keystone_fernet_keys_autorotate.yml22:39
kfox1111yeah. that's very similar to what I was thinking.22:40
kfox1111but I've got a management node I was thinking of running the script out of, so it would be, rotate the keys on one node, scp them to the mgmt node, then push them out from there.22:40
lbragstadkfox1111 is your management node a keystone node?22:41
kfox1111no.22:42
kfox1111otherwise I could just do the key generation there.22:43
lbragstadkfox1111 does your management node act as a barrier (network-wise) between your keystone cluster and the rest of the world?22:43
kfox1111though once kolla's a little more stable, I can just run a container there.22:43
kfox1111no. but it does have ssh keys to the keystone cluster, while the keystone nodes themselves don't to each other.22:43
lbragstadok that makes sense22:43
kfox1111I could add ssh keys, but it lessens security slightly.22:44
dstanekstevemar: notmorgan: looks like there is some stuff that we have to clarify for dealing with versioned drivers https://review.openstack.org/#/c/242853/22:44
lbragstadkfox1111 so something like this? https://github.com/lbragstad/revolver/blob/master/revolve.yaml22:44
htrutaguys, is there a reason for us still have variables called tenant and tenant_id in files like resource/core.py?22:45
lbragstadkfox1111 if you're using ansible, your inventory file would contain all the keystone nodes that you have in your cluster22:45
lbragstadand that would copy the key repository from a single location (your management node) to all the keystone nodes22:46
kfox1111yeah. something like that might work.22:46
kfox1111this seems to work too:22:46
kfox1111rsync --delete-after -avz -e ssh --progress /tmp/fernet-keys/ ks1:/etc/keystone/fernet-keys/22:46
kfox1111arg... out of order...22:46
kfox1111first this:22:46
kfox1111rsync --delete-after -avz -e ssh --progress ks0:/etc/keystone/fernet-keys/ /tmp/fernet-keys/22:46
kfox1111and iterate over all the ks($x>0) hosts22:47
stevemardstanek, yes that is on my to-do list for Monday22:48
kfox1111and that script should work at any time. so if I blow away a cluster node, then run it again, it should put the keys back.22:48
dstanekstevemar: i'm thinking of how i want to do this and i'll submit a review that updates the doc to that effect for discussion22:48
lbragstadkfox1111 http://cdn.pasteraw.com/cuzua72lz9l1nq098oab5rzfzvvfrwv22:48
stevemardstanek, cool beans s22:49
lbragstadkfox1111 only if you keep the master set of keys on your management node22:49
kfox1111nice. yeah.22:49
lbragstadkfox1111 if that is the case, and always true, then you'll be able to bootstrap any new keystone node with your management node22:49
kfox1111once kolla 1.1 gets released, I'll definitely do that. :)22:49
lbragstador if you need to rebuild a keystone node22:49
*** obedmr has quit IRC22:50
lbragstadkfox1111 if you notice any gotchas with how you are doing it, please let me know. i'd like to capture documentation around it22:50
dstanekstevemar: in my mind the goal is not to allow or encourage use of our old driver versions - instead to support out-of-tree drivers22:50
*** simondodsley_ has quit IRC22:50
kfox1111use something like docker run -it --rm -v fernet-keys:/etc/keystone/fernet-keys kolla-glue/centos-keystone keystone-manage fernet_rotate22:51
kfox1111sure. will do. :)22:51
*** ninag has joined #openstack-keystone22:51
kfox1111then the magement node doesn't have to have anything installed on it but docker.22:52
*** ninag has quit IRC22:52
lbragstadkfox1111 yeah, i assume you have keystone "installed" on your management node so that you can use keystone-manage to rotate, right?22:52
*** ninag has joined #openstack-keystone22:52
kfox1111no. not at present.22:52
lbragstadoh, you scp your keys there,22:52
lbragstadthat's right22:52
kfox1111I'm picking one of the controllers to do the rotation on, then rsyncing that nodes keys to the mgmt node, then to all the rest.22:53
lbragstadgothca22:53
kfox1111should be able to script that all up to a cron job on the mgmt node.22:53
lbragstadi was thinking about taking out all the logic to do key setup and rotation into it's own little tool,22:53
lbragstadthat way if people wanted to run key management from a separate node, they wouldn't have to install keystone to get that stuff22:54
kfox1111that might be good. I'd be a little worried the dependencies woudl be almost as bad though.22:54
lbragstadkfox1111 nope, fernet just need pyca/cryptography22:54
lbragstadand msgpack22:54
kfox1111hmm... that wouldn't be too bad.22:54
lbragstadactually, no msgpack22:54
lbragstadnot for key creation and rotation22:55
kfox1111nice. yeah, that would be better.22:55
lbragstadi think this would be it22:55
lbragstadhttps://github.com/lbragstad/fernet-inspector/blob/master/fernet_inspector/core.py#L1322:55
kfox1111ok. after the rsync, the second controller seems to be working.22:55
stevemardstanek, so I agree, and if we have a new version we should clarify that as well as possible le22:56
*** fangxu has quit IRC22:56
*** aginwala has quit IRC22:56
*** ninag has quit IRC22:56
lbragstadkfox1111 awesome22:57
kfox1111yup. seems to work. :)22:57
stevemarHeading home22:57
kfox1111ok. I've got a whole ha keystone cluster done. :)22:58
lbragstadkfox1111 and *all* your tokens are still valid!22:58
lbragstad\o/22:58
samueldmqlbragstad: dolphm: have you seen https://review.openstack.org/#/c/239608 ?22:58
kfox1111\o/22:58
samueldmqlbragstad: dolphm: it says to "Make getting token revocation list 9x faster on Mysql"22:59
kfox1111ok. last test.... delete from tokens; :)22:59
lbragstadsamueldmq i think i saw it at one point but i never followed up on it :)22:59
* lbragstad adds it to the queue23:00
lbragstadkfox1111 you mean deleting a token or deleting keys?23:01
kfox1111deleting all the uuid tokens out of the db.23:01
kfox1111since they should be unused in this setup.23:01
kfox1111(migrating uuid to fernet and single controller keystone to a keystone cluster)23:01
lbragstadkfox1111 right, that would just depend on if your users are still expecting them to be valid?23:01
samueldmqlbragstad: looks intriguing... have to have a better look at it later23:02
kfox1111We'll do a final migration/outage on the 24th.23:02
lbragstadbut, that wound't make sense23:02
lbragstadsamueldmq ++23:02
samueldmqlbragstad: jsut would like to give a heads up, and it would affect fernet too :)23:02
lbragstadsamueldmq absolutely23:02
kfox1111we're going to have to take an outage anyway to update all the configs pointing at the old keystone.23:02
kfox1111so I don't mind invalidating all the old tokens.23:03
lbragstadkfox1111 yeah, once you switch your token.provider to fernet; you won't be able to validate uuid tokens anymore (at least not with the upstream providers)23:03
*** stevemar_ has joined #openstack-keystone23:04
*** ChanServ sets mode: +o stevemar_23:04
*** stevemar_ has quit IRC23:04
kfox1111ok. the token table has 0 entries and keystone tenant-list still works! :)23:04
* lbragstad hands kfox1111 a beer 23:04
lbragstadnice work sir23:04
kfox1111thanks. but I just did the easy part. all the keystone developers did all the hard work. :)23:05
lbragstadhappy it worked and hopefully it continues to go smoothly for you; let me know if you uncover anything no covered in the merged FAQ doc and i'll propose a follow-up commit23:06
* lbragstad heads out23:07
lbragstado/23:07
kfox1111thanks.23:07
kfox1111and thanks for all the help. :)23:07
kfox1111have a good one. :)23:07
lbragstadno problem!23:07
lbragstadyou too23:07
stevemarkfox1111: nice!23:07
stevemarlbragstad: do you not have channel privs?23:08
*** stevemar sets mode: +v lbragstad23:08
stevemarlbragstad: you now have voice23:08
kfox1111+1 :)23:09
kfox1111wow....23:09
kfox1111so, after getting rid of the tokens, and redumping all the production database for the keystone cluster,23:09
kfox1111-rw-r--r-- 1 root root 6.5M Nov 20 15:08 keystone-test2.sql23:09
kfox1111its really really tiny. :)23:09
stevemarnice23:09
*** aginwala has joined #openstack-keystone23:09
kfox1111I think most of the rest are just the ldap mapping stuff.23:10
*** fangxu has joined #openstack-keystone23:11
stevemarTeeeest23:13
samueldmqstevemar: 1 test ran - 0 errors23:16
samueldmqstevemar: congratualtions :)23:16
stevemarsamueldmq: indeed!23:16
stevemarsamueldmq: finally setup my znc bouncer and android client23:16
samueldmqstevemar: great, congrats!23:16
samueldmqstevemar: what s/w are you using ?23:17
samueldmqstevemar: I use weechat; however I don't use any mobile client23:17
*** petertr7 is now known as petertr7_away23:19
*** roxanaghe has joined #openstack-keystone23:21
*** aginwala has quit IRC23:24
*** fangxu has quit IRC23:26
stevemarsamueldmq: i use znc on my VM, and "AndChat" is the only android client i could get working23:27
samueldmqstevemar: nice, glad you got it working23:28
stevemarsamueldmq: it was always on the to do list23:29
*** alejandrito has quit IRC23:29
stevemarsamueldmq: just ... uh.. the list is getting long these days :)23:29
*** markvoelker has quit IRC23:34
*** adelia has joined #openstack-keystone23:38
*** adelia_ has joined #openstack-keystone23:38
*** toddnni has quit IRC23:41
*** adelia has quit IRC23:43
*** adelia_ has quit IRC23:43
*** mylu_ has quit IRC23:43
*** aginwala has joined #openstack-keystone23:49
*** lhcheng has joined #openstack-keystone23:50
*** ChanServ sets mode: +v lhcheng23:50
*** lhcheng_ has joined #openstack-keystone23:51
jamielennoxstevemar: i have a similar setup except firrre.com runs a hosted znc and AndroIrc worked for me23:54
jamielennoxsaves running my own stuff23:54
*** lhcheng has quit IRC23:54
stevemarI had androirc but I could get it to connwct23:55
*** fangxu has joined #openstack-keystone23:56
*** chrisshattuck has quit IRC23:57
stevemarJamielennox, toss me a few more pings23:57
jamielennoxstevemar: p23:57
jamielennoxstevemar: i23:57
jamielennoxstevemar: n23:57
jamielennoxstevemar: g23:57

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