Wednesday, 2013-08-14

*** tmckayrh has quit IRC00:08
*** IlyaE has joined #savanna00:09
*** IlyaE has quit IRC00:21
*** sacharya has quit IRC00:42
*** IlyaE has joined #savanna00:44
*** IlyaE has quit IRC00:46
*** dina_belova has joined #savanna00:51
*** tmckayrh has joined #savanna00:52
*** dina_belova has quit IRC00:57
*** dina_belova has joined #savanna01:51
*** dina_belova has quit IRC01:56
*** dina_belova has joined #savanna02:52
*** dina_belova has quit IRC02:57
*** tmckayrh has quit IRC03:38
*** SergeyLukjanov has joined #savanna03:43
*** dina_belova has joined #savanna03:53
*** dina_belova has quit IRC03:58
*** dina_belova has joined #savanna04:53
*** bmahe has joined #savanna04:56
*** dina_belova has quit IRC04:58
*** akuznetsov has joined #savanna05:01
*** SergeyLukjanov has quit IRC05:55
*** SergeyLukjanov has joined #savanna05:56
*** SergeyLukjanov has quit IRC06:02
*** IlyaE has joined #savanna06:24
*** ruhe has joined #savanna06:33
*** IlyaE has quit IRC06:38
*** dina_belova has joined #savanna06:54
*** ruhe has quit IRC06:57
*** dina_belova has quit IRC06:58
*** dina_belova has joined #savanna06:58
*** dina_belova has quit IRC07:03
*** bmahe has quit IRC07:23
*** dina_belova has joined #savanna07:59
*** dina_belova has quit IRC08:03
*** SergeyLukjanov has joined #savanna08:04
*** akuznetsov has quit IRC08:09
*** dina_belova has joined #savanna08:09
*** dina_belova has quit IRC08:14
*** ruhe has joined #savanna08:29
*** nprivalova has joined #savanna08:33
*** SergeyLukjanov has quit IRC08:44
*** akuznetsov has joined #savanna08:48
*** SergeyLukjanov has joined #savanna08:49
openstackgerritNikolay Mahotkin proposed a change to stackforge/savanna: Oozie + MySQL configuration  https://review.openstack.org/4165208:54
openstackgerritNikolay Mahotkin proposed a change to stackforge/savanna: Oozie bug-fixing  https://review.openstack.org/4143208:54
*** dmitryme has joined #savanna09:23
openstackgerritNadya Privalova proposed a change to stackforge/savanna: Added conductor API for JobExecution Object  https://review.openstack.org/4144809:33
openstackgerritAlexander Ignatov proposed a change to stackforge/savanna: Oozie bug-fixing  https://review.openstack.org/4143209:50
openstackgerritAlexander Ignatov proposed a change to stackforge/savanna: Oozie bug-fixing  https://review.openstack.org/4143209:56
openstackgerritDmitry Mescheryakov proposed a change to stackforge/savanna: Migration to Conductor  https://review.openstack.org/4090210:04
*** akuznetsov has quit IRC10:08
*** dina_belova has joined #savanna10:10
*** dina_belova has quit IRC10:15
*** nprivalova has quit IRC10:19
openstackgerritIvan Berezovskiy proposed a change to stackforge/savanna-extra: Add hive DIB element  https://review.openstack.org/4142610:19
*** akuznetsov has joined #savanna10:36
openstackgerritIvan Berezovskiy proposed a change to stackforge/savanna-extra: Using 'selinux-permissive' element instead of command 'setenforce 0'  https://review.openstack.org/4066710:39
*** nprivalova has joined #savanna10:45
*** dina_belova has joined #savanna10:55
*** ben_duyujie has joined #savanna10:58
*** ben_duyujie has quit IRC10:59
openstackgerritSergey Lukjanov proposed a change to stackforge/savanna: Conductor code fixed and extended tests added  https://review.openstack.org/4189511:16
openstackgerritA change was merged to stackforge/savanna: Made Ambari RPM location configurable  https://review.openstack.org/4047911:29
openstackgerritA change was merged to stackforge/savanna: Add initial version of the REST api for the job origin component  https://review.openstack.org/4093611:47
openstackgerritNikolay Mahotkin proposed a change to stackforge/savanna-extra: Fix Oozie element: * added symlinks to mysql-connector-java in oozie/libtools and oozie/oozie-server/lib  https://review.openstack.org/4190611:57
openstackgerritA change was merged to stackforge/savanna: Conductor code fixed and extended tests added  https://review.openstack.org/4189512:07
openstackgerritNadya Privalova proposed a change to stackforge/savanna: Added conductor API for JobExecution Object  https://review.openstack.org/4144812:11
*** SergeyLukjanov has quit IRC12:33
openstackgerritNikolay Mahotkin proposed a change to stackforge/savanna-extra: Fix Oozie element: * added symlinks to mysql-connector-java in oozie/libtools and oozie/oozie-server/lib  https://review.openstack.org/4190612:35
*** tmckayrh has joined #savanna12:44
*** tmckayrh is now known as _tmckayrh12:45
_tmckayrhbe back soon12:45
openstackgerritAlexander Ignatov proposed a change to stackforge/savanna: Oozie bug-fixing  https://review.openstack.org/4143212:49
*** dina_belova has quit IRC12:51
*** dina_belova has joined #savanna12:54
*** SergeyLukjanov has joined #savanna12:59
openstackgerritSergey Lukjanov proposed a change to stackforge/savanna: Fail tests if cluster in Error state  https://review.openstack.org/4191513:02
openstackgerritNikolay Mahotkin proposed a change to stackforge/savanna-extra: Fix Oozie element  https://review.openstack.org/4190613:09
openstackgerritChad Roberts proposed a change to stackforge/savanna-dashboard: Adds EDP support in the UI  https://review.openstack.org/4148213:15
openstackgerritIvan Berezovskiy proposed a change to stackforge/savanna-extra: Add hive DIB element  https://review.openstack.org/4142613:29
*** rnirmal has joined #savanna13:29
*** dina_belova has quit IRC13:32
*** _tstclair is now known as tstclair13:34
*** _tmckayrh is now known as tmckayrh13:44
tmckayrhnprivalova, ruhe, aignatov, what do you think of a "PUT" method in general to update objects?  JobOrigin, for example, could use it.  Otherwise, there is only delete/create to change description, url, credentials, etc etc13:46
tmckayrhI realized last night during code reviews that it was missing :)13:47
openstackgerritNikolay Mahotkin proposed a change to stackforge/savanna: Oozie + MySQL configuration  https://review.openstack.org/4165213:58
akuznetsovtmckayrh currently we have no method PUT for all object14:00
akuznetsovbut in feature I think we will add this methods14:01
*** dina_belova has joined #savanna14:01
tmckayrhakuznetsov, should I go ahead and add a PUT for JobObjects now, or defer?14:02
tmckayrhI mean JobOrigin14:02
akuznetsovlet concentrate on create and delate operation for now, copy is not trivial if for example current job origin is used in running job that is already scheduler but not in running state and waiting for cluster creation14:04
tmckayrhakuznetsov, ack, I was thinking about completeness in the api ("not yet implemented" maybe :) ).  But you bring up a good point -- delete may also need extra checks when objects are referenced by running jobs.14:07
aignatovtmckayrh, I think you can add PUT method but with rising exception NotImplementedError14:07
aignatovSavanna have such behaviour for cluster and node group template obkjects14:08
aignatov*has14:08
akuznetsovfor delete we have a foreign key constrain and it will raise exception in this case14:08
*** aignatov has quit IRC14:10
tmckayrhakuznetsov, good point.  aignatov, okay -- I think it's a good note to the user/developer about future intentions.14:10
*** aignatov has joined #savanna14:11
aignatovhere is example https://github.com/stackforge/savanna/blob/master/savanna/api/v10.py#L86-L8914:13
tmckayrh bah, I hit the wrong button.  I meant to publish comments and I published my draft CR. sigh.14:16
*** ruhe has quit IRC14:16
tmckayrhaignatov, thanks14:20
mattfSergeyLukjanov, have any input on the comment on https://bugzilla.redhat.com/show_bug.cgi?id=996720 - re runtime and re compatibility between 0.5.19 and 0.5.21 ?14:25
SergeyLukjanovmattf, hi14:25
mattfhowdy14:26
*** IlyaE has joined #savanna14:26
SergeyLukjanovmattf, I hope that 0.5.19 will be enough in runtime for now14:26
*** SergeyLukjanov has quit IRC14:28
mattfafaik, we need 0.5.21 for building. if that's the case we need to either get 0.5.21 into f19 or wait ~5 months for f20 before savanna can be included14:28
mattfwhoops14:28
*** akuznetsov has quit IRC14:28
*** SergeyLukjanov has joined #savanna14:29
mattfSergeyLukjanov, afaik, we need 0.5.21 for building. if that's the case we need to either get 0.5.21 into f19 or wait ~5 months for f20 before savanna can be included14:30
SergeyLukjanovthe main problem is incorrect AUTHORS file generation14:30
SergeyLukjanovit has been fixed in 0.5.2114:30
mattfbrb, phone14:31
*** nprivalova has quit IRC14:40
*** dina_belova has quit IRC14:52
*** dina_belova has joined #savanna14:58
*** SergeyLukjanov has quit IRC15:01
*** akuznetsov has joined #savanna15:02
*** SergeyLukjanov has joined #savanna15:03
*** nprivalova has joined #savanna15:03
*** sacharya has joined #savanna15:03
*** ruhe has joined #savanna15:03
openstackgerritTrevor McKay proposed a change to stackforge/savanna: Add a stub API method for updating a JobOrigin object  https://review.openstack.org/4194715:21
openstackgerritIvan Berezovskiy proposed a change to stackforge/savanna-extra: Add hive DIB element  https://review.openstack.org/4142615:25
openstackgerritAlexander Ignatov proposed a change to stackforge/savanna: Added cluster states transition logging  https://review.openstack.org/4195215:41
*** ruhe has quit IRC15:43
*** akuznetsov has quit IRC15:43
*** nprivalova has quit IRC15:44
openstackgerritA change was merged to stackforge/savanna: Fail tests if cluster in Error state  https://review.openstack.org/4191515:54
openstackgerritAlexander Ignatov proposed a change to stackforge/savanna: Added cluster states transition logging  https://review.openstack.org/4195215:59
openstackgerritA change was merged to stackforge/savanna: Oozie bug-fixing  https://review.openstack.org/4143216:01
*** IlyaE has quit IRC16:11
openstackgerritJohn Speidel proposed a change to stackforge/savanna: Allow Ambari port to be specified in configuration  https://review.openstack.org/4196716:14
*** dina_belova has quit IRC16:19
openstackgerritSergey Lukjanov proposed a change to stackforge/savanna: Improve exceptions handling in created threads  https://review.openstack.org/4196816:21
*** dina_belova has joined #savanna16:22
*** SergeyLukjanov has quit IRC16:26
*** dina_belova has quit IRC16:26
*** akuznetsov has joined #savanna16:35
*** dmitryme has quit IRC16:39
*** dina_belova has joined #savanna16:53
*** SergeyLukjanov has joined #savanna16:58
*** dina_belova has quit IRC17:01
*** mattf is now known as _mattf17:15
*** IlyaE has joined #savanna17:15
*** shredder12 has joined #savanna17:20
*** shredder12 has quit IRC17:20
*** shredder12 has joined #savanna17:20
*** IlyaE has quit IRC17:26
openstackgerritTrevor McKay proposed a change to stackforge/savanna: Add a stub API method for updating a JobOrigin object  https://review.openstack.org/4194717:28
*** sballe has joined #savanna17:39
*** _mattf is now known as mattf17:39
*** rnirmal has quit IRC17:40
*** shredder12 has quit IRC17:49
openstackgerritJohn Speidel proposed a change to stackforge/savanna: Allow Ambari port to be specified in configuration  https://review.openstack.org/4196717:53
*** dina_belova has joined #savanna18:01
*** dina_belova has quit IRC18:02
*** dina_bel_ has joined #savanna18:02
*** dmitryme has joined #savanna18:07
*** akuznetsov has quit IRC18:15
*** akuznetsov has joined #savanna18:18
tmckayrhgeneral question about ConductorManagerTestCase.  I see __init__() called with lambda functions that return sample objects, and teardown() appears to compare results with the objects generated by lambda,, but I don't see a case where any object is built into the result set from a test....  What am I missing?  Is there a doc about this?18:33
openstackgerritTrevor McKay proposed a change to stackforge/savanna: Add database support for the JobOrigin object  https://review.openstack.org/4179618:35
dmitrymethere is no docs for that :-) The intention of that piece of code is to check that each test does not mangle samples18:36
dmitrymei.e. we check that each function do not change input parameter18:36
tmckayrhhow would a test mangle the input parameter?18:37
tmckayrhah, I see, maybe --18:38
tmckayrhbecause the SAMPLE_CLUSTER, for instance, is a global?18:38
dmitrymeyep18:38
tmckayrhvery subtle :)18:38
dmitrymeeach test invokes API function like18:38
dmitrymeself.api.cluster_create(ctx, SAMPLE_CLUSTER)18:38
dmitrymewe need to check that API functions do not change parameter we pass in18:39
tmckayrhI understand now.  The "self._results" threw me off, I thought maybe I should be writing result objects to self._results somehow.18:39
tmckayrhaignatov, about putting job binaries in the savanna db, I think I am ready to start looking at that.18:41
dmitrymeno, you should not. Only if you create a new sample variable, add it to the check list18:41
tmckayrhdmitryme, ack, thanks18:41
tmckayrhaignatov, (and others) I have a question, though -- I wonder where the interface for "put it in the db" should be.  I almost wonder if it should be a standalone python script, to manage binaries in the database, instead of an api function that takes a file path as an argument.  What do you think?18:43
tmckayrh"instead of a REST api function"  that is ^^18:46
SergeyLukjanovtmckayrh, I think it'll be better to have a REST API call18:47
tmckayrhSergeyLukjanov, okay, so path will have to be an argument.  Is it okay if I support only file:/// type URIs as a first pass?18:47
akuznetsovSergeyLukjanov rmckayrh possibly we should have two calls first for creation job origin and second for uploading files18:48
akuznetsovSergeyLukjanov tmckayrh possibly we should have two calls first for creation job origin and second for uploading files18:49
tmckayrhakuznetsov, we need a value for "storage_type" and/or the "url" in a JobOrigin object that indicates savanna db internal storage.18:50
tmckayrhakuznetsov, yes, I was imagining that the JobOrigin object could be created separately from the upload to the db.18:50
tmckayrhEither first, and don't force the binary to exist at that time18:51
tmckayrhOr, make reference to a non-existent binary an error and require the upload first18:51
akuznetsovtmckayrh possible we should rename url to location in JobOrigin, storage_type can internal_db and location will id or ids of the files18:51
SergeyLukjanovor it could be smth like db://uuid or swift://path/to/file18:52
tmckayrh(phone) good ideas18:54
tmckayrhSergeyLukjanov, akuznetsov, what do you think about checking existence in the database?  Lazy, that is we do not require it on create of the JobOrigin?  In that case it wouldn't be an error until it was referenced in an execution.18:56
tmckayrhThat might be better, because someone might manipulate the database after JobOrigin is created anyway18:57
tmckayrhalthough, maybe a foreign key constraint solves that (as akuznetsov pointed out earlier today in a different situation)18:57
*** sacharya1 has joined #savanna18:58
akuznetsovtmckayrh I think for now it will be enough to have foreign key constrain18:59
*** sacharya has quit IRC19:00
*** _crobertsrh has quit IRC19:05
*** crobertsrh has joined #savanna19:07
*** IlyaE has joined #savanna19:17
openstackgerritDmitry Mescheryakov proposed a change to stackforge/savanna: Migration to Conductor  https://review.openstack.org/4090219:19
*** rnirmal has joined #savanna19:23
*** ruhe has joined #savanna19:24
*** ruhe has quit IRC19:39
*** akuznetsov has quit IRC19:48
*** IlyaE has quit IRC19:50
*** SergeyLukjanov has quit IRC19:58
*** sacharya1 has quit IRC19:58
*** tstclair has quit IRC20:01
*** sacharya has joined #savanna20:01
*** tstclair has joined #savanna20:07
openstackgerritTrevor McKay proposed a change to stackforge/savanna: Add database support for the JobOrigin object  https://review.openstack.org/4179620:09
openstackgerritDmitry Mescheryakov proposed a change to stackforge/savanna: Migration to Conductor  https://review.openstack.org/4090220:10
*** dmitryme has quit IRC20:10
openstackgerritNirmal Ranganathan proposed a change to stackforge/savanna: Check for valid flavor on cluster create  https://review.openstack.org/4200520:25
*** dina_bel_ has quit IRC20:39
*** tmckayrh has quit IRC20:41
openstackgerritNirmal Ranganathan proposed a change to stackforge/savanna: Check for valid flavor on cluster create  https://review.openstack.org/4200520:43
*** mattf is now known as _mattf20:54
*** _mattf is now known as mattf21:02
*** crobertsrh is now known as _crobertsrh21:02
*** tmckayrh has joined #savanna21:10
*** tmckayrh has quit IRC21:15
*** tstclair has quit IRC21:23
*** tstclair has joined #savanna21:25
*** IlyaE has joined #savanna21:37
*** dina_belova has joined #savanna21:40
*** dina_belova has quit IRC21:44
*** dina_belova has joined #savanna21:50
*** dina_belova has quit IRC21:55
*** rnirmal has quit IRC21:56
*** sacharya has quit IRC22:19
*** dina_belova has joined #savanna22:50
*** dina_belova has quit IRC22:55
*** sacharya has joined #savanna23:40
*** sacharya has quit IRC23:40
*** jmaron has left #savanna23:47
*** IlyaE has quit IRC23:49
*** dina_belova has joined #savanna23:50
*** dina_belova has quit IRC23:55

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