Monday, 2017-03-27

*** jamielennox is now known as jamielennox|away01:01
*** jamielennox|away is now known as jamielennox01:19
*** tuanluong has joined #openstack-sahara01:37
*** shuyingya has joined #openstack-sahara01:52
*** dave-mccowan has quit IRC02:09
*** links has joined #openstack-sahara03:09
*** shuyingya has quit IRC03:14
*** shuyingya has joined #openstack-sahara03:14
*** mpotdar has quit IRC03:38
*** mpotdar has joined #openstack-sahara03:43
*** shuyingy_ has joined #openstack-sahara03:51
*** shuyingya has quit IRC03:54
*** jamielennox is now known as jamielennox|away04:14
*** jamielennox|away is now known as jamielennox04:22
*** Poornima has joined #openstack-sahara05:04
*** pgadiya has joined #openstack-sahara05:10
*** rcernin has joined #openstack-sahara05:26
*** shuyingy_ has quit IRC05:30
*** shuyingya has joined #openstack-sahara05:30
*** shuyingy_ has joined #openstack-sahara05:39
*** pgadiya has quit IRC05:41
*** shuyingya has quit IRC05:42
*** nkrinner_afk is now known as nkrinner06:28
*** tuanluong has quit IRC06:50
*** zemuvier has joined #openstack-sahara07:19
*** pcaruana has joined #openstack-sahara07:20
*** tuanluong has joined #openstack-sahara07:31
*** tesseract has joined #openstack-sahara07:44
*** abehl has joined #openstack-sahara07:55
*** openstackgerrit has quit IRC08:33
*** shuyingy_ has quit IRC09:20
*** shuyingya has joined #openstack-sahara09:21
*** shuyingy_ has joined #openstack-sahara09:25
*** shuyingya has quit IRC09:28
*** vgridnev has joined #openstack-sahara09:39
*** tosky has joined #openstack-sahara09:45
*** openstackgerrit has joined #openstack-sahara10:05
openstackgerritVitaly Gridnev proposed openstack/sahara-tests master: Add scripts for multinode job with spark  https://review.openstack.org/44640010:05
openstackgerritVitaly Gridnev proposed openstack/sahara-tests master: Try to use m1.small flavor in multinode  https://review.openstack.org/44956410:07
openstackgerritVitaly Gridnev proposed openstack/sahara-tests master: Try to use m1.small flavor in multinode  https://review.openstack.org/44956410:08
openstackgerritShu Yingya proposed openstack/sahara-dashboard master: Fix bugs of redirect url  https://review.openstack.org/45015610:36
*** dave-mccowan has joined #openstack-sahara11:18
*** abalutoiu_ has joined #openstack-sahara11:51
*** abalutoiu has quit IRC11:54
*** tuanluong has quit IRC11:56
*** dave-mccowan has quit IRC12:12
*** iwonka has joined #openstack-sahara12:15
iwonkahi everyone!12:17
*** zemuvier has quit IRC12:17
iwonka(i want to be an intern and i'm trying to do my first contribution)12:18
iwonkai've done these two changes:12:18
iwonkahttps://review.openstack.org/#/c/448291/512:18
iwonkahttps://review.openstack.org/#/c/448245/12:18
iwonkaand I wonder, what should be my next steps?12:18
iwonkaI mean to correct them12:18
toskytellesnobrega, vgridnev: you are in a better position than me to give some advice ^^12:19
tosky(and please add the +2+w if needed to the reviews, they already have one +2)12:19
toskyoh, already done, didn't check the logs12:20
openstackgerritShu Yingya proposed openstack/sahara-dashboard master: Fix bugs of redirect url  https://review.openstack.org/45015612:21
tellesnobregaiwonka, hi, both patches are on the way to be merged, both were already approved, now you can continue with the application process12:21
tellesnobregano action needed on this side anymore12:21
iwonkaoh, okay12:21
iwonkaso I just paste there links from review in my application?12:21
iwonka*these12:21
tellesnobregaiwonka, I'm not sure if you have to, let me check12:31
iwonkatellesnobrega: "Please describe your experience with the organization's product as a user and as a contributor (include the information, as well as a link or an attachment, for the required contribution you made to the project you are interested in here)"12:36
*** shuyingy_ has quit IRC12:36
tellesnobregaiwonka, so yes, paste those links there12:36
iwonkatellesnobrega: ok, thanks12:37
*** links has quit IRC12:40
*** chlong has joined #openstack-sahara12:51
iwonkaone more question12:56
iwonkaabout my second patch (adding saharaclient)12:56
tellesnobregaiwonka, go ahead12:56
iwonkaso, there are two approaches, one is to just install it, the other it to add it to requirements, which is not perfect, because it adds something unnecessary. so maybe it's better to add saharaclient only in sahara_dashboard is not enabled12:57
iwonkaor should the requirements be the same always?12:57
iwonkai mean in function installsaharaclient (the bash one)12:58
tellesnobregaI think requirements should be the same always. It won't matter really, if both projects have the same requirement, it will only install once12:58
iwonkaok, so i'll just leave it as it is12:59
openstackgerritMerged openstack/sahara master: install saharaclient from pypi if not from source  https://review.openstack.org/44829113:15
openstackgerritMerged openstack/sahara master: Adds information about using bash to documentation.  https://review.openstack.org/44824513:15
*** Poornima has quit IRC13:23
*** shuyingya has joined #openstack-sahara14:07
*** chlong has quit IRC14:09
*** dave-mccowan has joined #openstack-sahara14:16
*** abalutoiu__ has joined #openstack-sahara14:35
*** saphi has joined #openstack-sahara14:36
saphiHi everybody. I was installed sahara and launched cluster successful. But I can't run demo job (wordcount) with Input from Swift. After I launch job. The status is "Done with Error". My Lab Openstack Ocata Version, Spark Job and Spark cluster. Can you help me?14:38
*** abalutoiu_ has quit IRC14:38
toskywell, did you properly configure the swift datasource? Can the user that you specified access that swift bucket? Does the swift "URL" point to an empty "folder"?14:41
saphiHi tosky! I followed this guide: https://github.com/openstack/sahara-tests/tree/master/sahara_tests/scenario/defaults/edp-examples/edp-spark. Datasource was added by args.14:45
saphiWhen I launch the cluster. I saw the log with swift credentials, The auth_url is pointed to keystone v2 not v3. I this is a problem.14:46
toskyis keystone v3 configured on your cluster?14:46
toskywas the URL something like swift://foo.sahara/bucket  ?14:47
saphiYes. Keystone v3 is configured.14:51
toskyand did you use the special URL for the swift resource as explained?14:52
saphithe input url conform swift://<container>/<object_name>14:52
toskycontainer.sahara14:52
toskyyou need to add .sahara14:52
saphilet me try14:52
tellesnobregatosky, the path being passed as args, I don't think the .sahara is necessary for spark15:00
toskyuhm15:01
toskydoesn't spark use hadoop-swift as well?15:01
*** rcernin has quit IRC15:07
*** nkrinner is now known as nkrinner_afk15:08
tellesnobregatosky, I'm not sure, but I ran some stuff on it recently, and it worked without the .sahara, iirc15:11
tellesnobregabut it wasn't a data_source, it was a path on args when launching the job15:12
*** Llllllllllll has joined #openstack-sahara15:13
saphiHi tellesnobrega, Did you run on Openstack ocata version?15:19
*** Llllllllllll has quit IRC15:20
*** chlong has joined #openstack-sahara15:25
saphitosky, I added .sahara to URL but that is not solution.15:28
saphiI think the problem related swift info was passed to cluster: https://pastebin.com/mBGJPeMK15:29
toskyuhm uhm15:37
toskyI don't have an environment to reproduce properly right now, but how did you configure sahara?15:44
saphitosky. My sahara.conf file: http://paste.ubuntu.com/24261509/15:47
toskysaphi: identity_uri missing maybe; this is a (work-in-progress deployment, I don't have a cluster right now) of Ocata: http://paste.openstack.org/show/604337/15:50
saphiI set. But nothing change16:04
toskyafter restarting all, recreating the cluster, etc?16:05
saphihttps://pastebin.com/Xf6dUCfB16:06
saphiI check stdout log of spark. It try to authenticate with keystone v216:06
saphikeystone v2 on ocata is not working anymore16:06
*** vgridnev has quit IRC16:07
saphiI'm creating new cluster16:08
*** jeremyfreudberg has joined #openstack-sahara16:23
*** jeremyfreudberg has quit IRC16:23
*** abehl has quit IRC16:27
saphiNothing changes tosky16:31
toskysame values passed to swift for authentication?16:31
saphiI think you are running keystone v2. So Spark can connect to keystone to authenticate16:31
saphiYou can check my log16:32
*** shuyingya has quit IRC16:35
*** rcernin has joined #openstack-sahara16:37
toskyso no keystone v2 at all? But it is still active on ocata (unless it was disabled in the deployment)16:38
*** tesseract has quit IRC16:59
saphiWhat version of Openstack did you try on?17:03
tellesnobregasaphi, I used newton, but we use v3 for keystone17:03
saphiCan you tell me how to launch a spark job example? I follow that guide (I posted it above) But It failed17:05
tellesnobregasaphi, sure17:05
saphiYes, I'm sure17:06
tellesnobrega1) Upload your spark binary file to a swift container17:06
tellesnobrega2) Create job_binary on sahara giving swift path in the form swift://<container>.sahara/<path_to_file>17:07
*** rcernin has quit IRC17:08
tellesnobrega3) Create job_template using only main_library and set type to spark17:08
*** pcaruana has quit IRC17:12
tellesnobrega4) launch that on existing cluster passing its main class and on args add swift://<container>/<path_to_input_file> and swift://<container>/<path_to_output_file>17:13
tellesnobregasaphi, remember to delete output path if you want to run again, it fails if the output path exists17:13
saphiI have launched job same to you. But I upload binary to internal database instead of swift17:15
saphiCan you show me your sahara.conf file. Or you can review my config file here http://paste.ubuntu.com/24261509/17:16
*** chlong has quit IRC17:22
tellesnobregasaphi, your file looks ok to me, maybe checking the identity_uri, but I'm not that would be an issue17:30
tellesnobregaI'm looking for the sahara.conf17:31
tellesnobregaI don't have direct access to it, but I'm asking for it17:31
tellesnobregais your installation a devstack or full openstack deploy?17:31
saphiI installed openstack manually17:35
tellesnobregaok17:35
tellesnobregahere is my sahara.conf17:35
tellesnobregahttp://paste.openstack.org/show/HkPfdQQTNiPYJor6c927/17:35
tellesnobregabut I don't see much difference17:36
saphi use_domain_for_proxy_users = True  proxy_user_domain_name = sahara_proxy proxy_user_role_names = Member17:36
saphiI think these are difference17:37
*** chlong has joined #openstack-sahara17:37
toskyoh, right!17:39
toskysaphi: https://elmiko.github.io/2015/06/25/configuring-sahara-with-proxy-domains.html17:39
tosky(hi elmiko)17:39
saphiI will try it now17:41
*** tosky has quit IRC17:45
*** dave-mccowan has quit IRC17:46
tellesnobregaright, that might make sense17:50
*** dave-mccowan has joined #openstack-sahara18:01
openstackgerritmimansa04 proposed openstack/sahara master: added timeout function in health check function  https://review.openstack.org/44930818:12
saphihey tellesnobrega, I was created swift-proxy domain and configured sahara use that domain as you. But When launch job it can't create trust user with an error message:  {"error": {"message": "Could not find role: 7159755453174dcc92d82ff7f62c6764.", "code": 404, "title": "Not Found"}}18:13
saphiI check the role id is exist18:14
tellesnobregathat is very weird, when I run devstack, I usually don't set proxy users for sahara, I'm not entirely sure how to proceed on this. what role is that? Member? admin? service?18:15
saphithe role name is 'user'18:16
*** tosky has joined #openstack-sahara18:18
saphiThank tellesnobrega and tosky. But I'm in Viet Name. And now is 1h30 am. I have to sleep. I will try later.18:24
*** saphi has quit IRC18:24
*** stanchan has joined #openstack-sahara18:32
*** stanchan has quit IRC18:59
*** stanchan has joined #openstack-sahara19:00
*** jamielennox is now known as jamielennox|away20:13
*** jamielennox|away is now known as jamielennox20:24
*** shuyingya has joined #openstack-sahara21:10
*** dave-mccowan has quit IRC21:27
*** chlong has quit IRC22:03
*** tosky has quit IRC23:09
openstackgerritMarianne Linhares Monteiro proposed openstack/sahara master: [APIv2] Convert update methods to use PATCH  https://review.openstack.org/45048423:11
openstackgerritMarianne Linhares Monteiro proposed openstack/sahara master: [APIv2] Convert update methods to use PATCH  https://review.openstack.org/45048423:14
*** shuyingya has quit IRC23:59

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