15:00:37 #startmeeting satori 15:00:38 Meeting started Mon Jul 21 15:00:37 2014 UTC and is due to finish in 60 minutes. The chair is zns. Information about MeetBot at http://wiki.debian.org/MeetBot. 15:00:39 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 15:00:42 The meeting name has been set to 'satori' 15:01:05 Hey! Who's here for the Satori meeting? 15:03:33 o/ 15:04:27 Hi walker_ 15:04:55 One of these days I will actually fix my nick 15:05:34 samstav - you there? 15:05:41 o/ 15:06:00 Cool - let's get started. I think this will be quick... 15:06:07 #topic Action Items 15:06:22 walker_: Create a blueprint for choosing the escalation prefix? 15:06:55 Please roll over to next week 15:07:00 samstav: Address comments on submission 9838? 15:07:05 #action: walker_ Create a blueprint for choosing the escalation prefix ("sudo" OR "su -" OR ?) when running commands in ssh.py 15:07:10 done 15:07:44 98383 - that is 15:08:37 What is 98383, btw? samstav ? 15:08:46 Is that a bug in Launchpad? 15:09:27 IIRC, 98383 is the primary windows submission 15:10:01 Ah, https://review.openstack.org/#/c/98383/ 15:10:02 #link https://review.openstack.org/#/c/98383/ 15:10:12 :) 15:10:26 I noticed it was failing on pep8. Has there been a break in the version of pep8 being used? 15:10:44 Yes, and I didn't track down the root cause. 15:10:49 I did fix it though 15:11:02 So the blocker is coming from upstream work on the testing tools? 15:11:02 via 15:11:04 #link https://review.openstack.org/#/c/106134/ 15:11:27 No blocker on the testing tools anymore 15:11:57 Between submission 98383 and 106134, I ( we? ) created a conundrum 15:12:09 I was wondering if we needed a p[atch to update test-requirements and then we can rebase. You don't think that's needed? 15:13:00 ... cuz I was wondering if that is why we received https://review.openstack.org/#/c/103612/ from Longgeek? 15:13:29 Yeah, I'm not sure about the submission from Longgeek, I thought it was just argparse? 15:14:27 What I think it boils down to is that the original windows support submission needs the subsequent submission 106134 in order to pass gates, but it is inverse in "git" terms. 15:14:58 Because 106134 actually depends on 98383 15:15:42 I was hoping we could come to a conclusion about the python3 & eventlet situation, and then get 106134 passing all gates. 15:16:40 Then we could just waive 98383, and merge 106134, and then afterwards we would have certainty that what's in the master branch is a working version that passes all gates 15:18:34 I would not mind pushing a submission which fixes the VersionConflict & test requirements, but 98383 would still be just as far from passing all gates 15:19:08 That sounds like a good idea; just simpler to handle the version conflict alone. 15:19:34 What options we have to address eventlet and python3? Can we not use eventlet and ;et any client using satori monkey patch if they need to use event let? 15:21:41 zns do you mean remove eventlet from requirements, and use naive method calls? 15:21:51 e.g. try, except 15:22:48 from eventlet import greenthread as thread 15:23:48 Yes. Just `from threading import thread` 15:24:13 oh... monkey_patch... 15:24:17 Right. 15:24:29 That sounds good. 15:24:57 I heard someone talking about asyncio as a potential replacement to eventlet, is that something we should investigate 15:25:07 s/replacement/alternative 15:25:12 Can tunnel.py work without eventlet? 15:25:21 https://wiki.openstack.org/wiki/Oslo/blueprints/asyncio 15:26:02 zns yes tunnel.py can work without eventlet, we just need to make sure we are using the methods that return immediately 15:26:29 * samstav #link https://github.com/samstav/satori/blob/testing07162014/satori/tunnel.py#L148-L149 15:26:48 as `greenthread.spawn_n()` does 15:26:53 walker_: that's for python3 only, right? 15:27:07 sorry, walker_ 15:27:45 It looks like it was ported to 2.7 as well - https://pypi.python.org/pypi/trollius 15:28:13 I don't know why they chose different names though 15:28:23 * samstav is blind 15:28:55 if "troll" in package_name: 15:29:02 sys.exit(1) 15:29:03 ha 15:30:21 Doesn't eventlet just patch threading to effectively mimic spawn_n? 15:30:29 I believe so 15:31:28 zns looks like this 15:31:30 #link http://eventlet.net/doc/patching.html#eventlet.patcher.is_monkey_patched 15:31:41 would tell us whether it was monkey patched by eventlet 15:31:53 So we _might_ (should?) be able to write tunnel.py using stdlib in a way that if a client is using eventlet, it should just work. 15:32:02 thread=True 15:32:22 eventlet.monkey_patch(thread=True) 15:33:28 oh, jk. 15:33:36 "If no arguments are specified, everything is patched." 15:34:10 samstav: we could just have code in there like bottlepy does: https://github.com/bottlepy/bottle/blob/master/bottle.py#L2773 - if eventlet is loaded, us it, else fail to stdlib. And don't fail on import and don't add event let to requirements.txt. 15:34:14 Yes, we should definitely be able to do that 15:34:27 Will that address the python3 blocker? 15:34:27 zns yes exactly that. 15:34:31 yes 15:35:16 So that would be a change to https://review.openstack.org/#/c/98383/? 15:35:51 And we'd be able to merge that before 103612? 15:36:32 yes 15:36:37 and yes 15:36:41 So, are we OK with merging the windows support submission (98383) even though it won't pass all gates, as long as a rebased version of submission 106134 ( depends on/rebases off of the 98383 ) *does* pass all gates? 15:37:22 And, I push a submission to fix test requirements / VersionConflict 15:37:47 No - I thought we could fix 98383 by removing even let and rebasing it after we (you?) fix the VersionConlflict in a separate review? 15:38:29 Maybe I still don't understand the reason for accepting a patch that doesn't pass gates... 15:40:32 ... is there something forcing us to do that? 15:40:45 Not "forcing" 15:41:41 but, the only alternative is to completely re-do the work from patch 106134 into 98383, OR squash 106134 into 98383, which would remove my authorship 15:42:29 I was trying to help move 98383 along by doing the work to make it pass gates 15:42:56 but the gerrit workflow pretty much makes it impossible to collaborate on a patch 15:43:10 (the only downside I've encountered so far) 15:43:32 We really need to have both of those commits attached to the same submission with different authors 15:43:46 I see. 15:44:13 Is there a way to accept yours and have that pull in Nico's? - a gerrit question I guess. 15:44:25 Oh... that's interesting... 15:46:22 So you're suggesting you add a new patch to fix the version conflict, merge that, rebase 98383 and remove event let from it, update yours to pass gates and merge? 15:46:51 that is precisely correct 15:47:25 you can use co-authored-by and both claim authorship 15:48:50 well 15:48:55 thanks clarkb! 15:49:00 boom! 15:50:03 That would mean you and Nico would resubmit 98383 as a co-authored patch... with gates passing... ? 15:50:10 ... 15:50:12 Yes? 15:50:14 Yes. 15:50:28 Though, we still want a separate submission for the test requirements patch yes? 15:50:58 I think so. That would be easier to keep track of... 15:51:04 And easy to rebase also. 15:51:06 yes 15:52:17 Looking into the co-author thing -- that seems to be a gerrit-ism 15:52:29 Are you cool with that all on your plate? I'll help if you need me to; just let me know what I can do... 15:52:43 its not a gerritism 15:52:54 its just a git commit message header 15:53:00 No? It doesn't seem to be built into git, and it doesn't look like GitHub will recognize that 15:53:03 gerrit doesnt do anything with it 15:53:32 but its fairly well accepted practice to use 15:53:41 Cool 15:54:54 samstav: feel free to add your nick (or Nico's) to the commit subject if you want to make sure the contribution isn't missed outside of OpenStack statistics... 15:55:17 clarkb - thank you for the tip. 15:56:57 ok. all good 15:58:35 Alright... so that'll do it for today! 15:58:42 Thanks, all. 15:58:47 thanks zns 15:58:55 And thanks, samstav, for taking this on. 15:59:00 great to have you back 15:59:35 I get to experience the timezone difference now... from Stockholm :-) 15:59:38 #endmeeting