Monday, 2018-01-15

*** tosky has quit IRC01:17
*** caowei has joined #openstack-sahara01:30
openstackgerritpangliye proposed openstack/sahara master: add bugs link in README.rst  https://review.openstack.org/53344302:12
*** caowei has quit IRC04:30
-openstackstatus- NOTICE: The logs.openstack.org filesystem has been restored to full health. We are attempting to keep logs uploaded between the prior alert and this one, however if your job logs are missing please issue a recheck.04:49
*** ChanServ changes topic to "The logs.openstack.org filesystem has been restored to full health. We are attempting to keep logs uploaded between the prior alert and this one, however if your job logs are missing please issue a recheck."04:49
*** ChanServ changes topic to "OpenStack Sahara // IRC Meetings - http://eavesdrop.openstack.org/#OpenStack_Data_Processing_(Sahara)_Team_Meeting"04:53
*** links has joined #openstack-sahara05:11
*** pcaruana has joined #openstack-sahara05:23
*** caowei has joined #openstack-sahara05:27
*** pcaruana has quit IRC05:32
*** hoonetorg has quit IRC07:58
*** rcernin has quit IRC07:59
*** hoonetorg has joined #openstack-sahara08:11
openstackgerritzhongshengping proposed openstack/puppet-sahara master: Add use_journal option for logging configuration  https://review.openstack.org/53355808:22
*** caowei has quit IRC10:21
*** tosky has joined #openstack-sahara10:30
*** pgadiya has joined #openstack-sahara10:40
*** pcaruana has joined #openstack-sahara11:44
*** tesseract has joined #openstack-sahara12:15
*** tellesnobrega has quit IRC12:22
*** tellesnobrega has joined #openstack-sahara12:23
tellesnobregatosky, about .swp I don't like having "IDE" specific stuff on .gitignore, specially with temporary files like jeremy said12:33
tellesnobregait is easier to delete knowing they are there12:33
*** tellesnobrega has quit IRC12:34
*** tellesnobrega has joined #openstack-sahara12:35
toskyack12:43
toskyI may have a patch for the dashboard issue12:43
tellesnobregaawesome, what was the issue?12:45
toskyit's after lunch :)12:46
tellesnobregasounds good12:53
*** tellesnobrega has quit IRC13:16
*** tellesnobrega has joined #openstack-sahara13:16
*** openstackgerrit has quit IRC13:18
*** caowei has joined #openstack-sahara13:53
*** dgonzalez has left #openstack-sahara13:56
*** openstackgerrit has joined #openstack-sahara14:11
openstackgerritLuigi Toscano proposed openstack/sahara-dashboard master: Fix attrs list of LabeledInput.render() method  https://review.openstack.org/53365414:11
toskytellesnobrega: ^^ please test and let me know :)14:11
tellesnobregatosky, doing it right now14:11
*** pgadiya has quit IRC14:12
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible-os_sahara master: Replace virtualenv-tools by a script  https://review.openstack.org/53366314:16
tellesnobregatosky, works :) thanks14:17
toskyyay14:18
toskyit took more to understand *why* the fix was working, and luckily I found a commit message $somewhere with the explanation14:18
tellesnobregathat happens sometimes14:19
tellesnobregapositional args vs named args, right?14:19
toskyyes, because now the arguments are called with their names in $someplace14:21
tellesnobregaI see14:31
tellesnobregatosky, I'm still hitting the launch job issue that jeremy didn't see14:41
toskytellesnobrega: oh, so different from the create job binary issue?14:42
tellesnobreganot sure14:42
tellesnobregalooking to see if I find something in the logs14:43
toskycan you please repeat the steps, so that I can try to reproduce?14:43
tellesnobregabut the behavior is the same14:43
tellesnobrega1. Create job template14:43
tellesnobrega2. Launch job14:43
toskydo you have a cluster already running?14:45
*** caowei has quit IRC14:45
toskyand where is the issue exactly, that launch job does not open?14:45
*** jkunigk has joined #openstack-sahara14:48
jkunigkHi, I have a question about storage in Sahara14:49
jkunigkI wonder how Sahara-provisioned Hadoop clusters normally implement HDFS. That part is not definitively covered in the docs, even though I suppose it is implied:14:50
jkunigkhttps://docs.openstack.org/sahara/latest/intro/overview.html#details14:50
jkunigksays that Cinder _can_ be used for VM block storage14:51
toskybut that's unrelated with HDFS14:51
toskyHDFS services can be defined as any other services in the cluster template14:51
jkunigkok, but most modern Hadoop distros require an HDFS service and let's assume we want to run a distro of Hadoop on top =)14:52
toskyan existing HDFS service, do you mean?14:52
jkunigkno, the distros build one (with local storage) when they install "the cluster"14:53
jkunigkand that's why I am hung up a bit on Cinder14:53
toskyuhm, I'm not sure about the question then14:54
jkunigkRight, didn't really get there yet.14:54
toskyoh14:54
jkunigkIs it typical to feed Cinder volumes as the underlying block devices to the HDFS service in Sahara?14:55
toskyit's up to you - it was discussed few times and as Sahara we just provide you the possibility14:55
jkunigkwhat other options would you say are typical for implementing HDFS then?14:56
jkunigk(on Sahara clusters)14:56
jkunigks/typical/available14:56
toskyfor the internal usage, ephemeral storage for HDFS; for data sources, you can point to an external HDFS14:58
toskytellesnobrega: when you say "Launch job", do you mean "Launch on existing cluster"/"Launch on new cluster"?14:58
* tosky disappears for a while14:58
jkunigkAh, ok. So the clusters would be more transient.14:59
jkunigkThanks for that clarification15:01
jkunigkRegarding Cinder: Since HDFS canonically prefers local storage, I wonder if I can rely on any form of data locality when  using Cinder and local disks in commodity server (i.e. model the classic way of running HDFS).15:01
jkunigkI have read that Cinder manages a set of Volumes created by Linux' LVM and a corresponding iSCSI and fibre channel target for each volume  on all participating hosts which provide storage.15:04
jkunigkThe hypervisor on a host (such as KVM) then is assigned such volumes as requested, which may reside on its local host, but also on distant hosts and communicates with the volumes as an iSCSI initiator. That would basically defeat the efforts HDFS makes w/r to data durability (replication), meaning that another layer should take care of that.15:04
jkunigkIs that about accurate?15:04
toskyI heard different opinions about this, and it's not my area of expertise, so I will refrain from commenting15:07
toskyI mean, the data locality of HDFS15:07
jkunigkyes, it's my area of expertise =)15:09
jkunigkIf you want really good durability with HDFS at scale you need each replica on its own physical box15:10
jkunigkand it seems to me that Cinder would make it impossible for HDFS to know this for sure.15:10
toskyjkunigk: https://specs.openstack.org/openstack/sahara-specs/specs/kilo/volume-instance-locality.html15:11
toskydisclaimer: I don't think it has been retested recently15:11
jkunigkAh great! sorry, I am still very bad with the OpenStack docs... Specs... gotta start looking at those then. Yes, btw. if another layer (Enterprise storage system, Cinder itself) takes care about durability, then it's up to the team maintaining that layer to sign off on data durability.15:13
jkunigkBut as the docs under the link above imply performance and crazy strain on network bandwidth would be the next issue15:13
jkunigkbut alas, many public cloud implementations just use SAN for HDFS block devices...15:14
jkunigkthanks for the information15:14
*** links has quit IRC15:20
*** hoonetorg has quit IRC16:09
openstackgerritJeremy Freudberg proposed openstack/python-saharaclient master: Beginnings of APIv2 support in client  https://review.openstack.org/53306616:27
*** dave-mccowan has joined #openstack-sahara16:27
openstackgerritJeremy Freudberg proposed openstack/python-saharaclient master: Beginnings of APIv2 support in client  https://review.openstack.org/53306616:28
*** dave-mcc_ has joined #openstack-sahara16:29
*** dave-mccowan has quit IRC16:32
*** jeremyfreudberg has joined #openstack-sahara16:33
jeremyfreudbergtellesnobrega, i just put out a new patchset for v2 client. the comments on the latest patchset are some TODOs, can you work on those?16:34
tellesnobregajeremyfreudberg, sure16:39
tellesnobregatosky, I tried Launch on existing cluster, the window opens, but the launch button doesn't16:39
tellesnobregajeremyfreudberg, thanks for getting that started16:40
toskyjeremyfreudberg: did you see the proposed patch for horizon? I don't remember if you were affected16:40
*** tesseract has quit IRC16:40
jeremyfreudbergtellesnobrega, no problem. and thanks for helping too. if you have questions just email16:40
tellesnobregawill do16:40
jeremyfreudbergtosky: yes, i was affected, so I'll try it now16:40
jeremyfreudbergtellesnobrega: i am pretty sure my job launch button had no problems but i'll check again16:41
tellesnobregajeremyfreudberg, thanks. I'm not sure why it is not working here, will looking into it16:42
jeremyfreudbergtellesnobrega, just so i have it exactly the same: what attributes does your job template have (what type of job, extra configs, etc)16:42
tellesnobregaI tried a Spark job16:42
toskyapart from jeremyfreudberg 's v2 patch, I think I commented all the recent open patches16:43
tellesnobregatosky, I will follow up on all of them too, hopefully today16:43
tellesnobregajeremyfreudberg, nothing specific, I was hoping it would break before it got to that (testing the binary file bug)16:44
jeremyfreudbergtosky: your fix works16:44
tellesnobregajeremyfreudberg, go ahead and merge it16:45
tosky\o/16:45
toskyI don't even want to think about Django >=216:46
jeremyfreudbergdjango 2 is a bit scary16:46
jeremyfreudbergwe should try to antcipate those breakages16:46
jeremyfreudbergtellesnobrega, i still don't have any problem on launch job16:46
tellesnobregajeremyfreudberg, what job did you run?16:47
tellesnobregaspark-pi?16:47
jeremyfreudbergtellesnobrega, oh, do i actually have to run it (or just test that the modal appears)16:47
tellesnobregathe problem is clicking the launch job button16:48
jeremyfreudbergoh, inside the modal16:48
jeremyfreudbergok, i will try it16:48
tellesnobregathe modal appears no problem as well16:48
jeremyfreudbergcd /opt/stack/horizon16:50
jeremyfreudbergpython manage.py runserver 0.0.0.0:PORT16:50
jeremyfreudbergdo that, navigate to the instance of horizon running on PORT, and see if any error comes out16:50
jeremyfreudbergtellesnobrega, never mind, client side error16:53
jeremyfreudbergwhere client=browser js16:53
tellesnobregajeremyfreudberg, where is that?16:54
jeremyfreudberguh, in chrome i just hit Ctrl-Shift-I and click console16:54
jeremyfreudbergAn invalid form control with name='streaming_reducer' is not focusable.16:54
jeremyfreudbergAn invalid form control with name='streaming_mapper' is not focusable.16:54
toskypartially OT, but I can't resist: http://www.commitstrip.com/en/2018/01/08/new-year-new-frameworks/16:56
openstackgerritMerged openstack/sahara-dashboard master: Fix attrs list of LabeledInput.render() method  https://review.openstack.org/53365416:57
openstackgerritLuigi Toscano proposed openstack/sahara-dashboard stable/pike: Fix attrs list of LabeledInput.render() method  https://review.openstack.org/53373516:58
tellesnobregatosky, makes sense16:58
toskysadly17:00
jeremyfreudbergso, uh, anybody know how to fix the js problem?17:00
* tosky tries to identify the nearest exit17:00
toskyjoking aside, I don't have an environment where I can start a real cluster17:01
toskyoh, but maybe I don't need that, I just need to define it and see if it starts17:01
jeremyfreudbergtosky, you don't need a real cluster17:01
jeremyfreudbergwe aren't even getting that far17:01
toskyI probably need at least the cluster template, I guess17:01
tellesnobregayou do17:02
toskyso any cluster template, any job template valid for that cluster?17:02
jeremyfreudbergwell, a job template (but it can reference something fake, for the purposes of debugging this)17:02
tellesnobregatosky, you can easily import that, if you want I have master and slave templates for spark17:02
toskylet's see if default templates still work17:02
tellesnobregaand job template should be easy enough17:02
jeremyfreudberghttps://github.com/openstack/sahara-dashboard/blob/b05932f4fbb15a4be0569c4cd741111b18986a10/sahara_dashboard/content/data_processing/jobs/templates/job_templates/config_template.html#L15717:03
jeremyfreudberg^ the problem is how we are hiding some fields (probably django changed how they are generated so js cannot find them anymore)17:04
jeremyfreudbergwhoever has to fix this can also try hiding them using django stuff instead (might not be possible)17:04
tellesnobregajeremyfreudberg, that makes sense17:05
jeremyfreudbergwe can put this off till after feature freeze (we have a month for bugs only), but yeah, my guess sounds pretty good17:08
*** dave-mcc_ has quit IRC17:08
tellesnobregajeremyfreudberg, weird enough, the problem only happens for the streaming_mapper and streaming_reducer part17:12
tellesnobregaif you try to launch a streamingMapReduce job it works17:12
jeremyfreudbergtellesnobrega, hmm17:13
*** hoonetorg has joined #openstack-sahara17:14
jeremyfreudbergit's really weird17:15
toskyjeremyfreudberg: unrelated (before I go afk for a while): did you see my (small) question here? https://review.openstack.org/#/c/530659/17:15
jeremyfreudbergtosky, yes, i saw that, I will respond on the patch now17:16
jeremyfreudbergtellesnobrega, regarding your observation it might have something do with how the fields are creating on django side (different types, settings, make a subtle difference) https://github.com/openstack/sahara-dashboard/blob/20ae6d4418185111592094c134e55276f376bc49/sahara_dashboard/content/data_processing/jobs/job_templates/workflows/launch.py#L16117:20
jeremyfreudbergbut i don't notice anything overtly strange17:20
* tosky bbl17:21
*** links has joined #openstack-sahara17:21
tellesnobregajeremyfreudberg, I do see something interesting17:21
tellesnobregarequired=False17:21
tellesnobregaits not set on streaming stuff17:21
tellesnobregatrying now17:22
jeremyfreudbergtellesnobrega, clever17:22
tellesnobregajeremyfreudberg, that did it :)17:24
jeremyfreudbergtellesnobrega, awesome!17:24
jeremyfreudbergi think that's a sufficient fix, most stuff in sahara-dashboard is marked required=False even if it is logically required17:25
jeremyfreudbergpropose a patch when you can17:25
tellesnobregawill do17:26
*** jeremyfreudberg has quit IRC17:28
*** remixtj has left #openstack-sahara17:34
openstackgerritTelles Mota Vidal Nóbrega proposed openstack/sahara-dashboard master: Setting streaming options as not required  https://review.openstack.org/53374617:35
tellesnobregatosky, https://review.openstack.org/#/c/533746/1 launch job fix17:41
*** links has quit IRC17:50
-openstackstatus- NOTICE: Zuul has been restarted and has lost queue contents; changes in progress will need to be rechecked.18:23
*** jkunigk has quit IRC18:49
tellesnobregatosky, I'm facing an issue to run the job because its failing with keystone auth_url for swift (using keystone v3)18:58
tellesnobregado you know if we have any special settings to make it work?18:58
tellesnobregaI'll afk for a while now18:58
*** jkunigk has joined #openstack-sahara19:17
*** jkunigk has quit IRC19:17
*** jkunigk has joined #openstack-sahara19:41
*** jkunigk has quit IRC20:03
toskyuhm, swift21:28
openstackgerritMerged openstack/puppet-sahara master: Add use_journal option for logging configuration  https://review.openstack.org/53355821:29
*** pcaruana has quit IRC21:30
*** dave-mccowan has joined #openstack-sahara21:32
*** rcernin has joined #openstack-sahara22:21
openstackgerritmelissaml proposed openstack/puppet-sahara master: Update openstackdocstheme>=1.18.1  https://review.openstack.org/53289322:51

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