Friday, 2017-08-04

*** ukaynar has quit IRC00:08
*** ukaynar has joined #openstack-sahara00:11
*** ukaynar has quit IRC00:11
*** ukaynar has joined #openstack-sahara00:12
*** ukaynar has quit IRC00:26
*** esikachev has joined #openstack-sahara00:27
*** esikachev has quit IRC00:31
*** shuyingya has joined #openstack-sahara00:39
*** shuyingya has quit IRC00:44
*** tomtomtom has quit IRC00:45
*** dave-mccowan has joined #openstack-sahara01:27
*** esikachev has joined #openstack-sahara01:28
*** shuyingya has joined #openstack-sahara01:31
*** esikachev has quit IRC01:32
*** shuyingya has quit IRC01:32
*** shuyingya has joined #openstack-sahara01:32
openstackgerritlan proposed openstack/sahara-extra master: Modify a description of the parameters to function.  https://review.openstack.org/49070302:10
*** esikachev has joined #openstack-sahara02:28
*** dave-mccowan has quit IRC02:29
*** esikachev has quit IRC02:32
*** http_GK1wmSU has joined #openstack-sahara02:53
*** http_GK1wmSU has left #openstack-sahara02:56
*** esikachev has joined #openstack-sahara03:29
*** esikachev has quit IRC03:34
*** esikachev has joined #openstack-sahara03:59
*** links has joined #openstack-sahara04:03
*** esikachev has quit IRC04:03
*** esikachev has joined #openstack-sahara04:06
*** esikachev has quit IRC04:38
*** tuanluong has joined #openstack-sahara04:41
*** esikachev has joined #openstack-sahara04:41
*** esikachev has quit IRC04:49
*** esikachev has joined #openstack-sahara05:10
*** ssmith has joined #openstack-sahara05:16
*** Poornima has joined #openstack-sahara05:16
*** Poornima has quit IRC05:33
*** Poornima has joined #openstack-sahara05:39
*** pgadiya has joined #openstack-sahara05:48
*** pgadiya has quit IRC06:17
*** pgadiya has joined #openstack-sahara06:18
*** rcernin has joined #openstack-sahara06:30
*** Poornima has quit IRC06:32
*** anshul has joined #openstack-sahara06:38
*** esikachev has quit IRC06:49
*** Poornima has joined #openstack-sahara07:05
*** tesseract has joined #openstack-sahara07:16
*** esikachev has joined #openstack-sahara07:27
*** pcaruana has joined #openstack-sahara07:38
*** ssmith has quit IRC07:42
openstackgerritOpenStack Proposal Bot proposed openstack/sahara-dashboard master: Imported Translations from Zanata  https://review.openstack.org/49079708:25
*** abalutoiu has joined #openstack-sahara08:37
*** esikachev has quit IRC08:44
*** esikachev has joined #openstack-sahara09:20
*** Poornima has quit IRC09:24
*** tosky has joined #openstack-sahara09:25
*** tosky has quit IRC09:44
*** pgadiya has quit IRC09:45
*** pgadiya has joined #openstack-sahara10:02
*** tuanluong has quit IRC10:08
*** Poornima has joined #openstack-sahara10:11
*** openstackgerrit has quit IRC10:18
*** esikachev has quit IRC10:34
*** esikachev has joined #openstack-sahara10:41
*** Poornima has quit IRC10:45
*** tellesnobrega has quit IRC10:46
*** abalutoiu has quit IRC10:57
*** tosky has joined #openstack-sahara11:02
*** Poornima has joined #openstack-sahara11:17
*** esikachev has quit IRC11:17
*** Poornima has quit IRC11:48
*** tellesnobrega has joined #openstack-sahara11:50
*** dave-mccowan has joined #openstack-sahara11:55
*** Poornima has joined #openstack-sahara11:56
*** esikachev has joined #openstack-sahara12:01
*** shuyingya has quit IRC12:33
*** esikachev has quit IRC12:42
*** pgadiya has quit IRC12:54
*** shuyingya has joined #openstack-sahara12:56
*** shuyingya has quit IRC13:00
*** Poornima has quit IRC13:01
*** jeremyfreudberg has joined #openstack-sahara13:01
*** pgadiya has joined #openstack-sahara13:07
*** lucasxu has joined #openstack-sahara13:34
*** pgadiya has quit IRC13:41
*** jeremyfreudberg has quit IRC13:46
*** ssmith has joined #openstack-sahara13:46
*** cpusmith has joined #openstack-sahara13:47
*** openstackgerrit has joined #openstack-sahara13:48
openstackgerritLuigi Toscano proposed openstack/sahara master: Restructure the documentation according the new spec  https://review.openstack.org/49087213:48
toskythat was tough13:48
tellesnobregatosky, thanks13:49
toskywhen the job complets you can see the preview from the results of the docs job13:50
tellesnobregatosky, looking here at spark jobs, I saw that most of the time spark uses minimum core ad minimum memory. This could be something interesting for us to look into. Maybe this could be optimized to run with all available resources or something more than minimum13:50
toskytellesnobrega: do you mean that we test it only with tiny instances?13:51
*** ssmith has quit IRC13:51
tellesnobregatosky, from what I saw, when we run spark-submit (and there isn't any specification on the job) spark will allocate the minimum amount of resources to the job13:55
tellesnobregaso, it wouldn't matter having a 8 vcpu with 16gb RAM machine, because it would allocate only 1cpu and 1GB ram if I understand it correctly13:56
tellesnobregathere are some command line flags that can be used to tune that --executor-cores and --executor-memory13:57
tellesnobregaI have to read a little more on this, but we might be under using the resources on job submission13:58
*** cpusmith_ has joined #openstack-sahara13:59
*** jeremyfreudberg has joined #openstack-sahara13:59
toskyoh, so basically Sahara should do the magic and pass all the resources available on the worker node to spark?14:00
*** cpusmith has quit IRC14:02
tellesnobregatosky, that is something to think about14:03
tellesnobreganot sure if it should be sahara, or if we should make this available for the user to set14:03
tellesnobregajeremyfreudberg, please read a little back and give your thoughts on this matter14:04
*** cpusmith_ has quit IRC14:10
*** links has quit IRC14:12
*** cpusmith_ has joined #openstack-sahara14:13
*** cpusmith has joined #openstack-sahara14:13
*** cpusmith_ has quit IRC14:17
jeremyfreudbergtellesnobrega, reading now, i pulled up the help for spark-submit on my cluster too for reference http://paste.openstack.org/raw/617543/14:18
tellesnobregajeremyfreudberg, cool14:19
openstackgerritLuigi Toscano proposed openstack/sahara master: Restructure the documentation according the new spec  https://review.openstack.org/49087214:19
jeremyfreudbergtellesnobrega, i guess one solution to this might be use the oozie edp engine to submit spark jobs on vanilla...14:23
tellesnobregajeremyfreudberg, this isn't really a solution but more of a workaround14:23
tellesnobregaI'm thinking that we could provide the users the option to tune that (UI and CLI) and we append that info on the spark-submit command line14:24
*** anshul has quit IRC14:26
jeremyfreudbergtellesnobrega, that could work too14:33
jeremyfreudbergespecially if you could grab good defaults from the flavor info14:34
*** tellesnobrega has quit IRC14:36
*** shuyingya has joined #openstack-sahara15:12
*** rcernin has quit IRC15:14
*** lucasxu has quit IRC15:15
toskyand the preview: http://docs-draft.openstack.org/72/490872/2/check/gate-sahara-docs-ubuntu-xenial/45e5a32//doc/build/html/15:16
*** shuyingya has quit IRC15:16
*** Adri2000 has joined #openstack-sahara15:23
Adri2000hello15:23
Adri2000I can't figure out what "INFO keystonemiddleware.auth_token [-] Rejecting request" in the sahara logs is about15:23
Adri2000ocata version, deployed using openstack-ansible, if that matters15:24
jeremyfreudbergah, adri2000, a common question15:24
Adri2000ah :)15:24
jeremyfreudbergso, you have something external (perhaps haproxy, nagios) talking to sahara15:24
jeremyfreudbergbut because sahara uses keystonemiddleware for auth, any http request to it not well formed yields that log message15:25
jeremyfreudberghowever, it's not an error and should not really affect sahara's operation15:25
Adri2000ohhh, certainly haproxy keepalive pings!15:25
jeremyfreudbergadri2000, yes, we had another deployment report the same15:25
jeremyfreudbergwe can try to document this issue, but as long as keystonemiddleware behaves the way it does, and haproxy talking to http port, not much we can do15:26
* tosky <- seen haproxy15:26
Adri2000that makes sense, but I wonder why don't we notice the same thing for other components that (I guess) also use keystonemiddleware?15:29
jeremyfreudbergadri2000, fair point, i can look at it some15:30
Adri2000anyway, thanks for you quick help and explanation! :)15:31
jeremyfreudbergadri2000, no problem15:31
cpusmithjeremyfreudberg: The Spark cluster has gone RED health overnight.  Do you know where we can check for the issue?  Also, when clicking on the name in Horizon we get a "Something went wrong!15:53
cpusmithAn unexpected error has occurred."15:53
jeremyfreudbergcpusmith, the red is because of a health check, the default ones on spark cluster are only "all instances accessible" and "resolvconf changed"15:57
jeremyfreudbergfor the something went wrong, usually you have a resource which refers to a different non existent resource (deleted image, disabled plugin)15:58
jeremyfreudbergyou can check horizon logs for details (depending on your deployment, sometimes in your webserver logs)15:58
cpusmithOh, I think that Tomtom turned on namespaces last night.  I may have to rebuild it15:59
*** lucasxu has joined #openstack-sahara16:00
jeremyfreudbergcpusmith, that's probably it (For the "RED" status, anyway)16:00
jeremyfreudbergif namespaces is not working, things will be red16:00
jeremyfreudbergtosky, take a look at https://github.com/openstack/sahara/blob/master/sahara/config.py#L124 and https://github.com/openstack/oslo.log/blob/master/oslo_log/_options.py#L1916:03
jeremyfreudbergthe solution to our "rejecting request" problem16:03
jeremyfreudbergi will put up a patch later16:03
openstackgerritLuigi Toscano proposed openstack/sahara master: Restructure the documentation according the new spec  https://review.openstack.org/49087216:05
toskyjeremyfreudberg: change the logging level?16:06
jeremyfreudbergtosky, we can actually remove most of that override log level stuff, most of it old stuff no one does anymore16:06
toskyoh, that too16:07
jeremyfreudbergthe only worth keeping as override is eventlet.wsgi.server, that one being on warn is nice16:07
jeremyfreudbergon info it's too much stuf16:07
*** pcaruana has quit IRC16:10
*** tellesnobrega has joined #openstack-sahara16:32
openstackgerritJeremy Freudberg proposed openstack/sahara master: Better keystonemiddleware log level  https://review.openstack.org/49097116:33
*** jeremyfreudberg has quit IRC16:39
*** cpusmith has quit IRC17:01
*** cpusmith_ has joined #openstack-sahara17:01
*** cpusmith has joined #openstack-sahara17:03
*** cpusmith_ has quit IRC17:06
*** tosky has quit IRC17:27
*** openstackstatus has quit IRC17:27
*** openstack has joined #openstack-sahara17:30
*** jeremyfreudberg has joined #openstack-sahara17:30
*** tosky has joined #openstack-sahara17:54
*** tomtomtom has joined #openstack-sahara17:55
tomtomtomhello, anyone seen an error like this before: NoReverseMatch: u'data_processing.data_plugins' is not a registered namespace inside 'horizon:project' when trying to click the cluster after been created and showing in the clusters panel?  The error is from the horizon log.  It seems to me that horizon is complaining about not being able to find the sahara plugin17:56
tomtomtomis this better asked in the horizon irc?17:57
jeremyfreudbergtomtomtom, maybe, but first -- how was sahara ui installed? (and more importantly, any changes/upgrades that could have made it spontaneously stop working?)17:57
toskyI didn't see it, but I second jeremyfreudberg's question: did it work before?17:58
tomtomtomit was installed via openstack-ansible from the stable/newton branch17:59
jeremyfreudberg(tosky: it's the same deployment that has had people popping up on irc for about a week or so)17:59
tomtomtomThere haven't been any changes, all other panels seem to work except for the one that allows you to go into a completed cluster.18:00
jeremyfreudbergtomtomtom, i see18:00
tomtomtomthis is the first time we have a working cluster though.18:00
tomtomtomso now we noticed that the panel is broken18:01
toskyjeremyfreudberg: oh, I see18:01
tomtomtomso the Cluster panel comes up and shows that a cluster is available, but when you click it horizon throws an internal server error.18:02
jeremyfreudbergtomtomtom, can you ls openstack_dashboard/local/enabled for me?18:03
toskyI didn't see this error in the past, but of course something is happening18:03
toskyis it the last git revision of stable/newton? Even if I don't see specific fixes for something like that18:04
toskydjango 1.8, right?18:04
tomtomtomchecking18:09
tomtomtom@jeremyfreudber _1370_project_container_infra_panel_group.py     _1371_project_container_infra_clusters_panel.pyc           _1481_project_ng_loadbalancersv2_panel.py   _80_admin_default_panel.py   __init__.pyc _1370_project_container_infra_panel_group.pyc    _1372_project_container_infra_cluster_templates_panel.py   _1481_project_ng_loadbalancersv2_panel.pyc  _80_admin_default_panel.pyc _1371_project_container_infra_clus18:10
tellesnobregaim back18:10
tomtomtomhmm.... just the 137* are there for clustering, in the sahara_dashboard directory there are some _18* files for the horizon dashboard18:11
jeremyfreudbergtomtomtom, usually those _18* files for sahara-dashboard get copied into the horizon tree as part of the install, can you do a "find" and make sure that they are all there?18:12
jeremyfreudbergthey might have made it into openstack_dashboard/enabled instead openstack_dashboard/local/enabled, for instance, i can never remember how consistent that is across deployment methods18:12
tomtomtomyes they are there under openstack_dashboard/enabled, they are symlinks to sahara_dashboard/enabled18:12
jeremyfreudbergtomtomtom, i see18:13
tomtomtom@tosky it might be like 14.0.7 as opposed to 14.0.8 so I don't think it's the absolute last one.18:14
tomtomtom@tosky django 1.8.14 is installed in horizon venv18:15
toskytomtomtom: 14 I think it's the version of horizon, and sahara-dashboard?18:16
*** cpusmith has quit IRC18:16
*** cpusmith_ has joined #openstack-sahara18:16
jeremyfreudbergtomtomtom, just for sanity, you have _1810, _1820, _1830, and _1840 in the dashboard enabled folder?18:16
jeremyfreudbergjust to be super sure18:16
jeremyfreudbergand I echo the question of what is versioned as 14.x, not anything sahara18:17
tomtomtomlol well what do you know, for some reason 1830 isn't there.18:17
jeremyfreudberg1830 is the one that was missing according to your error message18:17
jeremyfreudbergthe "data processing plugins panel"18:17
tomtomtomyeah that 14.x is the version of openstack-ansilbe I deployed with18:17
tomtomtomlol ok, didn't see that thanks18:18
jeremyfreudbergtomtomtom, i'm trying to look at the ansible playbooks now, trying to find out if there is a legitimate reason why that file was missed18:19
jeremyfreudbergmaybe i'm looking in the wrong place, doesn't seem like here https://github.com/openstack/openstack-ansible-os_sahara is the relevant place for dashboard things?18:20
jeremyfreudbergtomtomtom, care to weigh in how to find the relevant playbook?18:26
*** openstackstatus has quit IRC18:26
*** openstack has joined #openstack-sahara18:29
*** cpusmith has joined #openstack-sahara18:30
*** cpusmith_ has quit IRC18:33
tomtomtomsorry gimme a minute and I'll be able to answer the questions18:36
jeremyfreudbergtomtomtom, not a problem at all18:36
tellesnobregajeremyfreudberg, back to the spark talk (sorry I had to leave abruptly). My idea is something on the line of what you said, we can suggest a config based on flavor and make it available for user tunning18:36
jeremyfreudbergtellesnobrega, great, it's on the etherpad, i think that's reasonable18:37
tellesnobregajeremyfreudberg, thanks18:37
toskyyep, default to all the resources18:38
tomtomtomok so the problem is with openstack-ansible horizon role.  /etc/ansible/roles/os_horizon/tasks/horizon_post_install.yml, check out the image: http://imgur.com/a/bUCiR  seems like each file is specifically coded in and 1830 was missed18:41
jeremyfreudbergtomtomtom, oh wow, luckily fixed here: https://github.com/openstack/openstack-ansible-os_horizon/commit/7fdad55c63733bb94732c1fd034d3d752d34b4ec18:44
jeremyfreudbergtomtomtom, it was actually backported too https://review.openstack.org/#/q/Ied57616e5641230ff3e979a44498697a30f6314318:45
tomtomtomyeah, mar 7th might have been 1 or 2 months after I pulled the stable/newton branch down..... I installed back in january/february18:46
tellesnobregaawesome the fix is not complicated here18:46
tomtomtomeither way my fix was to symlink the file like the others on my horizon nodes. it's already working correctly now, thanks for the help.18:48
jeremyfreudbergtomtomtom, no problem18:49
*** esikachev has joined #openstack-sahara18:55
toskyI think we can use it in our presentation: most of the problems related to Sahara are not Sahara problems19:12
jeremyfreudbergtosky, ha19:13
tellesnobregatrue19:13
jeremyfreudbergit's true, sahara does a good job of revealing how bad your deployment is19:13
tosky(or something in a proper English)19:13
openstackgerritMerged openstack/sahara-dashboard master: Imported Translations from Zanata  https://review.openstack.org/49079719:13
openstackgerritAlex Schultz proposed openstack/puppet-sahara master: Bump modules to next minor with -dev  https://review.openstack.org/49106519:38
*** jeremyfreudberg has quit IRC20:13
-openstackstatus- NOTICE: Gerrit is being restarted to pick up CSS changes and should be back momentarily20:36
*** lucasxu has quit IRC20:51
tomtomtomhey we implemented use_namespaces, based on some suggestions in here, what is the exact purpose for that? is it needed?  we are getting connections issues now finishing the cluster so just looking for some clarification.21:03
openstackgerritMerged openstack/puppet-sahara master: Bump modules to next minor with -dev  https://review.openstack.org/49106521:08
*** esikachev has quit IRC21:13
*** cpusmith has quit IRC21:16
openstackgerritMerged openstack/sahara master: Better keystonemiddleware log level  https://review.openstack.org/49097121:30
openstackgerritMerged openstack/sahara master: Deprecate Spark 1.3.1  https://review.openstack.org/49063021:30
*** dave-mccowan has quit IRC21:38
*** esikachev has joined #openstack-sahara22:34
*** esikachev has quit IRC22:39
*** esikachev has joined #openstack-sahara22:41
*** esikachev has quit IRC23:26
*** esikachev has joined #openstack-sahara23:33
*** esikache1 has joined #openstack-sahara23:40
*** esikachev has quit IRC23:40
*** esikache1 has quit IRC23:46

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