*** felipemonteiro has joined #openstack-keystone | 00:15 | |
*** linkmark has quit IRC | 00:23 | |
*** felipemonteiro_ has joined #openstack-keystone | 00:23 | |
*** felipemonteiro has quit IRC | 00:26 | |
*** edmondsw has joined #openstack-keystone | 00:43 | |
*** edmondsw has quit IRC | 00:48 | |
wxy | lbragstad: thanks, looking now. | 01:07 |
---|---|---|
*** elibrokeit is now known as ztrawhcse | 01:21 | |
*** itlinux has joined #openstack-keystone | 01:36 | |
openstackgerrit | Merged openstack/keystone master: Remove enable config option of trust feature https://review.openstack.org/580587 | 01:37 |
*** itlinux has quit IRC | 02:02 | |
*** ztrawhcse is now known as elibrokeit | 02:14 | |
*** yuxin_ has quit IRC | 02:20 | |
*** yuxin_ has joined #openstack-keystone | 02:21 | |
*** gongysh has joined #openstack-keystone | 02:29 | |
*** edmondsw has joined #openstack-keystone | 02:32 | |
*** jmlowe has quit IRC | 02:35 | |
*** edmondsw has quit IRC | 02:36 | |
*** gongysh has quit IRC | 03:26 | |
openstackgerrit | Brin Zhang proposed openstack/keystone master: Remove the uuid token provider https://review.openstack.org/581940 | 03:37 |
*** gongysh has joined #openstack-keystone | 03:50 | |
*** gongysh has quit IRC | 04:05 | |
*** edmondsw has joined #openstack-keystone | 04:20 | |
*** edmondsw has quit IRC | 04:24 | |
*** agrebennikov has joined #openstack-keystone | 04:26 | |
*** felipemonteiro_ has quit IRC | 04:58 | |
*** links has joined #openstack-keystone | 05:03 | |
*** d0ugal_ has joined #openstack-keystone | 05:54 | |
*** d0ugal has quit IRC | 05:56 | |
*** martinus__ has joined #openstack-keystone | 06:03 | |
*** gongysh has joined #openstack-keystone | 06:04 | |
*** belmoreira has joined #openstack-keystone | 06:19 | |
*** belmore__ has joined #openstack-keystone | 06:26 | |
*** belmoreira has quit IRC | 06:28 | |
*** ispp has joined #openstack-keystone | 06:32 | |
*** gongysh has quit IRC | 06:38 | |
*** amoralej|off is now known as amoralej | 07:02 | |
*** belmoreira has joined #openstack-keystone | 07:04 | |
*** belmore__ has quit IRC | 07:05 | |
*** aloga has joined #openstack-keystone | 07:09 | |
openstackgerrit | Brin Zhang proposed openstack/keystone master: Remove the uuid token provider https://review.openstack.org/581940 | 07:19 |
*** rcernin has quit IRC | 07:20 | |
*** ispp has quit IRC | 07:21 | |
*** gongysh has joined #openstack-keystone | 07:24 | |
*** peereb has joined #openstack-keystone | 07:25 | |
*** gongysh has quit IRC | 07:27 | |
*** ispp has joined #openstack-keystone | 07:30 | |
*** gongysh has joined #openstack-keystone | 07:32 | |
*** belmoreira has quit IRC | 07:40 | |
*** kimamisa has joined #openstack-keystone | 07:42 | |
*** ispp has quit IRC | 07:50 | |
*** ispp has joined #openstack-keystone | 07:51 | |
openstackgerrit | Tuan Do Anh proposed openstack/keystone master: Update pypi url to new url https://review.openstack.org/581997 | 07:53 |
*** belmoreira has joined #openstack-keystone | 07:56 | |
openstackgerrit | Duc Nguyen proposed openstack/oslo.policy master: Add py36 testenv https://review.openstack.org/581999 | 07:57 |
*** d0ugal_ has quit IRC | 08:03 | |
*** d0ugal has joined #openstack-keystone | 08:03 | |
*** d0ugal has quit IRC | 08:03 | |
*** d0ugal has joined #openstack-keystone | 08:03 | |
*** tosky has joined #openstack-keystone | 08:03 | |
*** gongysh has quit IRC | 08:05 | |
*** ispp has quit IRC | 08:08 | |
*** itlinux has joined #openstack-keystone | 08:16 | |
*** links has quit IRC | 08:24 | |
*** links has joined #openstack-keystone | 08:26 | |
*** mvk_ has quit IRC | 08:30 | |
*** ispp has joined #openstack-keystone | 08:31 | |
*** sapd has quit IRC | 08:35 | |
*** sapd has joined #openstack-keystone | 08:35 | |
*** tesseract has joined #openstack-keystone | 08:37 | |
*** ispp has quit IRC | 08:48 | |
*** ispp has joined #openstack-keystone | 08:53 | |
*** mvk_ has joined #openstack-keystone | 08:54 | |
*** agrebennikov has quit IRC | 09:01 | |
*** links has quit IRC | 09:10 | |
*** links has joined #openstack-keystone | 09:12 | |
*** mvk_ has quit IRC | 09:16 | |
openstackgerrit | wangxiyuan proposed openstack/keystone master: Strict two level limit model https://review.openstack.org/557696 | 09:25 |
openstackgerrit | wangxiyuan proposed openstack/keystone master: Add project_id filter for listing limit https://review.openstack.org/579330 | 09:25 |
openstackgerrit | wangxiyuan proposed openstack/keystone master: [WIP]Add show hierarchy filter https://review.openstack.org/579331 | 09:25 |
*** hoonetorg has quit IRC | 09:27 | |
*** mvk_ has joined #openstack-keystone | 09:28 | |
*** belmoreira has quit IRC | 09:31 | |
*** hoonetorg has joined #openstack-keystone | 09:40 | |
*** belmoreira has joined #openstack-keystone | 10:19 | |
*** amoralej is now known as amoralej|lunch | 11:18 | |
*** yikun has quit IRC | 11:46 | |
*** belmorei_ has joined #openstack-keystone | 11:53 | |
*** belmoreira has quit IRC | 11:55 | |
*** itlinux has quit IRC | 12:01 | |
*** raildo has joined #openstack-keystone | 12:04 | |
*** edmondsw has joined #openstack-keystone | 12:09 | |
*** belmorei_ has quit IRC | 12:09 | |
*** belmorei_ has joined #openstack-keystone | 12:10 | |
*** ispp has quit IRC | 12:16 | |
*** amoralej|lunch is now known as amoralej | 12:20 | |
*** ispp has joined #openstack-keystone | 12:22 | |
*** yikun has joined #openstack-keystone | 12:27 | |
*** belmorei_ has quit IRC | 12:32 | |
*** felipemonteiro has joined #openstack-keystone | 12:43 | |
*** mchlumsky has joined #openstack-keystone | 12:55 | |
*** belmoreira has joined #openstack-keystone | 13:08 | |
*** dklyle has quit IRC | 13:14 | |
knikolla | o/ | 13:28 |
*** spilla has joined #openstack-keystone | 13:29 | |
*** felipemonteiro_ has joined #openstack-keystone | 13:38 | |
lbragstad | o/ | 13:39 |
*** rmascena has joined #openstack-keystone | 13:41 | |
*** felipemonteiro has quit IRC | 13:42 | |
*** raildo has quit IRC | 13:44 | |
*** links has quit IRC | 13:50 | |
kmalloc | o/ | 13:54 |
knikolla | kmalloc: going through the flask stack now | 13:57 |
*** belmore__ has joined #openstack-keystone | 13:58 | |
*** belmoreira has quit IRC | 14:00 | |
kmalloc | knikolla: i saw the +2 on the json_home ;) | 14:01 |
*** linkmark has joined #openstack-keystone | 14:03 | |
*** belmore__ has quit IRC | 14:36 | |
*** mugsie has quit IRC | 14:36 | |
*** mugsie has joined #openstack-keystone | 14:36 | |
*** mugsie has quit IRC | 14:36 | |
*** mugsie has joined #openstack-keystone | 14:36 | |
lbragstad | https://review.openstack.org/#/c/581346/ is a pretty quick review and closes a bug | 14:46 |
*** rmascena is now known as raildo | 14:47 | |
*** felipemonteiro_ has quit IRC | 14:51 | |
*** felipemonteiro__ has joined #openstack-keystone | 14:51 | |
knikolla | lbragstad: done | 14:57 |
*** jmlowe has joined #openstack-keystone | 15:02 | |
*** dpaterson has joined #openstack-keystone | 15:09 | |
*** ispp has quit IRC | 15:12 | |
*** ispp has joined #openstack-keystone | 15:13 | |
dpaterson | I have a Keystone/LDAP integration question in reference to: https://docs.openstack.org/keystone/latest/admin/identity-integrate-with-ldap.html. It's not 100% clear to me if can use LDAP for 100% of auth/acl or is the keystone RDB still a requirement? And if so, what pieces of data are persisted only in the database and cannot be stored in LDAP schema? | 15:16 |
*** felipemonteiro_ has joined #openstack-keystone | 15:28 | |
*** gyee has joined #openstack-keystone | 15:30 | |
*** felipemonteiro_ has quit IRC | 15:31 | |
*** felipemonteiro__ has quit IRC | 15:31 | |
*** ispp has quit IRC | 15:32 | |
*** gyee has quit IRC | 15:34 | |
*** felipemonteiro has joined #openstack-keystone | 15:42 | |
openstackgerrit | Merged openstack/keystone master: Convert json_home and version discovery to Flask https://review.openstack.org/574736 | 15:45 |
*** peereb has quit IRC | 15:45 | |
*** jmlowe has quit IRC | 15:47 | |
*** agrebennikov has joined #openstack-keystone | 15:48 | |
*** felipemonteiro has quit IRC | 15:51 | |
lbragstad | dpaterson: a user's role assignments will come from SQL but the authentication information is proxied to LDAP | 16:01 |
*** dklyle has joined #openstack-keystone | 16:02 | |
*** gyee has joined #openstack-keystone | 16:08 | |
*** pcichy has joined #openstack-keystone | 16:16 | |
*** itlinux has joined #openstack-keystone | 16:26 | |
openstackgerrit | Merged openstack/oslo.policy master: Teach Enforcer.enforce to deal with context objects https://review.openstack.org/578995 | 16:30 |
*** felipemonteiro has joined #openstack-keystone | 16:32 | |
*** itlinux has quit IRC | 16:32 | |
*** pcichy has quit IRC | 16:33 | |
*** kimamisa has quit IRC | 16:41 | |
openstackgerrit | Merged openstack/keystone master: Add support for before and after request functions https://review.openstack.org/576637 | 17:00 |
*** ayoung has quit IRC | 17:13 | |
*** tesseract has quit IRC | 17:16 | |
*** ayoung has joined #openstack-keystone | 17:26 | |
openstackgerrit | Morgan Fainberg proposed openstack/keystone master: Flesh out and add testing for flask_RESTful scaffolding https://review.openstack.org/578190 | 17:34 |
openstackgerrit | Morgan Fainberg proposed openstack/keystone master: Make keystone.server.flask more interesting for importing https://review.openstack.org/579928 | 17:34 |
openstackgerrit | Morgan Fainberg proposed openstack/keystone master: Fix keystone.common.rbac_enforcer.__init__.py exporting https://review.openstack.org/579930 | 17:34 |
openstackgerrit | Morgan Fainberg proposed openstack/keystone master: Do not use flask.g imported as g https://review.openstack.org/579985 | 17:34 |
kmalloc | knikolla: ^ should have your comments addressed. | 17:34 |
knikolla | kmalloc: thanks, responded | 17:50 |
knikolla | whoa, https://www.mail-archive.com/python-committers@python.org/msg05628.html | 17:56 |
lbragstad | inoright? | 17:57 |
*** felipemonteiro has quit IRC | 18:03 | |
lbragstad | oh dhellmann responded https://mail.python.org/pipermail/python-committers/2018-July/005681.html | 18:07 |
kmalloc | Wow. | 18:09 |
*** felipemonteiro has joined #openstack-keystone | 18:12 | |
gagehugo | oh my | 18:15 |
*** amoralej is now known as amoralej|off | 18:17 | |
openstackgerrit | Morgan Fainberg proposed openstack/keystone master: Flesh out and add testing for flask_RESTful scaffolding https://review.openstack.org/578190 | 18:22 |
openstackgerrit | Morgan Fainberg proposed openstack/keystone master: Make keystone.server.flask more interesting for importing https://review.openstack.org/579928 | 18:22 |
openstackgerrit | Morgan Fainberg proposed openstack/keystone master: Fix keystone.common.rbac_enforcer.__init__.py exporting https://review.openstack.org/579930 | 18:22 |
openstackgerrit | Morgan Fainberg proposed openstack/keystone master: Do not use flask.g imported as g https://review.openstack.org/579985 | 18:22 |
*** jmlowe has joined #openstack-keystone | 18:24 | |
*** harlowja has joined #openstack-keystone | 18:24 | |
kmalloc | knikolla: fixed. terrible ui for editing code is terrible | 18:30 |
knikolla | kmalloc: cool, that unlocked my +2. and with that i have reviewed the entire flask stack. | 18:31 |
kmalloc | knikolla: hehe. it's a dense/awful/painful stack | 18:32 |
kmalloc | but... it leads to REALLY good things | 18:32 |
kmalloc | the fact we have some API calls [ok ok just discovery] already in flask as of now, is good. | 18:32 |
* kmalloc needs to wrangle 1 more +2 and the stack should land and then API migration can start happening | 18:32 | |
openstackgerrit | Merged openstack/keystone master: Invalidate 'computed assignments' cache when creating a project. https://review.openstack.org/581346 | 18:33 |
kmalloc | knikolla: if i can get all the APIs moved to flask in Rocky, i'll be stoked. | 18:34 |
knikolla | kmalloc: are we okay with that migration after feature freeze? | 18:34 |
lbragstad | it should be transparent | 18:35 |
lbragstad | same with some of the work hrybacki is doing | 18:35 |
knikolla | i'm more concerned with potential fallout by huge changes late in the release | 18:37 |
kmalloc | should be 100% transparent | 18:37 |
lbragstad | that's fair | 18:37 |
kmalloc | if a test has to be changed i messed up | 18:37 |
kmalloc | it should legitimately be "move api code to flask" | 18:37 |
kmalloc | and nothing else. | 18:37 |
knikolla | alright, let's see how the initial ones go and be agile | 18:38 |
kmalloc | the plan is to move the smaller ones first | 18:38 |
kmalloc | moving /project is a beast | 18:38 |
kmalloc | i will have one or two more tests added in the grand scheme of things, but that is to prevent a mis-match of dispatching. | 18:38 |
kmalloc | aka, if /user is registered to flask, you cannot have it ever dispatched via the legacy dispatch middleware | 18:39 |
kmalloc | long term we will want to move the subsystems to keystone.subsystem [managers, etc] | 18:39 |
kmalloc | so keystone.subsystem.identity and keystone.subsystem.resource will house the stuff, clean up our top level namespace some more | 18:39 |
kmalloc | but that is a S/T/U release level of work | 18:39 |
knikolla | sounds reasonable | 18:40 |
kmalloc | that means we have keystone.api.<path_prefix, discovery is a special case> for rest routes | 18:41 |
kmalloc | and keystone.subsystem.<subsystem name> for the manager/code/etc | 18:41 |
kmalloc | and it will make it very clear what is keystone code, common code, api code, etc | 18:42 |
kmalloc | :) | 18:42 |
* kmalloc plays the loooong game | 18:42 | |
lbragstad | controller code won't be in there, right? | 18:42 |
kmalloc | controller code is going to disappear / become keystone.api.XXX | 18:42 |
lbragstad | ah - right.. | 18:42 |
kmalloc | so when say /users is moved to keystone.api.users, all the controller code disappears | 18:42 |
kmalloc | and flask-restful resources are used | 18:42 |
lbragstad | well - the controller code will be in keystone.api.users, right? | 18:43 |
kmalloc | right, but it wont look anything like our current controller code | 18:43 |
lbragstad | and flask handles the dispatches of requests on the /users path to keystone.api.users | 18:43 |
kmalloc | it will look more like the way the keystone_flask test code looks like | 18:43 |
lbragstad | dispatching* | 18:43 |
kmalloc | Users(flask_restful.ResourcE): -- implements get/put/patch/post/etc | 18:43 |
kmalloc | and those are automatically mapped to the routes | 18:44 |
lbragstad | ok - right | 18:44 |
* kmalloc is also very very very happy with the new RBAC Enforcer object | 18:45 | |
*** felipemonteiro has quit IRC | 18:46 | |
lbragstad | the token provider api refactor had a merge conflcit | 18:46 |
lbragstad | resolving now, but should be up soon | 18:47 |
* hrybacki reads up | 18:49 | |
*** jistr has quit IRC | 18:50 | |
hrybacki | I'm wondering if other services are going to have huge bottlenecks (like @protected in keystone) that will block them from easily adopting varying scope types lbragstad kmalloc | 18:52 |
*** felipemonteiro has joined #openstack-keystone | 18:53 | |
lbragstad | that's a good question | 18:53 |
lbragstad | imo - some of the stuff in nova actually makes more sense than @protected | 18:53 |
lbragstad | but that's really the only one i have a deeper understanding of with policy other than keystone | 18:53 |
kmalloc | hrybacki: unlikely | 18:53 |
kmalloc | most services don't try and be overly clever like we did | 18:54 |
lbragstad | i want to say that decorator is a keystone-ism | 18:54 |
kmalloc | yeah | 18:54 |
kmalloc | VERY-keystone-ism | 18:54 |
lbragstad | (at least i hope anyway) | 18:54 |
kmalloc | thankfully | 18:54 |
kmalloc | most projects called .enforce() in the place they expect to | 18:54 |
kmalloc | we got too clever | 18:54 |
lbragstad | right - or call out to their policy module that handles that for them | 18:54 |
lbragstad | nova.policy.authorize(context, request) etc... | 18:55 |
kmalloc | yep | 18:55 |
openstackgerrit | Lance Bragstad proposed openstack/keystone master: Introduce new TokenModel object https://review.openstack.org/559129 | 18:55 |
openstackgerrit | Lance Bragstad proposed openstack/keystone master: Add serialization for TokenModel object https://review.openstack.org/578434 | 18:55 |
openstackgerrit | Lance Bragstad proposed openstack/keystone master: Simplify the token provider API https://review.openstack.org/545450 | 18:55 |
openstackgerrit | Lance Bragstad proposed openstack/keystone master: Remove remnants of token bind https://review.openstack.org/578435 | 18:55 |
openstackgerrit | Lance Bragstad proposed openstack/keystone master: Cleanup keystone.token.providers.common https://review.openstack.org/577507 | 18:55 |
openstackgerrit | Lance Bragstad proposed openstack/keystone master: Remove KeystoneToken object https://review.openstack.org/577567 | 18:55 |
kmalloc | i'm still doing a TON of magic in the rBACEnforcer | 18:55 |
kmalloc | but almost 100% of it is overridable if needed | 18:55 |
lbragstad | which - imo, more closely resembles the pattern we want instead of what we currently have | 18:55 |
kmalloc | so it could work almost like nova.policy.authorize() | 18:55 |
lbragstad | ^ that chain should be good to review | 18:55 |
kmalloc | lbragstad: cool. | 18:55 |
kmalloc | i need to run | 18:56 |
kmalloc | almost late. and still need to get some stuff packed in a bag before i run out the door | 18:56 |
lbragstad | good luck | 18:56 |
lbragstad | in where ever you're running to | 18:56 |
hrybacki | okay, that makes me feel better :) | 18:56 |
* hrybacki avoids thinking about neutron | 18:56 | |
kmalloc | yeah just don't think about neutron | 18:59 |
kmalloc | best bet | 18:59 |
knikolla | what other priority reviews need eyes? | 19:01 |
kmalloc | token refactor | 19:01 |
kmalloc | and.. limits | 19:01 |
lbragstad | ++ | 19:01 |
lbragstad | limits is a big one | 19:01 |
kmalloc | and app-cred things. | 19:01 |
kmalloc | unless that one is on hold. | 19:01 |
lbragstad | idk... | 19:02 |
lbragstad | it hasn't been updated | 19:02 |
* knikolla looks at the red bar in the size column in gerrit and goes to grab coffee | 19:02 | |
lbragstad | knikolla: the unified limit stuff isn't terrible | 19:02 |
lbragstad | wxy: has it well organized | 19:02 |
lbragstad | and it isn't a ton of code | 19:02 |
knikolla | i was looking at the token model | 19:02 |
kmalloc | knikolla: the limits stuff and the token refactor are WAY easier than flask | 19:02 |
kmalloc | like... as confusing as the token mode bits are | 19:03 |
kmalloc | that is all because the token subsystem is wonky | 19:03 |
kmalloc | not because the code is dense | 19:03 |
lbragstad | yeah - it's a mess | 19:03 |
lbragstad | it's easier to me to look at the end state before looking at the first patch | 19:03 |
kmalloc | flask conversion is deep voodoo | 19:03 |
lbragstad | (like - what interface are we working towards) | 19:03 |
kmalloc | yeah start reverse for the token model stuff | 19:03 |
knikolla | i didn't know i didn't know flask until i reviews your flask stack | 19:04 |
kmalloc | way easier to review unbless you are an expert in all things token in keystone already... then meh, your headache not mine ;) | 19:04 |
lbragstad | if you can grok the overall concept of the ideal interface, it shouldn't be too bad | 19:04 |
knikolla | reviewed* | 19:04 |
kmalloc | knikolla: fwiw, i learned most of the flask stuff in ~1wk writing that code | 19:04 |
lbragstad | the flask docs are pretty good too | 19:04 |
lbragstad | the tutorial helped | 19:04 |
kmalloc | yeah, but the internals are weeeeiirrrddd | 19:05 |
knikolla | yup, they were great | 19:05 |
kmalloc | also grokking flask.g and flask.request and the differences | 19:05 |
lbragstad | knikolla: if you have questions on the token provider refactor and want to do a high bandwidth review - i can do that | 19:05 |
* kmalloc runs off. | 19:06 | |
lbragstad | later kmalloc | 19:06 |
knikolla | lbragstad: most probably tomorrow i'll have nothing else on my plate | 19:06 |
knikolla | so we can do that | 19:06 |
lbragstad | cool | 19:06 |
lbragstad | the gist of the series is that i added a new token model, work on replacing usage of the old one, then remove the old one | 19:07 |
hrybacki | I'm interested in sitting in on that review lbragstad | 19:17 |
lbragstad | cool | 19:17 |
* hrybacki has begun blocking off chunks of his calendar as a defensive tactic | 19:17 | |
lbragstad | what time are you free tomorrow? | 19:17 |
hrybacki | 0900-1530 your time | 19:18 |
lbragstad | wfm | 19:18 |
lbragstad | if that works for kristi - we can step through all of it | 19:18 |
hrybacki | solid | 19:19 |
knikolla | works for me | 19:21 |
knikolla | wifi just went down at red hat for 5 minutes, lol | 19:21 |
*** markguz has joined #openstack-keystone | 19:22 | |
*** markguz is now known as mguz | 19:23 | |
gagehugo | lbragstad can you ping me for that as well | 19:24 |
gagehugo | I'd like to follow along | 19:24 |
mguz | all, just updated to Ocata and started using fernet-tokens. Noticed that the cpu load from uwsgi keystone is big. My cluster is barely (currently only 2 or 3 folks logged in) used and am noticing very high load on the server | 19:25 |
lbragstad | gagehugo: | 19:25 |
mguz | i;ve setup memcached cluster to try and alleviate the load, and seems to have helped only slightly | 19:25 |
*** jistr has joined #openstack-keystone | 19:25 | |
* gagehugo doesn't see emojis :( | 19:25 | |
lbragstad | gagehugo: ack* | 19:25 |
mguz | is there a tuning guide or setup specification out there to look at? | 19:25 |
lbragstad | mguz: yeah - caching should be helping significantly | 19:26 |
mguz | lbragstad: it's not | 19:26 |
mguz | assuming i'm doing it right | 19:26 |
mguz | i meant to say i updated from Ocata to Pike | 19:26 |
lbragstad | mguz: the configuration it's trivial | 19:26 |
lbragstad | isn't* | 19:26 |
lbragstad | unfortuantely | 19:26 |
*** mvk_ has quit IRC | 19:27 | |
lbragstad | but ken and chris gave a really good presentation in Vancouver on the caching tuning they do (they also include metrics) | 19:27 |
lbragstad | https://www.youtube.com/watch?v=DKOJ-UToCKM | 19:27 |
mguz | i set up 3 memcached servers and added them to the keystone_authtoken section of all the services. | 19:27 |
lbragstad | even though the presentation is focused on LDAP - the caching bits should be applicable to nearly all deployments | 19:28 |
lbragstad | mguz: have you configured your keystone server to point to the your memcached cluster? | 19:28 |
mguz | yes | 19:29 |
lbragstad | can you confirm keystone is hitting each memcache node? | 19:29 |
mguz | lbragstad: seems to be. at least the stats are showing hits. | 19:31 |
mguz | http://paste.openstack.org/show/725756/ is the config | 19:31 |
lbragstad | mguz: does anything show up when you run ``keystone-manage doctor``? | 19:36 |
lbragstad | specifically related to caching? | 19:36 |
lbragstad | for example - my test config doesn't specify keystone.conf [cache] enabled http://paste.openstack.org/show/725758/ | 19:38 |
mguz | hmm. it says caching is "not enabled" ? | 19:38 |
lbragstad | (yours doesn't either) | 19:38 |
lbragstad | http://paste.openstack.org/show/725759/ | 19:38 |
lbragstad | sounds like we get the same thing | 19:38 |
lbragstad | try setting keystone.conf [cache] enabled=true | 19:39 |
lbragstad | mguz: by default - that configuration option is disabled | 19:41 |
lbragstad | https://github.com/openstack/oslo.cache/blob/master/oslo_cache/_opts.py#L67-L68 | 19:41 |
lbragstad | which means none of the options for keystone caching will work (e.g. the global caching toggle needs to be enabled before caching in any of the keystone subsystems will work) | 19:41 |
mguz | yes i see that now. my bad | 19:42 |
lbragstad | yeah - it's just another hoop to jump through | 19:42 |
lbragstad | we do have additional doctor checks to see if your actual caching configuration is sane, too | 19:43 |
lbragstad | so there might be further improvements depending on the output of that | 19:44 |
mguz | ok. i hadn't used that before. Thanks for your help | 19:44 |
lbragstad | mguz: no problem - let us know if you still see perf issues | 19:46 |
lbragstad | after making the change | 19:46 |
mguz | lbragstad: will do. thanks | 19:46 |
lbragstad | your config might also need https://github.com/openstack/oslo.cache/blob/master/oslo_cache/_opts.py#L36 set | 19:48 |
lbragstad | dogpile.cache.null is the default | 19:49 |
mguz | what's the diff between oslo.cache and dogpile ? | 19:49 |
lbragstad | i think oslo_cache has some different approaches to managing the interactions between the service and the cache | 19:51 |
lbragstad | (e.g. i think oslo_cache.memcache_pool has some optimizations depending on your setup) | 19:51 |
lbragstad | dogpile is maintained in a different library | 19:51 |
lbragstad | https://github.com/openstack/oslo.cache/blob/master/oslo_cache/_opts.py#L49-L51 | 19:52 |
*** agrebennikov_ has joined #openstack-keystone | 19:54 | |
*** mvk_ has joined #openstack-keystone | 19:56 | |
* lbragstad grabs a late lunch | 19:58 | |
mguz | lbragstad: now i'm seeing this in the logs... ERROR keystone IOError: write error | 20:04 |
mguz | lbragstad: nvm | 20:17 |
*** belmoreira has joined #openstack-keystone | 20:30 | |
*** dpaterson has quit IRC | 20:30 | |
*** belmoreira has quit IRC | 20:36 | |
lbragstad | mguz: figure it out? | 20:38 |
mguz | lbragstad: i did thanks | 20:38 |
*** raildo has quit IRC | 21:10 | |
*** martinus__ has quit IRC | 21:33 | |
*** edmondsw has quit IRC | 21:34 | |
*** felipemonteiro has quit IRC | 21:37 | |
*** edmondsw has joined #openstack-keystone | 21:40 | |
*** edmondsw has quit IRC | 21:44 | |
lbragstad | well a good portion of the flask stuff is in the pipe | 21:54 |
*** rcernin has joined #openstack-keystone | 21:58 | |
openstackgerrit | Morgan Fainberg proposed openstack/keystone master: Flesh out and add testing for flask_RESTful scaffolding https://review.openstack.org/578190 | 22:08 |
*** boris_42_ has joined #openstack-keystone | 22:08 | |
openstackgerrit | Morgan Fainberg proposed openstack/keystone master: Make keystone.server.flask more interesting for importing https://review.openstack.org/579928 | 22:09 |
openstackgerrit | Morgan Fainberg proposed openstack/keystone master: Fix keystone.common.rbac_enforcer.__init__.py exporting https://review.openstack.org/579930 | 22:09 |
openstackgerrit | Morgan Fainberg proposed openstack/keystone master: Do not use flask.g imported as g https://review.openstack.org/579985 | 22:09 |
kmalloc | knikolla: ^ bah, typos. | 22:12 |
*** dklyle has quit IRC | 22:16 | |
*** dklyle has joined #openstack-keystone | 22:16 | |
*** stewie925 has joined #openstack-keystone | 22:54 | |
*** tosky has quit IRC | 23:01 | |
stewie925 | hi guys, I have a VM separate from devstack - how do I ensure that my VM is talking to keystone specifically? | 23:19 |
stewie925 | I am able to ping the devstack IP address from my other vm | 23:20 |
stewie925 | and in devstack, I do see activities in keystone.log, plus devstack responds to 'openstack project list' command | 23:21 |
*** spilla has quit IRC | 23:50 | |
openstackgerrit | Merged openstack/keystone master: Don't replace the whole app just the wsgi_app backing https://review.openstack.org/577587 | 23:57 |
*** markvoelker has quit IRC | 23:59 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!