Monday, 2015-04-13

*** lhcheng has quit IRC00:03
*** jamielennox|away is now known as jamielennox00:06
*** gabriel-bezerra has joined #openstack-keystone00:14
*** lhcheng has joined #openstack-keystone00:16
*** ChanServ sets mode: +v lhcheng00:16
*** sdake has joined #openstack-keystone00:30
*** sdake_ has quit IRC00:34
*** sdake_ has joined #openstack-keystone00:46
*** sdake has quit IRC00:49
*** sdake has joined #openstack-keystone00:52
*** sdake_ has quit IRC00:56
bknudsonjamielennox: y, that is weird that all it cares about is that there's a cookie and not that the cookie is valid...01:10
bknudsonsince there could be a cookie for some other reason.01:10
jamielennoxbknudson: right, we don't set any of our own currently but there's a bunch of reasons one might be added01:12
jamielennoxbut your review still improves on what's there so +201:12
*** dimsum_ has quit IRC01:19
openstackgerritJamie Lennox proposed openstack/keystone: Move endpoint_policy migrations into keystone core  https://review.openstack.org/17191601:22
*** iurygregory has quit IRC01:26
*** ericksonsantos has quit IRC01:26
*** dimsum_ has joined #openstack-keystone01:28
*** ericksonsantos has joined #openstack-keystone01:29
*** iurygregory has joined #openstack-keystone01:30
*** dimsum_ has quit IRC01:35
jamielennoxmorganfainberg: have you had any luck with keystoneauth package - if you're busy i'll do it, i know what needs to come out01:50
*** erkules_ has quit IRC01:53
*** Ephur has joined #openstack-keystone01:55
*** sdake_ has joined #openstack-keystone02:11
*** sdake has quit IRC02:14
*** dimsum_ has joined #openstack-keystone02:35
*** dimsum_ has quit IRC02:41
openstackgerritJamie Lennox proposed openstack/python-keystoneclient: Add Proxy plugins  https://review.openstack.org/13786402:49
openstackgerritJamie Lennox proposed openstack/keystone: Don't autodoc the test suite  https://review.openstack.org/17277803:01
*** sdake_ has quit IRC03:25
*** erkules_ has joined #openstack-keystone03:49
openstackgerritMerged openstack/keystone: Removes discover from test-reqs  https://review.openstack.org/17154203:53
*** Ephur has quit IRC03:59
openstackgerritJamie Lennox proposed openstack/keystone: Move endpoint_policy migrations into keystone core  https://review.openstack.org/17191604:14
openstackgerritJamie Lennox proposed openstack/keystone: Move endpoint policy into keystone core  https://review.openstack.org/17144804:14
openstackgerritJamie Lennox proposed openstack/keystone: Don't autodoc the test suite  https://review.openstack.org/17277804:14
openstackgerritJamie Lennox proposed openstack/keystone: Don't provide backends from __all__ in persistence  https://review.openstack.org/17278304:14
*** rm_work|away is now known as rm_work04:17
*** ishant has joined #openstack-keystone04:53
*** rushiagr_away is now known as rushiagr05:04
*** rushiagr is now known as rushiagr_away05:34
*** topol has quit IRC05:48
*** tobberydberg has joined #openstack-keystone05:49
*** ajayaa has joined #openstack-keystone05:49
*** rushiagr_away is now known as rushiagr06:03
openstackgerritOpenStack Proposal Bot proposed openstack/keystone: Imported Translations from Transifex  https://review.openstack.org/17262406:03
*** afazekas has joined #openstack-keystone06:08
*** rwsu has joined #openstack-keystone06:34
*** jaosorior has joined #openstack-keystone07:02
*** amakarov_away has quit IRC07:06
*** tsufiev has quit IRC07:06
*** amakarov_away has joined #openstack-keystone07:06
*** tsufiev has joined #openstack-keystone07:07
*** jamielennox is now known as jamielennox|away07:11
*** ihrachyshka has joined #openstack-keystone07:22
*** tobberyd_ has joined #openstack-keystone07:22
*** jistr has joined #openstack-keystone07:24
*** tobberydberg has quit IRC07:25
*** chlong has quit IRC07:25
*** ihrachyshka has quit IRC07:28
*** fhubik has joined #openstack-keystone07:40
*** tobberydberg has joined #openstack-keystone07:47
*** bdossant has joined #openstack-keystone07:48
*** krykowski has joined #openstack-keystone07:49
*** tobberyd_ has quit IRC07:51
*** lhcheng has quit IRC08:16
*** lsmola_ has joined #openstack-keystone08:16
*** fhubik is now known as fhubik_afk08:16
*** fhubik_afk is now known as fhubik08:19
*** fhubik is now known as fhubik_afk08:28
*** fhubik_afk is now known as fhubik08:42
*** jamielennox|away is now known as jamielennox09:02
*** pnavarro has joined #openstack-keystone09:23
*** aix has joined #openstack-keystone09:23
*** fhubik is now known as fhubik_afk09:46
*** fhubik_afk is now known as fhubik09:48
*** markvoelker has joined #openstack-keystone09:59
*** sdake has joined #openstack-keystone10:09
*** markvoelker has quit IRC10:16
*** markvoelker has joined #openstack-keystone10:18
*** fhubik has quit IRC10:19
*** fhubik has joined #openstack-keystone10:20
*** fhubik_afk has joined #openstack-keystone10:27
*** fhubik_afk has quit IRC10:27
*** fhubik_afk has joined #openstack-keystone10:27
*** fhubik_afk is now known as fhubik_10:27
*** sdake_ has joined #openstack-keystone10:28
*** fhubik has quit IRC10:28
*** markvoelker has quit IRC10:29
*** sdake has quit IRC10:31
*** fhubik_ is now known as fhubik10:38
*** dimsum_ has joined #openstack-keystone10:39
*** aix has quit IRC10:45
*** sdake_ has quit IRC10:53
*** amakarov_away is now known as amakarov11:01
*** ishant has quit IRC11:01
*** ajayaa has quit IRC11:11
openstackgerritRodrigo Duarte proposed openstack/keystone: Fix signed_saml2_assertion.xml tests fixture  https://review.openstack.org/17253511:15
openstackgerritRodrigo Duarte proposed openstack/keystone: Add openstack_project_domain to assertion  https://review.openstack.org/17253611:15
openstackgerritRodrigo Duarte proposed openstack/keystone: Refactor _create_attribute_statement IdP method  https://review.openstack.org/17264711:15
openstackgerritRodrigo Duarte proposed openstack/keystone: Add openstack_user_domain to assertion  https://review.openstack.org/17256211:15
*** fhubik is now known as fhubik_afk11:25
*** ajayaa has joined #openstack-keystone11:25
*** erkules has joined #openstack-keystone11:37
*** erkules_ has quit IRC11:38
*** samueldmq has joined #openstack-keystone11:39
samueldmqmorning11:44
*** samueldmq has quit IRC11:44
*** samueldmq has joined #openstack-keystone11:45
*** ajayaa has quit IRC11:49
*** rushiagr is now known as rushiagr_away11:52
*** dimsum_ has quit IRC11:52
*** fhubik_afk is now known as fhubik11:57
*** sdake has joined #openstack-keystone12:00
*** sdake_ has joined #openstack-keystone12:01
*** sdake has quit IRC12:04
*** jamielennox is now known as jamielennox|away12:12
*** EmilienM|afk is now known as EmilienM12:19
*** sdake_ has quit IRC12:25
*** sdake has joined #openstack-keystone12:25
*** henrynash has joined #openstack-keystone12:26
*** ChanServ sets mode: +v henrynash12:26
*** rushiagr_away is now known as rushiagr12:27
*** sdake_ has joined #openstack-keystone12:27
*** samueldmq_ has joined #openstack-keystone12:29
*** sdake has quit IRC12:31
*** Ephur has joined #openstack-keystone12:33
*** fhubik is now known as fhubik_afk12:35
*** davechen has joined #openstack-keystone12:37
*** Ephur has quit IRC12:37
openstackgerritRodrigo Duarte proposed openstack/python-keystoneclient: Add Keystone2KeystoneAuthPlugin for K2K federation  https://review.openstack.org/17215512:38
*** Ephur has joined #openstack-keystone12:39
*** fhubik_afk is now known as fhubik12:43
*** rdo has quit IRC12:45
*** rdo has joined #openstack-keystone12:46
*** bknudson has quit IRC12:51
*** gordc has joined #openstack-keystone12:51
*** markvoelker has joined #openstack-keystone12:52
*** dimsum_ has joined #openstack-keystone12:53
*** ajayaa has joined #openstack-keystone12:53
*** markvoelker_ has joined #openstack-keystone12:54
*** raildo has joined #openstack-keystone12:57
*** markvoelker has quit IRC12:58
*** dimsum_ has quit IRC12:58
*** openstackgerrit has quit IRC13:00
*** adrian_otto has joined #openstack-keystone13:01
*** henrynash has quit IRC13:02
*** openstackgerrit has joined #openstack-keystone13:03
*** krtaylor has quit IRC13:03
*** kiran-r has joined #openstack-keystone13:04
*** richm has joined #openstack-keystone13:09
kiran-rHello! What is the project_domains and user_domain all about?13:09
*** bknudson has joined #openstack-keystone13:14
*** ChanServ sets mode: +v bknudson13:14
*** ayoung has joined #openstack-keystone13:15
*** ChanServ sets mode: +v ayoung13:15
samueldmqkiran-r, hi, where are you finding these?13:16
*** ozialien has joined #openstack-keystone13:16
kiran-r https://github.com/stackforge/rally/blob/a4532557cdd5b085cc2fceab8399c7898af70ed4/rally/benchmark/context/users.py#L41-L46 https://github.com/stackforge/rally/blob/cd62844e46136b2470cb7c0b5a0a082518f49702/etc/rally/rally.conf.sample#L538-L54213:18
samueldmqkiran-r, from what I can see, this is how rally calls the project domain, and the user domain, respectively13:19
samueldmqkiran-r, if you want to know what is a domain, here is the right place13:19
samueldmqkiran-r, if you want to know more about rally, try #openstack-rally13:20
samueldmqkiran-r, k, so you want to know what a domain is, right?13:22
samueldmqkiran-r, domain is a container for users and projects, so users and projects are in a domain (only one)13:23
samueldmqkiran-r, project_domains is where they are putting the project domain (similar to users)13:23
*** aix has joined #openstack-keystone13:24
*** henrynash has joined #openstack-keystone13:29
*** ChanServ sets mode: +v henrynash13:29
*** bdossant has quit IRC13:30
samueldmqhenrynash, hi13:32
*** samueldmq_ has quit IRC13:32
henrynashhi13:32
samueldmqhenrynash, I replied your comment at 'Exposes bug on role assignments creation'13:33
henrynashok, let me check….what’s teh link?13:33
samueldmqhenrynash, https://review.openstack.org/#/c/171596/13:33
samueldmqhenrynash, thanks a lot :)13:35
henrynashsamueldmq: sorry. must haev been having a caffine shortage at the time…13:35
samueldmqhenrynash, haha np13:36
*** ajayaa has quit IRC13:38
*** adrian_otto has quit IRC13:39
openstackgerritBrant Knudson proposed openstack/keystone: Update sample config file  https://review.openstack.org/17186013:42
openstackgerritBrant Knudson proposed openstack/keystone: Use short names for drivers  https://review.openstack.org/16662213:42
openstackgerritrajiv proposed openstack/python-keystoneclient: Now keystone enables listing of user by name  https://review.openstack.org/16754313:42
openstackgerritBrant Knudson proposed openstack/keystone: Update sample config file  https://review.openstack.org/17186013:42
*** rushiagr is now known as rushiagr_away13:42
openstackgerritrajiv proposed openstack/python-keystoneclient: Now keystone enables listing of user by name  https://review.openstack.org/16754313:44
*** henrynash has quit IRC13:44
*** rushiagr_away is now known as rushiagr13:45
*** markvoelker_ has quit IRC13:46
*** ajayaa has joined #openstack-keystone13:50
*** sdake has joined #openstack-keystone13:59
openstackgerritRodrigo Duarte proposed openstack/keystone-specs: Add parent_id to GET /projects  https://review.openstack.org/16632613:59
openstackgerritRodrigo Duarte proposed openstack/keystone-specs: API changes for Reseller  https://review.openstack.org/15300713:59
openstackgerritRodrigo Duarte proposed openstack/keystone-specs: Recursive deletion and project disabling  https://review.openstack.org/14873013:59
*** fhubik is now known as fhubik_afk13:59
*** sdake_ has quit IRC14:02
*** topol has joined #openstack-keystone14:03
*** ChanServ sets mode: +v topol14:03
*** nkinder has joined #openstack-keystone14:04
openstackgerritDave Chen proposed openstack/keystone: Let 'region' field be effective both in the testcase and API  https://review.openstack.org/16753414:09
*** dimsum_ has joined #openstack-keystone14:10
openstackgerritRodrigo Duarte proposed openstack/python-keystoneclient: Add Keystone2KeystoneAuthPlugin for K2K federation  https://review.openstack.org/17215514:11
*** rushiagr is now known as rushiagr_away14:12
*** tellesnobrega has quit IRC14:17
*** carlosmarin has joined #openstack-keystone14:17
*** sdake_ has joined #openstack-keystone14:18
*** tellesnobrega has joined #openstack-keystone14:19
*** mattfarina has joined #openstack-keystone14:19
*** krtaylor has joined #openstack-keystone14:20
*** fhubik_afk is now known as fhubik14:20
*** sdake has quit IRC14:21
*** henrynash has joined #openstack-keystone14:22
*** ChanServ sets mode: +v henrynash14:22
*** jistr is now known as jistr|mtg14:29
*** davechen has left #openstack-keystone14:30
*** rushiagr_away is now known as rushiagr14:35
*** dimsum_ is now known as dims14:39
*** mattamizer has joined #openstack-keystone14:43
*** markvoelker has joined #openstack-keystone14:47
*** sdake has joined #openstack-keystone14:47
*** markvoelker_ has joined #openstack-keystone14:48
raildohenrynash, ping, Did you saw my comment here? https://review.openstack.org/#/c/158398/17/keystone/resource/controllers.py What do you think?14:48
henrynashlooking14:48
*** sdake_ has quit IRC14:50
*** markvoelker has quit IRC14:52
*** markvoelker has joined #openstack-keystone14:52
*** markvoelker_ has quit IRC14:52
*** fhubik has quit IRC14:54
*** rwsu has quit IRC14:54
*** rwsu has joined #openstack-keystone14:54
*** fhubik has joined #openstack-keystone14:55
*** fhubik_afk has joined #openstack-keystone14:55
*** markvoelker has quit IRC14:58
*** kiran-r has quit IRC14:58
openstackgerritHenrique Truta proposed openstack/keystone: Remove domain table references  https://review.openstack.org/16593614:58
*** stevemar has joined #openstack-keystone15:07
*** ChanServ sets mode: +v stevemar15:07
*** jistr|mtg is now known as jistr15:07
*** sdake_ has joined #openstack-keystone15:07
*** zzzeek has joined #openstack-keystone15:08
*** trey has quit IRC15:11
*** sdake has quit IRC15:13
*** trey has joined #openstack-keystone15:16
*** afazekas has quit IRC15:18
*** pnavarro has quit IRC15:20
*** stevemar has quit IRC15:30
*** stevemar has joined #openstack-keystone15:30
*** ChanServ sets mode: +v stevemar15:30
*** gyee has joined #openstack-keystone15:41
*** ChanServ sets mode: +v gyee15:41
*** jistr has quit IRC15:45
*** rushil has joined #openstack-keystone15:46
*** mattamizer has quit IRC15:46
rushilHey. I'm seeing this keystone error when trying to update from stable/juno to RC1 when I do a cinder list or nova list -> ERROR: An unexpected error prevented the server from fulfilling your request: Can't load plugin: sqlalchemy.dialects:mysql (Disable debug mode to suppress these details.) (HTTP 500)> Any ideas how to fix this?15:47
*** _cjones_ has joined #openstack-keystone15:47
openstackgerrithongxiaolong proposed openstack/keystone: Allowed owners to delete token with v2 API  https://review.openstack.org/17296815:50
*** rushil has quit IRC15:51
*** markvoelker_ has joined #openstack-keystone15:53
*** henrynash has quit IRC15:53
openstackgerritRaildo Mascena de Sousa Filho proposed openstack/keystone: Bye Bye Domain Table  https://review.openstack.org/16185415:54
ayoungrushiagr, that looks like a sql alchemy packaging problem.15:56
ayoungrushiagr, how did you deploy?15:56
rushiagrayoung: er.. that's not me :)15:56
ayoungsorry...nicknamed matched to the 5th character.  Can't be expected to type names that long15:57
ayoungand he quit15:57
*** markvoelker_ has quit IRC15:59
*** stevemar has quit IRC16:03
*** stevemar has joined #openstack-keystone16:04
*** ChanServ sets mode: +v stevemar16:04
*** alexsyip has joined #openstack-keystone16:04
*** fhubik_afk has quit IRC16:06
*** tobberydberg has quit IRC16:09
*** afazekas has joined #openstack-keystone16:10
ccardI'm trying to understand setting up keystone to use SSL. I can see all the options in the [ssl] and [signing] sections of keystone.conf. I understand that a key is needed for signing and a certificate is needed for validating the signature, but I'm not clear on the role of the ca key. Any pointers?16:12
bknudson[signing] is for PKI tokens, not SSL.16:13
ccardbknudson: yes, but I can sign without a ca key surely?16:14
bknudsonkeystone-manage can be used to generate some test certs, in which case it needs ca key. it's not used on normal running.16:14
bknudsonyou could ask your ca for their private key and see what they say.16:14
bknudsonif they hand it to you it's probably time for a new ca.16:14
ayoungccard, run Keystone in HTTPD, not eventlet16:15
ccardbknudson: so if I have my own CA to sign certs, and provide a key and certificate (signed by my ca) and a ca cert, can I leave ca_key undef?16:15
ayoung"The rest is commentary.  Go and study"16:15
ccardayoung: I'm trying to follow the OpenStack Security Guide recommendations.16:16
bknudsonccard: y, and as ayoung said you're better off running keystone under apache, in which case apache handles the connections16:16
bknudsonif the security guide doesn't say to run keystone under apache then it's wrong.16:17
ccardbknudson: it's one of the options16:17
*** kiran has joined #openstack-keystone16:17
ccardhttp://docs.openstack.org/security-guide/content/tls-proxies-and-http-services.html16:18
bknudsonfor keystone you don't need httpd as a proxy, you can run keystone right in httpd16:18
ayoungccard, "Keystone should be run in HTTPD, Princess. Anyone who says differently is selling something" --The Dread Admin Roberts.16:19
*** tqtran has joined #openstack-keystone16:19
*** ayoung is now known as dreadadminrobert16:19
stevemarhehe16:19
*** dreadadminrobert is now known as ayoung16:19
ccardayoung: Inconceivable16:19
bknudsonwe need that in the deprecation message.16:19
ayoungactually, anyone who says differently has not updated their Puppet scripts...16:20
ccardayoung: we're using quickstack puppet manifests to set up OpenStack16:20
ayoungccard, which inherit from upstream puppet modules, I assume?16:21
*** ozialien has quit IRC16:22
ccardayoung: yes, the keystone module from stackforge16:23
*** kiran is now known as kiran-r16:24
ayoungcan you just fix that for me?  That would be great....16:24
* ayoung shakes his head16:24
ayoungccard, I see that rushiagr has updated the HTTPD portion of it, so there must be some support16:25
ayounglet me guess, though, that quickstack is coded to set up eventlet16:25
*** lsmola_ has quit IRC16:25
ccardayoung: what should I look for in the Apache configuration?16:26
*** vhoward has left #openstack-keystone16:26
ayoungccard, presense, first of all16:26
ayoungif there is no apache config, it can't run in apache16:26
ayoungah.16:27
ayoungI mean of the keystone.conf file, ccard16:27
ayoung/etc/httpd/conf.d/keystone.conf or something similar16:27
ayoungmaybe with a number in front of it16:27
ccardayoung: we are using Apache, but I don't see anything about keystone under /etc/httpd/*. keystone itself is being run as a pacemaker resource (via /usr/bin/keystone-all)16:29
ccardconfiguration from /etc/keystone/keystone.conf16:30
*** adrian_otto has joined #openstack-keystone16:30
*** afazekas has quit IRC16:30
ayoungccard, that means keystone is run in Eventlet.  You have 3 minutes to leave the building before it releases a ...sorry wrong movie..16:30
ayoungccard, so pretty sure the puppet modules can be called either way.16:31
ayoungI should know this stuff.16:31
ayoungI don't16:31
ccardayoung: ok, but I'm not planning to change that (or anything, actually) at the moment. I'm just trying to understand what the ca_key is used for, and if I need it.16:33
bknudsonccard: unless you're using keystone-manage pki_setup, you don't need ca_key16:33
ccardbknudson: that's what I thought, but I couldn't find it stated anywhere. What about the ca cert? Is that still needed?16:34
ayoungccard, you should plan on changing it16:35
*** hogepodge has quit IRC16:35
ayounginstead of spending time understanding Eventlet, use your time more wisely16:35
ayoungEventlet SSL is the path to the dark side.16:35
ayoungAnd by that, I mean your Openstack deployment going dark16:35
morganfainbergEventlet running SSL is not secure. You cannot select ciphers or limit SSL versions.16:36
morganfainbergDo not terminate SSL in event let.16:36
*** krykowski has quit IRC16:36
morganfainbergAt the very least terminate with Apache. But as ayoung said, running keystone in mod_wsgi is way better.16:37
ccardso I should ignore the [ssl] section in keystone.conf?16:38
ayoungmorganfainberg, no.  Don't even tell people that there are still eventlet based options out there.  Eventlet is not pining, its passed on Bereft of life, it rests in pieces.  Its run down the curtain, shuffled off its mortal coil, and gone join the bleeding choir invisibule.  It is an ex-project!16:38
morganfainbergccard: best bet16:39
ccardand what about [signing] Is token signing a good idea?16:39
*** bknudson has quit IRC16:40
morganfainbergccard: so pki tokens are a mixed bag. Some people have a lot of success with them, some don't. I prefer UUID tokens for simplicity (pre kilo). Less general headaches and you don't potentially have 4k-40k (yes someone had a 40k+ sized token) due to the catalog needing to be in the token itself.16:42
morganfainberg kilo and later , in going to recommend fernet tokens to eliminate the token table. But that it needs some drive time to prove out.16:43
morganfainbergBut fernet tokens is largely taking what we learned about UUID and pki tokens and an attempt to improve everything significantly.16:44
morganfainbergAnnnnd to avoid needing to store the token in a db.16:44
*** henrynash has joined #openstack-keystone16:44
*** ChanServ sets mode: +v henrynash16:44
dolphmmorganfainberg: +1016:46
dolphmccard: fernet tokens are signed too, but they don't require any options from the [signing] section16:47
ccardmorganfainberg: our current configuration is for pki tokens and using keystone-manage pki_setup, which I think has created some signing keys and certs. But we're still developing our OpenStack (juno) configuration, so this could change. If I wanted to use our own CA to sign a signing cert, do I need to supply the signing ca_key?16:47
ccardi.e. can I leave the signing ca_key undef?16:47
dolphmccard: no, that's just to issue self-signed signing cert16:48
dolphmccard: most of those options are primarily there to run pki_setup rather than to actually make pki work16:48
morganfainbergWhat dolphm said. That is only if keystone is managing the self-signed ca16:48
ccarddolphm: that's what I thought, but it's not very clear from the docs16:48
dolphmccard: if you're doing your own setup, you can skip several options16:48
dolphmccard: that's true16:48
ccardthanks for your help everyone, now I'll have to go and find out how to run keystone under mod_wsgi, using quickstack.16:49
ccardno idea how that fits with pacemaker :(16:50
morganfainbergccard: keystone is subordinate to apache16:50
morganfainbergccard: so you'd work with Apache under pacemaker16:50
morganfainbergYou can either: use a separate instance of Apache that just runs keystone, or you can share via extra listeners on the appropriate ports. You can also do crazy vhost things, but that tends to add a lot of complexity.16:52
*** afazekas has joined #openstack-keystone16:52
*** vhoward has joined #openstack-keystone16:57
ccardwe have haproxy sitting on the keystone endpoint talking to the actual keystone servers (this is an ha OpenStack setup with 3 machines running keystone etc.)16:57
*** lhcheng has joined #openstack-keystone16:57
*** ChanServ sets mode: +v lhcheng16:57
ccardI suppose the haproxy setup will remain the same if we move keystone to run under mod_wsgi16:58
morganfainbergYep totally can haproxy Apache instances (which in this case just happen to run keystone)16:59
ccardthanks17:02
*** afazekas has quit IRC17:09
*** tobberydberg has joined #openstack-keystone17:09
*** ozialien has joined #openstack-keystone17:12
*** kiran-r has quit IRC17:14
*** tobberydberg has quit IRC17:14
openstackgerritHenrique Truta proposed openstack/keystone: Remove domain table references  https://review.openstack.org/16593617:14
*** rushil has joined #openstack-keystone17:16
*** ajayaa has quit IRC17:19
*** kiran has joined #openstack-keystone17:19
*** hogepodge has joined #openstack-keystone17:23
openstackgerritAlexander Makarov proposed openstack/keystone: Redis token backend  https://review.openstack.org/15084417:25
openstackgerritAlexander Makarov proposed openstack/keystone: Redis cache backend  https://review.openstack.org/17300017:25
*** ozialien has quit IRC17:31
*** aix has quit IRC17:32
openstackgerritRaildo Mascena de Sousa Filho proposed openstack/keystone: Prohibit invalid ids in subtree and parents list  https://review.openstack.org/15872017:34
*** afazekas has joined #openstack-keystone17:34
*** browne has joined #openstack-keystone17:36
*** harlowja_away is now known as harlowja17:37
*** aix has joined #openstack-keystone17:37
openstackgerritRaildo Mascena de Sousa Filho proposed openstack/keystone: Prohibit invalid ids in subtree and parents list  https://review.openstack.org/15872017:40
*** tobberydberg has joined #openstack-keystone17:41
openstackgerritAlexander Makarov proposed openstack/keystone: Redis cache backend  https://review.openstack.org/17300017:45
*** joesavak has joined #openstack-keystone17:48
*** bknudson has joined #openstack-keystone17:48
*** ChanServ sets mode: +v bknudson17:48
*** aix has quit IRC17:49
openstackgerritAlexander Makarov proposed openstack/keystone: Redis token backend  https://review.openstack.org/15084417:51
*** r-daneel has joined #openstack-keystone17:51
*** ozialien has joined #openstack-keystone17:52
*** tobberydberg has quit IRC17:53
openstackgerritAlexander Makarov proposed openstack/keystone: Redis token backend  https://review.openstack.org/15084417:56
*** kiran has quit IRC17:56
*** markvoelker has joined #openstack-keystone17:56
*** afazekas has quit IRC17:57
*** mgagne_ is now known as mgagne17:58
*** afazekas has joined #openstack-keystone18:01
*** markvoelker has quit IRC18:01
amakarovbrowne, hi!18:03
ayoungamakarov, WHY?  Why you do this to mEE!18:03
ayoungWe come to bury the token backend, not to praise it!18:04
amakarovayoung, mwahahaha!! [evil necromancer laughter] I'm raising it as a possible alternative cache/storage18:05
*** afazekas has quit IRC18:05
amakarovActually I've split it in two for that18:05
ayoungamakarov, Dogpile can already cache to reddis, and we run dogpile in front of the TOken backend.18:06
amakarovayoung, correct, but if connection requires password it'll be exposed. So I made a sort of wrapper with url and password marked as secret18:07
ayoungamakarov, dang it...you are now exposing the fact that I was supposed to work on getting passwords out of our config file18:08
ayoungamakarov, that really is an oslo config problem18:08
*** edmondsw has joined #openstack-keystone18:09
ayoungif oslo had the power to read a password from a file instead of from the key-value of the config file, we'd all be happier18:09
bknudsonhow would having the password in a different file be better?18:10
amakarovayoung, agreed, alas it cannot read passwords from a file so it's a workaround18:10
bknudsonseems like the security is the same for that file vs the keystone.conf file18:10
ayoungbknudson, not really.  Most of the config file values should be world readable18:11
amakarovbknudson, the idea is to prevent leaking password to the log18:11
ayoungso, if anything needs to read the values, it needs to have access to the whole file18:11
ayoungbknudson, which means that readers get way too much power,18:11
bknudsonwho's reading keystone.conf?18:12
ayoungbknudson, No, Whoo's on First18:12
bknudsonif you're using puppet then puppet knows your keystone config values.18:12
bknudsonI don't know how puppet works, though... we use chef for whatever reason18:13
ayoungbknudson, they are comparable in this regard18:13
ayoungbknudson, its just a good practice to keep your secrets apart from the rest of the config values,18:13
bknudsonyou can actually split up your keystone.conf file, since oslo.conf can read from multiple config files18:14
ayoungit might be puppet, might be something else, but if you lump them together, you need to keep data private that really doesn't have to be, which leads to scripes requireing elevated privs to perform operations18:14
bknudsonso you could have your secret stuff in a separate file already18:14
ayoungbknudson, could we do that with, say, just the mysql url?18:14
bknudsony, you could have a file keystone.conf and a keystone2.conf that has the mysql url18:14
ayoungbknudson, in a live deployment, what would it take to make that happen?18:15
bknudsonmight want to ask on -oslo, but I think that works.18:15
ayoungbknudson, I kindof figured, as henrynash used something along those lines for the domain-specific backend code.18:15
openstackgerritHenrique Truta proposed openstack/keystone: Remove domain table references  https://review.openstack.org/16593618:16
bknudsonI'll try it on my devstack setup.18:17
bknudson/usr/local/bin/keystone-all --config-file /etc/keystone/keystone.conf --config-file /etc/keystone/keystone-db.conf18:19
bknudsonayoung: that worked ^18:19
bknudsonthere's also a config directory option, too18:19
samueldmqhenrynash, just to let you know, I am making a demo of the domain-specific database config (which is amazing)18:19
ayoungbknudson, so for httpd, we'd update the config option to add that to the list...18:20
ayounglet me see.18:20
samueldmqhenrynash, I am switching the user_tree_dn and listing users dynamically :-)18:20
bknudsonnow I wonder how the httpd server finds its config file(s)?18:20
*** tobberydberg has joined #openstack-keystone18:20
*** drjones has joined #openstack-keystone18:25
*** _cjones_ has quit IRC18:25
openstackgerritAlexander Makarov proposed openstack/keystone-specs: Revocation events for keystonemiddleware  https://review.openstack.org/16939918:25
bknudsonhow does someone normally pass options from httpd to the wsgi app?18:26
*** tobberydberg has quit IRC18:32
amakarovbknudson, depends on http server. For ex. nginx + uwsgi use UWSGI_XXXX style options18:32
openstackgerritMerged openstack/python-keystoneclient: Fix tests to work with requests<2.3  https://review.openstack.org/17265518:32
*** ozialien has quit IRC18:33
browneamakarov: hi18:33
amakarovbrowne, it was interesting chat here related to Redis patches :)18:34
amakarovAddressing your comment: https://review.openstack.org/#/c/173000/18:35
brownei see.  yes, i like the idea of putting some options into another file18:35
brownefor sql connection , i remember someone said a cert could be used instead of password.  is that true?18:35
brownefor mysql anyway18:35
amakarovbrowne, can't say for sure18:36
*** tqtran has quit IRC18:38
*** tqtran has joined #openstack-keystone18:38
openstackgerritEric Brown proposed openstack/keystone: backend_argument should be marked secret  https://review.openstack.org/17303418:39
*** ashleighfarnham has joined #openstack-keystone18:42
amakarovbrowne, why not to make them all secret then?  ))18:43
openstackgerritEric Brown proposed openstack/keystone: backend_argument should be marked secret  https://review.openstack.org/17303418:51
browneamakarov: all of them? which do you mean?18:51
amakarovbrowne, I try to understand, what advantage have non-secret options18:53
browneas a deployer its useful to know what configuration values were set by examining the logs.  i've done this multiple times18:54
amakarovbrowne, thanks - plain and simple ))18:54
brownenp18:55
*** hockeynut_ has quit IRC18:57
*** hockeynut has joined #openstack-keystone18:58
*** amakarov is now known as amakarov_away19:02
openstackgerritSteve Martinelli proposed openstack/keystone: Update openid connect docs to include release info for other distros  https://review.openstack.org/17304319:04
openstackgerritSteve Martinelli proposed openstack/keystone: Update openid connect docs to include other distros  https://review.openstack.org/17304319:05
* bknudson wonders how many pull requests there are for keystone.19:07
* bknudson also not sure how legal it is to accept them.19:07
stevemarbknudson, thats a good point19:10
bknudsonstevemar: I asked on -infra in case they had run into this already... can see the response there.19:11
stevemarbknudson, was a 2 line doc change19:13
stevemarnot really derivative19:13
bknudsonstevemar: y, I don't think that's the major issue... the icla probably has a clause that requires any work proposed to not be derivative already.19:14
stevemary19:14
*** joesavak has quit IRC19:18
*** carlosmarin has quit IRC19:20
*** _cjones_ has joined #openstack-keystone19:30
*** drjones has quit IRC19:31
*** joesavak has joined #openstack-keystone19:33
*** rushiagr is now known as rushiagr_away19:36
openstackgerritHenrique Truta proposed openstack/keystone: Bye Bye Domain Table  https://review.openstack.org/16185419:38
*** rushiagr_away is now known as rushiagr19:45
*** _cjones_ has quit IRC19:46
*** _cjones_ has joined #openstack-keystone19:46
*** sdake has joined #openstack-keystone19:53
openstackgerritMerged openstack/keystone: Fix signed_saml2_assertion.xml tests fixture  https://review.openstack.org/17253519:56
*** sdake_ has quit IRC19:56
dtroyer_zzmorganfainberg: hey, have you spent any cycles on the 'splitting out Session from keystoneclient' stuff?20:01
gordcdoes anyone know why if when PKI and ceilometer is enabled, everything breaks. but if i skip 'create_ceilometer_account' and use PKI, only ceilometer services are broken (as expected)20:13
morganfainbergdtroyer_zz: and yes I have it is pretty much canned and I just need the down and do it20:20
dtroyer_zzmorganfainberg: by any chance will that be able to be done without using any oslo libs?20:21
morganfainbergTests etc are what is needed.20:21
morganfainbergShould be doable w/o Oslo libs20:21
morganfainbergWill need to look.20:21
morganfainbergBut I think so.20:22
dtroyer_zzthat would be awesome.   oslo.serialization recently grew a dependency on msgpack-python and that has C components.  bad bad bad for clients20:22
morganfainbergI will try w/o serialization.20:23
morganfainbergEtc20:23
bknudsonmaybe keystoneclient doesn't need oslo.serialization?20:23
dtroyer_zzI'd love to see oslo.config go away too, but more on principle than anything else (so far)20:23
*** pnavarro has joined #openstack-keystone20:33
*** HenryG has quit IRC20:33
*** HenryG has joined #openstack-keystone20:37
stevemardtroyer_zz, bknudson we could probably just use import json20:42
*** diegows has joined #openstack-keystone20:42
*** nbernard has joined #openstack-keystone20:43
*** lhcheng has quit IRC20:43
bknudsonI think the oslo.serialization stuff was there for some kind of performance problem in 2.6?20:43
*** tobberydberg has joined #openstack-keystone20:47
*** ashleighfarnham has quit IRC20:50
*** tobberydberg has quit IRC20:52
*** sdake_ has joined #openstack-keystone20:53
*** sdake has quit IRC20:57
*** markvoelker has joined #openstack-keystone20:59
*** adrian_otto has left #openstack-keystone20:59
*** markvoelker has quit IRC21:03
*** ozialien has joined #openstack-keystone21:04
*** joesavak has quit IRC21:08
*** rushiagr is now known as rushiagr_away21:10
*** lhcheng has joined #openstack-keystone21:11
*** ChanServ sets mode: +v lhcheng21:11
*** stevemar has quit IRC21:13
*** aix has joined #openstack-keystone21:21
*** mattfarina has quit IRC21:23
*** carlosmarin has joined #openstack-keystone21:27
*** pnavarro has quit IRC21:28
*** gyee has quit IRC21:32
*** topol has quit IRC21:41
*** gordc has quit IRC21:45
*** ozialien has quit IRC21:59
*** markvoelker_ has joined #openstack-keystone22:00
*** nkinder has quit IRC22:05
bigjoolshow do I get idp_remote_ids populated?22:17
bigjoolsI'm using trunk22:17
*** henrynash has quit IRC22:22
openstackgerritLin Hua Cheng proposed openstack/keystone: Make get_trust a protected method  https://review.openstack.org/17262022:26
*** rushil has quit IRC22:30
*** rushil has joined #openstack-keystone22:31
*** gyee has joined #openstack-keystone22:36
*** ChanServ sets mode: +v gyee22:36
*** rm_work is now known as rm_work|away22:37
openstackgerritLin Hua Cheng proposed openstack/keystone: Make get_trust a protected method  https://review.openstack.org/17262022:39
*** Ephur has quit IRC22:43
*** rushil has quit IRC22:44
openstackgerritRodrigo Duarte proposed openstack/keystone: Add openstack_project_domain to assertion  https://review.openstack.org/17253622:50
openstackgerritRodrigo Duarte proposed openstack/keystone: Refactor _create_attribute_statement IdP method  https://review.openstack.org/17264722:50
openstackgerritRodrigo Duarte proposed openstack/keystone: Add openstack_user_domain to assertion  https://review.openstack.org/17256222:50
*** henrynash has joined #openstack-keystone22:52
*** ChanServ sets mode: +v henrynash22:52
rodrigodshenrynash, addressed your comments in https://review.openstack.org/#/c/172536/22:55
rodrigodsdolphm, replied your comment in bug #144278722:56
openstackbug 1442787 in Keystone "Mapping openstack_user attribute in k2k assertions with different domains" [Wishlist,In progress] https://launchpad.net/bugs/1442787 - Assigned to Rodrigo Duarte (rodrigodsousa)22:56
henrynashok, wthx, will look in a bit22:56
*** bknudson has quit IRC23:02
*** dims_ has joined #openstack-keystone23:03
*** dims has quit IRC23:04
bigjoolsthe openstack shell tool won't let me set remote-ids (the option doesn't exist) using latest devstack, how should I do this now?23:11
*** chlong has joined #openstack-keystone23:15
*** Raildo_ has joined #openstack-keystone23:15
*** jamielennox|away is now known as jamielennox23:22
openstackgerritMerged openstack/keystone: backend_argument should be marked secret  https://review.openstack.org/17303423:24
*** Raildo_ has quit IRC23:26
*** Raildo_ has joined #openstack-keystone23:27
*** Raildo_ has quit IRC23:27
jamielennoxmorganfainberg, dtroyer_zz: why does oslo.serialization depend on msgpack? we use it for the jsonutils for encoding objects to json. We don't *have* to use it, but i think there are requirements in there for datetime and such23:27
*** Raildo__ has joined #openstack-keystone23:27
*** jaosorior has quit IRC23:32
dtroyer_zzjamielennox: it's an install req, gets pulled in my pip23:35
jamielennoxthat's dumb, but can't we raise that with oslo?23:36
jamielennoxi agree, i want keystoneauth to come out with minimal dependencies23:36
dtroyer_zzI'm going on a mad run trying to dump as many dependencies as possible23:36
jamielennoxand particularly nothing C23:36
dtroyer_zzand I don't think I want any oslo code in a client, it isn't developed with that in mind23:36
jamielennoxi don't know where morganfainberg is at23:37
*** tobberydberg has joined #openstack-keystone23:37
jamielennoxdtroyer_zz: when i initially did plugins i didn't use oslo.config - i got overruled because we already had one option abstraction format and i should use cfg rather than invent my own23:37
jamielennox"everyone already uses it anyway"23:37
dtroyer_zzthey're wrong, that's a fine argument server-side23:38
dtroyer_zzbut then I don't think the plugins should be doing cli stuff anyway ;)23:38
jamielennoxyea, i know that now23:38
dtroyer_zztomorrow Im going to start looking at how bad it would be to stuff the SDK session/transport into the existing client libs for the gaps they still have23:38
jamielennoxdtroyer_zz: i see your point but disagree, i want this to be more useful than just OSC and others who know what the options are23:39
jamielennoxfor example, everytime i write a test script now i do a .register_argparse_arguments and .load_from so that i can inherit auth options from env without rewriting it all again23:39
*** nbernard has quit IRC23:39
dtroyer_zzsure, that's fine.  but just like I want a low-level api, I also want to control the option handling.  this also get into the os-client-config bits too23:40
jamielennoxi was looking at os-c-c the other day23:40
jamielennoxi think the abstraction is off there23:40
dtroyer_zzif the cli stuff can be spit into a subclass, that'd be great, but we've always talked sdk anyway so maby now is the time to start23:40
jamielennoxi would like to see os-c-c depend on keystoneauth and return a session object and/or a plugin object. I get that OSC wants to handle options, but no-one else does23:41
*** tobberydberg has quit IRC23:41
jamielennoxi don't know if the option stuff could live in another class...23:42
dtroyer_zzI really haven't thought that through yet23:42
*** r-daneel has quit IRC23:43
jamielennoxwaiting for morganfainberg to finish up the split so we can start ripping things out23:43
*** zzzeek has quit IRC23:43
dtroyer_zzhe said earlier in scrollback that it was basically needing tests23:43
jamielennoxdtroyer_zz: i'll have a think about what we can do about removing oslo.config, it might be tricky23:46
*** markvoelker has joined #openstack-keystone23:49
*** markvoelker_ has quit IRC23:51
*** markvoelker_ has joined #openstack-keystone23:53
*** markvoelker_ has quit IRC23:54
*** markvoelker has quit IRC23:56

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