Thursday, 2020-03-05

*** ozzzo has quit IRC00:06
*** toabctl has quit IRC00:19
*** toabctl has joined #openstack-oslo00:22
*** tkajinam has quit IRC01:49
*** tkajinam has joined #openstack-oslo01:50
*** larainema has joined #openstack-oslo03:44
*** threestrands has quit IRC06:48
*** jrosser has joined #openstack-oslo07:30
*** tesseract has joined #openstack-oslo07:52
*** iurygregory has joined #openstack-oslo07:56
*** harlowja has quit IRC08:15
*** tkajinam has quit IRC08:16
*** ralonsoh has joined #openstack-oslo08:22
*** rpittau|afk is now known as rpittau08:46
openstackgerritHervé Beraud proposed openstack/oslo.cache master: fix _memcache_pool's backward compatibility  https://review.opendev.org/71122009:02
*** gus has quit IRC09:08
*** irclogbot_2 has quit IRC09:08
*** StevenK has quit IRC09:08
mgoddardhberaud: will do, thanks!09:19
hberaudmgoddard: I updated the patch since my previous msg ^^^^09:20
mgoddardhberaud: sure, I'll grab the latest09:20
hberaudmgoddard: thanks09:21
openstackgerritLuigi Toscano proposed openstack/cookiecutter master: Fix links formatting for the contributing documentation  https://review.opendev.org/71140709:22
*** tosky has joined #openstack-oslo09:25
*** gus has joined #openstack-oslo09:43
*** irclogbot_2 has joined #openstack-oslo09:43
*** StevenK has joined #openstack-oslo09:43
*** openstackstatus has quit IRC09:45
mgoddardhberaud: I did some searching, and the only place I can see server_max_value_length used is https://opendev.org/openstack/oslo.cache/src/branch/master/oslo_cache/backends/memcache_pool.py#L3809:50
mgoddardmaybe this problem is easier to solve?09:51
hberaudmgoddard: yep I seen it09:51
hberaudmgoddard: I seen the Radoslav message09:51
mgoddardoh. I didn't09:51
hberaudmoguimar: indeed it could be easier to solve09:52
mgoddardhberaud: there is also https://opendev.org/openstack/keystonemiddleware/src/branch/master/keystonemiddleware/auth_token/_cache.py#L108, but I don't think that is our problem as everywhere I can see use_advanced_pool is False so it shouldn't use oslo_cache09:54
hberaudmgoddard: ack09:54
mgoddardhberaud: I'll try modifying those params and running a test job09:55
hberaudok09:55
openstackgerritHervé Beraud proposed openstack/oslo.cache master: fix _memcache_pool's backward compatibility  https://review.opendev.org/71122010:03
hberaudmgoddard: ^^^^10:03
hberaudmgoddard: with params adapted to our needs10:04
hberaudmgoddard: also I prefered to keep the matrix and deprecations in place, just in case, to surround possible similar issues but it's unlikely10:07
mgoddardhberaud: it's from an old iteration, but in case it helps: https://2e2758d1408492f410e7-6319048316c626def25c176077b7ea65.ssl.cf1.rackcdn.com/711227/4/check/kolla-ansible-centos8-source/4448393/primary/logs/kolla/keystone/keystone.txt10:09
hberaudmgoddard: thanks10:10
hberaudmgoddard: I also fixed the connection_timeout issue in the latest patch set10:11
mgoddardhberaud: ok10:11
hberaudI misspelled it10:11
mgoddardhberaud: is it possible to try creating a client using _create_connection in the unit tests?10:12
mgoddardthat way we could be sure creation works10:12
mgoddardhberaud: maybe it could be checked using mock with autospec?10:14
mgoddardif the actual object is too heay10:14
mgoddardheavy10:14
hberaudmgoddard: currently _create_connection is mocked10:15
mgoddardhberaud: is it? I don't see it10:16
mgoddardnot in the new tests10:16
openstackgerritRadosław Piliszek proposed openstack/oslo.cache master: Add memcache_pool backend job  https://review.opendev.org/71142210:17
hberaudmgoddard: I think we should add some jobs to our zuul config to test something more than just the base tempest job, like smcginnis suggested10:17
hberaudmgoddard: IIRC it don't use autospec for now10:18
yoctozeptohberaud: yeah, I've just proposed ^10:18
hberaudyoctozepto: yep I seen thanks :)10:18
yoctozeptopretty nice sync we have :-)10:19
hberaudyoctozepto: yep10:19
hberaudyoctozepto: I asked myself if we need to rebase your changes on mine10:20
hberaudyoctozepto: I suppose your check will fail10:20
yoctozeptohberaud: or vice versa, let's see the fail first10:20
hberaudyoctozepto: yep no rush10:20
yoctozeptohberaud: if it somehow passes the original, then it's not useful :D10:20
hberaudyoctozepto: exact10:21
yoctozeptocross-commented and done for now10:22
yoctozeptolet's await results10:22
hberaudyoctozepto: +110:23
hberaudyoctozepto: as I explained to mgoddard I think it's worth to keep deprecation and compat matrix in a first time to surround all aspects of this10:24
mgoddardhberaud: mind if I push an update to your patch?10:27
yoctozeptohberaud: totally10:27
hberaudmoguimar: feel free10:29
openstackgerritMark Goddard proposed openstack/oslo.cache master: fix _memcache_pool's backward compatibility  https://review.opendev.org/71122010:32
yoctozeptomgoddard, hberaud: since we know 2.1.0 is broken, could we already blacklist it?10:37
hberaudyoctozepto: not yet from my side10:38
hberaudyoctozepto: not sure how to blacklist things... I suppose through openstack/requirements by pushing a patch there10:39
hberaudyoctozepto: an idea?10:39
yoctozeptohberaud: yes, it would go there with != in reqs and change in uc10:40
hberaudyoctozepto: ack, omw10:40
yoctozeptohberaud: thanks10:40
yoctozeptomgoddard, hberaud: tempest failed as expected, on dead_retry10:42
yoctozepto(/me following the console)10:42
hberaudyoctozepto: https://review.opendev.org/#/c/711427/10:44
openstackgerritJonathan Rosser proposed openstack/oslo.cache master: Fix pymemcache release note python package name  https://review.opendev.org/71142810:44
hberaudyoctozepto: ack good point, so I suppose next step is to rebase on mine?10:45
yoctozeptohberaud: you need to also modify upper constraints10:46
hberaudyoctozepto: ack10:46
yoctozeptohberaud: yeah, I will rebase10:46
openstackgerritRadosław Piliszek proposed openstack/oslo.cache master: Add memcache_pool backend job  https://review.opendev.org/71142210:47
hberaudyoctozepto: upper-constraints updated => https://review.opendev.org/71142710:48
yoctozeptohberaud: k, thanks10:49
openstackgerritMark Goddard proposed openstack/oslo.cache master: Add memcache_pool backend job  https://review.opendev.org/71142210:52
openstackgerritMark Goddard proposed openstack/oslo.cache master: Add memcache_pool backend job  https://review.opendev.org/71142210:52
* hberaud need to address kids stuff bbl10:55
mgoddardhberaud: another issue, after dropping args in PooledMemcachedBackend: https://storage.bhs.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_cc5/711417/1/check/kolla-ansible-centos8-source/cc5b551/primary/logs/kolla/keystone/keystone.txt10:57
hberaudmgoddard: wtf lol11:04
* hberaud take a look11:04
openstackgerritHervé Beraud proposed openstack/oslo.cache master: fix _memcache_pool's backward compatibility  https://review.opendev.org/71122011:10
hberaudmgoddard: ^^^^11:10
openstackgerritRadosław Piliszek proposed openstack/oslo.cache master: Add memcache_pool backend job  https://review.opendev.org/71142211:18
*** rpittau is now known as rpittau|bbl11:27
*** tesseract-RH has joined #openstack-oslo11:40
yoctozeptomgoddard, hberaud: now: 2020-03-05 11:41:54.236810 | controller | ERROR keystone AttributeError: 'HashClient' object has no attribute 'server'11:42
yoctozepto😂11:43
*** tesseract has quit IRC11:43
* hberaud back11:50
openstackgerritRadosław Piliszek proposed openstack/oslo.cache master: Revert "Switch from python-memcached to pymemcache."  https://review.opendev.org/71143911:50
hberaudsigh... loooool11:50
openstackgerritRadosław Piliszek proposed openstack/oslo.cache master: Add memcache_pool backend job  https://review.opendev.org/71142211:51
yoctozeptomgoddard, hberaud: for now reverted just to test11:51
hberaudyoctozepto: ack11:51
hberaudyoctozepto: ah... I mingled pymemcache base client and hash client code in my previous patch set... this is why we get the "server" error11:57
yoctozeptohberaud: ah, that makes sense; still letting now test the revert11:58
yoctozepto(sanity check above all)11:58
hberaudyoctozepto: and hash client doesn't store servers as a class attribute so this is why we get the first error related to server too11:59
hberaudyoctozepto: sure11:59
*** kgiusti has left #openstack-oslo12:03
moguimarhberaud o/12:05
moguimarsaw a lot of discussion in the patch, havent read it again yet. going for it now12:05
hberaudyoctozepton, mgoddard: hum... I think that migrate to the pymemcache pool module is the best approach to solve the server issue => https://pymemcache.readthedocs.io/en/latest/apidoc/pymemcache.pool.html12:06
hberaudmoguimar: o/12:06
hberaudmoguimar: sure np, feedbacks are welcome12:06
*** raildo has joined #openstack-oslo12:08
hberaudmoguimar: to summarize the situation, I proposed a patch to blacklist oslo.cache 2.1.0 for now, yoctozepto proposed a patch to introduce backend jobs related to our backend, I merged my 2 previous patches into a single one to bring a all in one fix12:09
hberaudthe fix (you already know this patch) => https://review.opendev.org/71122012:09
hberaudthe blacklist of 2.1.0 => https://review.opendev.org/#/c/711427/12:10
hberaudthe new backend job => https://review.opendev.org/#/c/711422/12:10
hberaudmoguimar: and also yoctozepto pushed a revert to test with the backend job https://review.opendev.org/711439 to compare with the fix12:12
moguimarand this is due to the change from python-memcached to pymemecache right?12:13
yoctozeptomoguimar: right12:15
hberaudmoguimar: yep this is the culprit12:17
hberaudmoguimar, yoctozepto: python-memcached stored servers as a list so it's ordered, pymemcache it as a dict, on oslo we store our deaduntil as a list generated from url (https://github.com/openstack/oslo.cache/blob/master/oslo_cache/_memcache_pool.py#L191) but dict are ordered since py3.6 so I think we are safe here, do you see something that I may missed?12:27
openstackgerritHervé Beraud proposed openstack/oslo.cache master: fix _memcache_pool's backward compatibility  https://review.opendev.org/71122012:28
hberaudmoguimar, yoctozepto: this one highlight my previous message ^^^^12:28
*** ricolin has joined #openstack-oslo12:29
hberauds/pymemcache it as/pymemcache store it as/12:33
yoctozeptohberaud: ack12:34
*** ansmith_ has quit IRC12:40
yoctozeptomoguimar, mgoddard, hberaud: revert started passing tempest so the job is helpful for testing12:45
yoctozeptoconsole; https://zuul.opendev.org/t/openstack/stream/ddc77c1a9c074c67bbc447fe3cf3ea9b?logfile=console.log12:45
hberaudyoctozepto: ack12:45
openstackgerritRadosław Piliszek proposed openstack/oslo.cache master: Add memcache_pool backend job  https://review.opendev.org/71142212:46
yoctozeptohberaud: now based on yours12:46
hberaudyoctozepto: ack12:47
openstackgerritHervé Beraud proposed openstack/oslo.cache master: [DNM][WIP] fix _memcache_pool's backward compatibility  https://review.opendev.org/71122013:01
*** dave-mccowan has joined #openstack-oslo13:10
smcginnisWhat is the latest thoughts on memcache? Are we reverting the change and going back to how it was, or does it still look like things can be adapted so consumers can have the same interface even though oslo.cache is using a something else underneath?13:16
*** ataraday has joined #openstack-oslo13:16
ataradayHello everyone! Please review https://review.opendev.org/#/c/710764/13:17
*** takamatsu has joined #openstack-oslo13:22
jrosseris it necessary to explicitly state pymemcache as a required python package in deployment projects - i.e it doesn't get automatically pulled in as a dependancy of oslo.cache?13:24
smcginnisjrosser: It should get pulled in, but if you are doing something like "pip install oslo.cache" it won't get it. You would need to do "pip install oslo.cache[dogpile]"13:27
smcginnisSo if you are installing a different package that pulls in oslo.cache without any optional extras, it won't actually get it.13:27
jrosserright - that hurts :(13:28
*** ansmith_ has joined #openstack-oslo13:36
*** ansmith has joined #openstack-oslo13:38
*** ansmith_ has quit IRC13:40
*** rpittau|bbl is now known as rpittau13:45
*** kgiusti has joined #openstack-oslo13:47
openstackgerritHervé Beraud proposed openstack/oslo.cache master: [DNM][WIP] fix _memcache_pool's backward compatibility  https://review.opendev.org/71122013:49
hberaudsmcginnis: we have 2 sure options for now, black list 2.1.0 and try to fix the current code to keep pymemcache alive (I personnaly prefer this one), revert to python-memcached14:05
hberaudsmcginnis: I think I'm near from the solution, I need to address dead clients remove14:06
hberaudsmcginnis: I've some track to follow to do that properly14:06
smcginnisOK, sounds good. Thanks hberaud.14:07
smcginnisI would prefer getting pymemncache to work over reverting it too.14:07
hberaudsmcginnis: I think while 2.1.0 is blacklisted we could wait few days before revert pymemcache to lets a chance to fix that14:07
smcginnisYeah, I don't think we need to rush this.14:07
hberaudsmcginnis: another option could be to revert and keep pymemcache on a separated branch while it doesn't work at 100 percents...14:08
smcginnisI'd say, let's wait a bit and see if it turns out it is going to take a lot more effort and time to get things working right. We have some time.14:09
hberaudsmcginnis: one thing we need to take care is to avoid parallel merges on this scope to avoid spaghetti effects14:09
hberaudI don't think we need to continue to manage deaduntil things because pymemcache introduced the `_safely_run_func` which is called each time a memcache command is called on client and so this function will automatically drop the client if is dead https://github.com/pinterest/pymemcache/blob/86fc415d8383c7dbf7bd3442ab9d7d3e36a874d3/pymemcache/client/hash.py#L15014:19
*** ccamel has joined #openstack-oslo14:41
*** camelCaser has quit IRC14:42
*** jaosorior has quit IRC15:20
openstackgerritHervé Beraud proposed openstack/oslo.cache master: [DNM][WIP] fix _memcache_pool's backward compatibility  https://review.opendev.org/71122015:31
openstackgerritHervé Beraud proposed openstack/oslo.cache master: Fix python2 syntaxe in doc  https://review.opendev.org/71150516:38
*** rcernin has quit IRC16:55
*** tesseract-RH has quit IRC17:01
openstackgerritMerged openstack/oslo.cache master: Fix python2 syntaxe in doc  https://review.opendev.org/71150517:11
*** kgiusti has left #openstack-oslo17:20
*** rpittau is now known as rpittau|afk17:25
*** kgiusti has joined #openstack-oslo17:27
openstackgerritRadosław Piliszek proposed openstack/oslo.cache master: Add memcache_pool backend job  https://review.opendev.org/71142217:48
*** ralonsoh has quit IRC18:57
*** larainema has quit IRC19:03
*** harlowja has joined #openstack-oslo19:04
*** jaosorior has joined #openstack-oslo19:08
*** trident has quit IRC20:37
*** trident has joined #openstack-oslo20:47
*** rcernin has joined #openstack-oslo20:53
*** ansmith has quit IRC21:02
*** rcernin has quit IRC21:18
*** kgiusti has left #openstack-oslo21:35
*** raildo has quit IRC21:47
*** ansmith has joined #openstack-oslo22:10
openstackgerritBen Nemec proposed openstack/oslo.log master: Add Victoria and Wallaby releases to versionutils  https://review.opendev.org/71156122:12
*** iurygregory has quit IRC22:18
*** tkajinam has joined #openstack-oslo22:45

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