14:00:03 #startmeeting sahara 14:00:04 Meeting started Thu Apr 6 14:00:03 2017 UTC and is due to finish in 60 minutes. The chair is tellesnobrega. Information about MeetBot at http://wiki.debian.org/MeetBot. 14:00:05 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 14:00:08 The meeting name has been set to 'sahara' 14:00:14 hi 14:00:20 o/ 14:00:31 o/ 14:00:42 ᶘ ᵒᴥᵒᶅ 14:00:55 elmiko, that's new 14:01:04 gotta keep it fresh 14:01:12 true 14:01:18 o/ 14:01:54 #topic News/Updates 14:01:58 o/ 14:02:35 nothing new from me, worked a little bit on job updates in project config 14:02:48 I've been working on image gen for CDH, I'm almost done with that image, testing it but it fails with Cant Format NameNode, I'm working on it, hopefully we will have something by next week 14:02:51 i am working on sahara ci patches 14:03:12 other than that I updated versions of spark and storm, so if you guys have time, please review those 14:03:15 #link https://review.openstack.org/#/q/status:open+project:openstack-infra/project-config+branch:master+topic:sahara 14:03:23 you are welcome to review those 14:03:26 ^^ 14:03:32 I am thinking about how to refactor CDH plugin and going to update CDH 5.10 14:03:33 vgridnev, will do 14:04:05 https://blueprints.launchpad.net/sahara/+spec/refactor-cdh-plugin 14:04:11 shuyingya, nice 14:04:44 o/ 14:04:56 the general idea is to replace common methods into base classes 14:05:04 nothing new, I guess 14:05:23 yes, should be "simple" 14:05:34 not fast or easy, but simple to do it 14:06:05 OK, let's keep it simple. will post few patch latter 14:06:10 thanks 14:06:25 thanks vgridnev tellesnobrega 14:06:42 shuyingya, also good to take a look how this was done for vanilla (common utils in "hadoop2" folder, only the version-specific stuff separate) 14:07:14 about sahara CI, the problem was resources, but I'm seeing a lot of failure on the patches, is that expected and is being worked on? or the errors are "random" failures 14:07:16 ? 14:08:07 yes, I have thought about mkdir "cdh5" like "hadoop2". but looks like unecessary 14:08:47 I'm just reviewing stuff for now, but preparing for future changes 14:09:22 mariannelm, what have you been working on lately? 14:10:46 about outreachy, there were two official applications to the Sahara project, our goal is to allow import and export of templates into sahara, it is something simple, but I would love to see that in, specially for moving around clouds, that makes things easier 14:11:10 there will be more mention of it in the future if we do get someone 14:12:09 do we have any more news or updates? 14:13:16 lets move on them 14:13:20 I didn't have much time this week, but I'm currently working on JSON changes of APIv2, and planning to fix some bugs this week 14:13:46 mariannelm, nice, if you have some questions about api v2, stay tunned 14:13:53 #topic APIv2 14:14:11 I wanted to add this topic so we can bring our expert on the matter elmiko 14:14:45 o(^▽^)o 14:14:51 welcome back ~ elmiko 14:14:56 ^^ 14:14:58 so happy to see some movement on this! 14:15:06 as you've probably seen, I sent the email about microversions on sahara and I was talking with michael yesteday and asked him to come over and gives a little overview on that, and why this should be done and when so we are all on the same page on it 14:15:26 elmiko, shuyingya and mariannelm are the ones doing the hard work on api v2 14:15:32 sweet 14:15:48 tellesnobrega: i did not see the email on the list, do you have a link to the archive? 14:15:59 I'm kinda of organizing the effort, but they are the brains and hands on it 14:16:01 yes, just a second 14:17:08 shuyingya mariannelm i am usually in the sahara channel but mostly quiet, if you run into issues or have questions feel free to ping me 14:17:14 and we have a slot reserved into the API WG meeting in less than two hours 14:17:18 (about microversioning) 14:17:52 great elmiko. thanks 14:18:00 elmiko, cool, thanks! 14:18:01 elmiko, this is the title [Sahara][APIv2] Microversions looking ofr a link 14:18:23 tellesnobrega: ok, i'll search again. i have it on digest now 14:18:24 http://lists.openstack.org/pipermail/openstack-dev/2017-April/115022.html 14:18:40 jeremyfreudberg++ 14:18:48 thanks jeremyfreudberg 14:19:12 for future reference, if you want to attract the api-wg, put [api] in the subject 14:19:22 elmiko, will do 14:19:28 * elmiko reads 14:20:07 so, in answer to the question from the email 14:20:15 i would say prioritize the other work before microversions 14:20:54 you will need to have a solid foundation to build the microversion stuff on top of (ie making sure you can support older code paths), but so long as you are aware of that i think you can wait until the new api looks stable to add them 14:21:14 that makes total sense 14:21:14 in the case of sahara it probably won't be that big a jump 14:21:33 especially since the v1 v1.1 and v2 apis all have different top level URIs 14:22:04 once v2 is rolling, you will need to be aware that any changes which bump the microversion _may_ have impact on the code paths 14:22:19 for example 14:22:49 returning a resource payload on a request for a version X.Y should ensure that it doesn't include payload information from X.Y+1 14:23:07 but that will largely depend on how the api grows after release 14:23:55 and of course, try to follow https://review.openstack.org/#/c/446138/3/guidelines/microversion_specification.rst 14:24:00 er oops, wrong link 14:24:18 #link http://specs.openstack.org/openstack/api-wg/guidelines/microversion_specification.html 14:24:24 that's the correct one 14:24:29 thanks elmiko 14:24:44 does anyone have any concerns on API microversions? 14:24:56 * tosky has 14:25:14 I know of your concern tosky :) 14:25:21 ok, apart from me then :) 14:25:53 I was going to ask you to bring it up, just wanted to know if anyone else had anything to discuss on the topic 14:25:54 just to summarize: I'd like to have a "sane" use of microversioning, avoiding incompatible changes in the API methods, even if microversioning allows for it 14:25:59 yep 14:26:00 imo, tosky's concern can definitely be handled appropriately by the team 14:26:17 even if the governance doesn't strictly support that stance 14:26:32 i would document your usage heavily though if you intend to go down that road 14:26:41 that's for sure, let's see 14:27:07 and honestly, i'm guessing that most folks would say that if you are going to introduce backward in-compat changes, you should really consider bumping major rev. 14:27:22 so DONT DO THAT! 14:27:28 =) 14:27:43 * elmiko mostly agrees with tosky vision on this 14:27:54 tosky, awesome, whoever will work on this, will have to write a spec on it, and we will keep an eye to have that part documented in the spec and on sahara docs 14:28:13 it seems a bit more of work, but it reduces the test matrix later 14:28:19 that is the general assumption, if it breaks bump major version 14:28:22 tosky++ 14:28:28 tosky++ 14:29:28 do we anything else on APIv2? 14:29:45 mariannelm, shuyingya any concerns or doubts you want to clear out while elmiko is around? 14:30:18 small thing about json changes, that we were talking about on sahara channel... 14:30:32 go ahead 14:30:44 hi 14:30:59 elmiko what do you think about this https://review.openstack.org/#/c/448113/ 14:31:11 * elmiko looks 14:32:08 i think that for the internal job binaries, the big trick about using the common job endpoints will be allowing the client to upload the data 14:32:33 that is the only sticking point i see, but in general my preference is to coalesce all jobs to a single group of endpoints 14:32:59 so, even if you needed to make /jobs/internal that would be preferable to having /jobs and /jobs-internal or similar 14:33:22 wasn't the idea to kill the internal job binaries? 14:33:28 that was my preference 14:33:31 about renaming hadoop_version -> plugin_version, I'm creating a new schema for the APIv2 with this change, and dealing with it manually in validationcoode, does it makes sense? 14:33:37 i think storing th binaries in the database is non-ideal 14:33:38 I'm following: http://specs.openstack.org/openstack/sahara-specs/specs/backlog/api-v2-experimental-impl.html#data-model-impact 14:33:54 *validation code 14:34:05 But about the /jobs/internal, should we implement all of CRUD method 14:34:19 I think it is unecessary 14:34:28 shuyingya, I don't think we need jobs/internal at all 14:34:46 mariannelm: yes, that makes sense. a new schema is required 14:34:58 oops, misunderstanding 14:35:05 tellesnobrega++ 14:35:05 shuyingya: i agree with tellesnobrega, if the team can drop internal jobs then so much the better 14:35:20 yeah, make sense. 14:35:24 we shouldn't store binaries on our internal db, we can use swift and bring stuff from there, or manila or whatever 14:35:28 imo, jobs should leverage cloud storage not sahara's internal database. that is just begging for problems 14:35:36 tellesnobrega++ 14:35:44 thanks elmiko 14:35:50 got it. 14:35:54 in our db we keep the link to the binary and that is all :) 14:35:56 :) 14:36:02 yup 14:36:12 as elmiko said, it is trouble, and we don't want any trouble 14:36:37 remember, if sahara starts managing job storage, then it is now in the storage business as well. there are plenty of cloud services which provide much better storage options than sahara can create. 14:36:50 true 14:37:13 it sounds to me like you all have this covered nicely 14:37:25 kudos to the team 14:37:53 elmiko, as I said to you, we are planning on finishing it in Pike and hopefully have it stable to release in Queen, but lets see how that goes 14:38:13 that will be awesome, good luck! 14:38:18 thanks 14:38:31 and thanks for dropping by and helping out clarify this 14:38:38 lets move on 14:38:43 man, this started like back in icehouse... 14:38:54 no problem, thanks for inviting me =) 14:38:55 an spec will be needed to deprecate job binary internals? How this will exactly be handled? 14:39:21 mariannelm, yes, I think that is the best way to go 14:39:36 +1 14:40:37 #link https://wiki.openstack.org/wiki/Sahara/api-v2 14:40:53 just in case someone haven't seen it, this is the outline of apiv2 work 14:41:27 we are trying to keep it up to date, and please look at the ones that are started and take some time to review it 14:42:26 #topic OpenDiscussion 14:42:37 * elmiko sinks back into the shadows 14:42:47 elmiko, thanks again for being here 14:42:53 =) 14:43:09 jeremyfreudberg, did you take a look into vanilla 2.8 and if you will be able to work on that? 14:43:19 I think you said you would like to 14:43:45 I want to, but haven't had time yet. I can look into it this week, but I probably can't get the work done until after the summit 14:44:25 vgridnev: just a reminder about https://review.openstack.org/#/c/448644/ - also because I'd like to backport it to Ocata 14:44:35 ok, I don't think that it will be an issue, just take a look and see how complicated it will be and let us know if you want to take that 14:44:49 tellesnobrega, sure 14:44:50 waiting for jenkins to pass 14:45:08 jeremyfreudberg, thanks 14:45:36 vgridnev: right; the jobs mostly passed the build phase, but there was a failure in uploading the images, if I read the logs correctly from sahara-ci 14:45:42 vgridnev: but let's see now :) 14:46:09 no, I'm saying about just jenkins, which should be able to build all images 14:46:12 jeremyfreudberg, about the Pig job issue, I did take a quick look on it, didn't see any reason why it should be integrated with oozie 14:47:16 my opinion is that if you want you can move it out, but it is up to you 14:47:24 I won't have the time to do it now 14:48:05 I definitely want to move it out. I will publish a spec when I figure out how to do it (I have a few questions for the oozie team first) 14:48:21 jeremyfreudberg, great 14:49:37 that's it for me, gtg 14:49:44 thanks 14:49:58 anyone else has anything to discuss? 14:51:09 SotK, please keep up with the reviews, we have quite a bit of patches to do so, and lets keep up the work 14:51:13 thanks all 14:51:35 you all have 9 minutes back 14:51:39 \o/ 14:51:43 #endmeeting