Wednesday, 2013-09-25

*** nosnos has joined #savanna00:16
*** kbroughton has joined #savanna00:24
*** matsuhashi has joined #savanna00:35
*** sacharya has quit IRC00:42
*** IlyaE has joined #savanna01:10
*** sacharya has joined #savanna01:10
*** IlyaE has quit IRC01:21
*** tmckay has left #savanna01:30
*** IlyaE has joined #savanna01:47
*** SergeyLukjanov has joined #savanna02:03
*** SergeyLukjanov has quit IRC02:03
*** SergeyLukjanov has joined #savanna02:04
openstackgerritA change was merged to stackforge/savanna: Bump oslo.config version to use Havana release  https://review.openstack.org/4806002:08
*** SergeyLukjanov has quit IRC03:05
*** nosnos has quit IRC03:40
*** nosnos has joined #savanna03:41
*** nosnos has quit IRC03:42
*** nosnos has joined #savanna03:44
*** tstclair has quit IRC03:54
*** tstclair has joined #savanna03:58
*** tstclair has quit IRC04:04
*** tstclair has joined #savanna04:05
*** IlyaE has quit IRC04:19
*** sacharya has quit IRC04:26
*** IlyaE has joined #savanna04:35
*** nadya has joined #savanna04:45
*** nadya has quit IRC04:55
*** nadya has joined #savanna05:01
*** kbroughton has quit IRC05:09
*** nadya has quit IRC05:10
*** DinaBelova has joined #savanna05:11
*** kbroughton has joined #savanna05:11
*** SergeyLukjanov has joined #savanna05:18
*** SergeyLukjanov has quit IRC05:18
*** DinaBelova has quit IRC05:48
*** DinaBelova has joined #savanna05:53
*** akuznetsov has joined #savanna06:02
*** DinaBelova has quit IRC06:33
*** nadya has joined #savanna06:40
*** akuznetsov has quit IRC06:54
*** akuznetsov has joined #savanna06:56
*** kbroughton has quit IRC07:03
*** IlyaE has quit IRC07:14
openstackgerritNikolay Mahotkin proposed a change to stackforge/savanna: Fix submitting hive job  https://review.openstack.org/4700007:16
*** nadya has quit IRC07:19
*** akuznetsov has quit IRC07:23
openstackgerritNikolay Mahotkin proposed a change to stackforge/savanna: Fix submitting hive job  https://review.openstack.org/4700007:27
*** nmakhotkin_ has left #savanna07:36
*** nikolayM has joined #savanna07:36
openstackgerritNikolay Mahotkin proposed a change to stackforge/savanna: Fix submitting hive job  https://review.openstack.org/4700007:38
*** NikitaKonovalov has joined #savanna08:02
*** NikitaKonovalov has quit IRC08:40
*** SergeyLukjanov has joined #savanna08:58
*** DinaBelova has joined #savanna09:00
*** DinaBelova has quit IRC09:10
*** aignatov has quit IRC09:15
*** aignatov has joined #savanna09:16
*** DinaBelova has joined #savanna09:22
*** DinaBelova has quit IRC09:58
*** DinaBelova has joined #savanna10:00
*** DinaBelova has quit IRC10:22
*** tmckay has joined #savanna10:53
*** kbroughton has joined #savanna11:00
*** ruhe has joined #savanna11:05
*** sacharya has joined #savanna11:41
*** ruhe has quit IRC12:00
openstackgerritSergey Reshetnyak proposed a change to stackforge/savanna: Add running hdfs operations from plugin specific user  https://review.openstack.org/4823212:31
openstackgerritNikolay Mahotkin proposed a change to stackforge/savanna: Add /job-configs/<job_type> REST API call  https://review.openstack.org/4541912:34
openstackgerritSergey Reshetnyak proposed a change to stackforge/savanna: Add running hdfs operations from plugin specific user  https://review.openstack.org/4823212:37
*** ruhe has joined #savanna12:39
*** _crobertsrh is now known as crobertsrh12:46
openstackgerritSergey Reshetnyak proposed a change to stackforge/savanna: Add running hdfs operations from plugin specific user  https://review.openstack.org/4823212:49
*** tmckay has quit IRC13:07
openstackgerritYaroslav Lobankov proposed a change to stackforge/savanna: Integration test refactoring  https://review.openstack.org/4392513:08
*** SergeyLukjanov has quit IRC13:15
openstackgerritSergey Reshetnyak proposed a change to stackforge/savanna: Add running hdfs operations from plugin specific user  https://review.openstack.org/4823213:25
*** sacharya has quit IRC13:54
*** sacharya has joined #savanna13:57
*** sacharya has quit IRC13:57
*** kbroughton has quit IRC14:00
*** matsuhashi has quit IRC14:07
*** nosnos has quit IRC14:08
*** ruhe has quit IRC14:09
*** tmckay has joined #savanna14:12
*** tstclair has quit IRC14:13
*** tstclair has joined #savanna14:16
*** rnirmal has joined #savanna14:18
*** kbroughton has joined #savanna14:24
*** IlyaE has joined #savanna14:27
*** ruhe has joined #savanna14:28
*** sacharya has joined #savanna14:40
*** sacharya has quit IRC14:44
openstackgerritIlya Tyaptin proposed a change to stackforge/savanna: Trusts for longrunning tasks  https://review.openstack.org/4470614:48
*** ruhe has quit IRC14:51
tmckayakuznetsov, aignatov, btw, I am working on data retrieval from internal swift.  importing swiftclient, using the swift cli as a model.  user/password currently are stored in the "extra" field in a job binary15:54
tmckaytrying to figure out  where to get the "account" value to form the url15:55
tmckaymore of a status update.  I have a swift connection (yay!) but no data retrieval yet, and I added a REST call I can use to test :)15:57
aignatovtmckay, is it possible to get account value to directly ask keystone which sfiwt is16:04
aignatovI'm not an swift expert but want to help you :)16:04
*** SergeyLukjanov has joined #savanna16:05
*** akuznetsov has joined #savanna16:05
tmckay:)  it does seem that keystone knows all.  I'm going to step through the swift cli program more carefully (swift list) and see how it constructs the url16:05
tmckaymy "_get_conn(user,password)" connection works, but after that I have not figured out how to retrieve accounts, containers, and data.16:06
tmckayI would be further on this, but I tried very hard for a couple days to get devstack to run successfully for me on F19 and launch a cluster from savanna.  Alas, I failed ultimately.16:08
tmckayso I've decided that just having devstack running a swift service is enough for me to implement this :)  I'll try clusters again later16:08
* tmckay really wanted to run Nadya's jobs from beginning to end16:08
aignatovtmckay, currently we have patchset on the review - it has some logic related to swift tests16:10
aignatovAnd it seems it contains all you wants16:10
aignatovhttps://review.openstack.org/#/c/43925/29/savanna/tests/integration_new/tests/swift.py16:10
tmckayaignatov, beautiful, thanks!16:11
aignatovall parameters like OS_TENANT_NAME, COMMON.OS_USERNAME, COMMON.OS_PASSWORD can be retrieved from savanna.conf16:12
aignatovso you can construct working url to get objects from swift16:12
tmckayaignatov, here is a question (we can check with Nadya, too).  Current "extra" field in JobBinary for "swift-internal" contains user/password, so I am using those for the connection16:14
tmckayaignatov, instead of values from savanna.conf16:14
tmckayotherwise, why have them?  That was my thought.16:14
aignatovvery good question:) now I see that JobBinary fields user/password are redundant16:16
aignatovmaybe there is some hidden idea16:16
aignatova16:17
aignatovignore my 'a'16:17
aignatovbtw, we can't check with Nadya anything for the next two weeks16:24
aignatovshe's on the vacations16:24
tmckayaignatov, ack, we'll continue on.  If it works, then changing where user/pass come from will be easy16:36
aignatovok, feel free to ask me any questions16:40
aignatovbtw, I'm going to create integration tests for EDP to include it into the savanna-ci16:41
*** akuznetsov has quit IRC16:55
tmckayaignatov, sounds great16:58
tmckayyay, I retrieved an account object from the connection.  Progresss17:19
tmckay(the extra 's' is for 'savanna')17:19
*** sacharya has joined #savanna17:31
*** SergeyLukjanov has quit IRC17:32
*** rnirmal has quit IRC18:01
tmckaywoohoo!  I uploaded a copy of the Apache License to tmckay/LICENSE in swift, defined a JobBinary with swift-internal://tmckay/LICENSE as a url, and was able to retrieve it via a savanna test url (job_binaries/<id>/data)18:03
tmckaynow I just have to things like error check18:03
tmckayaignatov, ping18:04
*** mattf is now known as _mattf18:08
*** SergeyLukjanov has joined #savanna18:17
*** kbroughton_ has joined #savanna19:07
*** _mattf is now known as mattf19:07
*** kbroughton has quit IRC19:09
*** kbroughton_ is now known as kbroughton19:09
*** IlyaE has quit IRC19:20
*** rnirmal has joined #savanna19:25
crobertsrhtmckay:  Question for ya regarding job binaries and jb-internals19:30
crobertsrhWhen deleting a job binary, there is a bug that the job-binary-internal is not deleted.19:31
crobertsrh2 questions, I guess....19:31
crobertsrh1)  Should the api just take care of that deletion for us under the covers?19:31
crobertsrh2)  If not, how can the dashboard delete the associated jb-internal, not seeing a field that has jb-internal id?19:32
*** IlyaE has joined #savanna19:34
*** SergeyLukjanov has quit IRC19:47
tmckaycrobertsrh, sorry, missed the bing19:57
crobertsrhno prob19:58
tmckayreading20:00
tmckayhmmm, so we have a job-binary that points to a job-binary-internal20:00
tmckayyou delete the job-binary, and the internal is still there.20:01
tmckaythat's not a bug, imho.20:01
tmckaycrobertsrh, the internal is just storage.  It's uploaded through a separate REST call.  In fact, the internals have to be created before job-binary can point to them20:02
tmckayand, it's not consistent -- if job-binary points to an object in swift, we aren't going to delete the swift object when we delete the reference, are we?20:03
tmckaycrobertsrh, got a bug number?  I can comment.... or maybe there are notes there that change my mind20:04
tmckaycrobertsrh, at any rate, there is an api call that will get you the ids for all the current job-binary-internals20:04
crobertsrhtmckay:  https://bugs.launchpad.net/savanna/+bug/122985720:05
*** akuznetsov has joined #savanna20:05
tmckaycrobertsrh, and to answer number 2, there should be a url in the job-binary that has the binary-internal id embedded in it20:05
crobertsrhAh, ok.  Was wondering whether or not that url was the actual id.20:05
tmckayso, you should be able to grab the url and pull the id out.  But, maybe this is a checkbox for the user?  "Delete the internal blob, too?"20:05
crobertsrhI think we definitely need a way in the UI to delete the jb-internal, otherwise a pure UI-only user would just accumulate jb-internals.20:07
crobertsrhAnd if we don't have a separate job-binary-internals "panel", the only chance to delete them is on the job-binary deletion.20:08
tmckaywell, remember, internal handles the case when you don't have swift20:08
crobertsrhI suspect that's where Nadya was coming from when creating this bug.20:08
tmckayagreed, if there is no separate panel then the UI should treat them as unified.  But from the perspective of savanna-api, they do not have to be unified.  That is a fiction of the UI presentation.20:09
crobertsrhYes20:09
tmckaythat argues for you spinning the crank to do the deletion from the UI20:09
crobertsrhRight.  I think I'll go ahead and "spin the crank"20:09
crobertsrhMight be something to revisit later.20:09
tmckayspin away :)20:09
openstackgerritChad Roberts proposed a change to stackforge/savanna-dashboard: Deleting job binary now deletes associated job-binary-internal  https://review.openstack.org/4833820:26
tmckayeje, okay, there are 2 sec BZs left, and a third BZ which was fixed in 2.3 but missed and never processed.  It was verified against 2.420:46
tmckayon all three, I'20:47
tmckayI'll ping dryan and see what to do.  If we need tech notes, I'll add them tomorrow.20:47
tmckaythe rest, I did20:47
tmckaydoh20:48
tmckayway wrong window20:48
*** IlyaE has quit IRC20:57
*** rnirmal has quit IRC21:00
*** rnirmal has joined #savanna21:00
*** akuznetsov has quit IRC21:01
*** tmckay has left #savanna21:05
*** mattf is now known as _mattf21:07
*** kbroughton_ has joined #savanna21:11
*** kbroughton has quit IRC21:13
*** kbroughton_ is now known as kbroughton21:13
*** sacharya has quit IRC21:57
*** IlyaE has joined #savanna21:57
*** kbroughton has quit IRC22:36
*** IlyaE has quit IRC22:56
*** _mattf is now known as mattf22:59
*** crobertsrh is now known as _crobertsrh22:59
*** tmckay has joined #savanna23:43
*** sacharya has joined #savanna23:56

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