Wednesday, 2019-01-09

*** rcernin has quit IRC00:07
*** rcernin has joined #openstack-sahara00:09
*** tosky has quit IRC00:09
*** tellesnobrega has quit IRC04:24
*** chason has quit IRC05:02
*** pcaruana has joined #openstack-sahara07:06
*** rcernin has quit IRC07:26
*** tosky has joined #openstack-sahara08:37
*** tellesnobrega has joined #openstack-sahara11:12
toskytellesnobrega: hi! About the openstack/release change, this is the context: http://eavesdrop.openstack.org/irclogs/%23openstack-release/%23openstack-release.2019-01-09.log.html#t2019-01-09T10:11:0012:06
tosky(even if you already voted on it, it's still useful to know)12:06
tellesnobregatosky, thanks12:06
tellesnobregatosky, quick unrelated question12:12
tellesnobregawhen running unit tests what config file does sahara load?12:12
toskyI don't know; don't the base classes of unit tests load some basic parts of the sahara engine?12:31
tellesnobregait does, apparently it doesn't load a file, it just sets the db part, and in some tests it overrides the plugins info12:33
tellesnobregatosky, regarding the oozie patch, for that to work, we have to change sahara-tests to add oozie on the fake plugin12:51
tellesnobregaI think12:51
toskyoh, let me try - or do you want to try?13:09
tellesnobregaif you can try I appreciate13:11
toskytellesnobrega: patch sent, you can add a Depends-On: on your patch13:11
tellesnobregaI'm on the program call and updating bug scrub doc13:11
tellesnobregathanks13:11
toskyor I guess I can add the Depends-On13:11
toskytellesnobrega: adding the depends-on13:12
tellesnobregatosky, thanks13:13
*** vkmc has left #openstack-sahara13:29
tellesnobregatosky, did you add the depends -on?13:47
*** tmckay has joined #openstack-sahara14:11
tellesnobregatosky, looks like it worked14:50
tellesnobregajust need to fix grenade now14:51
*** chason_ has joined #openstack-sahara15:09
*** pcaruana has quit IRC16:03
toskyoh!16:08
toskytellesnobrega: we may need to invert the order of patches though16:09
toskymore complicated: we need to backport the sahara patch on all supported branches16:21
tellesnobregathe oozie one?16:35
toskyyes, I changed the order16:36
toskythe oozie patch in fails in sahara-tests because oozie is not available right now in the fake plugin16:36
toskyand if we change it to master only, it will fail on older branches, because the same test is executed on all the branches16:37
toskyunless we add more code to differentiate between the fake job run on master (with oozie) and without (no oozie)16:37
tellesnobregaI see16:37
toskybut it's probably easier to add use to the fake plugin for all branches16:37
toskyor disable that test :)16:38
tellesnobregadisabling the test is the easier one for sure16:38
tellesnobregasimple, and since it is fake, no harm is done16:38
tellesnobregaat least from what I can see16:38
toskyoki, fine with that16:39
toskywe can reeavaluate it later16:39
toskyit was an interesting test though16:39
tellesnobregaof course16:39
*** elmiko has quit IRC16:39
tellesnobregayes16:39
tellesnobregafrom your perspective, what do you suggest?16:39
* tosky looks at the calendar16:40
toskyI think that oozie was enabled to exercise some additional code16:42
toskybut now that I think of it, and you may have it explained already but I forgot, why did it break? The scenario test used fake even before the split16:42
tellesnobregathe problem was with unit tests16:44
tellesnobregasome tests used vanilla plugin and I had to change to fake16:44
tellesnobregaso I had to add some code to the validate_job_execution on fake_plugin16:45
tellesnobregaand I got that chunk of code from vanilla16:45
tellesnobregaand there is check for oozie16:45
toskyoh, ok, so it is checked also on scenario test16:45
toskybut shouldn't the fake plugin ignore oozie if oozie is not enabled?16:46
tellesnobregaI think the check breaks that, forcing it to have at least 1 oozie enabled16:48
tellesnobregalike a datanode on spark16:48
tellesnobregatosky, https://review.openstack.org/#/c/629028/11/sahara/plugins/fake/edp_engine.py16:49
tellesnobregathe issue is in line 4516:49
tellesnobregabut, I can remove that if we remove the test as well16:50
toskytellesnobrega: did you basically copy the validate_job_execution from vanilla?16:51
tellesnobregayes16:51
tellesnobregatosky, so, what do you think is the best way here? keep the test and code, or drop it16:57
toskyI'm trying to understand how much testing would be lost16:57
tellesnobregajust one test16:57
toskyok, let's remove it for now16:58
toskymaybe it can be *later* moved to the unit tests of the vanilla plugin16:58
tellesnobregahttps://review.openstack.org/#/c/629028/13/sahara/tests/unit/service/validation/edp/test_job_executor.py16:58
tellesnobregatosky, yes16:59
tellesnobregalin 15316:59
tellesnobrega:wqa16:59
tosky$16:59
tellesnobregaclosing on vim16:59
toskyand returning to the prompt17:00
*** elmiko has joined #openstack-sahara18:59
tellesnobregatosky, did you see mike's comment?19:10
elmikoi can repeat here19:10
elmikoi don't _think_ there a problem releasing microversions during a cycle, but the important thing it to ensure that backward compat is not broken19:11
elmikoit shouldn't be too bad because iirc the default behavior for not specifying a microversion to give the minimum version19:11
elmikothe main key is to not break anyone and ensure backward compat behavior19:12
elmikooutside of that, i would think you can add the microversions19:12
tellesnobregagood thing is apiv2 is being released just now, probably no one will be using before we release microversioning19:13
toskyit's about microversion support19:13
elmikotellesnobrega: yeah, but still have to take into account the situations where someone might have initial v2 and needs to continue using without breaking on microversions19:14
tellesnobregatosky's comment is important19:14
tellesnobregawhat I meant was adding micronversion support19:14
elmikoi still don't think it would be an issue adding support for microversions during the cycle, as long as you take care of the backward compat19:15
elmikobut, that might be a sticking point19:15
tellesnobregawe are just trying to be safe here, we might even be able to do it now, so hoping to finish in time19:16
elmikofor maximum safety, probably best to release the support around a cycle break19:17
elmikoif you guys would like, i can bring this up in our api-sig office hours tomorrow?19:17
toskyyes, please19:17
elmiko++19:17
tellesnobregathanks elmiko19:17
elmikoso, just to be clear. you would like to release v2 at the start of the cycle and then add support for microversions during the cycle. is that accurate?19:18
toskyit may happen that we may need to make v2 STABLE now (M2) and add microversioning support before M319:19
toskywould that be a problem?19:19
elmikogot it, thanks!19:19
elmikoand just to make sure i haven't missed anything in the last year(XD), v1 does _not_ have microversion support?19:20
tellesnobregano19:25
elmikogot it19:27
elmikoi know i'm gonna bring this up and they are going to ask some crazy question, so i'm just trying to be prepared ;)19:27
toskyelmiko: is it this one? http://eavesdrop.openstack.org/#API_Special_Interest_Group_office_hours19:28
toskyI should be around at 16:00 UTC19:28
elmikoyes19:32
toskyoki19:35
toskyand I hang around on that channel19:35
tosky(in that channel?)19:35
*** openstackgerrit has joined #openstack-sahara19:39
openstackgerritTelles Mota Vidal Nóbrega proposed openstack/python-saharaclient master: Preparing OSC for APIv2  https://review.openstack.org/58411019:39
tellesnobregatosky, can you check if this changes fixes the issue?19:39
toskytellesnobrega: sure19:39
tellesnobregathanks :)19:40
elmikotosky: yes!19:41
tellesnobregatosky, also looks like this one is ready https://review.openstack.org/#/c/623300/1220:04
toskytellesnobrega: right, I was waiting for the +v20:28
toskynothing happens without it anyway20:28
tellesnobregayeah20:28
tellesnobregalooks like I have to update some tests on python-saharaclient patch as wel20:38
tellesnobregawell20:38
tellesnobregatrying to figure out how to fix it20:38
toskywhen you are done with that, do you have any idea about the error highlighted by Jeremy's comment in revision 9 of https://review.openstack.org/#/c/629337/ ?20:41
toskyalso, this is good to go: https://review.openstack.org/#/c/628056/20:41
tellesnobregatosky, not sure how it was introduced by the other patch20:46
tellesnobregathere are a lot of errors on apiv2 part20:48
tellesnobregaapiv1 has only 120:48
toskyignore the hadoop_version errors; I think that the comment is about the Internal Server errors on data sources20:49
tellesnobregaok20:51
tellesnobregaI will take a look20:51
tellesnobregaI'm still trying to figure out the osc issue yet20:51
tellesnobregayou might know it better20:51
tellesnobregaas you may have seen on the patch, I changed the jobs to job_template... on the tests I'm doing the same but it keeps saying that get_configs() is not being called20:52
toskyI don't know that part too much, but let me send an update for the tempest patch20:59
toskyand see if I can reduce the failures20:59
tellesnobregasure21:00
tellesnobregasounds good21:00
elmikotosky man, really burning the midnight oil!21:10
toskynow or never21:13
toskywell, not never, but... not another cycle o.O21:14
tellesnobregaelmiko, he is an inspiration to all of us21:14
toskyI just pretend I'm typing something meaningful21:17
elmikohaha, tosky ++21:25
elmikotellesnobrega: definitely =)21:26
tellesnobregatosky, any luck with tempest?22:18
toskytellesnobrega: not yet, I misnamed a variable thus invalidating the results, I sent another patch22:26
toskyI also deployed a devstack machine (I should have done it earlier) and I will probably do some local testing there22:27
tellesnobregamakes sense22:29
tellesnobregabut please22:29
tellesnobregago ahead a get some sleep22:29
tellesnobregawe can get to it tomorrow22:30
tellesnobregaand if not we can try and push to friday as last resort22:31
toskysure :)22:35
tellesnobregaI think I got it for the osc patch22:38
tellesnobregayeah22:38
tellesnobregaunit tests passed22:38
openstackgerritTelles Mota Vidal Nóbrega proposed openstack/python-saharaclient master: Preparing OSC for APIv2  https://review.openstack.org/58411022:38
*** rcernin has joined #openstack-sahara22:52
*** tellesnobrega has quit IRC22:58

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