Thursday, 2014-09-11

*** tsekiyama has quit IRC00:07
*** mtanino has quit IRC00:11
openstackgerritOpenStack Proposal Bot proposed a change to openstack-dev/hacking: Updated from global requirements  https://review.openstack.org/12062800:24
openstackgerritJoshua Harlow proposed a change to openstack/taskflow: Switch to using oslo.utils and oslo.serialization  https://review.openstack.org/12063000:24
openstackgerritOpenStack Proposal Bot proposed a change to openstack/cliff: Updated from global requirements  https://review.openstack.org/12063100:24
*** harlowja_ has quit IRC00:25
*** harlowja has joined #openstack-oslo00:28
openstackgerritOpenStack Proposal Bot proposed a change to openstack/oslo-incubator: Updated from global requirements  https://review.openstack.org/11981500:30
openstackgerritOpenStack Proposal Bot proposed a change to openstack/oslo.config: Updated from global requirements  https://review.openstack.org/11999100:30
openstackgerritOpenStack Proposal Bot proposed a change to openstack/oslo.i18n: Updated from global requirements  https://review.openstack.org/11999200:30
openstackgerritOpenStack Proposal Bot proposed a change to openstack/oslo.rootwrap: Updated from global requirements  https://review.openstack.org/12064600:30
openstackgerritOpenStack Proposal Bot proposed a change to openstack/oslo.serialization: Updated from global requirements  https://review.openstack.org/11914500:30
openstackgerritOpenStack Proposal Bot proposed a change to openstack/oslo.utils: Updated from global requirements  https://review.openstack.org/11999300:30
openstackgerritOpenStack Proposal Bot proposed a change to openstack/oslo.version: Updated from global requirements  https://review.openstack.org/12064700:30
openstackgerritOpenStack Proposal Bot proposed a change to openstack/oslosphinx: Updated from global requirements  https://review.openstack.org/12064800:30
openstackgerritOpenStack Proposal Bot proposed a change to openstack/pycadf: Updated from global requirements  https://review.openstack.org/12064900:30
openstackgerritClark Boylan proposed a change to openstack/oslo.rootwrap: Handle py34 logging module  https://review.openstack.org/12022800:41
*** noelbk has quit IRC00:48
*** yamahata has joined #openstack-oslo00:51
*** zarric has quit IRC00:56
*** takedakn has quit IRC00:58
*** takedakn has joined #openstack-oslo00:58
*** dims_ has joined #openstack-oslo01:32
*** oomichi has joined #openstack-oslo01:37
*** jaypipes has quit IRC01:58
*** alexpilotti has quit IRC02:01
*** markmcclain has quit IRC02:05
*** amotoki_ has joined #openstack-oslo02:10
*** amotoki_ is now known as amotoki02:11
*** markmcclain has joined #openstack-oslo02:26
*** takedakn has quit IRC02:26
*** sileht has quit IRC02:46
*** praneshp has quit IRC02:48
*** dims_ has quit IRC02:49
*** dims_ has joined #openstack-oslo02:49
*** dims_ has quit IRC02:54
*** arnaud has quit IRC03:01
*** noelbk has joined #openstack-oslo03:18
*** krotscheck has quit IRC03:44
*** krotscheck has joined #openstack-oslo03:47
*** takedakn has joined #openstack-oslo03:53
*** praneshp has joined #openstack-oslo03:54
*** praneshp_ has joined #openstack-oslo03:57
*** praneshp has quit IRC03:58
*** praneshp_ is now known as praneshp03:58
*** harlowja is now known as harlowja_away04:05
*** noelbk has quit IRC04:07
*** noelbk has joined #openstack-oslo04:24
openstackgerritA change was merged to openstack/cliff: Add docs environment to tox.ini  https://review.openstack.org/11991204:29
*** markmcclain has quit IRC04:34
*** harlowja_at_home has joined #openstack-oslo04:39
*** HenryG is now known as HenryG_zzzz04:40
*** yamahata has quit IRC04:46
*** yamahata has joined #openstack-oslo04:47
openstackgerritJoshua Harlow proposed a change to openstack/oslo.db: Start adding a environment for py34/py33  https://review.openstack.org/11996804:48
*** noelbk has quit IRC04:54
*** jaypipes has joined #openstack-oslo04:54
openstackgerritJoshua Harlow proposed a change to openstack/oslo.db: Create a nested helper function that will work on py3.x  https://review.openstack.org/12019504:56
openstackgerritJoshua Harlow proposed a change to openstack/oslo.db: Fix more invalid encoding and scoping issues  https://review.openstack.org/12019804:56
openstackgerritSteve Martinelli proposed a change to openstack/oslotest: Add an extra parameter for test directory in debugger script  https://review.openstack.org/12031604:57
*** inteq has joined #openstack-oslo05:05
openstackgerritA change was merged to openstack/oslo.db: Use single quotes for db schema sanity check  https://review.openstack.org/11893505:26
*** jaosorior has joined #openstack-oslo05:46
*** praneshp has quit IRC05:54
*** flaper87|afk is now known as flaper8705:58
*** oomichi_ has joined #openstack-oslo06:03
*** oomichi has quit IRC06:05
openstackgerritOpenStack Proposal Bot proposed a change to openstack/oslo.db: Imported Translations from Transifex  https://review.openstack.org/11853906:05
openstackgerritOpenStack Proposal Bot proposed a change to openstack/oslo.concurrency: Imported Translations from Transifex  https://review.openstack.org/12069806:10
openstackgerritOpenStack Proposal Bot proposed a change to openstack/oslo.messaging: Imported Translations from Transifex  https://review.openstack.org/12070006:12
*** takedakn has quit IRC06:13
*** inteq has quit IRC06:26
*** k4n0 has joined #openstack-oslo06:34
r1chardj0n3sanyone here?06:44
lifelessnope06:48
r1chardj0n3sthanks ;)06:49
*** harlowja_at_home has quit IRC06:56
*** sileht has joined #openstack-oslo07:03
*** ildikov has joined #openstack-oslo07:09
*** dtantsur|afk is now known as dtantsur07:12
openstackgerritZang MingJie proposed a change to openstack/oslo-incubator: Mask secrets when output conf  https://review.openstack.org/12006807:17
lifelessr1chardj0n3s: anything in particular you wanted to discuss ? :)07:17
r1chardj0n3sthe thing I just posted to openstack-dev :)07:17
r1chardj0n3sbut I'm signing off for the night, so conversation will have to wait until tomorrow :)07:18
*** r1chardj0n3s is now known as r1chardj0n3s_afk07:18
*** sileht has quit IRC07:29
*** sileht has joined #openstack-oslo07:29
*** oomichi_ has quit IRC07:45
*** AAzza_afk is now known as AAzza07:51
*** andreykurilin has joined #openstack-oslo07:56
*** stannie has joined #openstack-oslo08:05
*** yassine has joined #openstack-oslo08:12
*** ihrachyshka has joined #openstack-oslo08:13
andreykurilinjd__, ihrachyshka: hi!08:20
ihrachyshkaandreykurilin: hey!08:21
andreykurilinihrachyshka, how are you?08:22
ihrachyshkaandreykurilin: fine, thanks. can I help you somehow?08:22
andreykurilinihrachyshka, yes, you can:)08:23
ihrachyshkatell me!08:23
andreykurilinihrachyshka, i working on porting novaclient to use oslo.serialization and have one problem - https://bugs.launchpad.net/oslo.serialization/+bug/136674808:23
andreykurilinihrachyshka, oslo.serialization is missed from global-requirements in stable branches08:24
ihrachyshkaI see. I hate that we pull all the master deps of clients to stable branches, but since it's the way it is now... looking08:24
ihrachyshkaandreykurilin: I think you need to cherry-pick Iff29ce2e88cddc2332229cfbbc518251dd2c76f3 instead08:27
ihrachyshkaretaining the same Change-Id08:27
andreykurilinihrachyshka, ok, i will fix it now08:28
ihrachyshkaok, thanks08:28
*** pblaho has joined #openstack-oslo08:29
andreykurilinihrachyshka, i need to submit new patch or changing commit message will be enought?08:30
ihrachyshkaandreykurilin: you will need new reviews08:31
andreykuriliniharchyska, I know it:)08:32
openstackgerritJulien Danjou proposed a change to openstack/oslosphinx: Remove empty file  https://review.openstack.org/12071708:38
ihrachyshkaandreykurilin: just send me the links when done :)08:38
andreykuriliniharchyska, thanks!08:39
andreykuriliniharchyska, stable/icehouse: https://review.openstack.org/#/c/120718/08:39
andreykuriliniharchyska, stable/havana: https://review.openstack.org/#/c/120719/08:42
*** sunrenjie6 has joined #openstack-oslo08:46
*** oomichi has joined #openstack-oslo08:52
*** viktors|afk is now known as viktors08:53
*** andreykurilin has quit IRC08:55
*** dtantsur is now known as dtantsur|afk09:07
*** andreykurilin has joined #openstack-oslo09:08
*** oomichi has quit IRC09:10
openstackgerritzhangjl proposed a change to openstack/oslo.messaging: Message was send to wrong node with use zmq as rpc_backend  https://review.openstack.org/8493809:22
*** ajo has quit IRC09:25
*** ajo has joined #openstack-oslo09:26
ihrachyshkaandreykurilin: great. please check my comments.09:32
andreykurilinihrachyshka: done09:34
*** sunrenjie6 has quit IRC09:35
ihrachyshkaandreykurilin: yeah, but still, no -x used, no Conflicts: section (though conflicts obviously occurred...)09:40
andreykurilinihrachyshka: one moment09:41
ihrachyshkaandreykurilin: I feel like being pain in the ass, maybe I should just approve and be done with it. but - silly me - I still dream about time when people stick to those simple backport rules.09:42
andreykurilinihrachyshka, i agree with you and will fix fully your comment:)09:43
ihrachyshkaok, thanks09:43
*** dims_ has joined #openstack-oslo09:51
andreykurilinihrachyshka, fixed09:51
ihrachyshkaandreykurilin: good job now! :)09:55
andreykurilinihrachyshka, thanks!09:58
*** dims_ has quit IRC10:00
*** dims_ has joined #openstack-oslo10:01
andreykurilinihrachyshka, one more question:)10:06
*** dims_ has quit IRC10:06
andreykurilinihrachyshka, do I need add a link to bug in commit message or adding information about "why this backport is needed" will be enought?10:07
*** d0ugal has quit IRC10:08
*** d0ugal has joined #openstack-oslo10:08
ihrachyshkaandreykurilin: that would help, yes. it's better to be explicit.10:08
ihrachyshkaotherwise you're doomed to explain it to each new reviewer :D10:08
andreykurilinihrachyshka, thanks for an advice. please, review my patches again:)10:14
*** yamahata has quit IRC10:31
*** pcm_ has joined #openstack-oslo10:35
*** pblaho is now known as pblaho|afk10:36
*** pcm_ has quit IRC10:37
*** pcm_ has joined #openstack-oslo10:37
*** markmc has joined #openstack-oslo10:43
andreykurilinmarkmc, hi!11:05
openstackgerritJames Page proposed a change to openstack/oslo.messaging: Construct ZmqListener with correct arguments  https://review.openstack.org/12074511:14
*** dims_ has joined #openstack-oslo11:17
openstackgerritAnn Kamyshnikova proposed a change to openstack/oslo.db: ModelsMigrationsSync:add correct server_default check for Enum  https://review.openstack.org/12074611:21
*** pblaho|afk is now known as pblaho11:24
*** dtantsur|afk is now known as dtantsur11:26
*** dims_ has quit IRC11:30
*** dims_ has joined #openstack-oslo11:31
*** tedross has joined #openstack-oslo11:33
*** dims__ has joined #openstack-oslo11:34
*** dims_ has quit IRC11:35
*** pblaho is now known as pblaho|afk11:51
*** kgiusti has joined #openstack-oslo12:08
*** markmcclain has joined #openstack-oslo12:09
*** zz_jgrimm is now known as jgrimm12:20
openstackgerritRadoslav Gerganov proposed a change to openstack/oslo.vmware: Add 'details' property to VMwareDriverException  https://review.openstack.org/12076812:21
openstackgerritRadoslav Gerganov proposed a change to openstack/oslo.vmware: Add DuplicateName exception  https://review.openstack.org/12076912:21
*** amrith is now known as _amrith_12:28
*** pblaho|afk is now known as pblaho12:32
*** gordc has joined #openstack-oslo12:42
*** dims__ has quit IRC12:49
*** dims_ has joined #openstack-oslo12:50
*** dims_ is now known as dims12:51
*** HenryG_zzzz is now known as HenryG12:55
openstackgerritDavanum Srinivas (dims) proposed a change to openstack/oslo.vmware: VMware: Enable vCenter SSL certificate validation  https://review.openstack.org/12018312:55
openstackgerritA change was merged to openstack/oslo.utils: warn against sorting requirements  https://review.openstack.org/11872813:02
openstackgerritA change was merged to openstack/oslo.utils: Work toward Python 3.4 support and testing  https://review.openstack.org/11879413:02
openstackgerritA change was merged to openstack/oslo.utils: Add the ability to extract the query params from a urlsplit  https://review.openstack.org/11888113:02
openstackgerritA change was merged to openstack/oslo.concurrency: Updated from global requirements  https://review.openstack.org/12032913:02
*** jgrimm is now known as zz_jgrimm13:03
openstackgerritDavanum Srinivas (dims) proposed a change to openstack/oslo.vmware: VMware: Enable vCenter SSL certificate validation  https://review.openstack.org/12018313:14
*** mriedem has joined #openstack-oslo13:24
dimsbnemec: do we really need the WeakValueDictionary?13:26
*** ihrachyshka has quit IRC13:32
*** jecarey has joined #openstack-oslo13:32
*** pblaho has quit IRC13:35
*** yassine has quit IRC13:40
*** bknudson has joined #openstack-oslo13:46
*** _amrith_ is now known as amrith13:49
*** yassine has joined #openstack-oslo13:55
*** markmcclain has quit IRC13:58
*** arnaud has joined #openstack-oslo14:00
*** tongli has joined #openstack-oslo14:08
*** andreykurilin has quit IRC14:08
*** andreykurilin_ has joined #openstack-oslo14:08
*** zz_jgrimm is now known as jgrimm14:15
*** ihrachyshka has joined #openstack-oslo14:20
*** amotoki has quit IRC14:21
*** yamahata has joined #openstack-oslo14:23
bnemecdims: I don't know that we need it, but if we don't use it we have to clean up all of the semaphores ourselves after we're done with them.14:23
bnemecAlthough...I wonder if there's some danger there.  We lock the _semaphores structure when we create sems, but there's no way to control their destruction.14:25
gordcdhellmann: sorry for being mia last few days... was travelling.14:30
gordcdhellmann: do you think it's safe to cut a release for oslo.middleware after the requirements patch merges...  (whenever that is.)14:31
*** tsekiyama has joined #openstack-oslo14:39
*** arnaud has quit IRC14:40
*** mtanino has joined #openstack-oslo14:46
*** markmcclain has joined #openstack-oslo14:47
*** markmcclain1 has joined #openstack-oslo14:49
*** markmcclain1 has quit IRC14:49
*** markmcclain1 has joined #openstack-oslo14:50
*** markmcclain has quit IRC14:52
*** k4n0 has quit IRC15:01
openstackgerritA change was merged to openstack/oslo.rootwrap: warn against sorting requirements  https://review.openstack.org/11872615:03
andreykurilin_markmcclain1, hi!15:08
*** andreykurilin_ is now known as andreykurilin15:08
openstackgerritA change was merged to openstack/oslo.rootwrap: Fix the bug tracker URL in CONTRIBUTING.rst  https://review.openstack.org/11987115:09
openstackgerritA change was merged to openstack/oslo.config: warn against sorting requirements  https://review.openstack.org/11871715:09
markmcclain1andreykurilin: are you looking for me or markmc?15:10
andreykurilinmarkmcclain1, i'm looking for core of openstack/requirements, which can help me with oslo.serialization:)15:11
*** AAzza is now known as AAzza_afk15:11
markmcclain1andreykurilin: ah .. then I can help.. what's up?15:12
andreykurilinmarkmcclain1, nice! i'm working on porting novaclient to use oslo.serialization, but i found one problem - https://bugs.launchpad.net/oslo.serialization/+bug/136674815:14
*** yamahata has quit IRC15:15
andreykurilinmarkmcclain1, I have 2 patches in openstack/requirements and I have already +2 for it, but I need more reviewers.15:16
markmcclain1andreykurilin: +2/A… now we just have to wait for the gate to catch up15:16
andreykurilinmarkmcclain1, great! thank you.15:17
markmcclain1andreykurilin: you're welcome15:17
*** zzzeek has joined #openstack-oslo15:20
*** markmcclain1 has quit IRC15:20
*** markmcclain has joined #openstack-oslo15:20
openstackgerritA change was merged to openstack/oslo.rootwrap: Add a short doc to README on how to use daemon mode  https://review.openstack.org/12010015:23
*** jgrimm is now known as zz_jgrimm15:37
*** harlowja_at_home has joined #openstack-oslo15:39
ihrachyshkadhellmann: hey!15:47
*** zz_jgrimm is now known as jgrimm15:48
ihrachyshkadhellmann: now that sqlalchemy-migrate pieces are approved and about to be merged in next hours, I wonder whom to reach to release pypi package with the fixes. stackforge governance seems to be quite anarchic. do you know anyone with pypi package push permissions?15:49
*** andreykurilin has quit IRC15:51
*** dtantsur is now known as dtantsur|afk15:55
*** harlowja_at_home has quit IRC16:03
*** markmc has quit IRC16:07
openstackgerritSteve Martinelli proposed a change to openstack/oslotest: Add an extra parameter for test directory in debugger script  https://review.openstack.org/12031616:11
*** praneshp has joined #openstack-oslo16:16
*** markmcclain has quit IRC16:19
*** amrith is now known as _amrith_16:22
openstackgerritDavanum Srinivas (dims) proposed a change to openstack/oslo.vmware: VMware: Enable vCenter SSL certificate validation  https://review.openstack.org/12018316:25
openstackgerritDavanum Srinivas (dims) proposed a change to openstack/oslo.vmware: Add a memory based shared cache  https://review.openstack.org/11629716:29
jogoany oslo db folks around?16:31
jogohttps://bugs.launchpad.net/oslo.db/+bug/136779916:31
*** bjornar_ has joined #openstack-oslo16:33
*** yassine has quit IRC16:33
*** ihrachyshka has quit IRC16:41
jogohttps://review.openstack.org/12083516:41
jogodhellmann: ^16:41
*** jgrimm is now known as zz_jgrimm16:42
*** ihrachyshka has joined #openstack-oslo16:42
jogobnemec: ^16:43
*** ildikov has quit IRC16:45
bnemecjogo: I take it the check queue isn't a problem for e-r?16:46
bnemecI kind of wonder why we're wasting a vm running a test we know won't pass though.16:46
*** noelbk has joined #openstack-oslo16:47
jogobnemec: if you want to turn off the job all together thats even better16:48
jogobnemec: and yes we ignore the check queue in e-r in most cases16:48
bnemecjogo: I would be fine with that.16:48
jogobnemec: as the data is too dirty16:48
jogobnemec: cool, I'll respin the patch16:48
bnemecviktors: Is there a reason we're runnign the py3 jobs in oslo.db when we know they won't work?16:48
jogobnemec: AFAIK yes I413cf53234536286a6718e7662b7698f5ef4f64b16:49
jogobnemec:     We suppose to add python 3.3 support to oslo.db so we should enable16:49
jogo    (as non-voting, at first) gate testing on python 3.316:49
jogobnemec: btw how is the lockutils bug going?16:51
bnemecjogo: Yeah, but if we know it's not working right now, it seems like we should disable it.16:51
bnemecIt makes more sense to me to get it working, turn on the job non-voting to make sure it behaves in the gate, then make it voting.16:51
bnemecjogo: I posted an update to the bug last night, but I haven't had any luck reproducing that behavior in lockutils itself.16:52
jogobnemec: thoughts on tracing through logs to see if the latest oslo sync made it worse or not?16:54
jogoas a spot check showed it may have donethat16:54
jogobut that was a spot check so it doesn't really mean much16:54
*** zz_jgrimm is now known as jgrimm16:55
bnemecjogo: I would be really surprised if the file locking change affected internal semaphore locking.16:55
bnemecNot that it's impossible.16:55
bnemeclockutils constantly comes up with new ways to surprise me. :-/16:56
jogobnemec: hehe I can do some counting in  a bit16:57
jogounless you want to16:57
bnemecjogo: Not especially :-)16:57
openstackgerritAnderson Mesquita proposed a change to openstack/oslo.i18n: Remove unused/mutable default args  https://review.openstack.org/11641316:58
jogobnemec: I'll take a whack at it in a bit16:59
*** markmcclain has joined #openstack-oslo17:02
*** harlowja_away is now known as harlowja17:09
*** takedakn has joined #openstack-oslo17:12
openstackgerritOpenStack Proposal Bot proposed a change to openstack/cliff: Updated from global requirements  https://review.openstack.org/12063117:13
*** ajo is now known as ajo|afk17:13
harlowjabnemec whats your thought on trying http://paste.ubuntu.com/8314680/ (or at least using it and adding logging in the locations where refereences are gotten/released)17:14
harlowjado u guys also mind checking out https://review.openstack.org/#/c/119985/ (the taskflow requirements update )17:14
dstanekis there any date in mind for projects to use the new logging hints?17:15
openstackgerritOpenStack Proposal Bot proposed a change to openstack/oslo.config: Updated from global requirements  https://review.openstack.org/11999117:19
openstackgerritOpenStack Proposal Bot proposed a change to openstack/oslo.db: Updated from global requirements  https://review.openstack.org/11856417:19
bnemecharlowja: That looks useful.  I do wonder if we want to start off by just logging when we create a new semaphore first.17:20
openstackgerritOpenStack Proposal Bot proposed a change to openstack/oslo.utils: Updated from global requirements  https://review.openstack.org/11999317:20
bnemecThat would tell us if a semaphore got destroyed somehow before the next lock attempt.17:20
bnemecAnd if we find that's happening then we can add your logging to find out where.17:20
harlowjabnemec ya, some information that would show the possible colloision17:20
bnemecThe only reason I'm concerned with your change is that it swaps data structures.17:20
bnemecOf course, if getting rid of WeakRefDictionary fixes the problem then that's a data point too. :-)17:21
harlowjabnemec agreed, one variable that could fix it, would be interesting if it did17:21
harlowjabe nice to be able to try a couple different possible solutions at once17:22
bnemecYeah, although then if one of them fixes the problem we won't know which one. :-)17:26
bnemecBut at this point in the cycle the shotgun approach probably makes sense.  We can sort out the pieces once the problem is gone.17:26
harlowjathats what i was thinkin17:27
harlowjaanother option, http://paste.ubuntu.com/8320580/ (try different container types here)17:27
harlowjaone with a dict, one with a list ...17:27
bnemecjogo: Do you have any feel for how often this is happening?  Like could we put up several different options and let CI chew on them?  Or is it something that needs to merge to Nova and be run for every change?17:28
*** tkelsey_ has joined #openstack-oslo17:29
*** tkelsey_ is now known as tkelsey17:31
*** takedakn1 has joined #openstack-oslo17:31
*** takedakn has quit IRC17:32
harlowjaya, if it occurrs like every run, that'd be super actually17:36
harlowja*sadly super*17:36
harlowjahaha17:36
dhellmanndstanek: "new logging hints"? do you mean the translation stuff?17:37
dstanekdhellmann: yeah, the marker functions17:38
dhellmanndstanek: it would be good if those were fully deployed by the end of kilo17:38
openstackgerritDavanum Srinivas (dims) proposed a change to openstack/oslo.vmware: VMware: Enable vCenter SSL certificate validation  https://review.openstack.org/12018317:38
*** _amrith_ is now known as amrith17:39
dstanekdhellmann: perfect, thanks. someone submitted a spec for Keystone and i wanted to make sure the info in it was correct17:39
dhellmanndstanek: link?17:39
dhellmanndims: where does the oslo.vmware stand? I missed a bunch this morning because of my commute17:40
dstanekdhellmann: https://review.openstack.org/#/c/105954/3/specs/juno/support-log-translation-hints.rst17:40
dstanekdhellmann: i actually implemented a hacking rule and the changes before i saw this spec17:40
jogobnemec: this happens on every job I have checked (2)17:40
dimsdhellmann: 3 merges in the loooooooong gate queue17:41
dimsdhellmann: once they are out, we can cut a release17:41
dhellmanngordc: we should time the oslo.middleware release carefully because of the weekend, unless you can be around to help resolve issues it might cause. Monday morning? Sunday night?17:41
dhellmanndims: ok, same warning ^^17:41
dimsdhellmann: ack. will make time17:41
dhellmanndstanek: reading17:41
gordcdhellmann: sounds like a plan to me. i'll cut a release of oslo.middleware sunday/monday.17:41
dhellmanndims: ok, I'll leave it up to you17:42
dhellmanngordc: do you have any reviews in the queue that need to be approved before rc1?17:42
bnemecjogo: Cool, so we can probably push some debugging changes for Nova that don't need to be able to merge.17:42
bnemecharlowja: ^17:42
harlowjacool17:42
dimsdhellmann: thanks will do17:42
jogobnemec: ++17:42
harlowjabnemec so a couple options @ http://paste.ubuntu.com/8320653/17:42
gordcdhellmann: there is a new middleware that i think we can leave off... https://review.openstack.org/#/c/120257/17:42
dstanekdhellmann: i updated it quite a bit, but kept the spirit of the proposal - i'm going to update the juno timeframe with kilo17:42
harlowjaboth avoid weakref dictionary17:43
gordcdhellmann: dims and i have decided to leave the doc change from first release.17:43
dhellmanngordc: yeah, no new features at this point17:43
harlowjaand add in logging of create/ref bye bye17:43
dhellmanngordc: and right we can clean up docs a bit between rc1 and final17:43
gordcdhellmann: cool cool. i'll let the requirements merge go through and then cut release for monday17:44
dhellmanngordc: I think the bugs are targeted for "next" in launchpad already, but if you have one that isn't go ahead and update it17:44
* bnemec wonders why he has a nova branch named "fruit"17:44
dhellmanngordc: cool17:44
dhellmannbnemec: haha17:44
openstackgerritDavid Stanek proposed a change to openstack/oslo.i18n: Fixes a small syntax error in the doc examples  https://review.openstack.org/12085617:46
*** openstackgerrit has quit IRC17:46
*** openstackgerrit has joined #openstack-oslo17:47
bnemecharlowja: I'd say try whatever you've got time for.  I'm about to push a stupid simple debugging patch, but like you said we might as well try all the things.17:48
harlowjabnemec will put up a nova/openstack/common lockutils adjustment, to see what happens17:48
openstackgerritKen Giusti proposed a change to openstack/oslo.messaging: Add documentation explaining how to use the AMQP 1.0 driver.  https://review.openstack.org/12086017:49
dimsharlowja: please add me to the review as well. will help when i get a chance17:49
harlowjadims sure17:49
bnemecjogo: harlowja: dims: https://review.openstack.org/#/c/120859/17:49
bnemecJust FYI17:50
bnemecAh, fruit was the low-hanging fruit syncs from end of last cycle.17:51
dimsbnemec: lgtm, we may have to run it many times..17:51
dimslol17:51
jogodims: so we hit the double lock in most runs if not all17:51
dimsjogo: that's good i guess in terms of this exercise :)17:52
dhellmannbnemec: why do we use threading.Semaphore() instead of threading.Lock() for inner locks?17:55
dhellmannbnemec: I don't think that has anything to do with the problem, I'm just curious17:56
bnemecdhellmann: Not sure.  I think that predates my involvement in lockutils.17:56
dhellmannok17:56
bnemecAlthough it's possible you couldn't do weakrefs to Lock's until py2.7.17:56
* bnemec thinks he just read that17:56
bnemecYeah: https://docs.python.org/2/library/weakref.html17:57
bnemecChanged in version 2.7: Added support for thread.lock, threading.Lock, and code objects.17:57
bnemecdhellmann: ^ is probably why17:57
dhellmannah, ok, that makes sense17:57
*** tkelsey has quit IRC17:58
harlowjaare we seeing this on 2.6 only?17:58
* dhellmann now wonders why we need a weakref dict to hold those locks17:58
dhellmannshouldn't we prefer to make sure we keep the same lock objects around?17:59
harlowjadhellmann i think its due to not knowing the lifespan of those locks17:59
harlowjaso weakref the lifespan is automatic17:59
dhellmannwell, yeah, but if we're not explictly unlocking something that's a bug, isn't it?17:59
harlowjalikely18:00
harlowjahttps://review.openstack.org/12086518:00
harlowjawe can switch out the container there for a non-weakref one18:00
harlowjaand see what happens18:00
jogobnemec: grep compute_resources screen-n-cpu.txt.gz | grep -Pzo "Got semaphore.*\n.*Got"  | wc -l18:02
jogowill show double the number of hits18:02
jogofor the bugs18:02
dhellmannharlowja: that's going to have the same problem of possibly removing the reference to a lock that wasn't unlocked just because we can't find anything that refers to it, right?18:03
dhellmanns/removing the reference to/removing/18:03
bnemecjogo: Thanks.18:03
harlowjadhellmann sure, if someone isn't unlocking a lock thats a bigger issue18:04
dhellmannharlowja: right, but that's also assuming that the thing locking the lock is saving a reference properly18:04
bnemecWe could certainly clean up explicitly in our lock decorator.  If anyone's using internal_lock directly though we might have a problem.18:06
*** sreshetnyak has quit IRC18:12
jogobnemec: in recent gate-tempest-dsvm-full jobs for nova patches that landed18:12
openstackgerritDavanum Srinivas (dims) proposed a change to openstack/oslo.vmware: VMware: Enable vCenter SSL certificate validation  https://review.openstack.org/12018318:12
jogothe hit count is anywhere from 27-3718:12
*** sreshetnyak has joined #openstack-oslo18:12
*** sreshetnyak has quit IRC18:13
*** sreshetnyak has joined #openstack-oslo18:13
*** sreshetnyak has quit IRC18:13
*** sreshetnyak has joined #openstack-oslo18:14
bnemecjogo: That should make debugging easier at least.18:14
harlowjaalright,  https://review.openstack.org/12086818:15
harlowjalets see what happens :-P18:15
dhellmannbnemec: I was thinking more that we need to make sure we're actually holding references to the objects that are wrapped with weakrefs, so we don't accidentally allow something to be reaped before we're really done with it18:16
jogobnemec: similar results before the sync18:18
openstackgerritDavanum Srinivas (dims) proposed a change to openstack/oslo.vmware: VMware: Enable vCenter SSL certificate validation  https://review.openstack.org/12018318:18
bnemecdhellmann: Yeah, but then we're back to having to manually clean up our strong refs so we don't hold the objects in memory.18:19
bnemecAlthough I suppose we could only do that in the decorator, and if anyone's using the locks directly they're responsible for the object lifetime.18:19
bnemecWhich is reasonable.18:19
dhellmannbnemec: I guess these things don't get reused a bunch?18:19
bnemecjogo: That's what I would have expected.18:19
harlowjabnemec https://review.openstack.org/#/c/120868/ what do u think about that, might be interesting to see what happens18:19
bnemecdhellmann: Some do, some don't.18:19
dhellmannmaybe we should update harlowja's thing to only remove it from the cache if the lock isn't locked?18:20
bnemecdhellmann: Some projects create a new lock for every instance/volume/image, and you probably don't want those hanging around forever.18:20
dhellmanntrue18:20
bnemec(where "forever" is defined as "until the service restarts" :-)18:21
openstackgerritMichael Bayer proposed a change to openstack/oslo.db: Reorganize DbTestCase to use provisioning completely  https://review.openstack.org/11017018:21
openstackgerritMichael Bayer proposed a change to openstack/oslo.db: Organize provisioning to use testresources  https://review.openstack.org/12087018:21
dimsharlowja: i had something very similar to yours, except i gave up when i saw the "yield int_lock" as i was not sure18:29
harlowjadims might as well try it, see how it goes :)18:29
dimsharlowja: lol :)18:30
harlowjaone of https://review.openstack.org/#/c/120868 or https://review.openstack.org/#/c/120865/ might help18:30
*** takedakn1 has quit IRC18:30
harlowjaif it does, then we can figure out why i guess18:30
amrithdims, ping!18:31
dimsamrith: pong18:31
amrithdims, hi. won't interrupt your chat for longer than 1s. will you be coming to the meetup this PM?18:31
dimsamrith: will know around 3:30-4:0018:33
amrithdims, thx18:36
*** tsekiyama has quit IRC18:40
*** tsekiyama has joined #openstack-oslo18:41
*** ihrachyshka has quit IRC18:42
*** sreshetnyak has quit IRC18:51
bnemecSo this looks bad: http://paste.openstack.org/show/110284/18:54
bnemecIt creates the semaphore, proceeds to lock the same one three times in a row, releases a couple, _another_ thread gets in there and grabs the same semaphore, and finally they all release.18:55
bnemecAnd as you can see it's using only one semaphore for all of them.18:56
bnemecjogo: harlowja dims dhellmann: ^18:56
bnemecThis is in a local tempest run.18:56
dhellmannbnemec: can you log the object id of the semaphore?18:57
dhellmannI guess the "using existing" line shows we're reusing the object, doesn't it18:58
*** jecarey has quit IRC18:58
bnemecdhellmann: Unless the weakref dict is doing something weird on us.18:59
harlowjaevil weakref18:59
* harlowja waiting to see if https://review.openstack.org/#/c/120868/ (no weakrefs) helps18:59
jogobnemec: just to be clear re-using the same semaphore is good right?19:00
bnemecjogo: That's what we would expect to be happening, yes.19:01
jogobut having two things aquire the semaphore at the same time is the issue here19:01
harlowjai also wonder about https://github.com/openstack/nova/blob/master/nova/openstack/common/lockutils.py#L23419:02
harlowjathat logging line is not during a lock ownership, but after, so it can happen in weird orders19:02
*** jecarey has joined #openstack-oslo19:03
harlowjaprobably nothing though19:03
jogoharlowja: that would be worth trying a test patch on nova to confirm though19:03
harlowjapatch 4 coming up :-P19:03
bnemecharlowja: Hmm, that's a good point.  I'm going to try moving it inside the lock.19:03
harlowjakk19:03
dhellmannjogo: the fact that 2 things seem to acquire the same semaphore makes me thing what we have is not a semaphore19:04
harlowjasame with the 'LOG.debug('Got semaphore "%(lock)s"', {'lock': name})' line19:04
dhellmannbnemec: logging the type and id of the object returned would help show if that's right19:04
harlowjait doesn't say its acutally acquired, just gotten19:04
openstackgerritSteve Martinelli proposed a change to openstack/pycadf: Use oslo_debug_helper and remove our own version  https://review.openstack.org/12088419:04
dhellmannI wonder, for example, if eventlet's semaphore is broken in some way19:04
harlowjaso probably useful to have logs for gotten, acquired, released, letgo...19:04
dhellmannor if we're getting a threading.Semaphore() for real19:04
jogodhellmann: well we could have a counting semaphore insetad of a binary one19:04
dhellmannjogo: they're all counting, with a default of 119:04
dhellmannjogo: unless, say, the default for eventlet's semaphore isn't 1?19:05
jogodhellmann: right, but if we aren't stopping at 119:05
dhellmannmaybe we should set that explicitly when we make the semaphore19:05
*** russellb has quit IRC19:05
jogodhellmann: If not specified, value defaults to 1.19:06
jogohttp://eventlet.net/doc/modules/semaphore.html19:06
dhellmannjogo: that's consistent with threading19:06
*** russellb has joined #openstack-oslo19:07
*** lbragstad has quit IRC19:07
harlowjaafaik we aren't really using it as a counting sempahore, so we could easily replace it with a normal lock19:07
dhellmannbnemec: logging vars(semaphore) would also show us the counter value (the attr name is private for a threading.Semaphore)19:07
dhellmannharlowja: there was an issue creating weakrefs to those before python 2.719:08
harlowjakk19:08
harlowjasolution no more weakrefs ;)19:08
dhellmannyeah, memory leak19:08
bnemecdhellmann: Okay, running with id logging and the rearranged statements so we only log when we've actually got the lock.  Will try vars next.19:08
dhellmannbnemec: sounds good19:08
harlowjadhellmann well https://review.openstack.org/#/c/120868/ is without weakrefs, lets call that sorta-weak-refs, ha19:09
*** freyes has quit IRC19:09
dhellmannharlowja: yeah, doing your own reference counting :-)19:09
harlowjajosh-refs19:09
harlowjalol19:09
*** freyes has joined #openstack-oslo19:10
*** lbragstad has joined #openstack-oslo19:10
dhellmannhe19:10
*** hartsocks has quit IRC19:13
*** Guest75250 has quit IRC19:14
*** russellb has quit IRC19:15
*** freyes has quit IRC19:19
*** lbragstad has quit IRC19:19
*** jroll has quit IRC19:19
* bnemec fails at python logging19:20
*** lbragstad has joined #openstack-oslo19:23
*** bjornar_ has quit IRC19:25
bnemecBleh.  I think this may just be a bad logging issue.19:27
*** lbragstad has quit IRC19:28
bnemecWith the logging wrapped into the lock it looks like it did the right thing: http://paste.openstack.org/show/110298/19:28
*** markmcclain has quit IRC19:28
bnemeccreate, acquire, use, use, release, acquire, use, release, acquire, release, acquire, release19:28
*** alexpilotti has joined #openstack-oslo19:29
dhellmannzzzeek: can you join us in #openstack-nova19:29
zzzeekhey19:29
dhellmannzzzeek: that thing you and ihar were working on for the new mysql driver :-( https://bugs.launchpad.net/nova/+bug/136839119:29
dhellmannunless it's oslo.db maybe?19:30
zzzeekthat issue could be the pysqlite issue , though….i thought tests were passing in nova ?19:30
zzzeekunless this is the multi-execute thing19:30
harlowjabnemec well that would take the fun out of it, ha19:30
harlowjabnemec did u move the 'Released semaphore' to say a 'Releasing semaphore' (while still under the lock)19:31
bnemecharlowja: Yeah, Released semaphore is actually inside the lock as the last statement.19:31
harlowjacool19:32
bnemecharlowja: The code I'm testing looks like: http://paste.openstack.org/show/110300/19:32
harlowjarighto, cool19:32
harlowjawell maybe a false alarm them19:33
harlowja*then19:33
*** lbragstad has joined #openstack-oslo19:34
*** lbragstad has quit IRC19:37
*** jecarey has quit IRC19:38
*** jecarey has joined #openstack-oslo19:38
*** yamahata__ has joined #openstack-oslo19:39
*** mtanino has quit IRC19:40
*** yamahata_ has quit IRC19:40
*** mriedem1 has joined #openstack-oslo19:40
*** mriedem has quit IRC19:40
*** dims has quit IRC19:44
openstackgerritOpenStack Proposal Bot proposed a change to openstack/oslo-incubator: Updated from global requirements  https://review.openstack.org/11981519:44
openstackgerritOpenStack Proposal Bot proposed a change to openstack/oslo.db: Updated from global requirements  https://review.openstack.org/11856419:44
harlowjabnemec well that would make it really simple if that was the issue :)19:47
*** hartsocks has joined #openstack-oslo19:51
*** mgagne has joined #openstack-oslo19:51
*** jroll has joined #openstack-oslo19:51
*** hartsocks is now known as Guest1451619:51
openstackgerritBen Nemec proposed a change to openstack/oslo.concurrency: Clarify logging in lockutils  https://review.openstack.org/12089419:52
bnemecharlowja: Yeah, hopefully. :-)19:53
bnemecWe definitely need to fix the logging though.  It was clearly useless.19:54
bnemecHence change^19:54
harlowjaya19:54
harlowja+1 from me19:54
harlowjaotherwise just causes confusion (like possibly this bug)19:54
*** sigmavirus24 has joined #openstack-oslo19:54
openstackgerritDoug Hellmann proposed a change to openstack/oslo-specs: Remove specs not completed in juno  https://review.openstack.org/12009519:56
harlowjabnemec something thats confused me also19:57
harlowjaoslo.concurrency has another lockutils @ https://github.com/openstack/oslo.concurrency/blob/master/oslo/concurrency/openstack/common/lockutils.py19:57
harlowjais that just in need of a oslo incubator sync/cleanup?19:57
harlowja*like files didn't get removed when the oslo incubator sync happened19:57
bnemecharlowja: Ah, yeah, that needs to be removed.19:58
bnemecI think the fixture module may depend on it though.19:58
harlowjahmmm19:58
harlowjaholy crap, a third one19:58
harlowjahttps://github.com/openstack/oslo.concurrency/blob/master/oslo/concurrency/openstack/common/fixture/lockutils.py19:58
*** amrith is now known as notamcrn19:58
harlowjaturtles all the way down19:58
harlowjalol19:58
bnemecYeah, that's a different one though. :-)19:59
harlowjaya19:59
harlowja:)19:59
*** notamcrn is now known as amrith19:59
bnemecBut actually, that fixture should be part of the library now, so we shouldn't need it at all.19:59
harlowjacool19:59
bnemecSo definitely more cleanup needed.19:59
harlowjakk, i was about to enter inception there for a sec20:00
harlowjaha20:01
openstackgerritBen Nemec proposed a change to openstack/oslo.concurrency: Clarify logging in lockutils  https://review.openstack.org/12089420:01
*** lbragstad has joined #openstack-oslo20:02
*** dims_ has joined #openstack-oslo20:03
*** mtanino has joined #openstack-oslo20:05
*** takedakn has joined #openstack-oslo20:05
openstackgerritBen Nemec proposed a change to openstack/oslo-incubator: Clarify logging in lockutils  https://review.openstack.org/12089720:08
*** markmcclain has joined #openstack-oslo20:10
dhellmannbnemec: do you think we should try to make those logging changes for rc1, or let it go until kilo?20:13
harlowjai'm worried that if we don't we might get more false positive bugs :-/20:14
bnemecWell, it's been this way for a long time.20:14
bnemecI guess the only thing is it might be helpful debugging the deadlock nova has been seeing.20:14
bnemechttps://bugs.launchpad.net/nova/+bug/134945220:14
bnemecdhellmann: ^20:15
*** kgiusti has quit IRC20:16
bnemecAlthough I guess we're hoping the file locks change fixes that, so maybe it's not a big deal anymore.20:17
*** dims__ has joined #openstack-oslo20:17
bnemecbrb.  Still haven't eaten lunch and getting kind of hungry. :-)20:17
dhellmannbnemec: I got distracted with the sqlalchemy-migrate thing. Are you saying there's a fix for the locking issue nova is seeing? Or that the log messages are misleading us and we don't have the problem we thought we had?20:17
*** dims_ has quit IRC20:20
*** dims__ has quit IRC20:22
*** tkelsey has joined #openstack-oslo20:23
bnemecdhellmann: Okay, there are two locking bugs open: https://bugs.launchpad.net/oslo.concurrency/+bug/1367941 and https://bugs.launchpad.net/nova/+bug/134945220:24
*** flaper87 is now known as flaper87|afk20:24
bnemecThe first, AFAICT, is just bogus logging on our part.20:24
bnemecThe second is "fixed" by the file locking change.20:24
dhellmannbnemec: I thought that concurrency bug was reported because of a real issue, though. Was it just because jogo saw something weird in the logs?20:25
dhellmannbnemec: and what is "the file locking change"? Is that the latest version of lockutils, or something pending?20:25
bnemecdhellmann: I think he reported the bug based on the bad logging that suggested it was possible to double lock a semaphore, which doesn't appear to be the case.20:25
dhellmannbnemec: ok, good, so your logging change is a "fix" for that bug20:26
bnemecdhellmann: The file locking change is just the switch back to file locks by default.20:26
dhellmannbnemec: right, and that's already committed?20:26
bnemecI think the hope was that that would fix the deadlock but, but I don't know that there was any specific evidence to support that.20:26
bnemecdhellmann: Right20:26
bnemec*bug20:26
dhellmannbnemec: ok, thanks20:26
bnemecnp20:27
dhellmannbnemec: did you see harlowja's comment on the logging change?20:27
bnemecNot yet20:27
dhellmannnit on the log format, I don't know if it's worth holding things up over it20:28
bnemecOh, the %lock stuff is a holdover from when debug messages were translated.20:28
bnemecI only left it in the second set of messages because it was there to begin with.20:28
dhellmannok, I think he's pointing out that it's inconsistent now20:28
dhellmannthat's fine, we can clean it up in oslo.concurrency later20:29
harlowjaya, thats all, just minor nit20:29
*** tkelsey has quit IRC20:29
*** tedross has quit IRC20:36
*** andreykurilin has joined #openstack-oslo20:37
dhellmannbnemec: +2 on both20:38
bnemecdhellmann: Thanks20:38
dhellmannbnemec: I also went ahead and scheduled the bug for rc120:40
*** zzzeek has quit IRC20:40
bnemecSounds good20:40
jogobnemec: heh this was all a case of misleading logs?20:56
*** r1chardj0n3s_afk is now known as r1chardj0n3s20:56
bnemecjogo: I think so.  I couldn't find any double-acquires once I moved the logging into the lock itself.20:57
bnemecAnd http://paste.openstack.org/show/110298/ shows it doing the right thing with multiple threads trying to grab a lock.20:57
jogobnemec: hopefully your right20:58
jogoglad it was just a case of misleading logs20:58
harlowjajogo lets wait and see ;)20:58
*** markmcclain has quit IRC20:59
jogoharlowja: yup, its easy to spot check if this fixes it20:59
harlowjaagreed, anything out of order would mean it didn't work20:59
*** tongli has quit IRC21:12
*** r1chardj0n3s is now known as r1chardj0n3s_afk21:26
*** amrith is now known as _amrith_21:27
*** jaosorior has quit IRC21:42
openstackgerritTerry Howe proposed a change to openstack/cliff: Get testenv docs working  https://review.openstack.org/12091821:44
openstackgerritlifeless proposed a change to openstack/oslo-incubator: Fixup Fixtures Use in db test classes.  https://review.openstack.org/12091921:45
*** jecarey has quit IRC21:48
*** mriedem1 has left #openstack-oslo21:59
*** mriedem1 has quit IRC21:59
openstackgerritSean Dague proposed a change to openstack/oslo.db: Fixup Fixtures Use in db test classes.  https://review.openstack.org/12092322:08
harlowjajogo qq, whats the ability to have an elastic recheck query that checks for the correct ordering?22:09
* harlowja not a big user of that, so not sure22:09
*** dims_ has joined #openstack-oslo22:10
jogoharlowja: we treat each line in a log file as its own thing22:13
jogoharlowja: so we cannot do queries accross log lines22:13
harlowjadurn22:13
*** andreykurilin has quit IRC22:14
*** dims_ has quit IRC22:14
*** pcm_ has quit IRC22:16
harlowjaif only could write a custom mapper/reducer22:17
*** stannie has quit IRC22:30
*** gordc has quit IRC22:32
*** jgrimm is now known as zz_jgrimm22:32
*** praneshp has quit IRC22:36
*** openstackgerrit has quit IRC22:38
*** openstackgerrit_ has joined #openstack-oslo22:38
*** bknudson has quit IRC22:39
*** openstackgerrit_ is now known as openstackgerrit22:40
openstackgerritIan Cordasco proposed a change to openstack/oslo-incubator: Do not incur the cost of a second method call  https://review.openstack.org/12093222:40
*** dims_ has joined #openstack-oslo22:44
*** praneshp has joined #openstack-oslo22:45
*** ajo|afk has quit IRC22:53
openstackgerritA change was merged to openstack/oslo-incubator: Clarify logging in lockutils  https://review.openstack.org/12089722:58
openstackgerritJoshua Harlow proposed a change to openstack/taskflow: Add a state machine copy() method  https://review.openstack.org/12093623:23
*** r1chardj0n3s_afk is now known as r1chardj0n3s23:27
*** dims_ has quit IRC23:34
*** oomichi has joined #openstack-oslo23:37
*** _amrith_ is now known as amrith23:40
*** sigmavirus24 is now known as sigmavirus24_awa23:41
r1chardj0n3sdoes anyone know why running "tox -e py27" in oslo.middleware results in testr giving me the results of every test *twice*?23:48
openstackgerritA change was merged to openstack/oslo.rootwrap: Initial cut of documentation for oslo.rootwrap  https://review.openstack.org/11875223:51
openstackgerritA change was merged to openstack/oslo.db: Fix DBReferenceError on MySQL and SQLite  https://review.openstack.org/11632423:51
*** dims_ has joined #openstack-oslo23:52
openstackgerritA change was merged to openstack/oslo.vmware: Enable oslo.i18n for oslo.vmware  https://review.openstack.org/12027123:55
*** dims__ has joined #openstack-oslo23:55
*** dims_ has quit IRC23:58

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