Friday, 2014-07-11

*** gyee has quit IRC00:07
*** spandhe has joined #openstack-keystone00:45
spandhehello, I have a question about service_catalogs00:52
spandheI am trying to query the keystone for service catalog for admin url.. but it seems, to query that, I need to user admin url in the first place..00:55
spandheso there seems to be a circular dependency.. Is that by design or am I missing something?00:55
spandhecan someone help?00:55
spandheI have a blueprint in novaclient and as part of that, I need admin url to query the user list00:57
spandheheres the link to the blueprint00:57
spandhehttps://blueprints.launchpad.net/python-novaclient/+spec/username-in-nova-list-response00:57
*** mberlin1 has quit IRC01:05
*** mberlin has joined #openstack-keystone01:05
*** jaosorior has quit IRC01:12
openstackgerritA change was merged to openstack/python-keystoneclient: Plugin loading from config objects  https://review.openstack.org/7954201:14
openstackgerritA change was merged to openstack/python-keystoneclient: Add trust users to AccessInfo and fixture  https://review.openstack.org/10073301:14
*** akscram has quit IRC01:27
*** gpocentek has quit IRC01:27
*** Meeh has quit IRC01:27
*** zigo has quit IRC01:27
*** spandhe has quit IRC01:27
*** rwsu has quit IRC01:27
*** bobt has quit IRC01:27
*** uvirtbot has quit IRC01:27
*** mberlin has quit IRC01:27
*** dims_ has quit IRC01:27
*** afaranha has quit IRC01:27
*** huats has quit IRC01:27
*** Chicago has quit IRC01:27
*** diegows has quit IRC01:27
*** arosen has quit IRC01:27
*** tellesnobrega has quit IRC01:27
*** chmouel has quit IRC01:27
*** ByteSore has quit IRC01:27
*** gabriel-bezerra has quit IRC01:27
*** csd has quit IRC01:27
*** anteaya has quit IRC01:27
*** miqui has quit IRC01:27
*** dvorak has quit IRC01:27
*** jamielennox has quit IRC01:27
*** jraim has quit IRC01:27
*** jimbaker has quit IRC01:27
*** mitz_ has quit IRC01:27
*** designated has quit IRC01:27
*** zhiyan_ has quit IRC01:27
*** ciypro|afk has quit IRC01:27
*** harlowja has quit IRC01:27
*** sacharya has quit IRC01:27
*** openstackgerrit has quit IRC01:27
*** mat-lowery has quit IRC01:27
*** samuelmz has quit IRC01:27
*** _elmiko has quit IRC01:27
*** mfisch has quit IRC01:27
*** baffle_ has quit IRC01:27
*** ekarlso has quit IRC01:27
*** gmurphy has quit IRC01:27
*** morganfainberg_Z has quit IRC01:27
*** boris-42 has quit IRC01:27
*** oomichi has quit IRC01:27
*** x1b2j has quit IRC01:27
*** rodrigods has quit IRC01:27
*** dtroyer has quit IRC01:27
*** serverascode has quit IRC01:27
*** Daviey has quit IRC01:27
*** vishy has quit IRC01:27
*** d34dh0r53 has quit IRC01:27
*** esmute has quit IRC01:27
*** tziOm has quit IRC01:27
*** d0ugal has quit IRC01:27
*** jkappert has quit IRC01:27
*** dhellmann has quit IRC01:27
*** med_ has quit IRC01:27
*** praneshp has quit IRC01:27
*** shufflebot has quit IRC01:27
*** amerine has quit IRC01:27
*** fifieldt has quit IRC01:27
*** raildo has quit IRC01:27
*** marcoemorais has quit IRC01:27
*** therve has quit IRC01:27
*** redrobot has quit IRC01:27
*** bvandenh has quit IRC01:27
*** arunkant has quit IRC01:27
*** Ephur has quit IRC01:27
*** mgagne has quit IRC01:27
*** tristanC has quit IRC01:27
*** jdennis has quit IRC01:27
*** afazekas has quit IRC01:27
*** radez_g0n3 has quit IRC01:27
*** comstud has quit IRC01:27
*** mhu has quit IRC01:27
*** dolphm has quit IRC01:27
*** toddnni has quit IRC01:27
*** ChanServ has quit IRC01:27
*** mberlin has joined #openstack-keystone01:30
*** dims_ has joined #openstack-keystone01:30
*** Chicago has joined #openstack-keystone01:30
*** diegows has joined #openstack-keystone01:30
*** arosen has joined #openstack-keystone01:30
*** afaranha has joined #openstack-keystone01:30
*** tellesnobrega has joined #openstack-keystone01:30
*** huats has joined #openstack-keystone01:30
*** chmouel has joined #openstack-keystone01:30
*** ByteSore has joined #openstack-keystone01:30
*** diegows has quit IRC01:36
*** fifieldt has joined #openstack-keystone01:58
*** raildo has joined #openstack-keystone01:58
*** shufflebot has joined #openstack-keystone01:58
*** amerine has joined #openstack-keystone01:58
*** comstud has joined #openstack-keystone01:58
*** radez_g0n3 has joined #openstack-keystone01:58
*** afazekas has joined #openstack-keystone01:58
*** jdennis has joined #openstack-keystone01:58
*** tristanC has joined #openstack-keystone01:58
*** mgagne has joined #openstack-keystone01:58
*** Ephur has joined #openstack-keystone01:58
*** arunkant has joined #openstack-keystone01:58
*** bvandenh has joined #openstack-keystone01:58
*** redrobot has joined #openstack-keystone01:58
*** therve has joined #openstack-keystone01:58
*** toddnni has joined #openstack-keystone01:58
*** dolphm has joined #openstack-keystone01:58
*** mhu has joined #openstack-keystone01:58
*** ciypro|afk has joined #openstack-keystone01:58
*** zhiyan_ has joined #openstack-keystone01:58
*** designated has joined #openstack-keystone01:58
*** mitz_ has joined #openstack-keystone01:58
*** jimbaker has joined #openstack-keystone01:58
*** jraim has joined #openstack-keystone01:58
*** jamielennox has joined #openstack-keystone01:58
*** dvorak has joined #openstack-keystone01:58
*** miqui has joined #openstack-keystone01:58
*** gmurphy has joined #openstack-keystone01:58
*** ekarlso has joined #openstack-keystone01:58
*** baffle_ has joined #openstack-keystone01:58
*** mfisch has joined #openstack-keystone01:58
*** mat-lowery has joined #openstack-keystone01:58
*** samuelmz has joined #openstack-keystone01:58
*** _elmiko has joined #openstack-keystone01:58
*** openstackgerrit has joined #openstack-keystone01:58
*** sacharya has joined #openstack-keystone01:58
*** gabriel-bezerra has joined #openstack-keystone01:58
*** csd has joined #openstack-keystone01:58
*** anteaya has joined #openstack-keystone01:58
*** dickson.freenode.net sets mode: +o dolphm01:58
*** akscram has joined #openstack-keystone02:03
*** gpocentek has joined #openstack-keystone02:03
*** Meeh has joined #openstack-keystone02:03
*** morganfainberg_Z has joined #openstack-keystone02:03
*** dickson.freenode.net sets mode: +o morganfainberg_Z02:03
*** daneyon has joined #openstack-keystone02:04
*** zigo has joined #openstack-keystone02:04
*** oomichi has joined #openstack-keystone02:06
*** med_ has joined #openstack-keystone02:06
*** x1b2j has joined #openstack-keystone02:06
*** rodrigods has joined #openstack-keystone02:06
*** dtroyer has joined #openstack-keystone02:06
*** serverascode has joined #openstack-keystone02:06
*** d34dh0r53 has joined #openstack-keystone02:06
*** Daviey has joined #openstack-keystone02:06
*** vishy has joined #openstack-keystone02:06
*** tziOm has joined #openstack-keystone02:06
*** esmute has joined #openstack-keystone02:06
*** d0ugal has joined #openstack-keystone02:06
*** jkappert has joined #openstack-keystone02:06
*** dhellmann has joined #openstack-keystone02:06
*** rwsu has joined #openstack-keystone02:08
*** uvirtbot has joined #openstack-keystone02:08
*** jdennis has quit IRC02:11
openstackgerritOpenStack Proposal Bot proposed a change to openstack/keystonemiddleware: Updated from global requirements  https://review.openstack.org/10623202:16
openstackgerritOpenStack Proposal Bot proposed a change to openstack/keystone-specs: Updated from global requirements  https://review.openstack.org/10623302:16
*** ChanServ has joined #openstack-keystone02:20
*** dickson.freenode.net sets mode: +o ChanServ02:20
openstackgerritOpenStack Proposal Bot proposed a change to openstack/python-keystoneclient: Updated from global requirements  https://review.openstack.org/10621002:20
*** harlowja has joined #openstack-keystone02:23
*** amcrn has joined #openstack-keystone02:43
*** dstanek_zzz has joined #openstack-keystone02:43
*** daneyon has quit IRC02:43
*** boris-42 has joined #openstack-keystone02:49
*** dims_ has quit IRC02:52
*** oomichi has quit IRC03:36
*** boris-42 has quit IRC03:38
*** boris-42 has joined #openstack-keystone03:42
*** fpatwa has joined #openstack-keystone03:47
*** dims_ has joined #openstack-keystone03:48
*** chandankumar has joined #openstack-keystone03:50
*** dims_ has quit IRC03:53
marekdjamielennox: A question. There is gonna be a plugin manager that should contain two objects inside - one for getting unscoped token and one for getting a scoped token. Do you think building the patch dependency in a way where a plugin manager relies on token plugins is right?  I don't want people complaining about that tbh and don't have strong opinions on the dependency chain.04:01
jamielennoxmarekd: i don't think it matters for people who are using the library directly - they can do whatever they like and load up whatever objects you make available04:03
marekdjamielennox: i am talking about the reviewers :-)04:03
marekdjamielennox: once it all lands it's gonna be a one chunk of code04:04
jamielennoxmarekd: where we need to have just the one plugin is for CONF and CLI loading - if you don't think that plugin should be used by actual programs then just say so04:04
jamielennoxmarekd: oh, i think i would start from the ground up, make the simplest, unscoped plugin first04:05
jamielennoxand then start adding plugin managers and things in whatever size commits make the most sense04:05
jamielennoxeach as seperate reviews i mean04:05
marekdyes yes04:05
marekdjamielennox: in other words i am gonna make this plugin: https://review.openstack.org/#/c/92166/31/keystoneclient/contrib/auth/v3/saml2.py not inheriting from v3.AuthToken as it will be internally used by a plugin manager. makes sense?04:08
marekdv3.AuthConstructor i meant...04:08
jamielennoxyep, that shouldn't inherit from constructor04:11
jamielennoxi'd just inherit from v3.Auth i think04:12
jamielennoxmarekd: i think you still want to inherit from one of the AuthPlugins04:13
jamielennoxprobably just auth04:13
jamielennoxpeople may still want to use the unscoped plugin on it's own04:13
*** hrybacki has joined #openstack-keystone04:13
jamielennoxand it will be easiest to make calls with it if it's a plugin cause then you can pass it to session.get() etc04:13
marekdAuthConstructor is different from Auth only in the number of accessible authN methods AFAIR?04:15
*** harlowja is now known as harlowja_away04:16
marekdjamielennox: hmmm, so make separate v3.Auth plugin for unscoped token, separate v3.Auth plugin for scoping federated unscoped token and yet another class that aggregates both tokens so it allows user to have a transparent user-experience - is that what you mean?04:17
marekd(this could do work even easier, as 2 first plugins are already there)04:17
jamielennoxyea, that's what i was thinking04:18
marekdcool04:18
*** daneyon has joined #openstack-keystone04:36
*** chandankumar has quit IRC04:48
*** dims_ has joined #openstack-keystone04:49
*** hrybacki has quit IRC04:50
*** dims_ has quit IRC04:54
*** sacharya has quit IRC04:56
*** chandankumar has joined #openstack-keystone05:01
openstackgerritA change was merged to openstack/python-keystoneclient: Allow loading auth plugins from CLI  https://review.openstack.org/9567905:04
* jamielennox happy, ^05:04
openstackgerritJamie Lennox proposed a change to openstack/python-keystoneclient: Provide an __all__ for auth module  https://review.openstack.org/10452905:07
*** praneshp has joined #openstack-keystone05:08
*** praneshp_ has joined #openstack-keystone05:11
*** dims_ has joined #openstack-keystone05:12
*** praneshp_ has left #openstack-keystone05:12
*** praneshp has quit IRC05:14
*** k4n0 has joined #openstack-keystone05:17
*** dims_ has quit IRC05:17
*** topol has joined #openstack-keystone05:26
*** daneyon has quit IRC05:30
openstackgerritAjaya Agrawal proposed a change to openstack/keystonemiddleware: Correct return code  https://review.openstack.org/10601005:51
openstackgerritOpenStack Proposal Bot proposed a change to openstack/keystone: Imported Translations from Transifex  https://review.openstack.org/10338006:00
*** afazekas is now known as __afazekas06:02
*** morganfainberg_Z is now known as morganfainberg06:03
*** ajayaa has joined #openstack-keystone06:12
*** dims_ has joined #openstack-keystone06:12
*** bobt has joined #openstack-keystone06:13
*** dstanek_zzz is now known as dstanek06:16
*** dims_ has quit IRC06:17
*** fpatwa has quit IRC06:18
openstackgerritMarek Denis proposed a change to openstack/python-keystoneclient: Implement SAML2 ECP authentication  https://review.openstack.org/9216606:20
*** morganfainberg is now known as morganfainberg_Z06:21
openstackgerritMarek Denis proposed a change to openstack/python-keystoneclient: Implement SAML2 ECP authentication  https://review.openstack.org/9216606:22
*** morganfainberg_Z is now known as morganfainberg06:23
*** zigo has quit IRC06:26
*** shausy has joined #openstack-keystone06:29
*** zigo has joined #openstack-keystone06:34
*** afazekas has joined #openstack-keystone06:39
*** bobt has quit IRC06:41
*** arosen has quit IRC06:47
*** arosen has joined #openstack-keystone06:51
*** topol has quit IRC06:53
*** dims_ has joined #openstack-keystone07:13
*** tkelsey_ has joined #openstack-keystone07:17
*** dims_ has quit IRC07:18
*** BAKfr has joined #openstack-keystone07:19
*** tomoiaga has joined #openstack-keystone07:24
*** dstanek is now known as dstanek_zzz07:25
openstackgerritMarek Denis proposed a change to openstack/python-keystoneclient: Implement SAML2 ECP authentication  https://review.openstack.org/9216607:26
openstackgerritOpenStack Proposal Bot proposed a change to openstack/python-keystoneclient: Updated from global requirements  https://review.openstack.org/10621007:26
*** kamlesh_ has joined #openstack-keystone07:30
kamlesh_ello all..I do want to store user input  data for processing new application on horizon.Is it possible to store it in database?07:33
openstackgerritBob Thyne proposed a change to openstack/identity-api: Update OS-EP-FILTER API  https://review.openstack.org/10629207:34
openstackgerritBob Thyne proposed a change to openstack/identity-api: Update OS-EP-FILTER API  https://review.openstack.org/10629207:36
*** openstack has joined #openstack-keystone07:41
*** shausy has quit IRC07:55
*** zhiyan_ is now known as zhiyan07:57
*** i159 has joined #openstack-keystone08:01
openstackgerritMarek Denis proposed a change to openstack/python-keystoneclient: Implement SAML2 ECP authentication  https://review.openstack.org/9216608:01
*** xianghui has joined #openstack-keystone08:05
*** dims_ has joined #openstack-keystone08:14
*** kamlesh_ has quit IRC08:15
*** dstanek_zzz is now known as dstanek08:16
*** shausy has joined #openstack-keystone08:17
*** dims_ has quit IRC08:18
*** arosen has quit IRC08:21
openstackgerritBob Thyne proposed a change to openstack/identity-api: Update OS-EP-FILTER API  https://review.openstack.org/10629208:21
*** dstanek is now known as dstanek_zzz08:26
*** dims_ has joined #openstack-keystone08:28
openstackgerritIlya Pekelny proposed a change to openstack/keystone: Use metadata.create_all() to fill a test database  https://review.openstack.org/9355808:31
openstackgerritIlya Pekelny proposed a change to openstack/keystone: Comparision of database models and migrations.  https://review.openstack.org/8063008:31
*** dims_ has quit IRC08:33
*** tkelsey_ has quit IRC09:05
*** amcrn has quit IRC09:08
*** Chicago has quit IRC09:11
*** dims_ has joined #openstack-keystone09:29
*** zhiyan_ has joined #openstack-keystone09:30
*** dims_ has quit IRC09:34
*** zhiyan_ has quit IRC09:36
*** zhiyan has left #openstack-keystone09:44
*** dstanek_zzz is now known as dstanek10:02
*** zhiyan has joined #openstack-keystone10:05
*** morganfainberg is now known as morganfainberg_Z10:13
*** kwss has joined #openstack-keystone10:14
*** fpatwa has joined #openstack-keystone10:22
*** niteshselkari has joined #openstack-keystone10:29
*** dims_ has joined #openstack-keystone10:30
*** dims_ has quit IRC10:34
niteshselkarihi all, I want to know how the data gets stored in the database when we perform any create operation. for eexample if we create new user, we fill the form which pops up on clicking create user button. How this data gets stored in the keystone data base. How the POST calls happens in this case..10:35
tomoiagaHorizon (web interface, which deals with POST/GET/others) calls keystoneclient (in the background) which in turn creates the user (the sqlalchemy python library is used for mysql communication/oop & stuff). I'm not sure I understand correctly your question anyway, what do you want to know exactly ?  You can look at the db yourself to see the structure of the tables, it's pretty basic.10:40
tomoiaga@niteshselkari ^10:40
tomoiaga*Horizon calls keystone (doesn't matter if it uses keystoneclient or not, I forgot that part anyway)10:41
tomoiagaLooking at the code, it uses keystoneclient. If you wanted to know something else please let me know10:42
*** vhoward has joined #openstack-keystone10:45
niteshselkarilets take the example of create user..in horizon/openstack_dashboard/dashboards/admin/users/forms.py, there is createuserform class, in which aal the fields are given. in that class, in handle function it caal api.keystone.user_create()10:54
niteshselkarifrom there it goes to openstack_dashboard/api/keystone.py file. In that, create_user() is defined.  here it calls keystoneclient.users10:56
tomoiaganiteshselkari: yes10:56
niteshselkariwhere it calls create() of keystoneclient/v2_0/users.py10:57
tomoiaganiteshselkari: manager.create(name, password…10:57
tomoiaganiteshselkari: where manager is manager = keystoneclient(request, admin=True).users10:58
niteshselkarihere create() returns _create() which is defiened in keystoneclient/base.py.10:58
tomoiaganiteshselkari: yes, from there it will eventually end up using HTTP REST to keystone's URL (defined in the service catalog/keystone db mainly)11:00
niteshselkaritomoiaga: In keystoneclient/base.py, it calls _create(), which is depricated. It calls _post()...correct?11:00
niteshselkaritomoiaga:i didnt get your last sentence..can you elaborate that11:01
tomoiaganiteshselkari: what keystoneclient does is to use HTTP requests to the actual keystone server. You can look at keystoneclient at just another simple client that does post/get/others to a server11:02
*** diegows has joined #openstack-keystone11:02
tomoiaganiteshselkari: if you are looking for who is actually communicating with the DB, that's keystone. Keystoneclient communicates with keystone via HTTP.11:03
tomoiaganiteshselkari: also note that keystoneclient won't actually end up in base.py and in _create()11:05
niteshselkarihow this communication happens between kestoneclient and keystone....11:05
tomoiaganiteshselkari: keystoneclient/v2.0/client.py is actually used which inherits base11:05
niteshselkaritomoiaga: manager is manager = keystoneclient(request, admin=True).users....from this point i  m not getting the flow..11:06
tomoiaganiteshselkari: v2.0/client uses httpclient (or newer version may use the new session object)11:06
tomoiaganiteshselkari:  manager = keystoneclient(..) this calls keystoneclient which is defined in the same file, above this line. Look for the definition of keystoneclient above the line you mentioned11:07
*** xianghui has quit IRC11:11
*** jamielennox is now known as jamielennox|away11:12
niteshselkaritomoiaga: the keystoneclient() connects to keystoneclient...correct? Now from here how it proceeds..i mean which function gets called after this..11:16
*** openstackgerrit has quit IRC11:16
*** fpatwa has quit IRC11:17
*** openstackgerrit has joined #openstack-keystone11:17
tomoiaganiteshselkari: to cut this a little shorter, it will call the Client class in https://github.com/openstack/python-keystoneclient/blob/master/keystoneclient/v2_0/client.py (it depends on the version but right now it uses v2.0)11:18
niteshselkariin manager = keystoneclient(request, admin=True).users, what is users here? Is it keystoneclient/v2_0/users.py? In that create() is called?11:18
tomoiaganiteshselkari: you can look at: https://github.com/openstack/python-keystoneclient/blob/master/keystoneclient/v2_0/client.py11:21
tomoiaganiteshselkari: users is defined there as a "manager". self.users = users.UserManager(self)11:22
tomoiaganiteshselkari: and yes, it's the https://github.com/openstack/python-keystoneclient/blob/master/keystoneclient/v2_0/users.py in this case11:22
tomoiaganiteshselkari: and as you can see, get/post requests are done there (in users.py) to keystone11:23
*** dims_ has joined #openstack-keystone11:25
niteshselkaritomoiaga: self.users = users.UserManager(self) i dont see this in client.py11:28
tomoiaganiteshselkari: https://github.com/openstack/python-keystoneclient/blob/master/keystoneclient/v2_0/client.py#L13811:29
niteshselkarifrom there, it  goes to https://github.com/openstack/python-keystoneclient/blob/master/keystoneclient/v2_0/users.py #89 to create new user...where it returns _create() of base.py..correct?11:34
niteshselkaritomoiaga : from there, it  goes to https://github.com/openstack/python-keystoneclient/blob/master/keystoneclient/v2_0/users.py #89 to create new user...where it returns _create() of base.py..correct?11:36
tomoiaganiteshselkari: I see that _create is not overwritten so yes, it will eventually call the Manager._create in base.py which as you can see does a post to keystone11:38
tomoiaganiteshselkari: if you wonder who self.client is, that's the httpclient implementation https://github.com/openstack/python-keystoneclient/blob/master/keystoneclient/httpclient.py which does the actual post11:40
niteshselkaritomoiaga: In  https://github.com/openstack/python-keystoneclient/blob/master/keystoneclient/httpclient.py,   it calls11:53
niteshselkaritomoiaga: In  https://github.com/openstack/python-keystoneclient/blob/master/keystoneclient/httpclient.py,   it calls _cs_request() >>  from there it calls reuest() which is in same file. then in that, it again call request(): #566 resp = super(HTTPClient, self).request(url, method, **kwargs)11:54
niteshselkaritomoiaga : what is this request(), where it is defined ?11:56
tomoiaganiteshselkari: httpclient inherits baseclient.Client, base.BaseAuthPlugin, you can look at baseclient to see how request is defined (it will eventually end up calling the requests python library. Session is a new concept)11:57
tomoiaganiteshselkari: as you can see there is a lot of inheritence here, but eventually you can get to the bottom of this. A more suitable way is to use the python debugger and see how everything works. It will eventually end up sending a post directly to keystone11:59
*** k4n0 has quit IRC12:00
niteshselkaritomoiaga : In baseclient.py, it calls request() >> In that it returns session.request(url, method, **kwargs) >>12:07
tomoiaganiteshselkari: it will end up here: https://github.com/openstack/python-keystoneclient/blob/master/keystoneclient/session.py#L6512:09
tomoiaganiteshselkari: requests is a python library unrelated to openstack (it is only used to make http requests since it's pretty good at it)12:10
niteshselkaritomoiaga : why it is calling #L65, why not #L4812:11
*** bknudson has joined #openstack-keystone12:15
tomoiaganiteshselkari: it calls L48, I just skipped a step12:16
tomoiaganiteshselkari: after L48 it calls L6512:16
niteshselkaritomoiaga : ok..12:16
*** bknudson has quit IRC12:20
niteshselkaritomoiaga  : requests is the python mpodule...correct?12:23
tomoiaganiteshselkari: yes12:26
*** radez_g0n3 is now known as radez12:32
*** bknudson has joined #openstack-keystone12:35
niteshselkaritomoiaga : where is request() function in requests.request() ...? Is it from this path.../usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/request.py:58:    def request(self, method, url, fields=None, headers=None, **urlopen_kw):12:39
tomoiaganiteshselkari: probably. You'll have to check the requests library to make sure that's the function it calls. From what you wrote, seems that's the function. What's your end goal ? :)12:44
*** dims_ has quit IRC12:46
*** dims_ has joined #openstack-keystone12:47
*** hrybacki has joined #openstack-keystone12:54
niteshselkaritomoiaga : I started with create user form, I wanted to see how the data gets inserted in keystone data base using POST call.12:57
*** joesavak has joined #openstack-keystone12:58
tomoiaganiteshselkari: I see. You can go through the requests library if you want but that may take some time. You can assume it just does a simple HTTP request and returns the respons. Since it's unrelated to openstack I don't see a reason why you would browse through it's source unless you want to learn how that library works. Just think of requests as curl or wget for example.12:59
niteshselkaritomoiaga : ok..now i want to add new table in keystone database. and I want to populate, and access that data. For that, I am trying to understand the whole code flow so that I can refer that flow and do my task accordingl...13:03
*** hrybacki has quit IRC13:07
*** xianghui has joined #openstack-keystone13:12
*** ajayaa has quit IRC13:15
*** bknudson has quit IRC13:17
*** _elmiko is now known as elmiko13:22
*** ajayaa has joined #openstack-keystone13:28
tomoiaganiteshselkari: you may want to look at extensions: http://docs.openstack.org/developer/keystone/EXTENSIONS_HOWTO.html13:30
*** dstanek is now known as dstanek_zzz13:47
*** shausy has quit IRC13:47
dolphmniteshselkari: tomoiaga: this is a little more up to date: http://docs.openstack.org/developer/keystone/extension_development.html13:59
tomoiagadolphm: thank you14:00
*** joesavak has quit IRC14:01
*** lbragstad has joined #openstack-keystone14:05
*** xianghui has quit IRC14:07
*** topol has joined #openstack-keystone14:09
*** hrybacki has joined #openstack-keystone14:09
*** fpatwa has joined #openstack-keystone14:10
niteshselkaritomoiaga : if i assume that requests.request() sends http POST call, but no where it is mentioning the table name,(in this case "users" table), in which  the data will get stored.14:11
*** dstanek_zzz is now known as dstanek14:12
niteshselkaritomoiaga : how can i find that my data is getting stored in which table..?14:12
tomoiaganiteshselkari: a HTTP request will most likely never contain anything related to a database. Like I said, it's a simple HTTP request like GET /users/user_uuid (nothing more)14:13
tomoiaganiteshselkari: as mentioned above, keystoneclient is a HTTP client (you can consider it like curl or wget in your case). You need to look at the keystone server to see how the request is handled afterwards14:14
openstackgerritayoung proposed a change to openstack/python-keystoneclient: Revocation event API  https://review.openstack.org/8116614:14
tomoiaganiteshselkari: keystoneclients send requests to keystone, keystone handles the database afterwards14:14
*** jaosorior has joined #openstack-keystone14:15
*** bknudson has joined #openstack-keystone14:15
tomoiaganiteshselkari: that is why I pointed you to keystone extensions (not keystoneclient)14:16
*** lbragstad has quit IRC14:17
ajayaaniteshselkari, use a mysql client and see the database keystone. Under that a table called user will be present.14:20
ajayaaThat's where your data is stored.14:20
*** daneyon has joined #openstack-keystone14:21
ajayaaniteshselkari, if you want to change the database then see the calls being made in keystone project. Then you could modify database calls as well as table.14:21
*** lbragstad has joined #openstack-keystone14:21
ajayaaniteshselkari, just out of curiosity, what are trying to add to the database?14:22
*** bknudson has quit IRC14:22
ajayaaniteshselkari, if you are using devstack, go to localrc file. That's where root password is stored. Then "mysql -uroot -p <password>".14:24
ajayaaThen "use keystone;" "select * from user;"14:24
*** morganfainberg_Z is now known as morganfainberg14:27
*** ajayaa has quit IRC14:34
niteshselkaritomoiaga : how do i will use this keystone extension?14:35
*** bknudson has joined #openstack-keystone14:36
tomoiaganiteshselkari: you probably need to check the keystone architecture to understand where you need to modify the code. Related to extensions, the link provided above by dolphm should explain what you can do with an extension and if that is what you need. I would use extensions to keep the original code clean so that I can update keystone anytime without an issue.14:42
*** sacharya has joined #openstack-keystone14:45
*** david-lyle has joined #openstack-keystone14:53
*** thedodd has joined #openstack-keystone14:54
*** radez is now known as radez_g0n314:55
*** daneyon has quit IRC14:56
openstackgerritSteve Martinelli proposed a change to openstack/keystone: Migrate default extensions  https://review.openstack.org/9632614:57
dolphmtopol: git clone https://github.com/openstack/barbican-specs; cd barbican-specs; open specs/juno/consume-keystone-events.rst14:59
*** sacharya has quit IRC15:01
openstackgerritMarek Denis proposed a change to openstack/python-keystoneclient: Scope unscoped saml2 tokens.  https://review.openstack.org/9970415:03
*** stevemar has joined #openstack-keystone15:04
*** bknudson has quit IRC15:04
openstackgerritayoung proposed a change to openstack/python-keystoneclient: Revocation event API  https://review.openstack.org/8116615:05
*** topol has quit IRC15:09
*** xianghui has joined #openstack-keystone15:10
openstackgerritayoung proposed a change to openstack/python-keystoneclient: Revocation event API  https://review.openstack.org/8116615:10
*** chandankumar has quit IRC15:15
openstackgerritSteve Martinelli proposed a change to openstack/keystone: Migrate default extensions  https://review.openstack.org/9632615:15
*** lbragstad has quit IRC15:16
*** dims_ has quit IRC15:16
*** tomoiaga has quit IRC15:16
*** richm has joined #openstack-keystone15:18
stevemardstanek, https://review.openstack.org/#/c/96326/6 (diff 4 and 6)15:19
*** bknudson has joined #openstack-keystone15:20
*** kwss has quit IRC15:23
openstackgerritBrant Knudson proposed a change to openstack/keystone: Use oslo.i18n  https://review.openstack.org/10440015:24
*** BAKfr has quit IRC15:31
boris-42bknudson https://review.openstack.org/#/c/105541/315:32
boris-42bknudson so now keystone has properly stetted up rabbit in gates => profiler in Keystone will work https://review.openstack.org/#/c/103368/15:33
*** sacharya has joined #openstack-keystone15:33
openstackgerrithenry-nash proposed a change to openstack/keystone: multi-backend support for identity  https://review.openstack.org/7421415:35
*** lbragstad has joined #openstack-keystone15:35
openstackgerritSteve Martinelli proposed a change to openstack/keystone: Update docs to reflect new db_sync behaviour  https://review.openstack.org/10640715:36
openstackgerritSteve Martinelli proposed a change to openstack/keystone: Migrate default extensions  https://review.openstack.org/9632615:36
openstackgerritSteve Martinelli proposed a change to openstack/keystone: Update docs to reflect new db_sync behaviour  https://review.openstack.org/10640715:36
bknudsonboris-42: it's already merged in devstack15:37
boris-42bknudson yep15:37
boris-42bknudson so it should already work15:37
boris-42bknudson but I am going to update patch, to make it a bit nicer15:37
boris-42bknudson like i have in glance https://review.openstack.org/#/c/105635/15:38
openstackgerritDolph Mathews proposed a change to openstack/keystone: Remove deprecated token_api.list_tokens  https://review.openstack.org/10341715:39
dolphmmarekd: https://github.com/dolph/dotfiles15:42
marekddolphm: thanks.15:42
*** xianghui has quit IRC15:44
dolphmdstanek: i put you on this patch, for non-persistent tokens https://review.openstack.org/#/c/103417/15:44
*** dims_ has joined #openstack-keystone15:45
openstackgerrithenry-nash proposed a change to openstack/keystone: multi-backend support for identity  https://review.openstack.org/7421415:46
openstackgerritDolph Mathews proposed a change to openstack/keystone: Remove deprecated token_api.list_tokens  https://review.openstack.org/10341715:47
*** sacharya has quit IRC15:49
openstackgerritayoung proposed a change to openstack/python-keystoneclient: Revocation event API  https://review.openstack.org/8116615:52
openstackgerritA change was merged to openstack/keystone: Add keystonemiddleware to requirements  https://review.openstack.org/10618815:52
openstackgerritSteve Martinelli proposed a change to openstack/keystone: Update the configuration docs for the revocation extension  https://review.openstack.org/10641615:53
*** dstanek is now known as dstanek_zzz15:53
openstackgerritBrant Knudson proposed a change to openstack/keystone: Add oslo.i18n as dependency  https://review.openstack.org/10439915:59
openstackgerritBrant Knudson proposed a change to openstack/keystone: Use oslo.i18n  https://review.openstack.org/10440015:59
openstackgerritBrant Knudson proposed a change to openstack/keystone: Do not use lazy translation for keystone-manage  https://review.openstack.org/10642215:59
*** topol has joined #openstack-keystone16:01
*** richm has quit IRC16:01
*** henrynash has joined #openstack-keystone16:01
topolhttps://etherpad.openstack.org/p/keystone-juno-hackathon16:01
*** chandankumar has joined #openstack-keystone16:03
*** afazekas has quit IRC16:04
*** richm has joined #openstack-keystone16:15
*** spandhe___ has joined #openstack-keystone16:18
*** dstanek_zzz is now known as dstanek16:22
*** marcoemorais has joined #openstack-keystone16:26
*** harlowja_away is now known as harlowja16:37
*** sacharya has joined #openstack-keystone16:38
*** i159 has quit IRC16:41
*** bklei has joined #openstack-keystone16:48
*** bklei has quit IRC16:49
*** bklei has joined #openstack-keystone16:49
*** bklei has quit IRC16:50
*** dims_ is now known as dimsum16:51
*** daneyon has joined #openstack-keystone16:52
openstackgerritA change was merged to openstack/python-keystoneclient: Pass roles manager to user manager  https://review.openstack.org/10476616:59
openstackgerritSteve Martinelli proposed a change to openstack/keystone: Migrate default extensions  https://review.openstack.org/9632617:02
openstackgerritayoung proposed a change to openstack/keystone-specs: Fetch Policy Based on Endpoint Identity  https://review.openstack.org/10643817:04
*** richm has quit IRC17:06
openstackgerritMarek Denis proposed a change to openstack/python-keystoneclient: Implement SAML2 ECP authentication  https://review.openstack.org/9216617:09
*** marcoemorais has quit IRC17:10
*** marcoemorais has joined #openstack-keystone17:11
openstackgerritA change was merged to openstack/python-keystoneclient: Add V2 tenant user manager tests  https://review.openstack.org/10476717:11
*** bklei has joined #openstack-keystone17:12
*** hrybacki has quit IRC17:14
*** dstanek is now known as dstanek_zzz17:14
openstackgerritayoung proposed a change to openstack/python-keystoneclient: SAML2 ECP auth plugin  https://review.openstack.org/9216617:14
*** bknudson has quit IRC17:15
openstackgerritayoung proposed a change to openstack/python-keystoneclient: SAML2 ECP auth plugin  https://review.openstack.org/9216617:16
openstackgerritayoung proposed a change to openstack/python-keystoneclient: SAML2 ECP auth plugin  https://review.openstack.org/9216617:17
*** joesavak has joined #openstack-keystone17:18
*** lbragstad has quit IRC17:18
*** fpatwa has quit IRC17:19
*** richm has joined #openstack-keystone17:19
*** bklei has quit IRC17:23
*** afazekas has joined #openstack-keystone17:29
*** elmiko_ has joined #openstack-keystone17:35
*** samuelmz_ has joined #openstack-keystone17:35
*** mat-lowery_ has joined #openstack-keystone17:36
*** gmurphy_ has joined #openstack-keystone17:39
*** gyee has joined #openstack-keystone17:40
*** baffle has joined #openstack-keystone17:40
*** mat-lowery has quit IRC17:41
*** samuelmz has quit IRC17:41
*** elmiko has quit IRC17:41
*** mfisch has quit IRC17:41
*** baffle_ has quit IRC17:41
*** ekarlso has quit IRC17:41
*** gmurphy has quit IRC17:41
*** comstud is now known as bearhands17:42
*** mfisch has joined #openstack-keystone17:42
*** mfisch has quit IRC17:42
*** mfisch has joined #openstack-keystone17:42
*** richm has quit IRC17:46
*** thedodd has quit IRC17:48
*** ekarlso has joined #openstack-keystone17:48
*** joesavak has quit IRC17:49
*** richm has joined #openstack-keystone18:01
*** lbragstad has joined #openstack-keystone18:13
*** dstanek_zzz is now known as dstanek18:13
*** bknudson has joined #openstack-keystone18:15
*** dstanek is now known as dstanek_zzz18:15
*** dstanek_zzz is now known as dstanek18:17
openstackgerritA change was merged to openstack/python-keystoneclient: Pass user and roles manager to tenant manager  https://review.openstack.org/10476818:21
*** elmiko_ is now known as elmiko18:25
openstackgerritSteve Martinelli proposed a change to openstack/keystone: Migrate default extensions  https://review.openstack.org/9632618:28
openstackgerritSteve Martinelli proposed a change to openstack/keystone: Migrate default extensions  https://review.openstack.org/9632618:31
openstackgerritSteve Martinelli proposed a change to openstack/keystone: Update docs to reflect new db_sync behaviour  https://review.openstack.org/10640718:32
dolphmdstanek: ashley wants your thoughts on http://mobile.nytimes.com/2014/07/12/sports/basketball/lebron-james-to-return-to-cleveland-cavaliers-leaving-miami-heat.html?_r=0&referrer=18:36
dolphmbknudson: check coverage on henry's new patch? https://review.openstack.org/#/c/74214/18:40
bknudsondolphm: I'm working on it18:41
*** thedodd has joined #openstack-keystone18:44
*** xianghui has joined #openstack-keystone18:46
dolphmbknudson: https://review.openstack.org/#/c/104400/18:49
dolphmpep8 failure ^18:49
*** mgarza has joined #openstack-keystone18:53
openstackgerritBrant Knudson proposed a change to openstack/keystone: Use oslo.i18n  https://review.openstack.org/10440018:54
bknudsondolphm: posted a new version of 104400... was a bug18:55
dstanekdolphm: i feel like http://2.bp.blogspot.com/_313qHvgSgjc/TPq06Qe0L6I/AAAAAAAAAUo/oiiqOKcujR4/s1600/2010-11-28105644.jpg19:00
*** amcrn has joined #openstack-keystone19:08
bknudsonhenrynash: had a comment on https://review.openstack.org/#/c/74214/19:14
openstackgerritSteve Martinelli proposed a change to openstack/keystone: Migrate default extensions  https://review.openstack.org/9632619:15
bknudsonjust change it to raise19:15
openstackgerritSteve Martinelli proposed a change to openstack/keystone: Update docs to reflect new db_sync behaviour  https://review.openstack.org/10640719:15
*** topol has quit IRC19:19
*** topol_ has joined #openstack-keystone19:19
*** topol_ is now known as topol19:19
openstackgerritSteve Martinelli proposed a change to openstack/keystone: Update docs to reflect new db_sync behaviour  https://review.openstack.org/10640719:22
openstackgerrithenry-nash proposed a change to openstack/keystone: multi-backend support for identity  https://review.openstack.org/7421419:22
openstackgerritDavid Stanek proposed a change to openstack/python-keystoneclient: Don't log sensitive auth data  https://review.openstack.org/10179219:22
openstackgerritSteve Martinelli proposed a change to openstack/keystone: Add revocation extension to default pipeline  https://review.openstack.org/10647419:23
openstackgerritSteve Martinelli proposed a change to openstack/keystone: Clean up the endpoint filtering configuration docs  https://review.openstack.org/10647519:25
stevemarmorganfainberg, https://review.openstack.org/#/c/96326/1119:27
*** chandankumar has quit IRC19:30
*** lbragstad has quit IRC19:33
*** bknudson has quit IRC19:37
openstackgerritayoung proposed a change to openstack/python-keystoneclient: Revocation event API  https://review.openstack.org/8116619:38
*** bknudson has joined #openstack-keystone19:38
openstackgerritMorgan Fainberg proposed a change to openstack/keystone: Update middleware that was moved to keystonemiddleware  https://review.openstack.org/10647819:39
openstackgerritMarek Denis proposed a change to openstack/python-keystoneclient: SAML2 ECP auth plugin  https://review.openstack.org/9216619:39
*** joesavak has joined #openstack-keystone19:39
marekddstanek: tests/v3/test_auth_saml2.py19:40
marekddstanek: https://review.openstack.org/9216619:40
dstanekmarekd: thanks!19:41
*** lbragstad has joined #openstack-keystone19:42
marekddstanek: also, Federation protocols (one nit with positionals): https://review.openstack.org/#/c/83829/19:42
openstackgerritMorgan Fainberg proposed a change to openstack/keystone: Avoid loading a ref from SQL to delete the ref  https://review.openstack.org/10614019:43
*** bknudson has quit IRC19:45
openstackgerritA change was merged to openstack/keystone: Do not use lazy translation for keystone-manage  https://review.openstack.org/10642219:47
openstackgerritA change was merged to openstack/keystone: Remove deprecated token_api.list_tokens  https://review.openstack.org/10341719:47
openstackgerritA change was merged to openstack/keystone: Add oslo.i18n as dependency  https://review.openstack.org/10439919:47
*** bknudson has joined #openstack-keystone19:49
*** bknudson has quit IRC19:53
*** henrynash has quit IRC19:54
*** henrynash has joined #openstack-keystone20:02
dolphmdstanek: stevemar: morganfainberg: jaosorior: henrynash: marekd: bknudson: pip install spandex https://pypi.python.org/pypi/spandex20:04
*** marcoemorais has quit IRC20:06
*** marcoemorais has joined #openstack-keystone20:07
*** marcoemorais has quit IRC20:07
openstackgerritRaildo Mascena de Sousa Filho proposed a change to openstack/keystone-specs: Hierarchical Multitenacy  https://review.openstack.org/10101720:07
*** marcoemorais has joined #openstack-keystone20:07
openstackgerritSteve Martinelli proposed a change to openstack/keystone: Clean up the endpoint filtering configuration docs  https://review.openstack.org/10647520:08
*** amcrn has quit IRC20:08
*** __afazekas has quit IRC20:09
openstackgerritMorgan Fainberg proposed a change to openstack/keystone: Remove `with_lockmode` use from Trust SQL backend.  https://review.openstack.org/9705920:11
*** marcoemorais has quit IRC20:13
*** marcoemorais has joined #openstack-keystone20:13
openstackgerritMarek Denis proposed a change to openstack/python-keystoneclient: Scope unscoped saml2 tokens.  https://review.openstack.org/9970420:14
marekddstanek: also this for scoping unscoped token ^^20:14
*** fifieldt has quit IRC20:15
*** topol has quit IRC20:20
*** miqui has quit IRC20:24
dstanekdolphm: my crazy version https://review.openstack.org/#/c/101636/20:24
dstanekdolphm: better https://review.openstack.org/#/c/93013/20:24
*** spandhe___ has quit IRC20:24
*** fifieldt has joined #openstack-keystone20:28
*** marcoemorais has quit IRC20:30
*** jsavak has joined #openstack-keystone20:35
*** joesavak has quit IRC20:36
*** spandhe has joined #openstack-keystone20:41
dolphmmorganfainberg: https://review.openstack.org/#/c/101636/20:48
*** daneyon has quit IRC20:50
openstackgerritDolph Mathews proposed a change to openstack/keystone-specs: standalone service catalog  https://review.openstack.org/10648920:50
*** henrynash has quit IRC20:51
openstackgerritRaildo Mascena de Sousa Filho proposed a change to openstack/keystone-specs: Hierarchical Multitenacy  https://review.openstack.org/10101721:02
*** jsavak has quit IRC21:02
openstackgerritMorgan Fainberg proposed a change to openstack/keystone: Make sure unit tests set the correct log levels  https://review.openstack.org/10649621:05
*** marcoemorais has joined #openstack-keystone21:07
*** daneyon has joined #openstack-keystone21:18
*** doddstack has joined #openstack-keystone21:22
*** thedodd has quit IRC21:24
*** dims_ has joined #openstack-keystone21:28
*** dims_ has quit IRC21:29
*** joesavak has joined #openstack-keystone21:29
*** dims_ has joined #openstack-keystone21:30
*** dimsum has quit IRC21:30
*** joesavak has quit IRC21:37
*** amcrn has joined #openstack-keystone21:44
openstackgerritDolph Mathews proposed a change to openstack/keystone-specs: standalone service catalog  https://review.openstack.org/10648921:47
dolphmmorganfainberg: ^21:48
openstackgerritA change was merged to openstack/keystone: Imported Translations from Transifex  https://review.openstack.org/10338021:48
morganfainberg+221:48
openstackgerritA change was merged to openstack/keystone: multi-backend support for identity  https://review.openstack.org/7421421:48
stevemardstanek, marekd https://gist.github.com/stevemart/805a3b80934349476ae021:50
openstackgerritOpenStack Proposal Bot proposed a change to openstack/keystone: Updated from global requirements  https://review.openstack.org/10620821:50
openstackgerritMorgan Fainberg proposed a change to openstack/keystone: Make sure unit tests set the correct log levels  https://review.openstack.org/10649621:52
*** sacharya has quit IRC21:53
openstackgerritOpenStack Proposal Bot proposed a change to openstack/python-keystoneclient: Updated from global requirements  https://review.openstack.org/10621021:55
*** marcoemorais has quit IRC21:56
*** marcoemorais1 has joined #openstack-keystone21:56
*** dstanek is now known as dstanek_zzz21:56
marekddstanek_zzz: dstanek_zzz dstanek_zzz dstanek_zzz : https://review.openstack.org/#/c/83829/ <- THAT CLOSE!21:57
*** lbragstad has quit IRC22:00
*** stevemar has quit IRC22:04
*** marcoemorais1 has quit IRC22:07
*** hrybacki has joined #openstack-keystone22:08
*** andreaf has joined #openstack-keystone22:09
*** morganfainberg is now known as morganfainberg_Z22:10
*** marcoemorais has joined #openstack-keystone22:11
*** andreaf has quit IRC22:14
openstackgerritA change was merged to openstack/keystone: Adds hacking check for debug logging translations  https://review.openstack.org/10163622:19
hrybackidolphm, morganfainberg_Z: Are you all still at Geekdom? My ride got delayed and I'd love to bring coffee or some such thing back to yall22:21
*** marcoemorais has quit IRC22:22
*** marcoemorais has joined #openstack-keystone22:23
*** marcoemorais has quit IRC22:40
*** marcoemorais has joined #openstack-keystone22:40
marekdhrybacki: everybody is gone now.22:44
hrybackimarekd: figured =/ thanks though!22:48
*** marcoemorais has quit IRC22:53
*** hrybacki has quit IRC22:58
*** david-lyle has quit IRC22:59
openstackgerritMarek Denis proposed a change to openstack/python-keystoneclient: Docstrings for usability.  https://review.openstack.org/9975523:08
*** gyee has quit IRC23:16
*** richm has left #openstack-keystone23:17
*** doddstack has quit IRC23:18
*** jaosorior has quit IRC23:32
openstackgerritA change was merged to openstack/keystone: Do not use keystone's config for nova's port  https://review.openstack.org/10320423:36
*** sacharya has joined #openstack-keystone23:48

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