Thursday, 2017-08-10

*** iwonka has quit IRC00:51
*** dave-mccowan has joined #openstack-sahara01:08
*** tuanluong has joined #openstack-sahara01:19
*** dave-mccowan has quit IRC02:27
*** dave-mccowan has joined #openstack-sahara02:54
*** ukaynar has quit IRC02:55
*** ukaynar has joined #openstack-sahara03:02
*** dave-mccowan has quit IRC03:48
*** ukaynar has quit IRC04:25
*** ukaynar has joined #openstack-sahara04:25
*** ukaynar has quit IRC04:29
*** Poornima has joined #openstack-sahara04:49
*** Poornima has quit IRC05:03
*** Poornima has joined #openstack-sahara05:04
*** shuyingya has joined #openstack-sahara05:19
*** abalutoiu has quit IRC05:39
*** abalutoiu has joined #openstack-sahara05:48
*** Poornima has quit IRC05:55
*** rcernin has joined #openstack-sahara06:05
*** pgadiya has joined #openstack-sahara06:07
*** Poornima has joined #openstack-sahara06:22
*** tnovacik has quit IRC06:29
*** anshul has joined #openstack-sahara06:42
*** abalutoiu has quit IRC06:59
*** tesseract has joined #openstack-sahara07:13
*** stanchan has joined #openstack-sahara07:18
*** stanchan has quit IRC07:28
*** anshul has quit IRC07:47
*** anshul has joined #openstack-sahara07:59
*** abalutoiu has joined #openstack-sahara08:18
*** hoonetorg has quit IRC08:32
*** Poornima has quit IRC08:43
*** Poornima has joined #openstack-sahara08:43
*** hoonetorg has joined #openstack-sahara08:49
*** Poornima has quit IRC08:51
*** pgadiya has quit IRC08:58
*** Poornima has joined #openstack-sahara08:58
*** pgadiya has joined #openstack-sahara09:12
*** iwonka has joined #openstack-sahara10:07
*** Poornima has quit IRC10:11
*** Poornima has joined #openstack-sahara10:27
*** Poornima has quit IRC10:36
*** Poornima has joined #openstack-sahara11:08
*** dave-mccowan has joined #openstack-sahara11:43
iwonkaping tellesnobrega11:52
iwonka(any ideas what should i do now?)11:52
*** tuanluong has quit IRC12:06
tellesnobregaiwonka, just got in. Not really, the step is try to figure out what is going on12:08
tellesnobregamaybe, you can try debugging (print or exception) on the job binary create and see the flow there to see if you missed something on your code12:09
iwonkai'll try with exception from handle12:10
iwonkait should print the stack12:10
tellesnobregacool12:10
tellesnobregathat should gives us a hint12:10
*** pgadiya has quit IRC12:25
*** shuyingya has quit IRC12:31
iwonkatellesnobrega: all i got to is that for ngt import form_valid from horizon is not run12:33
iwonkathen it goes into django12:33
tellesnobregathat explains why handle is not called12:33
tellesnobregasince it is called from form_valid12:33
iwonkabut the name suggests that it may consider the vorm to be invalid?12:34
iwonkaor something?12:34
iwonka*form12:34
*** pgadiya has joined #openstack-sahara12:35
tellesnobregayes, maybe something on your form is wrongly formed. You could make it more simple (just a basic form) or copy a working one to see if goes12:37
iwonkait has one field, how can it be simpler?12:40
iwonkabasic form so without any fields?12:40
tellesnobregaI'm not sure, it is simple enough, maybe copy a working one12:42
iwonkait's not run without any fields12:42
iwonkawhen copying one from job binaries there's an error and the form is not displayed12:44
iwonkabut probably it's an issue with urls or something12:45
iwonkabut since it's not run without any fields, i guess the problem is nit with the form?12:45
tellesnobregamaybe it has a requirement that a form needs at least one field12:47
iwonkawith one field it doesn't work either12:50
tellesnobregaiwonka, but it works with your previous form?12:50
iwonkait never worked12:51
iwonkawhat do you mean by previous form?12:51
tellesnobregathe form was launched but handle was never called, or it never started?12:51
iwonkahandle was never called for changed form12:52
iwonkaimean, changed by me12:52
iwonkasame problem, when it has one CharField12:52
tellesnobregais the form being displayed with only one field?12:53
iwonkayes12:53
*** ukaynar has joined #openstack-sahara12:55
*** ukaynar has quit IRC12:56
*** ukaynar has joined #openstack-sahara12:56
tellesnobregaiwonka, thinking12:57
*** jeremyfreudberg has joined #openstack-sahara12:59
*** ukaynar has quit IRC13:01
tellesnobregaiwonka, maybe you could try some debugging here13:05
tellesnobregahttps://github.com/openstack/horizon/blob/5f72d0433eaef14072544a7166a03e43aee402ec/horizon/workflows/base.py13:05
iwonkai don't use workflows13:06
iwonkai think13:06
iwonkai tried, but they didn't work with FileField13:07
*** lucasxu has joined #openstack-sahara13:09
tellesnobregaseems like the right approach, job_binaries don't use workflows either13:10
*** Poornima has quit IRC13:21
*** tellesnobrega has left #openstack-sahara13:24
*** tellesnobrega has joined #openstack-sahara13:24
tellesnobregajeremyfreudberg, are you going to join the meeting today?13:26
jeremyfreudbergtellesnobrega, if there's something to discuss.... personally i don't have much i need to report13:26
tellesnobregatosky is out today, and most of pike is done13:26
tellesnobregathinking that we could skip today13:26
jeremyfreudbergtellesnobrega, let's skip13:27
*** Poornima has joined #openstack-sahara13:33
tellesnobregajeremyfreudberg, sure13:44
tellesnobregaiwonka, have you checked what those attrs={} on the CleareableFileInput means?13:45
tellesnobregaI see that your code has no attrs on the widget definition, but on job_binary it sets 313:46
tellesnobrega            widget=forms.ClearableFileInput(13:46
tellesnobrega                attrs={13:46
tellesnobrega                    'class': 'switched',13:46
tellesnobrega                    'data-switch-on': 'jb_internal',13:46
tellesnobrega                    'data-jb_internal-uploadfile': _("Upload File")13:46
tellesnobrega                }))13:46
tellesnobregaiwonka, can you try changing from a FileField for something else? just a charfield to see if works13:47
*** esikachev has joined #openstack-sahara13:54
tellesnobregaesikachev, we won't be having sahara meeting today, not sure if you saw the email13:57
esikachevok13:57
esikachevthanks13:57
jeremyfreudbergesikachev, btw storage issue is now critical / even worse on my cloud, sorry13:57
esikachev:(13:58
*** ssmith has joined #openstack-sahara13:58
esikachevit's sad13:58
jeremyfreudbergit's pretty unfortunate, we are working with red hat ceph support to fix it today, hopefully it gets resolved soon13:58
jeremyfreudberglots of unhappy users right now13:59
*** Poornima has quit IRC14:00
*** Poornima has joined #openstack-sahara14:00
*** cpusmith has joined #openstack-sahara14:18
*** ssmith has quit IRC14:22
*** shuyingya has joined #openstack-sahara14:22
cpusmithGood morning jeremyfreudberg When we go to scale the cluster we get "Error: {} is not valid under any of the given schemas Error ID: 4da54beb-92e6-40cc-a21f-9a0478b56c3d"14:27
cpusmithWhat's the issue with ceph?14:31
jeremyfreudbergcpusmith, something about failed rebalancing14:32
jeremyfreudbergcpusmith, that's a pretty strange error. can you provide some info about existing node group template and cluster template, as well as which node group you are trrying to increase/decrease the count of. also, scaling from ui? cli?14:32
cpusmithFrom UI14:35
tellesnobregacpusmith, is that the only thing on the logs?14:37
*** ukaynar has joined #openstack-sahara14:40
cpusmithThat appeared in a popup14:40
cpusmithhttp://imgur.com/dviQdWC14:40
cpusmith http://imgur.com/QMfElpJ14:40
jeremyfreudbergcpusmith, you should be able to see more context if you grep around / tail the sahara logs... can you confirm that during the failed scaling you were trying to increase the count of sparkslave?14:42
cpusmithWas adding another slave node. Maybe because the count is only one?14:42
tellesnobregahandler count?14:43
tellesnobregadid you set that?14:43
cpusmithYes, in the template14:43
jeremyfreudbergi don't think handler count should be the problem...14:44
tellesnobregaI don't think either14:44
tellesnobregamaybe if you find more details on the logs will be easier to pin point the problem14:44
cpusmithOK, looking14:45
tellesnobregathanks14:45
tellesnobregajeremyfreudberg, did you see your patch failed the last test?14:47
jeremyfreudbergtellesnobrega, yes, infra issues14:48
tellesnobregayeah14:48
tellesnobregarechecking, got the whole patch set up, only waiting for this to land so I can cut stable/pike14:48
jeremyfreudbergtellesnobrega, we need to get this https://review.openstack.org/491297 in too, i think (global reqs bump which also failed the gate due to infra issues)14:49
tellesnobregatrue14:50
*** cpusmith has quit IRC14:56
*** ssmith has joined #openstack-sahara15:06
ssmithhttp://imgur.com/4BTFi1D Says empty body15:06
ssmithhttp://imgur.com/JtMglYm15:08
jeremyfreudbergssmith, hmm, well, "empty body" is the {} from your original error. not sure why that would be happening, though15:08
tomtomtomThis is also from the same log above and may shed more light on it. http://imgur.com/a/EOXaN15:08
ssmithvalidation_error15:10
ssmith Describes what is wrong with one of the values provided by user.15:10
*** pgadiya has quit IRC15:11
jeremyfreudbergssmith, tomtomtom, the body of the request is the scale_object referenced in this function: https://github.com/openstack/sahara-dashboard/blob/master/sahara_dashboard/content/data_processing/clusters/clusters/workflows/scale.py#L11415:12
jeremyfreudbergeventually trickles down into a python-saharaclient call15:13
jeremyfreudbergof course we have a blanket `except Exception` so we can't really tell, but scale_object is only an empty body if something goes wrong15:14
jeremyfreudbergwhich is why i'm surprised you don't see the "unable to fetch cluster to scale" message15:14
tomtomtomYeah where does "Validation error" come from?15:18
jeremyfreudbergi wonder what happens if you edit the code to stop blindly swallowing the exception15:18
jeremyfreudbergtomtomtom, validation error is the server-side response15:18
tomtomtomright but which file I mean I can see the Unable to get cluster error but not Validation, so something is happening before it gets there to stop the process?15:19
tomtomtomanother issue that looks like it's related is: 2017-08-10 15:19:31.683 37874 INFO keystonemiddleware.auth_token [-] Rejecting request,  I can't find where it's coming from, all my auth is correct in the config files, any ideas?15:20
ssmithdef test_cluster_scaling_scheme_v_resize_ng(self, engine_version):15:20
ssmith        self._create_object_fun = mock.Mock()15:20
ssmith        data = {15:20
ssmith        }15:20
ssmith        self._assert_cluster_scaling_validation(15:20
ssmith            data=data,15:20
ssmith            bad_req_i=(1, 'VALIDATION_ERROR',15:20
ssmith                       u'{} is not valid under any of the given schemas')15:20
tomtomtomare there multiple auth sections in sahara?15:21
jeremyfreudbergtomtomtom, the rejecting request is not related, see https://review.openstack.org/#/c/490971/ and the referenced bug15:21
jeremyfreudbergssmith, i saw that too15:22
*** cpusmith has joined #openstack-sahara15:23
*** ssmith has quit IRC15:23
jeremyfreudbergcpusmith, tomtomtom , i'm still pretty mystified15:25
jeremyfreudbergi still think playing with the except exception on https://github.com/openstack/sahara-dashboard/blame/master/sahara_dashboard/content/data_processing/clusters/clusters/workflows/scale.py#L154 is your best bet15:26
tomtomtomok, I also noticed that the validation error comes from a bad request: ./tests/unit/service/validation/test_cluster_template_create_validation.py:            bad_req_i=(1, "VALIDATION_ERROR",  would this be an accurate assumption here?  maybe the data it's expecting in the request isn't working as intended15:28
*** cpusmith has quit IRC15:29
jeremyfreudberga request body of just {} is the bad request15:29
*** cpusmith has joined #openstack-sahara15:29
*** cpusmith_ has joined #openstack-sahara15:30
jeremyfreudbergtomtomtom, cpusmith , i will be afk for a while15:31
tomtomtomok I'll play with the scale.py code as suggested15:32
*** cpusmith has quit IRC15:34
*** esikachev has quit IRC15:38
cpusmith_Is Sahara 5.0.1 the highest that we can run on Newton?15:47
*** Poornima has quit IRC15:54
*** shuyingya has quit IRC15:54
*** ukaynar has quit IRC15:55
*** shuyingya has joined #openstack-sahara15:55
*** esikachev has joined #openstack-sahara15:56
*** shuyingya has quit IRC15:59
jeremyfreudbergcpusmith_, sahara 5.0.1 is the latest newton16:02
jeremyfreudbergfor the ui there was one fix that didn't make it into 5.0.1, but i doubt it affects you https://github.com/openstack/sahara-dashboard/commit/238e8bdd4002a1f0fb0766d055dbb834657c6e3216:03
jeremyfreudbergotherwise 5.0.1 is equivalent to stable/newton HEAD16:04
jeremyfreudberg(still afk)16:04
*** stanchan has joined #openstack-sahara16:14
*** stanchan has left #openstack-sahara16:15
*** anshul has quit IRC16:20
*** esikachev has quit IRC16:25
*** pcaruana has quit IRC16:25
*** jeremyfreudberg has quit IRC16:26
*** lucasxu has quit IRC16:27
*** shuyingya has joined #openstack-sahara16:30
*** ukaynar has joined #openstack-sahara16:31
*** rcernin has quit IRC16:33
*** shuyingya has quit IRC16:35
*** jeremyfreudberg has joined #openstack-sahara16:45
*** cpusmith has joined #openstack-sahara17:01
*** cpusmith_ has quit IRC17:05
*** abalutoiu has quit IRC17:06
*** jeremyfreudberg_ has joined #openstack-sahara17:12
*** jeremyfreudberg has quit IRC17:14
*** esikachev has joined #openstack-sahara17:21
*** esikachev has quit IRC17:26
*** jeremyfreudberg_ is now known as jeremyfreudberg17:27
*** ukaynar has quit IRC17:45
*** esikachev has joined #openstack-sahara18:22
*** esikachev has quit IRC18:26
*** tellesnobrega has quit IRC18:27
*** tellesnobrega has joined #openstack-sahara18:29
*** rcernin has joined #openstack-sahara18:35
*** cpusmith has quit IRC18:36
*** jeremyfreudberg has quit IRC18:57
*** rcernin has quit IRC18:59
*** openstackgerrit has quit IRC19:03
*** esikachev has joined #openstack-sahara19:09
*** tnovacik has joined #openstack-sahara19:27
*** esikachev has quit IRC19:36
*** tnovacik has quit IRC19:45
*** tnovacik has joined #openstack-sahara19:58
*** esikachev has joined #openstack-sahara20:05
*** esikachev has quit IRC20:10
*** tnovacik has quit IRC20:11
*** openstackgerrit has joined #openstack-sahara20:33
openstackgerritMerged openstack/sahara master: Fully switch to keystone authtoken parameters  https://review.openstack.org/48552120:33
iwonkatellesnobrega: i tried charfield at some point, it didn't work20:53
iwonkathat's why i'm pretty sire the issue is not in the field itself20:54
iwonka*not in the form20:55
tellesnobregaiwonka, hmm, I was thinking that if the form could be invalid due to the FileField20:55
iwonkai copied field for name from job binary20:58
tellesnobregayes, I saw20:58
tellesnobregaexcept from some args in the dict there20:58
tellesnobregaprobably not an issue20:58
tellesnobregaso trying other field would test this20:59
iwonkabut it's not the problem21:04
tellesnobregaI believe you21:04
iwonkais there any way to try other parts of the code?21:04
*** esikachev has joined #openstack-sahara21:06
tellesnobregaI'm not sure, I will have to take a look into it. I haven't done a lot of work on sahara-dashboard and its been a while, you probably know than I do21:06
iwonkai have like no idea what to do with the code now21:07
iwonkai still have to fix one commit21:07
iwonkaand do the same for cluster templates, but that should be easy…21:07
openstackgerritMerged openstack/sahara master: Updated from global requirements  https://review.openstack.org/49129721:08
*** esikachev has quit IRC21:10
tellesnobregaiwonka, I don't have time to test it right now (working on some downstream troubles) but I will get to it asap21:11
iwonkaok, sure21:11
tellesnobregabut please, keep me on the loop if you figure out something or have more questions21:11
tellesnobregaI'm always here to help21:11
*** cpusmith has joined #openstack-sahara21:15
iwonkai'm not sure what could i do with it21:16
iwonkaso i'll move to cluster templates i guess21:16
iwonkais that ok?21:16
tellesnobregasounds good21:20
*** tesseract has quit IRC22:02
*** esikachev has joined #openstack-sahara22:06
*** esikachev has quit IRC22:11
*** openstackgerrit has quit IRC22:18
*** esikachev has joined #openstack-sahara23:07
*** esikachev has quit IRC23:12

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