*** ansmith_ has quit IRC | 00:00 | |
*** ansmith_ has joined #openstack-oslo | 00:04 | |
*** ansmith_ has quit IRC | 00:20 | |
*** ansmith_ has joined #openstack-oslo | 00:22 | |
openstackgerrit | Jamie Lennox proposed openstack/oslo.context: Move existing attributes to _id suffixed attributes https://review.openstack.org/315321 | 00:34 |
---|---|---|
*** ansmith_ has quit IRC | 00:45 | |
*** greghaynes has quit IRC | 00:48 | |
*** greghaynes has joined #openstack-oslo | 00:49 | |
*** yamahata has joined #openstack-oslo | 01:41 | |
*** tonytan4ever has joined #openstack-oslo | 01:42 | |
*** tonytan4ever has quit IRC | 01:47 | |
*** tonytan4ever has joined #openstack-oslo | 02:01 | |
*** jamielennox is now known as jamielennox|away | 02:10 | |
*** jamielennox|away is now known as jamielennox | 02:30 | |
*** ekcs has joined #openstack-oslo | 02:43 | |
*** amotoki has quit IRC | 02:54 | |
*** amotoki has joined #openstack-oslo | 02:55 | |
*** amotoki has quit IRC | 02:56 | |
gus | oslo cores: privsep review on https://review.openstack.org/#/c/350415/ (honour logging severity) requested. | 02:57 |
patchbot | gus: patch 350415 - oslo.privsep - More sophisticated logging on privileged side | 02:57 |
*** gcb has joined #openstack-oslo | 03:02 | |
*** yamamoto has joined #openstack-oslo | 03:22 | |
*** amotoki has joined #openstack-oslo | 03:39 | |
*** tonytan4ever has quit IRC | 03:46 | |
*** amotoki has quit IRC | 04:01 | |
*** amotoki has joined #openstack-oslo | 04:09 | |
*** amotoki has quit IRC | 04:13 | |
*** amotoki has joined #openstack-oslo | 04:17 | |
*** ekcs has quit IRC | 04:43 | |
*** ozamiatin has joined #openstack-oslo | 04:49 | |
*** ekcs has joined #openstack-oslo | 05:08 | |
*** lucas-dinner has quit IRC | 05:15 | |
*** lucasagomes has joined #openstack-oslo | 05:19 | |
*** rcernin has joined #openstack-oslo | 05:25 | |
*** yamamoto has quit IRC | 06:18 | |
*** david-lyle has joined #openstack-oslo | 06:36 | |
*** pcaruana has joined #openstack-oslo | 06:36 | |
*** david-lyle_ has quit IRC | 06:39 | |
*** tonytan4ever has joined #openstack-oslo | 06:47 | |
*** tonytan4ever has quit IRC | 06:52 | |
*** ekcs has quit IRC | 06:54 | |
*** gcb has quit IRC | 06:56 | |
*** yamamoto has joined #openstack-oslo | 06:59 | |
*** ifarkas_afk is now known as ifarkas | 07:26 | |
*** ihrachys has joined #openstack-oslo | 07:31 | |
*** amotoki_ has joined #openstack-oslo | 07:32 | |
*** lpetrut has joined #openstack-oslo | 07:34 | |
*** amotoki has quit IRC | 07:35 | |
*** yamahata has quit IRC | 07:36 | |
*** dimtruck is now known as zz_dimtruck | 07:59 | |
*** zzzeek has quit IRC | 08:00 | |
*** zzzeek has joined #openstack-oslo | 08:02 | |
*** tonytan4ever has joined #openstack-oslo | 08:03 | |
*** tonytan4ever has quit IRC | 08:08 | |
mmasaki | Can anyone review this? Thank you. https://review.openstack.org/#/c/230885/ | 08:11 |
patchbot | mmasaki: patch 230885 - oslo.log - Implement FluentFormatter | 08:11 |
*** e0ne has joined #openstack-oslo | 08:15 | |
*** e0ne has quit IRC | 08:35 | |
*** e0ne has joined #openstack-oslo | 08:37 | |
*** lpetrut has quit IRC | 08:47 | |
*** Gibi has joined #openstack-oslo | 08:54 | |
*** lpetrut has joined #openstack-oslo | 08:58 | |
*** ozamiatin has quit IRC | 09:06 | |
*** lpetrut has quit IRC | 09:30 | |
*** ozamiatin has joined #openstack-oslo | 09:42 | |
openstackgerrit | Alexis Lee proposed openstack/oslo.config: Add Range type https://review.openstack.org/339787 | 09:47 |
*** yamamoto has quit IRC | 09:50 | |
*** tonytan4ever has joined #openstack-oslo | 10:04 | |
*** tonytan4ever has quit IRC | 10:08 | |
*** zz_dimtruck is now known as dimtruck | 10:18 | |
openstackgerrit | Alexis Lee proposed openstack/oslo.config: Add Range type https://review.openstack.org/339787 | 10:18 |
*** dimtruck is now known as zz_dimtruck | 10:28 | |
*** boden has joined #openstack-oslo | 10:29 | |
*** sdague has joined #openstack-oslo | 10:31 | |
*** yamamoto_ has joined #openstack-oslo | 10:32 | |
*** pblaho has joined #openstack-oslo | 10:44 | |
*** lpetrut has joined #openstack-oslo | 10:45 | |
*** lpetrut has quit IRC | 11:06 | |
*** lucasagomes is now known as lucas-hungry | 11:16 | |
*** amotoki_ has quit IRC | 11:31 | |
*** amotoki has joined #openstack-oslo | 11:34 | |
*** amotoki has quit IRC | 11:37 | |
*** gcb has joined #openstack-oslo | 11:45 | |
*** amotoki has joined #openstack-oslo | 11:48 | |
*** boden has quit IRC | 11:54 | |
*** ozamiatin has quit IRC | 11:58 | |
*** boden has joined #openstack-oslo | 12:01 | |
*** kgiusti has joined #openstack-oslo | 12:03 | |
*** edmondsw has joined #openstack-oslo | 12:04 | |
*** tonytan4ever has joined #openstack-oslo | 12:05 | |
*** yamamoto_ has quit IRC | 12:06 | |
*** yamamoto has joined #openstack-oslo | 12:07 | |
*** yamamoto has quit IRC | 12:07 | |
*** yamamoto has joined #openstack-oslo | 12:07 | |
*** tonytan4ever has quit IRC | 12:09 | |
*** sigmavirus|away is now known as sigmavirus | 12:10 | |
*** gcb has quit IRC | 12:12 | |
*** gcb has joined #openstack-oslo | 12:13 | |
*** tonytan4ever has joined #openstack-oslo | 12:13 | |
*** amotoki has quit IRC | 12:16 | |
*** zz_dimtruck is now known as dimtruck | 12:18 | |
*** gordc has joined #openstack-oslo | 12:19 | |
*** amotoki has joined #openstack-oslo | 12:23 | |
*** lucas-hungry is now known as lucasagomes | 12:27 | |
*** amotoki has quit IRC | 12:28 | |
*** dimtruck is now known as zz_dimtruck | 12:28 | |
*** pradk has joined #openstack-oslo | 12:33 | |
*** mtanino has joined #openstack-oslo | 12:35 | |
*** rlrossit has joined #openstack-oslo | 12:49 | |
*** amoralej|off has quit IRC | 12:50 | |
*** amoralej has joined #openstack-oslo | 12:53 | |
*** gcb has quit IRC | 12:55 | |
*** ozamiatin has joined #openstack-oslo | 12:58 | |
*** zz_dimtruck is now known as dimtruck | 13:04 | |
*** amotoki has joined #openstack-oslo | 13:19 | |
*** tonytan4ever has quit IRC | 13:33 | |
kgiusti | dims: ping - do you have any bandwidth for two short patch reviews? | 13:41 |
kgiusti | https://review.openstack.org/#/c/349290/2 | 13:41 |
patchbot | kgiusti: patch 349290 - oslo.messaging (feature/amqp-dispatch-router) - [AMQP 1.0] small fixes to improve timer scalability | 13:41 |
kgiusti | https://review.openstack.org/#/c/349719/2 | 13:42 |
patchbot | kgiusti: patch 349719 - oslo.messaging (feature/amqp-dispatch-router) - [AMQP 1.0] Add link credit configuration options | 13:42 |
kgiusti | Anyone? I'm not above bribing.... | 13:44 |
*** rlrossit has quit IRC | 13:48 | |
openstackgerrit | Alexis Lee proposed openstack/oslo.log: log: SpoolFilter and 'spooling' context manager https://review.openstack.org/328988 | 13:49 |
openstackgerrit | Alexis Lee proposed openstack/oslo.log: log: Freeze log records before spooling https://review.openstack.org/333911 | 13:49 |
openstackgerrit | Alexis Lee proposed openstack/oslo.log: log: Limit spools in bytes https://review.openstack.org/333912 | 13:49 |
openstackgerrit | Alexis Lee proposed openstack/oslo.log: log: Spooling logger and manager https://review.openstack.org/316162 | 13:49 |
openstackgerrit | Alexis Lee proposed openstack/oslo.log: log: Add a global filter https://review.openstack.org/330043 | 13:49 |
*** rlrossit_ has joined #openstack-oslo | 13:52 | |
*** yamamoto has quit IRC | 13:52 | |
openstackgerrit | Alexis Lee proposed openstack/oslo.log: log: SpoolFilter and 'spooling' context manager https://review.openstack.org/328988 | 13:52 |
openstackgerrit | Alexis Lee proposed openstack/oslo.log: log: Freeze log records before spooling https://review.openstack.org/333911 | 13:52 |
openstackgerrit | Alexis Lee proposed openstack/oslo.log: log: Limit spools in bytes https://review.openstack.org/333912 | 13:52 |
openstackgerrit | Alexis Lee proposed openstack/oslo.log: log: Spooling logger and manager https://review.openstack.org/316162 | 13:52 |
openstackgerrit | Alexis Lee proposed openstack/oslo.log: log: Add a global filter https://review.openstack.org/330043 | 13:52 |
*** yamamoto has joined #openstack-oslo | 13:52 | |
*** ansmith has joined #openstack-oslo | 13:55 | |
*** yamamoto has quit IRC | 13:57 | |
openstackgerrit | Oleksii Zamiatin proposed openstack/oslo.messaging: [zmq] Redis unavailability is not critical https://review.openstack.org/352579 | 13:58 |
*** dims has quit IRC | 13:59 | |
*** ozamiatin has quit IRC | 14:01 | |
*** mhickey has joined #openstack-oslo | 14:04 | |
*** dims has joined #openstack-oslo | 14:05 | |
*** bogdanteleaga has quit IRC | 14:07 | |
*** bogdanteleaga has joined #openstack-oslo | 14:07 | |
*** mtanino has quit IRC | 14:09 | |
*** yamamoto has joined #openstack-oslo | 14:10 | |
*** bogdanteleaga has quit IRC | 14:11 | |
*** bogdanteleaga has joined #openstack-oslo | 14:12 | |
*** tonytan4ever has joined #openstack-oslo | 14:23 | |
*** lpetrut has joined #openstack-oslo | 14:24 | |
*** dimtruck is now known as zz_dimtruck | 14:29 | |
*** pcaruana has quit IRC | 14:30 | |
*** zz_dimtruck is now known as dimtruck | 14:34 | |
*** tsufiev has joined #openstack-oslo | 14:49 | |
tsufiev | hello there! | 14:49 |
tsufiev | I have a question about oslo.policy | 14:49 |
tsufiev | is it possible to enforce a check on if a user has a specific role in a specific _tenant_ (or _domain_)? | 14:50 |
tsufiev | I'd like to know how to avoid an issue when being an admin in one tenant means being an admin in any other tenant | 14:51 |
lxsli | meeting today? | 15:00 |
kgiusti | lxsli: in an hour I believe | 15:01 |
lxsli | damn | 15:01 |
*** spzala has joined #openstack-oslo | 15:01 | |
lxsli | I'm open to bribes but not useful for oslo.messaging sorry :) | 15:04 |
kgiusti | lxsli: I'm sure I can come up with something non-oslo.messaging related... :) | 15:05 |
*** lpetrut has quit IRC | 15:06 | |
*** rcernin has quit IRC | 15:06 | |
*** ozamiatin has joined #openstack-oslo | 15:06 | |
*** yamamoto has quit IRC | 15:14 | |
*** yamamoto has joined #openstack-oslo | 15:14 | |
lxsli | log and config patches happily received! | 15:16 |
*** yamamoto has quit IRC | 15:20 | |
*** harlowja_at_home has joined #openstack-oslo | 15:40 | |
*** rlrossit_ has quit IRC | 15:44 | |
kgiusti | Hey harlowja_at_home - can we talk about merging the amqp 1.0 driver changes? | 15:49 |
harlowja_at_home | we can! | 15:49 |
harlowja_at_home | talk talk talk | 15:49 |
harlowja_at_home | ha | 15:49 |
kgiusti | merge merge merge | 15:49 |
harlowja_at_home | click click click | 15:50 |
kgiusti | ok, that's it - thanks! | 15:50 |
harlowja_at_home | lol | 15:50 |
harlowja_at_home | tjat | 15:50 |
harlowja_at_home | *that's how we do it here | 15:50 |
kgiusti | I've got two outstanding reviews against the branch - got 1 +2 for each. | 15:50 |
kgiusti | Once those are in I can resync the branch to master | 15:51 |
kgiusti | Then create a merge-back patch | 15:51 |
openstackgerrit | George Silvis, III proposed openstack/oslo.messaging: Add docstring for get_notification_transport https://review.openstack.org/355053 | 15:51 |
harlowja_at_home | kgiusti, ok added comment to 1 | 15:52 |
harlowja_at_home | and +A the other one | 15:52 |
harlowja_at_home | merge merge merge | 15:53 |
harlowja_at_home | lol | 15:53 |
kgiusti | harlowja_at_home: There's instructions for the merge here: http://docs.openstack.org/infra/manual/drivers.html | 15:53 |
harlowja_at_home | kgiusti, thx | 15:53 |
kgiusti | harlowja_at_home: dims: I think dims may have done this before with pika, so maybe he can provide guidance | 15:54 |
harlowja_at_home | ya, can't be to hard i hope | 15:54 |
*** jecarey has joined #openstack-oslo | 15:54 | |
harlowja_at_home | jd__, what was your thought on timeline for https://github.com/jd/tenacity | 15:54 |
harlowja_at_home | boden, ^ | 15:54 |
kgiusti | harlowja_at_home: time.monotonic - good call, will do. | 15:55 |
harlowja_at_home | cool beans | 15:55 |
harlowja_at_home | u can even use http://docs.openstack.org/developer/oslo.utils/api/timeutils.html#oslo_utils.timeutils.StopWatch if u want | 15:56 |
harlowja_at_home | its a slightly higher level API around the same kind of stuff | 15:56 |
*** mtanino has joined #openstack-oslo | 15:57 | |
kgiusti | harlowja_at_home: stopwatch could work out. Would require some refactoring - perhaps best post library freeze :) | 15:59 |
harlowja_at_home | wfm | 15:59 |
*** yamahata has joined #openstack-oslo | 16:01 | |
*** ifarkas is now known as ifarkas_afk | 16:01 | |
boden | harlowja_at_home: I’m in no hurry really | 16:05 |
harlowja_at_home | lol | 16:05 |
boden | harlowja_at_home: what is the plan with that new repo; are you going to leave as-is or thinking about making it more modular/pluggable as we discussed? | 16:07 |
harlowja_at_home | boden, so jd__ has done some of that plugability already | 16:09 |
harlowja_at_home | boden, see https://github.com/jd/tenacity#examples | 16:09 |
harlowja_at_home | which is where your ideas might be useful | 16:09 |
harlowja_at_home | to improve the plugability part | 16:10 |
harlowja_at_home | ie, @retry(wait=wait_combine(wait_fixed(3), wait_jitter(2))) | 16:10 |
harlowja_at_home | and such | 16:10 |
*** ihrachys has quit IRC | 16:10 | |
*** dims has quit IRC | 16:10 | |
boden | harlowja_at_home: sorry, I clearly didn’t look into the repo before asking… I’ll have a look-see in the next few days and let you guys know | 16:11 |
harlowja_at_home | boden, np | 16:12 |
*** boden has quit IRC | 16:14 | |
*** e0ne has quit IRC | 16:17 | |
*** lucasagomes is now known as lucas-afk | 16:17 | |
*** ozamiatin_ has joined #openstack-oslo | 16:21 | |
*** boden has joined #openstack-oslo | 16:24 | |
*** ozamiatin_ has quit IRC | 16:25 | |
harlowja_at_home | bbiab | 16:28 |
*** harlowja_at_home has quit IRC | 16:28 | |
*** hockeynut has joined #openstack-oslo | 16:28 | |
*** yamahata has quit IRC | 16:29 | |
*** dkehn_ has quit IRC | 16:31 | |
*** dkehn has quit IRC | 16:31 | |
*** dkehn has joined #openstack-oslo | 16:32 | |
*** sputnik13 has joined #openstack-oslo | 16:40 | |
*** dims has joined #openstack-oslo | 16:42 | |
*** dkehn has quit IRC | 16:43 | |
*** dims has quit IRC | 16:47 | |
*** dkehn has joined #openstack-oslo | 16:48 | |
*** dkehn_ has joined #openstack-oslo | 16:49 | |
*** dims has joined #openstack-oslo | 16:53 | |
*** tonytan4ever has quit IRC | 16:54 | |
*** lucas-afk is now known as lucasagomes | 16:58 | |
*** harlowja has joined #openstack-oslo | 17:08 | |
*** yamahata has joined #openstack-oslo | 17:09 | |
*** ihrachys has joined #openstack-oslo | 17:12 | |
*** ekcs has joined #openstack-oslo | 17:22 | |
*** lucasagomes is now known as lucas-dinner | 17:25 | |
* harlowja odd just noticed all the 'Allah' messages | 17:29 | |
*** ihrachys has quit IRC | 17:29 | |
rbradfor | harlowja, they were a while ago. | 17:29 |
rbradfor | I wonder how you block/ban people on IRC channels | 17:30 |
openstackgerrit | Merged openstack/oslo.middleware: Fixed typo in SSL https://review.openstack.org/354279 | 17:33 |
harlowja | rbradfor ya, i think the infra folks can | 17:33 |
harlowja | so just poking one of them i think is good enough, they can kick, don't think i can | 17:34 |
*** sambetts is now known as sambetts|afk | 17:35 | |
*** rcernin has joined #openstack-oslo | 17:37 | |
*** e0ne has joined #openstack-oslo | 17:38 | |
openstackgerrit | Merged openstack/oslo.db: Updated from global requirements https://review.openstack.org/354461 | 17:39 |
openstackgerrit | Merged openstack/taskflow: Start to add a location for contributed useful tasks/flows/more https://review.openstack.org/348596 | 17:41 |
*** tonytan4ever has joined #openstack-oslo | 17:45 | |
*** ihrachys has joined #openstack-oslo | 18:13 | |
*** jecarey has quit IRC | 18:13 | |
*** e0ne has quit IRC | 18:15 | |
*** e0ne has joined #openstack-oslo | 18:17 | |
*** jecarey has joined #openstack-oslo | 18:20 | |
*** bknudson has joined #openstack-oslo | 18:21 | |
*** jecarey has quit IRC | 18:38 | |
*** rcernin has quit IRC | 18:42 | |
*** jecarey has joined #openstack-oslo | 18:45 | |
*** jecarey has quit IRC | 18:45 | |
*** jecarey has joined #openstack-oslo | 18:45 | |
*** spzala has quit IRC | 18:48 | |
*** spzala has joined #openstack-oslo | 18:48 | |
*** spzala has quit IRC | 18:51 | |
*** hockeynut has quit IRC | 18:51 | |
*** spzala has joined #openstack-oslo | 18:52 | |
*** itisha has joined #openstack-oslo | 18:58 | |
*** e0ne has quit IRC | 18:59 | |
*** ekcs has quit IRC | 19:09 | |
*** ekcs has joined #openstack-oslo | 19:13 | |
*** ekcs has quit IRC | 19:13 | |
openstackgerrit | Oleksii Zamiatin proposed openstack/oslo.messaging: [zmq] Redis unavailability is not critical https://review.openstack.org/352579 | 19:18 |
kgiusti | Is it me, or does Zuul seem especially uncooperative today re: oslo.messaging? | 19:31 |
kgiusti | ozamiatin: ping - there may be a problem with the zmq gate tests: http://status.openstack.org/openstack-health/#/job/gate-oslo.messaging-src-dsvm-full-zmq | 19:35 |
ozamiatin | kgiusti: hi, looking | 19:36 |
kgiusti | ozamiatin: thanks | 19:36 |
ozamiatin | kgiusti: the same on pika gate not so far http://logs.openstack.org/79/352579/19/check/gate-oslo.messaging-src-dsvm-full-pika/0e1302d/console.html | 19:38 |
kgiusti | ozamiatin: yeah, I just hit that one also. | 19:39 |
*** tonytan4ever has quit IRC | 19:41 | |
kgiusti | ozamiatin: looks like the same tests failed | 19:43 |
kgiusti | ozamiatin: on both pika and zmq. I wonder if something changed in tempest... | 19:44 |
ozamiatin | kgiusti: Very likely, because pika was not changed at all | 19:45 |
*** yamahata has quit IRC | 19:49 | |
*** yamahata has joined #openstack-oslo | 19:49 | |
*** tonytan4ever has joined #openstack-oslo | 19:58 | |
*** sigmavirus is now known as sigmavirus|away | 20:03 | |
bknudson | zzzeek: do you know why oslo.cache would have a PooledMemcachedBackend ? | 20:10 |
bknudson | dogpile has a ClientPool class, but maybe it only has a single client? https://github.com/dprince/dogpile.cache/blame/master/dogpile/cache/backends/memcached.py#L121 | 20:11 |
bknudson | or, looks like you'd get 1 per thread. | 20:11 |
zzzeek | bknudson: um....the memcached client should be using some kind of thread local thing, it depends on the memcached api | 20:12 |
zzzeek | bknudson: yah i dont think you need any pooling on top of that. havent looked ina long time tho | 20:13 |
bknudson | not sure what the point of a 10-client pool would be... maybe if you had lots of threads. But python couldn't use all those threads anyways. | 20:14 |
bknudson | also, might be better to have a few extra connections around in case 1 fails. | 20:14 |
bknudson | but that would require 10 connections to be in use at once to fill it up, which would never happen. | 20:16 |
*** jecarey has quit IRC | 20:18 | |
*** ekcs has joined #openstack-oslo | 20:25 | |
bknudson | zzzeek: what do you think about moving oslo.cache's PooledMemcachedBackend to dogpile.cache? Shouldn't be anything openstack-specific. | 20:26 |
zzzeek | bknudson: what does it do that the current one doesnt? | 20:27 |
*** kgiusti has left #openstack-oslo | 20:27 | |
bknudson | zzzeek: good question. I'm going to try it to see what the diff in behavior is. | 20:27 |
zzzeek | bknudson: that is, im not sure why we need a pool. | 20:27 |
bknudson | here's the commit message: https://github.com/openstack/oslo.cache/commit/fbbfbff36a54525b36b552bfe04ada637ecd297e | 20:27 |
*** tonytan4ever has quit IRC | 20:27 | |
zzzeek | bknudson: we're alraedy doing a connection-per-thread in dogpile. now, perhaps this doesn't work very well if you have 1000 greenlets | 20:31 |
bknudson | zzzeek: I'm wondering - the the dogpile impl close/re-open the connection every time? | 20:31 |
zzzeek | bknudson: id need to see the problem that was observed which led to adding this backend | 20:31 |
zzzeek | bknudson: i dont think so. | 20:32 |
bknudson | keystone doesn't even support eventlet anymore. | 20:32 |
zzzeek | right but this is oslo.cache | 20:32 |
dstanek | bknudson: i think that silly backend may have originated in keystone code | 20:34 |
bknudson | dstanek: the help text for the backend config option makes it sound pretty awesome. | 20:35 |
dstanek | bknudson: on another caching note...i think i got the region invalidation problem figured out | 20:36 |
dstanek | i may need to push another patch update though | 20:36 |
bknudson | dstanek: what's the problem with region invalidation? | 20:41 |
dstanek | bknudson: it doesn't work across processes | 20:41 |
bknudson | dstanek: why didn't it work? | 20:42 |
dstanek | bknudson: dogpile.cache doesn't use regions how we thought it did. wasn't designed that way from what i can tell | 20:43 |
stevemar | bknudson: it never worked across processes | 20:43 |
bknudson | A succinct API which encourages up-front configuration of pre-defined “regions”, each one defining a set of caching characteristics including storage backend, configuration options, and default expiration time. | 20:44 |
bknudson | https://pypi.python.org/pypi/dogpile.cache ^ | 20:44 |
bknudson | dstanek: "regions" in quotes. | 20:44 |
dstanek | https://review.openstack.org/#/c/349704/ | 20:44 |
patchbot | dstanek: patch 349704 - keystone - WIP: region namespace POC for cache invalidation | 20:44 |
dstanek | gotta fixup and push my latest for that | 20:44 |
bknudson | dstanek: looks like it needs some work. | 20:44 |
*** tonytan4ever has joined #openstack-oslo | 20:45 | |
bknudson | uses tabs instead of spaces! | 20:45 |
bknudson | rookie mistake. | 20:45 |
dstanek | lol | 20:45 |
bknudson | dstanek: how do all the processes get the same key? | 20:47 |
dstanek | bknudson: extra memcached hit in my scheme | 20:47 |
bknudson | it looks like the processes don't share a cache at all. | 20:47 |
*** ansmith has quit IRC | 20:49 | |
dstanek | bknudson: so basically there is a key 'func:args:...:region_id' that holds a uuid. that uuid is then used in 'func:args:...:uuid' to hold the real value this is being stored | 20:50 |
dstanek | this is a scheme i've used a lot in the past | 20:51 |
dstanek | for example, consider a store that shows products in multiple ways or have cached data for different project views (in a catalog, pricing page, etc). we would use the product_id key to lookup a uuid that would then be used by all those other cache keys | 20:52 |
dstanek | so when a product was updated in our CMS only the product_id key was updated and my the magic of memcached the other keys no longer pointed to values | 20:52 |
bknudson | dstanek: I hope you got paid a lot for your past work because it sounds super boring. | 20:54 |
dstanek | bknudson: lol, that's why i'm not there anymore | 20:54 |
bknudson | dstanek: just wondering since I have no idea how this works -- is there a persistent dogpile backend where this wouldn't work? | 20:56 |
bknudson | as in, it would leave a large amount of orphaned data | 20:56 |
dstanek | bknudson: you mean if the backend doesn't support expiring its data? | 20:57 |
bknudson | dstanek: I thought there was a bug where we weren't setting the expiration. | 20:58 |
dstanek | bknudson: yep, working on a patch for that in my patchset. memcache would reclaim the orphaned space even without an expiration | 20:59 |
bknudson | dstanek: y, I'm not worried about memcached | 20:59 |
dstanek | bknudson: i've been spending way too much time in our caching code | 20:59 |
bknudson | rip it out and start over. | 21:00 |
dstanek | well, as far as keystone is concerned we'll be fine because we will be setting expiration | 21:00 |
*** mhickey has quit IRC | 21:03 | |
*** lpetrut has joined #openstack-oslo | 21:03 | |
*** spzala has quit IRC | 21:07 | |
*** spzala has joined #openstack-oslo | 21:07 | |
*** ihrachys has quit IRC | 21:08 | |
*** ozamiatin has quit IRC | 21:09 | |
*** yamamoto has joined #openstack-oslo | 21:10 | |
*** yamamoto has quit IRC | 21:11 | |
*** lpetrut has quit IRC | 21:12 | |
*** spzala has quit IRC | 21:13 | |
*** snizar has joined #openstack-oslo | 21:23 | |
*** snizar_ has joined #openstack-oslo | 21:23 | |
*** lpetrut has joined #openstack-oslo | 21:23 | |
*** yamahata has quit IRC | 21:38 | |
*** jecarey has joined #openstack-oslo | 21:38 | |
*** amotoki has quit IRC | 21:48 | |
*** cfriesen has joined #openstack-oslo | 21:49 | |
cfriesen | question about oslo.versionedobjects. Suppose I have a remotable object function that modifies a field, then we call obj_make_compatible() to downgrade the version, and that removes the field I modified. | 21:51 |
cfriesen | should the core osloversionedobjects code remove the field from the list of changed fields? | 21:52 |
*** harlowja has quit IRC | 21:55 | |
*** tonytan4ever has quit IRC | 21:57 | |
*** amotoki has joined #openstack-oslo | 22:00 | |
*** gordc has quit IRC | 22:00 | |
*** amotoki has quit IRC | 22:00 | |
*** yamahata has joined #openstack-oslo | 22:01 | |
*** mtanino has quit IRC | 22:03 | |
*** jecarey_ has joined #openstack-oslo | 22:09 | |
*** jecarey has quit IRC | 22:11 | |
*** lpetrut has quit IRC | 22:11 | |
*** yamamoto has joined #openstack-oslo | 22:26 | |
*** hockeynut has joined #openstack-oslo | 22:29 | |
*** boden has quit IRC | 22:36 | |
*** edmondsw has quit IRC | 22:51 | |
*** tonytan4ever has joined #openstack-oslo | 22:58 | |
*** tonytan4ever has quit IRC | 23:03 | |
*** ozamiatin has joined #openstack-oslo | 23:17 | |
*** harlowja has joined #openstack-oslo | 23:36 | |
*** hockeynut has quit IRC | 23:43 | |
*** sdague has quit IRC | 23:44 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!