Friday, 2018-06-22

*** namnh has joined #openstack-oslo02:26
*** lpetrut has joined #openstack-oslo03:44
*** lpetrut has quit IRC04:25
*** nicolasbock has joined #openstack-oslo05:53
*** AlexeyAbashkin has joined #openstack-oslo05:54
*** lpetrut has joined #openstack-oslo06:11
*** lpetrut_ has joined #openstack-oslo06:13
*** AlexeyAbashkin has quit IRC06:13
*** lpetrut has quit IRC06:16
*** samueldmq has quit IRC06:28
*** samueldmq has joined #openstack-oslo06:28
*** pcaruana has joined #openstack-oslo06:30
*** e0ne has joined #openstack-oslo06:54
*** e0ne has quit IRC07:03
*** rcernin has quit IRC07:08
*** AlexeyAbashkin has joined #openstack-oslo07:10
*** tesseract has joined #openstack-oslo07:11
*** tosky has joined #openstack-oslo07:18
*** gibi is now known as giblet07:38
*** d0ugal_ has quit IRC08:03
*** d0ugal has joined #openstack-oslo08:04
*** peereb has joined #openstack-oslo08:05
*** rcernin has joined #openstack-oslo08:05
*** shardy has joined #openstack-oslo08:08
*** namnh has quit IRC08:09
*** AlexeyAbashkin has quit IRC08:29
*** rcernin has quit IRC08:41
*** e0ne has joined #openstack-oslo09:02
*** lpetrut__ has joined #openstack-oslo09:03
*** lpetrut_ has quit IRC09:07
*** shardy has quit IRC09:16
*** shardy has joined #openstack-oslo09:17
*** sileht has quit IRC09:35
*** AlexeyAbashkin has joined #openstack-oslo09:36
*** d0ugal has quit IRC09:55
*** d0ugal has joined #openstack-oslo09:56
*** salv-orlando has joined #openstack-oslo10:04
*** salv-orlando has quit IRC10:09
*** bigdogstl has joined #openstack-oslo10:17
*** sileht has joined #openstack-oslo10:17
*** bigdogstl has quit IRC10:17
*** yamamoto has quit IRC10:29
*** salv-orlando has joined #openstack-oslo11:05
*** lpetrut__ has quit IRC11:08
*** salv-orlando has quit IRC11:09
*** lpetrut has joined #openstack-oslo11:14
*** yamamoto has joined #openstack-oslo11:14
*** yamamoto has quit IRC11:16
*** yamamoto has joined #openstack-oslo11:27
*** yamamoto has quit IRC11:28
*** yamamoto has joined #openstack-oslo11:35
*** yamamoto has quit IRC11:42
*** raildo has joined #openstack-oslo11:45
*** AlexeyAbashkin has quit IRC11:57
*** yamamoto has joined #openstack-oslo12:08
*** AlexeyAbashkin has joined #openstack-oslo12:11
*** yamamoto has quit IRC12:21
*** moguimar has quit IRC12:21
*** moguimar has joined #openstack-oslo12:23
*** kgiusti has joined #openstack-oslo12:30
*** mmethot has quit IRC12:47
*** yamamoto has joined #openstack-oslo12:55
*** lpetrut has quit IRC12:58
*** lpetrut has joined #openstack-oslo13:17
*** mmethot has joined #openstack-oslo13:17
*** HenryG has quit IRC13:18
*** HenryG has joined #openstack-oslo13:21
*** njohnston has quit IRC13:40
openstackgerritStephen Finucane proposed openstack/osprofiler master: opts: Fix invalid rST formatting  https://review.openstack.org/57742313:43
*** njohnston has joined #openstack-oslo13:49
stephenfindhellmann: Have you any sway over https://github.com/dreamhost/sphinxcontrib-pecanwsme/ anymore?13:52
*** lbragstad is now known as elbragstad13:52
*** moguimar has quit IRC14:03
*** spilla has joined #openstack-oslo14:03
*** moguimar has joined #openstack-oslo14:04
*** peereb has quit IRC14:10
openstackgerritRaildo Mascena proposed openstack/oslo.config master: User guide documentation for backend drivers for oslo.config  https://review.openstack.org/57694714:10
dhellmannstephenfin : I have owner rights on pypi but not on that repo. Let me see if I can get someone to give me access so we can move it over to the sphinx-contrib org14:13
openstackgerritRaildo Mascena proposed openstack/oslo.config master: User guide documentation for backend drivers for oslo.config  https://review.openstack.org/57694714:13
stephenfindhellmann: Yup, would appreciate that. It looks like a blocker for moving multiple project's docs to Python 314:14
*** pblaho has quit IRC14:16
dhellmannstephenfin : have you tried any of those pull requests that claim to fix python 3 compatibility?14:32
stephenfindhellmann: I have not but I can14:32
dhellmannif you have time, it's not a high priority14:32
dhellmannhttps://github.com/dreamhost/sphinxcontrib-pecanwsme/pull/18 looks promising14:33
dhellmannas does https://github.com/dreamhost/sphinxcontrib-pecanwsme/pull/1414:33
openstackgerritThierry Carrez proposed openstack/sphinx-feature-classification master: Update for Python 3 compatibility  https://review.openstack.org/57743514:36
stephenfindhellmann: https://github.com/dreamhost/sphinxcontrib-pecanwsme/pull/18 works a-ok for me14:36
dhellmannit looks like it ought to support python 2 as well, which would make rolling it out easier14:37
*** takedakn has joined #openstack-oslo14:37
stephenfinAye, there's nothing that's not Python 2 incompatible in those14:38
* stephenfin tests to be sure14:38
dhellmannI've asked my contact at DH to help me move the repo over, so I'll let you know when I have a response14:38
stephenfinSounds good to me14:38
*** lpetrut has quit IRC14:42
*** lpetrut has joined #openstack-oslo14:51
*** moguimar has quit IRC14:53
*** takedakn has quit IRC14:55
*** lpetrut has quit IRC14:59
*** spilla has quit IRC15:06
*** spilla has joined #openstack-oslo15:12
*** moguimar has joined #openstack-oslo15:14
openstackgerritMerged openstack/sphinx-feature-classification master: Update for Python 3 compatibility  https://review.openstack.org/57743515:33
*** rpittau has quit IRC15:35
*** pbourke has quit IRC15:41
*** pbourke has joined #openstack-oslo15:42
*** kgiusti has left #openstack-oslo15:44
bnemecI'm trying to add constraints to osprofiler, but it's failing with the dreaded "Could not satisfy constraints for 'osprofiler': installation from path or url cannot be constrained to a version"15:48
bnemecDoes anyone remember off hand how to fix that?15:48
bnemecI know at one point we were filtering the current project out of the list, but I thought we weren't supposed to do that anymore.15:48
dhellmannhow do we do it in the other libs?15:48
bnemecI dunno.  I'm looking at the oslo.config tox.ini and I don't see anything obvious.15:51
bnemecHuh.  The problem appears to be the .[oslo_config] dep in tox.ini.15:54
bnemecIf I remove that then the problem goes away.15:54
bnemecThat's weird.  I wonder why they split it out that way since there are other deps that pull in oslo.config anyway.15:56
bnemecIt's not like it's an optional dependency.15:56
*** r-mibu has quit IRC15:57
openstackgerritBen Nemec proposed openstack/osprofiler master: Start using upper-constraints in tox venvs  https://review.openstack.org/57746216:00
bnemecLet's see how ci likes that.16:01
*** tesseract has quit IRC16:02
*** pcaruana has quit IRC16:04
*** nicolasbock has quit IRC16:06
*** kgiusti has joined #openstack-oslo16:10
*** spilla has quit IRC16:12
*** spilla has joined #openstack-oslo16:13
*** bobh has joined #openstack-oslo16:22
*** bobh has quit IRC16:28
*** e0ne has quit IRC16:32
*** kgiusti has quit IRC16:36
openstackgerritBen Nemec proposed openstack/osprofiler master: Start using upper-constraints in tox venvs  https://review.openstack.org/57746216:41
*** e0ne has joined #openstack-oslo16:41
*** e0ne has quit IRC16:42
*** kgiusti has joined #openstack-oslo16:49
*** salv-orlando has joined #openstack-oslo17:10
*** salv-orlando has quit IRC17:14
*** yamamoto has quit IRC17:42
*** lpetrut has joined #openstack-oslo17:55
*** lpetrut has quit IRC18:00
*** salv-orlando has joined #openstack-oslo18:10
*** salv-orlando has quit IRC18:15
raildodhellmann, around? need some help with that cache stuff for the oslo.config driver18:22
dhellmannraildo : sure, what's up?18:25
raildodhellmann, so I'm trying to implement to store the external values during the get method here https://github.com/openstack/oslo.config/blob/master/oslo_config/cfg.py#L2940-L295218:27
raildodhellmann, the issue is that looks like we don't know the source for this values at this point18:27
dhellmannhmm18:28
raildodhellmann, so, I'm trying to figure out how to discover if the value come from the external source, so we can store in the new cache, or if it come from the ini value, so we can put in that cache18:28
dhellmannwhat is the value of loc when it comes back from the driver?18:28
raildodhellmann, hum, don't know, I didn't see any location been set over the driver creation18:30
*** e0ne has joined #openstack-oslo18:31
dhellmannoh, the driver is returning None as the location18:33
dhellmannwe're going to have to fix that to at least return a valid LocationInfo instance18:35
raildodhellmann, hum... got it, so we should create the LocationInfo and return it in the get method over the driver? https://review.openstack.org/#/c/562746/29/oslo_config/sources/ini.py (line 112)18:36
raildois that right?18:36
dhellmannyeah18:37
dhellmannoh, hang on18:37
dhellmannthis code is so messy18:37
dhellmannif the option is in the namespace object used by the driver that call on line 108 will return a tuple that includes a valid LocationInfo18:38
dhellmannline 112 is the case where the driver doesn't have the value, and None is ok there because the location is going to be ignored18:38
dhellmannso you'll always have a valid LocationInfo on line 2950, but you won't be able to tell from it whether the value came out of a driver or not18:38
dhellmannraildo : maybe using a separate cache is the wrong way to approach this18:39
raildodhellmann, yeah, that my felling at this point18:40
dhellmannunfortunately I have another meeting now, but I suggest spending some time thinking about how to deal with the mutability issue differently18:40
raildoI was thinking how bad would be to not cache values for external sources, at this point18:40
dhellmannin order to not cache them you have to know they came from external sources, too18:40
dhellmannso the real problem is that all values would be cached always18:40
dhellmannand then the cache is discarded when the option is mutated18:40
raildodhellmann, sure, no problem, we can talk about that later, or in the worst case, in the tuesday meeting18:40
dhellmannoh, maybe the second cache can be managed where we access the sources instead of in _do_get18:41
dhellmannsorry, *inside* _do_get instead of where we *call* _do_get18:41
dhellmannraildo : does that make sense?18:42
raildodhellmann, so, it would be one cache per driver? like we will be caching inside the driver?18:42
*** yamamoto has joined #openstack-oslo18:42
dhellmannyou don't need a separate cache, no. but at the point where you're calling the sources you know that the value is coming from a source18:42
dhellmannso you still only need 1 extra cache18:43
dhellmannnot one per driver18:43
dhellmanndown around line 3078 you'd check the cache before entering the loop18:43
dhellmannand then on line 3081 before returning the value you'd add it to the cache18:43
dhellmannI have to run :-(18:44
*** AlexeyAbashkin has quit IRC18:44
raildodhellmann, no worries, we talk about that later18:44
*** yamamoto has quit IRC18:48
*** salv-orlando has joined #openstack-oslo19:11
*** salv-orlando has quit IRC19:16
openstackgerritHervĂ© Beraud proposed openstack/oslo.db master: Rename enginefacade async method into asynchronous  https://review.openstack.org/57752519:32
openstackgerritHervĂ© Beraud proposed openstack/oslo.db master: Rename enginefacade async method into asynchronous  https://review.openstack.org/57732319:40
*** mago_ has quit IRC19:41
*** yamamoto has joined #openstack-oslo19:44
*** yamamoto has quit IRC19:48
*** mmethot has quit IRC19:55
*** salv-orlando has joined #openstack-oslo20:12
*** salv-orlando has quit IRC20:16
*** mmethot has joined #openstack-oslo20:27
*** spilla has quit IRC20:41
*** yamamoto has joined #openstack-oslo20:45
*** yamamoto has quit IRC20:49
*** raildo has quit IRC20:52
*** e0ne has quit IRC20:54
*** kgiusti has left #openstack-oslo20:57
*** AlexeyAbashkin has joined #openstack-oslo21:02
*** AlexeyAbashkin has quit IRC21:11
*** salv-orlando has joined #openstack-oslo21:13
*** salv-orlando has quit IRC21:17
*** yamamoto has joined #openstack-oslo21:46
*** yamamoto has quit IRC21:51
*** eck` is now known as eck`gone21:59
*** eck`gone is now known as eck`22:00
*** eck` is now known as eck`gone22:01
*** eck`gone is now known as eck`22:01
*** edmondsw has joined #openstack-oslo22:09
*** edmondsw has quit IRC22:13
*** salv-orlando has joined #openstack-oslo22:13
*** salv-orlando has quit IRC22:18
*** yamamoto has joined #openstack-oslo22:47
*** yamamoto has quit IRC22:53
*** salv-orlando has joined #openstack-oslo23:14
*** salv-orlando has quit IRC23:19
*** tosky has quit IRC23:41
*** yamamoto has joined #openstack-oslo23:49
*** yamamoto has quit IRC23:54
*** Guest30449 has quit IRC23:55

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