Monday, 2014-09-22

*** boden has quit IRC00:00
*** mriedem has left #openstack-oslo00:02
*** mriedem has quit IRC00:02
*** jecarey_ has joined #openstack-oslo00:27
*** jecarey has quit IRC00:29
*** harlowja_at_home has quit IRC00:54
*** boden has joined #openstack-oslo00:56
*** dims has joined #openstack-oslo00:59
*** boden has quit IRC01:01
*** yamahata has joined #openstack-oslo01:13
*** harlowja_at_home has joined #openstack-oslo01:26
*** dims has quit IRC01:26
*** sigmavirus24_awa is now known as sigmavirus2401:27
*** dims has joined #openstack-oslo01:30
*** dims_ has joined #openstack-oslo01:31
harlowja_at_homeif u guys get a few minutes free could u look over https://review.openstack.org/#/c/120168/ and https://review.openstack.org/#/c/122951/ (requirements related changes)01:32
harlowja_at_homethx much!01:32
*** dims has quit IRC01:35
*** sigmavirus24 is now known as sigmavirus24_awa01:40
*** dims_ has quit IRC01:40
*** dims has joined #openstack-oslo01:41
*** dims has quit IRC01:45
*** boden has joined #openstack-oslo01:57
*** boden has quit IRC02:02
*** amrith is now known as _amrith_02:16
*** _amrith_ is now known as amrith02:18
*** takedakn has joined #openstack-oslo02:19
*** harlowja_at_home has quit IRC02:21
*** amrith is now known as _amrith_02:36
*** boden has joined #openstack-oslo02:58
*** takedakn has quit IRC03:00
*** takedakn has joined #openstack-oslo03:00
*** takedakn has quit IRC03:02
*** _amrith_ is now known as amrith03:02
*** takedakn has joined #openstack-oslo03:02
*** boden has quit IRC03:03
*** takedakn has quit IRC03:07
*** shakamunyi has joined #openstack-oslo03:24
*** jaypipes has joined #openstack-oslo03:25
*** noelbk has quit IRC03:31
*** boden has joined #openstack-oslo03:59
*** shakamunyi has quit IRC04:00
*** boden has quit IRC04:03
*** sheeprine has quit IRC04:17
*** sheeprine has joined #openstack-oslo04:19
*** dims has joined #openstack-oslo04:41
*** dims has quit IRC04:46
*** boden has joined #openstack-oslo05:00
*** boden has quit IRC05:04
*** harlowja_at_home has joined #openstack-oslo05:05
*** noelbk has joined #openstack-oslo05:07
*** rpodolyaka1 has joined #openstack-oslo05:30
*** noelbk has quit IRC05:43
*** takedakn has joined #openstack-oslo05:48
*** boden has joined #openstack-oslo06:00
*** takedakn has quit IRC06:01
*** harlowja_at_home has quit IRC06:04
*** flaper87 has quit IRC06:05
*** flaper87 has joined #openstack-oslo06:05
*** boden has quit IRC06:05
*** rpodolyaka1 has quit IRC06:06
*** k4n0 has joined #openstack-oslo06:20
*** e0ne has joined #openstack-oslo06:28
*** e0ne has quit IRC06:30
*** e0ne has joined #openstack-oslo06:34
*** e0ne has quit IRC06:36
*** e0ne has joined #openstack-oslo06:40
*** e0ne has quit IRC06:43
*** vigneshvar has joined #openstack-oslo06:45
*** e0ne has joined #openstack-oslo06:47
*** e0ne has quit IRC06:49
*** andreykurilin_ has joined #openstack-oslo06:59
*** boden has joined #openstack-oslo07:01
*** boden has quit IRC07:06
*** ihrachyshka has joined #openstack-oslo07:19
*** e0ne has joined #openstack-oslo07:29
*** ihrachyshka_ has joined #openstack-oslo07:30
*** ihrachyshka has quit IRC07:33
*** e0ne has quit IRC07:38
*** e0ne has joined #openstack-oslo07:40
*** andreykurilin_ has quit IRC07:44
*** e0ne has quit IRC08:13
*** e0ne has joined #openstack-oslo08:16
*** boden has joined #openstack-oslo08:27
*** k4n0 has quit IRC08:33
*** pblaho has joined #openstack-oslo08:35
*** i159 has joined #openstack-oslo08:39
*** liusheng has joined #openstack-oslo08:48
*** k4n0 has joined #openstack-oslo08:51
*** sreshetnyak has joined #openstack-oslo09:23
*** ihrachyshka_ has quit IRC09:23
*** ozamiatin has quit IRC09:23
*** e0ne has quit IRC09:24
*** e0ne has joined #openstack-oslo09:26
*** k4n0 has quit IRC09:44
*** pblaho has quit IRC09:48
*** pblaho has joined #openstack-oslo09:49
*** pcm_ has joined #openstack-oslo10:13
*** pcm_ has quit IRC10:15
*** pcm_ has joined #openstack-oslo10:15
*** ihrachyshka has joined #openstack-oslo10:20
*** k4n0 has joined #openstack-oslo10:29
*** yamahata has quit IRC10:37
*** e0ne has quit IRC10:43
*** amrith is now known as _amrith_10:54
*** dims has joined #openstack-oslo10:59
*** shakamunyi has joined #openstack-oslo11:17
*** shakamunyi has quit IRC11:20
*** zz_jgrimm is now known as jgrimm11:33
*** e0ne has joined #openstack-oslo11:42
*** tedross has joined #openstack-oslo11:48
*** e0ne has quit IRC11:50
*** e0ne has joined #openstack-oslo11:58
*** kgiusti has joined #openstack-oslo12:01
*** openstackgerrit has joined #openstack-oslo12:14
*** boden has quit IRC12:30
*** boden has joined #openstack-oslo12:30
*** jeckersb_gone is now known as jeckersb12:32
*** dims has quit IRC12:38
*** dims has joined #openstack-oslo12:38
*** liusheng has quit IRC12:39
*** gordc has joined #openstack-oslo12:39
openstackgerritAndrey Pavlov proposed a change to openstack/oslo.messaging: Declare queue in publisher also.  https://review.openstack.org/12311512:51
*** vigneshvar has quit IRC12:54
*** tedross has quit IRC12:56
openstackgerritAndrey Pavlov proposed a change to openstack/oslo.messaging: Declare queue in publisher also.  https://review.openstack.org/12311512:57
*** miqui has joined #openstack-oslo13:00
openstackgerritDavanum Srinivas (dims) proposed a change to openstack/oslo-incubator: Delete graduated db files  https://review.openstack.org/12280813:02
*** tedross has joined #openstack-oslo13:11
*** bknudson has quit IRC13:21
*** mriedem has joined #openstack-oslo13:24
*** jeckersb is now known as jeckersb_gone13:29
*** yassine has joined #openstack-oslo13:31
openstackgerritJeremy Stanley proposed a change to openstack/oslotest: Work toward Python 3.4 support and testing  https://review.openstack.org/11879613:31
*** yassine has quit IRC13:36
*** jeckersb_gone is now known as jeckersb13:40
openstackgerritA change was merged to openstack/oslo.concurrency: Imported Translations from Transifex  https://review.openstack.org/12305113:42
*** zzzeek has joined #openstack-oslo13:42
*** pblaho has quit IRC13:42
*** yassine has joined #openstack-oslo13:50
*** sigmavirus24_awa is now known as sigmavirus2413:53
*** jaosorior has joined #openstack-oslo13:54
*** bknudson has joined #openstack-oslo13:56
dimsdhellmann: splitting out openstack.common.report looks to me like a low hanging fruit14:03
openstackgerritAndreas Jaeger proposed a change to openstack/oslo.db: Update help string to use database  https://review.openstack.org/12020414:07
*** mtanino has joined #openstack-oslo14:17
*** k4n0 has quit IRC14:19
*** yamahata has joined #openstack-oslo14:23
*** jecarey_ has quit IRC14:24
*** cfriesen_ has quit IRC14:26
*** cfriesen_ has joined #openstack-oslo14:26
*** Kiall has quit IRC14:39
*** Kiall has joined #openstack-oslo14:43
*** rpodolyaka1 has joined #openstack-oslo14:44
dhellmanndims: I think I agree, although I'm not sure how stable it is. Maybe iteration would be easier outside of the incubator, though.14:46
*** tsekiyama has joined #openstack-oslo14:53
*** jecarey has joined #openstack-oslo14:54
dimsdhellmann: only nova is using it at this point from what i can tell15:01
dimsdhellmann: shared a spreadsheet with some notes as a first pass15:02
dhellmanndims: looking now15:03
dimsAnyone else wants to look, plz let me know your gmail address. (trying to help doug with next set of oslo libs)15:04
dhellmanndims: don't forget https://wiki.openstack.org/wiki/Oslo/GraduationStatus and https://wiki.openstack.org/wiki/Oslo/Dependencies15:05
dhellmannsome of the analysis we did during icehouse is probably still relevant, though worth revisiting15:05
dimsdhellmann: ack will revisit those15:06
openstackgerritDoug Hellmann proposed a change to openstack/oslo.config: do not use colons in section titles  https://review.openstack.org/12315415:13
dhellmanndims: maybe you can make a new column for what we thought we'd do originally, to make it easier to compare?15:17
*** tedross has quit IRC15:20
*** kragniz has quit IRC15:24
*** ihrachyshka has quit IRC15:24
*** rpodolyaka1 has quit IRC15:31
dimsdhellmann: ack15:33
*** kragniz has joined #openstack-oslo15:35
*** rpodolyaka1 has joined #openstack-oslo15:38
*** tedross has joined #openstack-oslo15:38
*** rpodolyaka1 has quit IRC15:43
dhellmanndims: and thank you for starting to look at this; it'll be another few days before I think I could have started it15:45
openstackgerritAndrey Pavlov proposed a change to openstack/oslo.messaging: Declare queue in publisher also  https://review.openstack.org/12311515:57
*** AAzza is now known as AAzza_afk15:58
*** rpodolyaka1 has joined #openstack-oslo15:59
*** rpodolyaka1 has quit IRC16:00
dimsdhellmann: yw! i have a new column now. will try to figure out cross dependencies later today16:01
*** rpodolyaka1 has joined #openstack-oslo16:02
*** i159 has quit IRC16:09
*** AAzza_afk is now known as AAzza16:15
*** e0ne has quit IRC16:17
*** noelbk has joined #openstack-oslo16:19
dhellmanndims: this may be useful: https://github.com/dhellmann/oslo-dependencies16:19
openstackgerritJoshua Harlow proposed a change to openstack/taskflow: Fix multilock concurrency when shared by > 1 threads  https://review.openstack.org/12288716:22
*** yassine has quit IRC16:28
*** yassine has joined #openstack-oslo16:32
*** takedakn has joined #openstack-oslo16:52
*** takedakn1 has joined #openstack-oslo16:54
*** takedakn has quit IRC16:56
*** sigmavirus24 is now known as sigmavirus24_awa17:04
*** yamahata has quit IRC17:08
*** e0ne has joined #openstack-oslo17:11
*** _amrith_ is now known as amrith17:14
*** rpodolyaka1 has quit IRC17:15
*** harlowja_away is now known as harlowja17:21
*** rpodolyaka1 has joined #openstack-oslo17:24
*** andreykurilin has quit IRC17:27
*** rpodolyaka1 has quit IRC17:29
*** rpodolyaka1 has joined #openstack-oslo17:30
*** praneshp has joined #openstack-oslo17:32
*** rpodolyaka1 has quit IRC17:43
*** rpodolyaka1 has joined #openstack-oslo17:45
*** sigmavirus24_awa is now known as sigmavirus2418:00
*** harlowja has quit IRC18:05
*** harlowja_ has joined #openstack-oslo18:05
openstackgerritJoshua Harlow proposed a change to openstack/taskflow: Fix multilock concurrency when shared by > 1 threads  https://review.openstack.org/12288718:08
openstackgerritJoshua Harlow proposed a change to openstack/taskflow: Fix multilock concurrency when shared by > 1 threads  https://review.openstack.org/12288718:15
harlowja_dhellmann do u mind checking out https://review.openstack.org/#/c/122951/ ; apparently the updates bot isn't adjusting requirements-py2 files yet18:22
harlowja_will be fixed once https://review.openstack.org/#/c/122953/ is merged18:22
mriedemoslo.i18n usage question!18:31
mriedemif i have an exception with this: msg_fmt = _("No valid host was found. %(reason)s")18:31
mriedemcan I construct that as: raise exception.NoValidHost(reason=_('my reason'))?18:31
mriedemjecarey: ^?18:31
*** e0ne has quit IRC18:35
*** e0ne has joined #openstack-oslo18:35
jecareymriedem, That should work.   NovaException will apply the keyword 'reason' to the message in the constructor.  If lazy is enabled it will delay translation of it as well.18:36
mriedemso we'd essentially have this: _("No valid host was found. %(reason)s") % {'reason': _('my reason')}18:36
mriedemand that's OK?18:36
jecareyYes.  It should be.18:38
jecareyAre you hitting a problem?18:38
mriedemjecarey: no, writing a patch and this stuff always trips me up18:38
mriedemi checked http://docs.openstack.org/developer/oslo.i18n/guidelines.html first18:39
mriedemmight be a good example to add18:39
jecareymriedem, that's a good suggestion.  I'll follow up on that.18:40
*** rpodolyaka1 has quit IRC18:46
*** rpodolyaka1 has joined #openstack-oslo18:53
*** openstack has joined #openstack-oslo18:55
openstackgerritJoshua Harlow proposed a change to openstack/oslo.db: Use six.wraps instead of functools.wraps  https://review.openstack.org/12196818:59
*** takedakn has joined #openstack-oslo19:03
*** takedakn1 has quit IRC19:03
openstackgerritMichael Bayer proposed a change to openstack/oslo-specs: Add long-lived-transactionalized-db-fixtures  https://review.openstack.org/11733519:06
openstackgerritJoshua Harlow proposed a change to openstack/oslo.db: Start adding a environment for py34/py33  https://review.openstack.org/11996819:08
*** takedakn has quit IRC19:09
openstackgerritMichael Bayer proposed a change to openstack/oslo-specs: Add long-lived-transactionalized-db-fixtures  https://review.openstack.org/11733519:10
*** takedakn has joined #openstack-oslo19:10
openstackgerritJoshua Harlow proposed a change to openstack/oslo.db: Create a nested helper function that will work on py3.x  https://review.openstack.org/12019519:10
openstackgerritArnaud Legendre proposed a change to openstack/oslo.vmware: getText can be called only when doc is not None  https://review.openstack.org/12322419:13
dimsdhellmann: so graph does not look that bad, still peeling the onion - http://bit.ly/1wGIRKO19:25
*** hartsocks has left #openstack-oslo19:29
mtreinishI had a quick question about using oslo.db. I have this review: https://review.openstack.org/#/c/118419/ which adds session params to a global db api19:33
mtreinishbut I got a -1 review saying that using a session on a global method will cause issues on dropped connections19:33
mtreinishso I was curious what the recommended usage pattern was here instead, because I was just basing this off some examples I saw in other projects19:33
*** AAzza is now known as AAzza_afk19:35
*** tflower has joined #openstack-oslo19:38
*** vigneshvar has joined #openstack-oslo19:41
*** AAzza_afk is now known as AAzza19:54
*** shakamunyi has joined #openstack-oslo19:57
*** tsekiyama has quit IRC19:57
*** tsekiyam_ has joined #openstack-oslo19:57
*** praneshp has quit IRC20:01
dhellmannharlowja_: +2a20:03
*** praneshp has joined #openstack-oslo20:03
harlowja_dhellmann thx20:04
harlowja_be nice to get https://review.openstack.org/#/c/122953/ in also, so that doesn't happen again20:04
dhellmannmriedem: I'm not sure I understand your example.20:04
dhellmannoh, the reason is translatable, too?20:04
mriedemdhellmann: yes, https://review.openstack.org/#/c/123236/20:05
*** kgiusti has quit IRC20:05
mriedemdhellmann: i wanted to make sure that didn't explode somehow, like with lazy translation20:05
dhellmanndims: that graph still includes things we'll be deleting, so that should help clean it up even further20:05
mriedemb/c, voodoo20:05
dhellmannmriedem: ok, as long as the reason itself is static it should be ok20:06
mriedemdhellmann: alright20:06
jecareydhellmann, why would it have to be static?20:06
mriedemwell the message is static, the vars in one version of it aren't20:06
mriedembut i use named parameters for those20:06
dhellmannharlowja_: gratuitous use of for loop ignored and +2a :-)20:07
harlowja_lol20:07
harlowja_:-P20:07
dhellmannjecarey: because if the reason text is coming from a variable, we can't extract it to put it into the message catalog to have it translated20:07
*** amrith is now known as _amrith_20:07
mriedemdhellmann: do you see any problem with my change above?20:08
dhellmannmriedem: looking20:08
dhellmannmriedem: that should be fine -- you have literal strings inside the _() so the extraction code can find them20:08
mriedemok, cool20:09
jecareydhellmann, got it.  Thanks.20:09
*** e0ne has quit IRC20:09
*** boden has quit IRC20:11
*** marun has joined #openstack-oslo20:15
marunHi!  Is there anyone here to talk to me about migration testing in the gate using oslo.db?20:16
dimsdhellmann: yep20:16
dhellmannmarun: you probably want zzzeek, viktors, or rpodolyaka20:18
marundhellmann: ok, danke20:18
*** bjornar_ has joined #openstack-oslo20:20
*** jaosorior has quit IRC20:22
marunzzzeek, viktors, rpodolyaka: Regarding a Neutron patch that proposes to test migrations: https://review.openstack.org/#/c/76520/20:26
marunI understand that the openstack_citest credentials are used to target mysql or pg, and that this is configured on unittest nodes.20:29
*** mriedem has left #openstack-oslo20:29
*** mriedem has quit IRC20:29
marunI have some concerns around putting this kind of testing in our unittest suite, since it requires skips on missing dependencies that we are actively trying to avoid via our functional job.20:30
marunI'd be interested in discussing how other projects are doing this kind of testing and whether the way we want to do things in Neutron is a good thing or not.20:32
*** miqui has quit IRC20:34
*** tedross has quit IRC20:47
*** vigneshvar has quit IRC20:56
*** praneshp has quit IRC20:59
*** pcm_ has quit IRC21:00
*** praneshp has joined #openstack-oslo21:08
*** boden has joined #openstack-oslo21:12
*** andreykurilin has joined #openstack-oslo21:12
*** flaper87 is now known as flaper87|afk21:13
*** _amrith_ is now known as amrith21:16
*** boden has quit IRC21:16
*** jeckersb is now known as jeckersb_gone21:18
*** bjornar_ has quit IRC21:19
openstackgerritJoshua Harlow proposed a change to openstack/oslo.db: Start adding a environment for py34/py33  https://review.openstack.org/11996821:19
*** AAzza has left #openstack-oslo21:25
*** tflower has quit IRC21:28
zzzeekviktors: yeah that patch is old stuff :)21:37
zzzeekviktors: we’re trying to fix it downstream21:37
openstackgerritJoshua Harlow proposed a change to openstack/taskflow: Fix multilock concurrency when shared by > 1 threads  https://review.openstack.org/12288721:37
*** harlowja_ has quit IRC21:49
*** harlowja has joined #openstack-oslo21:49
openstackgerritA change was merged to openstack-dev/hacking: Update H501 to check for self.__dict__  https://review.openstack.org/11946021:52
openstackgerritA change was merged to openstack/oslo-incubator: Fix typo to show correct log message  https://review.openstack.org/12237721:55
*** dims_ has joined #openstack-oslo21:56
openstackgerritJoshua Harlow proposed a change to openstack/pylockfile: Prototype a addition that moves the lock_utils code over  https://review.openstack.org/12325721:58
*** dims_ has quit IRC21:58
*** dims_ has joined #openstack-oslo21:58
*** rpodolyaka1 has quit IRC21:59
openstackgerritJoshua Harlow proposed a change to openstack/pylockfile: Prototype a addition that moves the lock_utils code over  https://review.openstack.org/12325721:59
*** dims has quit IRC21:59
*** rpodolyaka1 has joined #openstack-oslo22:03
harlowjalet me know what u guys think of ^ jd__ dhellmann dims_22:05
harlowjai couldn't think of a better name vs 'autolockfile', ha22:05
*** boden has joined #openstack-oslo22:13
*** sigmavirus24 is now known as sigmavirus24_awa22:13
*** andreykurilin has quit IRC22:17
*** boden has quit IRC22:17
dims_harlowja: isn't lockfile.LockBase the base class? i can't seem to find _SharedBase in http://git.openstack.org/cgit/openstack/pylockfile/tree/lockfile/__init__.py22:24
harlowjalook at the dependent on that review ;)22:26
harlowjahttps://review.openstack.org/#/c/122253/122:26
dims_Duh!22:26
harlowjaLockBase api doesn't quite make sense for us afaik22:26
harlowjacan adjust as we see fit though22:27
harlowja'def i_am_locking(self):' seems odd22:27
harlowjawhich is on the prior base22:27
dims_harlowja: so this class won't implement the 5 user-visible methods as mentioned in the docs...22:27
harlowjaor we work on implementing them, or mention they aren't implemented?22:28
dims_harlowja: at least throw not implemented exceptions?22:29
* dims_ looking if you have done this already ;)22:29
harlowjahaven't yet, ha22:29
harlowjai'm not sure though if we really should implement those apis22:29
harlowja'def i_am_locking(self):' is the odd one there22:30
harlowjaout of def break_lock(self):22:30
harlowjaand def is_locked(self):22:30
harlowjaalthough is_locked is odd also22:30
harlowjahow do we tell if the file is locked without locking it ourselves ?22:30
harlowja*the file handle that is22:30
dims_harlowja: if people are expecting to use those they should see errors i think since the docs talk about the family of impls22:30
dims_regarding the name..."Auto" we are locking bytes or ranges of bytes, looking at names already there...we could do "ByteRangeLockFile" or something like that22:32
harlowjasounds better than auto, ha22:32
dims_:)22:33
* dims_ staring at msvcrt and fnctl...22:34
harlowjaso how about that windows :-P22:34
*** jgrimm is now known as zz_jgrimm22:35
dims_still drags us down even if we never use it :)22:35
dims_brb22:35
*** gordc has quit IRC22:35
openstackgerritJoshua Harlow proposed a change to openstack/pylockfile: Prototype a addition that moves the lock_utils code over  https://review.openstack.org/12325722:37
openstackgerritJoshua Harlow proposed a change to openstack/pylockfile: Prototype a addition that moves the lock_utils code over  https://review.openstack.org/12325722:38
*** jaypipes has quit IRC22:41
*** jecarey has quit IRC22:41
*** marun has quit IRC22:46
*** marun has joined #openstack-oslo22:48
openstackgerritJoshua Harlow proposed a change to openstack/oslo.db: Start adding a environment for py34/py33  https://review.openstack.org/11996822:50
*** bknudson has quit IRC23:02
openstackgerritJoshua Harlow proposed a change to openstack/pylockfile: Prototype a addition that moves the lock_utils code over  https://review.openstack.org/12325723:04
*** boden has joined #openstack-oslo23:13
*** boden has quit IRC23:18
*** yamahata has joined #openstack-oslo23:34
openstackgerritJoshua Harlow proposed a change to openstack/taskflow: Add a futures type that can unify our future functionality  https://review.openstack.org/11648923:45
harlowjawhat do people think of https://review.openstack.org/#/c/70914/ for getting off eventlet?23:53
harlowjawith the executor impl there, could just remove the impl_eventlet23:54
harlowjasince when eventlet monkey patches the threading module they should act the same23:54
harlowjathat moves oslo.messaging pretty close to py3 compat23:54
harlowja*close/closer :-P23:54
harlowjaalthough i guess impl_zmq.py has some eventlet usage directly in it23:57

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