Wednesday, 2014-04-30

openstackgerritPranesh Pandurangan proposed a change to openstack/oslo-incubator: Enable configuring tcp keepalive  https://review.openstack.org/9087000:00
*** yamahata has joined #openstack-oslo00:06
openstackgerritPranesh Pandurangan proposed a change to openstack/oslo-incubator: Enable configuring tcp keepalive  https://review.openstack.org/9087000:30
*** praneshp has quit IRC00:31
*** arnaud has quit IRC02:09
*** zhiyan_ is now known as zhiyan02:12
*** mriedem has left #openstack-oslo02:26
*** mriedem has quit IRC02:26
*** harlowja is now known as harlowja_away02:27
openstackgerritOpenStack Proposal Bot proposed a change to openstack-dev/hacking: Updated from global requirements  https://review.openstack.org/9122002:37
openstackgerritOpenStack Proposal Bot proposed a change to openstack/cliff: Updated from global requirements  https://review.openstack.org/8871602:38
*** praneshp has joined #openstack-oslo02:41
openstackgerritOpenStack Proposal Bot proposed a change to openstack/oslo-incubator: Updated from global requirements  https://review.openstack.org/9123202:45
openstackgerritOpenStack Proposal Bot proposed a change to openstack/oslo.config: Updated from global requirements  https://review.openstack.org/8924002:45
openstackgerritOpenStack Proposal Bot proposed a change to openstack/oslo.messaging: Updated from global requirements  https://review.openstack.org/9123302:45
openstackgerritOpenStack Proposal Bot proposed a change to openstack/oslo.test: Updated from global requirements  https://review.openstack.org/9123402:45
openstackgerritOpenStack Proposal Bot proposed a change to openstack/oslo.version: Updated from global requirements  https://review.openstack.org/9123502:45
openstackgerritOpenStack Proposal Bot proposed a change to openstack/oslo.vmware: Updated from global requirements  https://review.openstack.org/9123602:46
openstackgerritOpenStack Proposal Bot proposed a change to openstack/oslosphinx: Updated from global requirements  https://review.openstack.org/9123702:46
openstackgerritOpenStack Proposal Bot proposed a change to openstack/pycadf: Updated from global requirements  https://review.openstack.org/8872902:46
openstackgerritOpenStack Proposal Bot proposed a change to openstack/stevedore: Updated from global requirements  https://review.openstack.org/8873502:47
openstackgerritOpenStack Proposal Bot proposed a change to openstack/taskflow: Updated from global requirements  https://review.openstack.org/8989602:47
*** shakamunyi has quit IRC04:05
*** praneshp has quit IRC04:17
*** praneshp_ has joined #openstack-oslo04:17
openstackgerritPranesh Pandurangan proposed a change to openstack/oslo-incubator: Enable configuring tcp keepalive  https://review.openstack.org/9087004:25
*** morganfainberg is now known as morganfainberg_Z05:10
*** zhiyan is now known as zhiyan_05:20
openstackgerritJoshua Harlow proposed a change to openstack/taskflow: Allow job iterjobs to cycle endlessly (WIP)  https://review.openstack.org/9117105:44
*** viktors|afk is now known as viktors06:19
*** gcb has joined #openstack-oslo06:38
*** mkoderer has joined #openstack-oslo06:44
*** flaper87|afk is now known as flaper8706:49
*** flaper87 is now known as flaper87|afk06:51
*** flaper87|afk is now known as flaper8707:03
gcbflaper87: ping07:06
flaper87gcb: pong07:06
gcbflaper87: about the bp https://blueprints.launchpad.net/oslo/+spec/cache-redis-backend, Do you still work on this ?07:07
openstackgerritJoshua Harlow proposed a change to openstack/taskflow: Allow job iterjobs to cycle endlessly (WIP)  https://review.openstack.org/9117107:07
flaper87gcb: no, I still have to complete the work on the memcache one, I was planning to do so soon.07:07
flaper87gcb: if you want to take it, please, feel free07:07
flaper87I can assign it to you07:08
gcbflaper87:  thanks, I will :)07:08
flaper87gcb: what's your lp username?07:08
gcbflaper87: glongwave07:09
flaper87gcb: done07:10
gcbflaper87: will add you as the reviewer :)07:10
flaper87gcb: awesome, thanks a lot07:11
flaper87:)07:11
*** ekarlso has joined #openstack-oslo07:17
*** gcb has quit IRC07:36
*** nacim has joined #openstack-oslo07:37
*** praneshp_ has quit IRC07:38
openstackgerritJoshua Harlow proposed a change to openstack/taskflow: Allow job iterjobs to cycle endlessly (WIP)  https://review.openstack.org/9117108:06
*** ihrachyshka has joined #openstack-oslo08:17
openstackgerritCyril Roelandt proposed a change to openstack/taskflow: Add an example for the job board feature  https://review.openstack.org/9119010:08
*** markmc has joined #openstack-oslo10:34
*** openstackgerrit has quit IRC10:51
*** yamahata has quit IRC10:56
jd__is there a way to replace the Pecan JSONifier by oslo one? (dhellmann?)11:30
jd__though that wouldn't actually solve totally my issue I guess :(11:33
*** gcb has joined #openstack-oslo11:34
ihrachyshkabnemec: hi. around? I want to discuss json lib stuff11:38
*** gcb has quit IRC11:40
*** gcb has joined #openstack-oslo11:53
ihrachyshkagcb: around?11:55
gcbihrachyshka: hi11:56
ihrachyshkagcb: re that jsonutils patch. are you familiar with json?11:56
ihrachyshkagcb: for some projects where I've tried to import the fix, I get failures like: http://logs.openstack.org/44/91044/1/check/gate-nova-python26/88205da/testr_results.html.gz11:56
ihrachyshkagcb: this is probably due to optimisation in simplejson covered here: https://code.djangoproject.com/ticket/1174211:57
gcbno , just find  in my  test environment python 2.7 ,there is  simplejsion and json11:58
gcbhi, I would check the link ,hope can find something11:58
ihrachyshkagcb: I've tried to add .decode('utf-8') and .encode('utf-8') to loads() and dumps(), and it passes now. Now the question is: is it worth adding another patch to make unicode explicit, or is it better to just stick to simplejson unconditionally? (at the moment, test fails for py26 and works for py27 because they use different implementations)11:58
ihrachyshkathis was enough to fix the test: http://paste.openstack.org/show/77956/11:59
ihrachyshkabut I'm not sure we should walk that route11:59
ihrachyshkaso any comments are appreciated11:59
gcbwill if I have :)11:59
ihrachyshkagcb: tnx for your time even if not :)12:00
viktorsihrachyshka: please see https://code.google.com/p/simplejson/issues/detail?id=4012:08
ihrachyshkaviktors: yeah, I saw that. so basically, we should always do unicode() or .decode('utf-8') if we want unicode12:12
ihrachyshkaright?12:12
viktorsihrachyshka: in my opinion - yes, but I'm not familiar with it :)12:13
ihrachyshkaor better, six.text_type()12:13
viktorsthis will add py3 compatibility12:14
*** erecio has joined #openstack-oslo12:20
ihrachyshkaviktors: gcb: bnemec: sent https://review.openstack.org/#/c/91344/ to fix unicode json issue revealed. Please take a look when you have spare time.12:24
viktorsihrachyshka: -1 - no tests  :)12:25
ihrachyshkaviktors: :) roger that12:26
*** erecio_1 has joined #openstack-oslo12:36
*** erecio has quit IRC12:38
viktorsdhellmann: around?12:44
*** gcb has quit IRC12:47
*** jecarey has quit IRC12:56
*** gcb has joined #openstack-oslo12:58
*** gcb has quit IRC13:09
*** mriedem has joined #openstack-oslo13:19
*** bknudson has joined #openstack-oslo13:22
dhellmannhi, viktors13:38
*** erecio_1 has quit IRC13:39
viktorsdhellmann: hello! Can you please look at the drafted blueprint "Add tpool proxy wrapper for DB-API calls" - https://blueprints.launchpad.net/oslo/+spec/add-tpool-proxy-wrapper13:40
dhellmannviktors: definitely!13:41
viktorsdhellmann: thanks!13:41
dhellmannviktors: that description looks good; can I go ahead and schedule it for J1?13:42
viktorsdhellmann: yes, sure13:45
*** jecarey has joined #openstack-oslo13:46
dhellmannviktors: ok, good -- we need it to have someone assigned, but we don't need a name right away -- by the week after the summit, I think13:46
viktorsdhellmann: ok13:49
*** openstackgerrit has joined #openstack-oslo13:56
*** erecio_1 has joined #openstack-oslo13:57
ihrachyshkaviktors: added test for https://review.openstack.org/#/c/91344/213:57
viktorsihrachyshka: ok, will look14:05
ihrachyshkajd__: I thought we generally separate patches that are loosely related14:05
jd__ihrachyshka: yeah but I don't think loosely applies here14:05
ihrachyshkajd__: f.e. we generally separate 'hacking rule turned on' patch from 'fix code to pass hacking rule'14:06
ihrachyshkajd__: I don't know, maybe it's worth asking other guys14:06
*** yamahata has joined #openstack-oslo14:06
jd__I don't think I saw that before, but it doesn't make more sense14:07
jd__sure, that's just a -1, anybody can override14:07
ihrachyshkadhellmann: bnemec: what do you think about the jd__'s comments at https://review.openstack.org/#/c/91368/ regarding possible patch merge?14:07
* jd__ doesn't buy the "we always do that way" arguments :)14:08
ihrachyshkajd__: I feel your pain and concern :)14:08
dhellmannihrachyshka: I see jd__'s point on merging them, esp. if the only reason for adding the new requirement is to be able to add tests using it14:10
dhellmannihrachyshka: should that be a test requirement, or is it really a runtime requirement?14:10
ihrachyshkadhellmann: hm, probably for unit tests only, but we don't have this dependency in global test requirements, only runtime: https://github.com/openstack/requirements/blob/master/test-requirements.txt14:11
ihrachyshkadhellmann: should we add that in global-requirements then?14:11
ihrachyshkaruntime dependency concept is moot in terms of incubator since probably no one uses it as a library.14:12
dhellmannihrachyshka: simplejson is in https://github.com/openstack/requirements/blob/master/global-requirements.txt14:12
ihrachyshkadhellmann: yes, but this is for runtime, not tests14:12
dhellmannihrachyshka: yes, but we still use the 2 files to provide clear guidance for consumers of the incubator about where they should list their requirements14:13
dhellmannit sounds like simplejson is a runtime requirement, so placing it in requirements.txt is correct14:13
ihrachyshkadhellmann: yeah, ok, got it. well, it's partly runtime, but that's not requirements, it's recommendation :)14:13
dhellmannihrachyshka: true14:14
ihrachyshkadhellmann: so should we push that to global requirements in test-requirements.txt file?14:16
ihrachyshkaI'm not sure how this works14:16
dhellmannihrachyshka: the global requirements list covers both cases, so you don't need to change anything there14:16
dhellmannand you can leave it in the runtime requirements for the incubator, too14:17
dhellmannI do think it probably makes sense to merge those commits, but they're in a series already so it's not a big deal14:17
dhellmann\o/  [Wed 10:16:04 AM]  <openstackgerrit> A change was merged to openstack-infra/config: Import oslo.db repository  https://review.openstack.org/7895514:18
dhellmannway to go viktors & rpodolyaka!14:18
openstackgerritIhar Hrachyshka proposed a change to openstack/oslo-incubator: Enforce unicode json output for jsonutils.loads()  https://review.openstack.org/9134414:18
ihrachyshkadhellmann: jd__: good, merged the patches in one :) ^^14:18
rpodolyaka\o/14:18
viktorsdhellmann: cool! \o/14:18
viktorsdhellmann: what is the next step?14:19
dhellmannhttps://www.youtube.com/watch?v=n_w4oSCJIQk14:19
rpodolyaka:D14:19
viktors:-D14:20
dhellmannviktors: we need to wait a bit for the import to actually happen, then verify that the repo looks right (check it out)14:20
dhellmannand then continue with the checklist you've been working from :-)14:20
viktorsdhellmann: ok14:24
dhellmannviktors: we still haven't figured out exactly what we're going to do with cross-project testing, so it's probably better not to start having any apps adopt the new lib until we discuss that at the summit14:31
dhellmannviktors: but you're supposed to be on holiday anyway, right? :-)14:31
ihrachyshkarpodolyaka: hi. sorry for my ignorance, but can you check whether I get your comment right? so six.text_type() aka unicode() fails for non-ASCII strings? so instead we may do json.loads(s.decode('utf-8'))?14:32
rpodolyakaihrachyshka: hey! yes, right. either that, or six.text_type(s, 'utf-8')14:34
ihrachyshkarpodolyaka: but six version is not more portable than .decode(), right?14:35
* rpodolyaka is thinking14:35
rpodolyakaso the only caveat I can think of is that when you are using Python 3 and passing an str() value, not bytes14:36
rpodolyakain that case, decode() would fail14:36
rpodolyakaas in python 3 str instances don't have decode() method14:36
viktorsdhellmann: yes, I'll be on vacation since tomorrow :)14:36
ihrachyshkarpodolyaka: six won't?14:36
viktorsdhellmann: what is the best practice for cross-project testing in oslo libraries?14:36
dhellmannviktors: that's the question I hope to have answered at the summit :-)14:37
* rpodolyaka looks how six.text_type is implemented14:37
viktorsdhellmann: got it :)14:37
*** erecio_1 has quit IRC14:37
viktorsdhellmann: and what about oslo.messaging?14:37
ihrachyshkarpodolyaka: it's just str or unicode14:37
ihrachyshkanothing more14:38
rpodolyakaihrachyshka: yeah, this should be better14:38
rpodolyakaas we will be doing unicode(s, 'utf-8') or str(s, 'utf-8') depending on the python release14:38
rpodolyakaand if s is unicode/str this should be a no-op14:38
* rpodolyaka tests that14:38
dhellmannviktors: the existing libs is what brought the question up in the first place. for now I'm trying to avoid making things worse. :-/14:39
rpodolyakaheh, no14:39
ihrachyshkaIf encoding and/or errors are given, str() will decode the object which can either be a byte string or a character buffer using the codec for encoding14:39
ihrachyshka(from https://docs.python.org/3.1/library/functions.html#str)14:39
ihrachyshkabasically, it should fail14:39
ihrachyshkabut I haven't checked14:39
* bnemec is done with the morning meeting and reads the scrollback14:40
rpodolyakaihrachyshka: so when I pass a unicode/str value to unicode/str on python2/python3 appropriately I receive TypeError: decoding Unicode is not supported14:42
rpodolyakaihrachyshka: with encoding argument pased14:42
rpodolyakaihrachyshka: if it's not passed, it's a no-op14:42
viktorsdhellmann: ok14:43
rpodolyakaihrachyshka: I'd go for something like: if type(s) is not six.text_type: s = six.text_type(s, 'utf-8') then14:43
dhellmannrpodolyaka: why not isinstance()?14:45
ihrachyshkadhellmann: +14:45
dhellmannviktors: I've checked out a copy of oslo.db and the tests are passing locally :-)14:46
rpodolyakadhellmann: ihrachyshka: yeah, that's probably better :)14:46
bnemecWhy are we specifying an encoding in this case?14:46
* bnemec may still be behind14:46
dhellmannbnemec: good question14:46
viktorsdhellmann: let me do the same thing :)14:46
bnemec99% of our six.text_type calls are just six.text_type(foo)14:46
rpodolyakabnemec: python 2 defaults to ascii when decoding bytes in unicode()14:46
rpodolyakabnemec: and json from the standard library defaults14:47
rpodolyakato utf-814:47
bnemecBleh14:47
bnemecI think we dealt with something like that in gettextutils.  Let me see if there's something we could reuse.14:47
dhellmannwe have that stringutils module, too14:48
bnemecdhellmann: Oh, that was it. Too many utf8/ascii issues to keep straight. :-)14:50
rpodolyakaso the thing I'm worried about is that https://review.openstack.org/#/c/91344/2/openstack/common/jsonutils.py will make it impossible to have utf-8 encoded json input on python 2.x14:50
rpodolyakaunless, the input uses escaped unicode literals14:50
bnemecrpodolyaka: ihrachyshka: Take a look at https://github.com/openstack/oslo-incubator/blob/master/openstack/common/strutils.py#L10014:50
ihrachyshkabnemec: great :)14:51
rpodolyakabnemec: oh, nice, didn't know we had one14:52
bnemecbknudson: Not sure if you got an answer, but oslo.config seems like a reasonable place for the config fixture.14:52
bnemecdhellmann: ^14:52
ihrachyshkaso we end up with 'return json.loads(strutils.safe_decode(s))', right?14:53
bknudsonbnemec: ok, that's what I thought was going to happen, wasn't sure if it's done yet.14:53
rpodolyakaihrachyshka: looks correct14:53
dhellmannbnemec, bknudson : yep: https://blueprints.launchpad.net/oslo/+spec/graduate-config-fixture14:53
rpodolyakaihrachyshka: but a test case would be great :)14:53
bnemecdhellmann: Ah, nice :-)14:53
bknudsonwhen that's done we should be able to change keystone to not use oslo-incubator fixtures, will use oslotest and oslo.config instead14:54
dhellmannbknudson: excellent14:55
bnemecThe "Pick Me" link in launchpad really needs a !14:56
bnemecdhellmann: So is that just a question of copying the file to oslo.config as oslo/config/fixture.py or something along those lines?14:59
dhellmannbnemec: yeah, I haven't looked at it very closely to see if there are any cleanups needed (importing from oslotest instead of another incubator fixture, etc.)14:59
dhellmannbnemec: but that's the general idea15:00
bnemecdhellmann: Okay, I'll take a closer look.  Thanks.15:00
dhellmannbnemec: cool, thanks15:00
*** dshulyak has quit IRC15:05
*** mkoderer has quit IRC15:12
openstackgerritDoug Hellmann proposed a change to openstack/oslo-incubator: Save .git directory but not other git files  https://review.openstack.org/9139115:14
dhellmannviktors: ^^15:15
bnemecdhellmann: $$ is an escaping thing?15:17
dhellmannbnemec: yeah, it escapes the $ in a double-quoted string15:17
dhellmannbnemec: if it's more clear, I could change that to something like './(^.git$|'$(the stuff with echo)15:18
dhellmannI think bash will do the right thing with that form, but I'm not sure it's easier for a human to parse15:19
bnemecEh, it's a regex.  There are just so many subtle variations on the syntax that I'm never sure what's going on.15:19
openstackgerritIhar Hrachyshka proposed a change to openstack/oslo-incubator: Enforce unicode json output for jsonutils.loads()  https://review.openstack.org/9134415:22
*** erecio_1 has joined #openstack-oslo15:22
dhellmannbnemec: yeah15:22
ihrachyshkabnemec: dhellmann: rpodolyaka: jd__: ^^ hopefully everything is handled15:22
bnemecdhellmann: It seems to be giving me the current pid when I put $$ in a double-quoted string though. :-/15:23
dhellmannbnemec: ugh15:23
dhellmannI wonder how it worked here15:23
* dhellmann runs more tests15:23
bnemecMaybe it's because I'm running it out of context or something, but I get: ./\(^.git31376\|\)15:24
dhellmannbnemec, me, too15:25
bnemecBash and regexes are going to be the reason I end up in a padded room at the end of my career. :-)15:26
openstackgerritIhar Hrachyshka proposed a change to openstack/oslo-incubator: jsonutils.load() accepts file pointer, not string  https://review.openstack.org/9139615:28
dhellmannbnemec: I know $$ escapes $ in some syntax, but it's definitely not bash.15:31
* dhellmann needs more caffeine15:31
bnemecdhellmann: It would in an oslo.config config file. :-)15:32
bnemec(I think)15:32
openstackgerritBen Nemec proposed a change to openstack/oslo.config: Graduate config fixture  https://review.openstack.org/9139715:32
dhellmannbnemec: you know, that's probably what I was thinking of. we had a bug report about that in the last few days, which led to a doc update that I reviewed15:32
* dhellmann is still waiting for the esperanto of computer languages15:32
bnemechaha15:33
bnemecThis is why I usually insist on fantastic test coverage for anything involving regexes.15:34
bnemecOf course, lately every time I run across a regex it's in something that can't be easily unit tested. :-/15:34
bnemecOh, the imports are backwards in the graduation change.15:35
* bnemec really needs to finish up that hacking rule...15:35
dhellmannbackwards?15:36
openstackgerritBen Nemec proposed a change to openstack/oslo.config: Graduate config fixture  https://review.openstack.org/9139715:37
dhellmannah15:38
bnemecdhellmann: Incidentally, I used graduate.sh to split something out of diskimage-builder and it seemed to work quite nicely.15:41
bnemecI cut out the oslo renaming stuff at the end of course.15:41
dhellmannnice15:41
bnemecAnd the filter-branch took *forever*, but it did finish eventually.15:42
dhellmannyeah, that step takes ages because it replays every commit and changes them15:42
openstackgerritDoug Hellmann proposed a change to openstack/oslo-incubator: Save .git directory but not other git files  https://review.openstack.org/9139115:45
dhellmannbnemec: I tested ^^ and examined the prune script it generated15:46
*** erecio_1 has quit IRC15:46
dhellmannbnemec: well, that's not quite doing the right thing either15:47
dhellmannthe prune script looks right, but it doesn't ignore .git15:47
bnemecHeh, fun. :-)15:48
*** ihrachyshka has quit IRC15:54
dhellmannit helps to read the whole regex15:56
*** erecio_1 has joined #openstack-oslo15:59
*** rpodolyaka has left #openstack-oslo16:03
openstackgerritDoug Hellmann proposed a change to openstack/oslo-incubator: Save .git directory but not other git files  https://review.openstack.org/9139116:04
*** nacim has quit IRC16:05
*** viktors has quit IRC16:12
openstackgerritMarc Abramowitz proposed a change to openstack-dev/pbr: pbr/testr_command.py: Add logging  https://review.openstack.org/8920316:16
*** erecio_1 has quit IRC16:31
*** markmc has quit IRC16:33
dhellmannbnemec: yes, we think we have the namespace package issues worked out, so we can keep using "oslo."16:38
bnemecdhellmann: \o/16:40
dhellmannbnemec: unless you meant "should olso.i18n" be a generic lib?16:40
bnemecdhellmann: Nope, just the namespace thing.16:40
dhellmannok16:40
* dhellmann is wondering if we should just call it gettextutils now16:40
bnemecWeird, that patch is showing up in my dashboard as if I already reviewed it, but I didn't leave a score.16:41
bnemecIs new Gerrit smart enough to see that I left a no-score since the last patch set?  Because that would be awesome. :-)16:42
*** harlowja_away is now known as harlowja16:54
*** erecio_1 has joined #openstack-oslo16:55
*** praneshp has joined #openstack-oslo16:59
*** praneshp_ has joined #openstack-oslo17:02
*** praneshp has quit IRC17:04
*** praneshp_ is now known as praneshp17:04
*** erecio_1 has quit IRC17:45
*** tjones has joined #openstack-oslo17:51
tjonesdims: im here ;-)17:51
dimshey, welcome!17:57
dimsdhellmann, arnaud and others we were talking on the vmwareapi nova sub team meet. we possibly need another rev of oslo.vmware. arnaud will ping later17:58
*** morganfainberg_Z is now known as morganfainberg18:14
openstackgerritDoug Hellmann proposed a change to openstack/oslo-incubator: Commit changes to local repository after exporting  https://review.openstack.org/9112518:26
*** erecio has joined #openstack-oslo18:27
*** rustlebee has left #openstack-oslo18:29
dhellmanndims: ok18:37
*** arnaud__ has joined #openstack-oslo18:40
praneshpdims: ping19:13
dimspong19:15
praneshpdims: about your comment on https://review.openstack.org/#/c/90870/, I’ll be able to work on it only later, so a changeset will be available after sometime only19:15
praneshpis the policy to comment done after the changeset is ready?19:16
praneshpI just meant to ack your comments and say done.19:16
dimsah. i usually say "Done" after i push a changeset and say "Will do" if it will take some time to push out a change set. not a hard and fast rule, i just thought something may have gone wrong when you pushed out a review and you may not have noticed it and were waiting for me to respond to19:18
praneshpdims: cool cool. thanks19:18
dimspraneshp, one thing to remember is the hyperv folks run this stuff on windows platforms too. so we will need to accomodate them19:20
dimsi got bit for some changes when i was doing ipv6 work19:20
praneshpdims: is the socket library different on windows? I’ll have a look19:21
dimsthis does not make me feel good - http://stackoverflow.com/questions/796957/is-windowss-setsockopt-broken19:22
*** ihrachyshka has joined #openstack-oslo19:35
*** ihrachyshka has quit IRC19:38
*** ihrachyshka has joined #openstack-oslo19:38
*** markmcclain has joined #openstack-oslo20:03
praneshpdims: I looked at that stackoverflow question about SO_REUSEADDRD on unix v windows20:03
praneshpI wonder how the hyperv tests pass for nova, which does this20:04
praneshpdims: https://github.com/openstack/nova/blob/master/nova/wsgi.py#L18120:04
dimspraneshp, something to keep an eye out for. hopefully the hyper-v CI will catch stuff or others will chime in20:04
openstackgerritIhar Hrachyshka proposed a change to openstack/oslo-incubator: Enforce unicode json output for jsonutils.loads()  https://review.openstack.org/9134420:11
*** jecarey has quit IRC20:24
-openstackstatus- NOTICE: the gate is backed up due to broken nodepool images, fix in progress (eta 22:00 utc)20:25
*** ChanServ changes topic to "the gate is backed up due to broken nodepool images, fix in progress (eta 22:00 utc)"20:25
*** jecarey has joined #openstack-oslo20:34
*** erecio has quit IRC20:58
*** arnaud__ has quit IRC20:59
harlowjadhellmann yt, got a python question for u21:00
dhellmannharlowja: hi21:08
harlowjadhellmann hey, so maybe simple answer, but say u have an infinite iterator, that say can be spurous in that it may not always have values at the given moment (but could in a few minutes), should the iterator next() throw stop iteration, or should it block, i have a case for this kind of spurous iterator, but thinking whats the most pythonic way21:11
dhellmannif you throw StopIteration whatever is iterating is going to assume it has consumed all of the data21:11
*** markmcclain has quit IRC21:12
dhellmannharlowja: ^^ so that's probably not what you want, it sounds like maybe an iterator isn't the best API for this if the caller shouldn't block21:16
dhellmannharlowja: you could yield some sort of sentinel value that the caller could check21:16
harlowjadhellmann ya, i'm thinking the api isn't really iterator then21:22
harlowjaagreed21:23
openstackgerritSolly Ross proposed a change to openstack/oslo-incubator: Report: Fix JinjaView deepcopy  https://review.openstack.org/7873021:23
*** yamahata has quit IRC21:37
*** yamahata has joined #openstack-oslo21:40
*** mriedem has left #openstack-oslo21:41
*** mriedem has quit IRC21:41
*** ihrachyshka has quit IRC22:21
openstackgerritJoshua Harlow proposed a change to openstack/taskflow: Move from generator to iterator for iterjobs  https://review.openstack.org/9117122:24
*** bknudson has quit IRC22:29
*** arnaud__ has joined #openstack-oslo22:48
*** bknudson has joined #openstack-oslo22:49
*** bknudson has quit IRC22:54
openstackgerritJoshua Harlow proposed a change to openstack/taskflow: Wrap the failure to load in the not found exception  https://review.openstack.org/9049922:55
*** flaper87 is now known as flaper87|afk23:00
*** arnaud__ has quit IRC23:03
openstackgerritJoshua Harlow proposed a change to openstack/taskflow: Add a jobboard fetching context manager  https://review.openstack.org/9025223:04
*** bknudson has joined #openstack-oslo23:09

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