Tuesday, 2014-07-15

*** ViswaV has quit IRC00:42
*** Networkn3rd has joined #openstack-sahara00:52
*** Networkn3rd has quit IRC01:33
*** Networkn3rd has joined #openstack-sahara01:46
*** bradd1 has joined #openstack-sahara01:51
*** witlessb has joined #openstack-sahara01:56
*** witlessb has quit IRC02:01
*** bradd1 has quit IRC02:12
*** bradd1 has joined #openstack-sahara02:17
*** ViswaV has joined #openstack-sahara02:35
*** ViswaV_ has joined #openstack-sahara02:36
*** ViswaV has quit IRC02:40
*** openstackgerrit has quit IRC02:42
*** miqui has quit IRC02:42
*** miqui has joined #openstack-sahara02:42
*** openstackgerrit has joined #openstack-sahara02:43
*** tellesnobrega has quit IRC03:12
*** anteaya has quit IRC03:12
*** openstackgerrit has quit IRC03:12
*** elmiko has quit IRC03:12
*** Networkn3rd has quit IRC03:12
*** xianghui has quit IRC03:12
*** sreshetnyak has quit IRC03:12
*** SergeyLukjanov has quit IRC03:12
*** ruhe has quit IRC03:12
*** ekarlso has quit IRC03:12
*** venza_ has quit IRC03:12
*** boris-42 has quit IRC03:12
*** sballe has quit IRC03:12
*** aignatov has quit IRC03:12
*** ViswaV_ has quit IRC03:12
*** akuznetsov has quit IRC03:17
*** openstackgerrit has joined #openstack-sahara03:20
*** ViswaV_ has joined #openstack-sahara03:20
*** sballe has joined #openstack-sahara03:20
*** xianghui has joined #openstack-sahara03:20
*** elmiko has joined #openstack-sahara03:20
*** tellesnobrega has joined #openstack-sahara03:20
*** boris-42 has joined #openstack-sahara03:20
*** ekarlso has joined #openstack-sahara03:20
*** SergeyLukjanov has joined #openstack-sahara03:20
*** sreshetnyak has joined #openstack-sahara03:20
*** ruhe has joined #openstack-sahara03:20
*** venza_ has joined #openstack-sahara03:20
*** aignatov has joined #openstack-sahara03:20
*** anteaya has joined #openstack-sahara03:20
*** Networkn3rd has joined #openstack-sahara03:27
*** Networkn3rd has quit IRC03:27
*** ViswaV_ has quit IRC03:30
*** k4n0 has joined #openstack-sahara04:27
*** _crobertsrh has quit IRC04:37
*** crobertsrh has joined #openstack-sahara04:50
*** akuznetsov has joined #openstack-sahara06:16
openstackgerritA change was merged to openstack/sahara: Add vanilla plugin with Hadoop 2.4.0  https://review.openstack.org/10509907:15
*** elmiko has quit IRC07:18
*** tnovacik has joined #openstack-sahara07:25
*** elmiko has joined #openstack-sahara07:29
*** Timotey has joined #openstack-sahara08:06
*** xianghui has quit IRC08:13
*** witlessb has joined #openstack-sahara08:24
*** xianghui has joined #openstack-sahara08:26
*** tosky has joined #openstack-sahara09:43
*** akuznetsov has quit IRC09:55
*** k4n0 has quit IRC09:55
*** tellesnobrega has quit IRC09:55
*** anteaya has quit IRC09:55
*** openstackgerrit has quit IRC09:56
*** sreshetnyak has quit IRC09:56
*** SergeyLukjanov has quit IRC09:56
*** ruhe has quit IRC09:56
*** ekarlso has quit IRC09:56
*** venza_ has quit IRC09:56
*** boris-42 has quit IRC09:56
*** sballe has quit IRC09:56
*** aignatov has quit IRC09:56
*** tosky has quit IRC09:56
*** elmiko has quit IRC09:56
*** tnovacik has quit IRC09:56
*** crobertsrh has quit IRC09:56
*** xianghui has quit IRC09:56
*** witlessb has quit IRC09:56
*** Timotey has quit IRC09:56
*** zhiyan has quit IRC09:56
*** dmitryme has quit IRC09:56
*** NikitaKonovalov has quit IRC09:56
*** _mattf has quit IRC09:56
*** miqui has quit IRC09:56
*** skostiuchenko1 has quit IRC09:56
*** _mattf has joined #openstack-sahara10:03
*** NikitaKonovalov has joined #openstack-sahara10:03
*** dmitryme has joined #openstack-sahara10:03
*** zhiyan has joined #openstack-sahara10:03
*** Timotey has joined #openstack-sahara10:03
*** witlessb has joined #openstack-sahara10:03
*** xianghui has joined #openstack-sahara10:03
*** crobertsrh has joined #openstack-sahara10:03
*** tnovacik has joined #openstack-sahara10:03
*** tosky has joined #openstack-sahara10:03
*** elmiko has joined #openstack-sahara10:03
*** akuznetsov has joined #openstack-sahara10:03
*** k4n0 has joined #openstack-sahara10:03
*** anteaya has joined #openstack-sahara10:03
*** aignatov has joined #openstack-sahara10:03
*** venza_ has joined #openstack-sahara10:03
*** ruhe has joined #openstack-sahara10:03
*** sreshetnyak has joined #openstack-sahara10:03
*** SergeyLukjanov has joined #openstack-sahara10:03
*** ekarlso has joined #openstack-sahara10:03
*** boris-42 has joined #openstack-sahara10:03
*** tellesnobrega has joined #openstack-sahara10:03
*** sballe has joined #openstack-sahara10:03
*** openstackgerrit has joined #openstack-sahara10:03
*** skostiuchenko1 has joined #openstack-sahara10:03
openstackgerritDenis Egorenko proposed a change to stackforge/sahara-ci-config: Add support for Hadoop 2.4.0  https://review.openstack.org/10605110:07
*** miqui has joined #openstack-sahara10:08
openstackgerritVitaly Gridnev proposed a change to openstack/sahara: Added some changes with oslo.i18n  https://review.openstack.org/10698110:13
*** witlessb has quit IRC10:22
*** witlessb has joined #openstack-sahara10:23
*** vrovachev has joined #openstack-sahara10:24
openstackgerritA change was merged to openstack/sahara-image-elements: Add support building images for Hadoop 2.4.0  https://review.openstack.org/10510710:42
openstackgerritVitaly Gridnev proposed a change to openstack/sahara: Added some changes with oslo.i18n  https://review.openstack.org/10698110:47
openstackgerritDenis Egorenko proposed a change to stackforge/sahara-ci-config: Reconfiguring CI scripts for use second Devstack server  https://review.openstack.org/10699410:59
*** k4n0 has quit IRC11:15
openstackgerritDenis Egorenko proposed a change to stackforge/sahara-ci-config: Reconfiguring CI scripts for use second Devstack server  https://review.openstack.org/10699411:15
*** openstackgerrit has quit IRC11:21
tellesnobregais there a way that i can append to an existing file using sahara remote??12:15
*** openstackgerrit has joined #openstack-sahara12:16
SergeyLukjanovtellesnobrega, nope :( https://github.com/openstack/sahara/blob/master/sahara/utils/remote.py12:19
SergeyLukjanovtellesnobrega, but it seems that it's easy to impl12:19
tellesnobregai saw that12:19
tellesnobregawhere is the remote implemented, this remote.py only has abstract methods12:20
SergeyLukjanovtellesnobrega, https://github.com/openstack/sahara/blob/master/sahara/utils/ssh_remote.py12:20
SergeyLukjanovtellesnobrega, currently we have only ssh based remote12:20
SergeyLukjanovit's based on paramiko12:20
tellesnobregahm12:21
tellesnobregadoes this needs a spec to implement?12:23
openstackgerritA change was merged to stackforge/sahara-ci-config: Add support for Hadoop 2.4.0  https://review.openstack.org/10605112:25
SergeyLukjanovtellesnobrega, if you can do it - please make a small spec12:27
tellesnobregasure12:28
SergeyLukjanovtellesnobrega, it could be useful to discuss implementation details12:28
SergeyLukjanovtellesnobrega, thx12:28
openstackgerritDenis Egorenko proposed a change to stackforge/sahara-ci-config: Reconfiguring CI scripts for use second Devstack server  https://review.openstack.org/10699412:41
*** Networkn3rd has joined #openstack-sahara12:42
openstackgerritsusanne-balle proposed a change to openstack/sahara: Renamed Pending to PENDING fixes bug 1329526  https://review.openstack.org/10704713:21
tellesnobregaSergeyLukjanov: i was trying to use ssh_remote here to check out how it works, sadly it has no tests to run. I wanted to test if with the write file method that already exists the append could be done13:31
*** openstackgerrit has quit IRC13:31
tellesnobregait opens a file as w, do you know if it starts writing at the beginning of the file or the end?13:32
*** 17SAAF480 has joined #openstack-sahara13:32
*** tmckay has joined #openstack-sahara13:34
17SAAF480A change was merged to openstack/sahara: Fix scaling cluster Vanilla for Hadoop 2.3  https://review.openstack.org/10575613:35
SergeyLukjanovtellesnobrega,  "w" truncates the existing file13:37
SergeyLukjanovtellesnobrega, "a+" should be used for reading / appending file13:37
tellesnobregahum13:37
tellesnobregai see13:37
tellesnobregatrue, its been a while since i've played with this13:38
tellesnobregathe implementation is pretty much the same right?13:38
SergeyLukjanovtellesnobrega, the "a" is only for appending, so, it should work ok for you13:38
SergeyLukjanovtellesnobrega, yup, like copy-paste write_to_file to append_to_file with 'w' -> 'a' :)13:38
*** 17SAAF480 has quit IRC13:38
tellesnobregacool13:39
*** openstackgerrit has joined #openstack-sahara13:39
tellesnobregaHow about tests? should i write any? i looked into the ssh_remote tests and there is only test for the escape_quotes13:47
sballeSergeyLukjanov, Thx :)13:49
SergeyLukjanovtellesnobrega, if you're able to add tests, we're always welcome :)13:52
tellesnobregaright now i'm a little swamped, i will write the code but the tests i will leave it out for now and maybe come back to them later if its ok13:53
openstackgerritTelles Mota Vidal Nóbrega proposed a change to openstack/sahara-specs: Append to a remote existing file  https://review.openstack.org/10706214:01
*** Networkn3rd has quit IRC14:04
*** sballe has quit IRC14:04
*** sballe has joined #openstack-sahara14:22
*** Networkn3rd has joined #openstack-sahara14:29
openstackgerritDenis Egorenko proposed a change to stackforge/sahara-ci-config: Add Sahara and python-saharaclient intehration tests for Hadoop 2.4  https://review.openstack.org/10706614:36
tellesnobregaSergeyLukjanov: i have a question about append as root14:40
SergeyLukjanovtellesnobrega, what question?14:42
tellesnobregathe write_file writes in a different file and moves it as root14:43
tellesnobregahow can i do that for a append, my first though was, copying the file as root to /tmp, appending to it and moving it back14:43
tellesnobreganot sure if that is the best choihce14:43
tellesnobregachoice14:43
*** vrovachev has quit IRC14:44
openstackgerritDenis Egorenko proposed a change to stackforge/sahara-ci-config: Reconfiguring CI scripts for use second Devstack server  https://review.openstack.org/10699414:50
*** robsparker has joined #openstack-sahara14:51
tellesnobregafor example, in storm i need to update supervisor deamon conf file that stays at /etc/supervisor/conffile14:52
openstackgerritDenis Egorenko proposed a change to stackforge/sahara-ci-config: Delete spaces from config file from Vanilla2 section  https://review.openstack.org/10707514:55
tellesnobregaso i need root privileges to change stuff there14:56
openstackgerritA change was merged to stackforge/sahara-ci-config: Delete spaces from config file from Vanilla2 section  https://review.openstack.org/10707515:02
openstackgerritAndrew Lazarev proposed a change to openstack/sahara: Removed code duplication on cluster state change  https://review.openstack.org/10558815:13
*** skolekonov has joined #openstack-sahara15:18
*** openstackgerrit has quit IRC15:21
*** IvanBerezovskiy has left #openstack-sahara15:35
*** skolekonov has quit IRC15:46
*** Timotey has quit IRC15:52
*** Networkn3rd has quit IRC15:54
*** Networkn3rd has joined #openstack-sahara15:54
tellesnobregaSergeyLukjanov: does that sounds ok to you?16:01
*** bradd1 has joined #openstack-sahara16:02
*** ViswaV has joined #openstack-sahara16:11
*** ViswaV_ has joined #openstack-sahara16:12
*** ViswaV has quit IRC16:15
dmitrymetellesnobrega: did you consider to use execute_command(‘sed bla-bla-bla’, run_as_root=true)?16:19
dmitrymeanother options would be 1. read file 2. make changes in its contents 3. write file back16:20
tellesnobregased is used to replace right16:20
tellesnobrega?16:20
dmitrymeright16:21
dmitrymebtw we already have helper for it16:21
dmitrymereplace_remote_string16:21
dmitrymeit invokes ‘sed' under the hood16:21
tellesnobregai need to append to the file. I think the best way is to open as append16:21
tellesnobregai saw that16:21
tellesnobregathe solution i wrote is as described above, i copied the file as temp file, appended to it and moved it to the right location16:22
dmitrymeok, then another thing I can suggest is to run ‘sudo echo “bla-bla-bla” >> /etc/supervisor/conffile16:23
dmitrymeI’ve forgotten to add quote at the end :-)16:24
*** ViswaV_ has quit IRC16:25
tellesnobregadmitryme: hm, that looks alright. I could use that when running as sudo, and the normal permissios as write_file does16:25
*** Networkn3rd has quit IRC16:26
*** Networkn3rd has joined #openstack-sahara16:43
*** ViswaV has joined #openstack-sahara16:53
tmckayHi folks.  I just ran a spark EDP job using the Java action on a spark cluster!  Not quite finished yet -- we probably need a specific job type, and I need to write a local filesystem cleanup for uploaded files on a long running cluster, and a few other things.  But "run", "status", and "terminate" works for SparkPi.17:06
tmckayI should probably make a WIP change request today, and then of course I should probably write a spec and a blueprint :)17:06
tmckaynow that I know it can work17:06
*** ViswaV has quit IRC17:08
*** Networkn3rd has quit IRC17:09
tellesnobregatmckay: that's awesome17:11
*** ViswaV has joined #openstack-sahara17:13
tellesnobregaelmiko: i think i have a storm plugin17:21
tellesnobreganow it starts the testing part17:21
elmikoelmiko: very cool17:22
elmikolooks like storm and spark will arrive in short order :)17:22
tellesnobregais there a way that i can create a cluster via command line?17:29
tellesnobregadon't want to implement dashboard yet17:29
elmikoyes17:30
* elmiko digs for docs17:30
tellesnobregafound it17:31
tellesnobregai was looking in the v11.py17:31
tellesnobregafound it on v10.py17:31
elmikocool17:31
elmikoyou can use the sahara command line client to do all those operations17:32
tellesnobreganice17:32
elmikoi'm not seeing online docs for it, but if you type `sahara --help` you should be able to see all the operations17:34
toskytellesnobrega: this is a starging point, but few commands have been changed in the meantime (apart from s/savanna/sahara/): http://spinningmatt.wordpress.com/2014/01/29/hadoop-on-openstack-with-a-cli-creating-a-cluster/17:36
tellesnobreganice, thanks17:37
*** ViswaV_ has joined #openstack-sahara17:40
*** ViswaV has quit IRC17:43
*** ViswaV_ has quit IRC17:47
*** ViswaV has joined #openstack-sahara17:54
*** ViswaV_ has joined #openstack-sahara18:04
*** ViswaV has quit IRC18:05
*** ViswaV_ has quit IRC18:16
*** ViswaV has joined #openstack-sahara18:18
-openstackstatus- NOTICE: python2.6 jobs are failing due to bug 1342262 "virtualenv>=1.9.1 not found" A fix is out but there are still nodes built on the old stale images18:23
*** ChanServ changes topic to "python2.6 jobs are failing due to bug 1342262 "virtualenv>=1.9.1 not found" A fix is out but there are still nodes built on the old stale images"18:23
*** tosky has quit IRC18:39
*** bradd1 has quit IRC18:59
*** Networkn3rd has joined #openstack-sahara19:08
*** ViswaV has quit IRC19:15
*** Networkn3rd has quit IRC19:29
*** ViswaV has joined #openstack-sahara19:38
sballeSergeyLukjanov, Hi Quick question. Something failed with the savanna-ci but I am not sure if I need to fix it. https://review.openstack.org/#/c/107047/19:39
SergeyLukjanovsballe, hi, unfortunately it fails sometimes19:39
SergeyLukjanovsballe, in your case it looks like just internal lab issue - so, I19:40
sballeSergeyLukjanov, I looked throught the logs and I cannot tell if it is somethign I did that made it fails. My guess is taht it isn't since vanilla work19:40
SergeyLukjanovso, I just rechecked it using "recheck sahara-ci"19:40
sballeSergeyLukjanov, ook19:40
*** openstackgerrit has joined #openstack-sahara19:43
*** ViswaV has quit IRC20:12
*** _mattf has quit IRC20:13
openstackgerritTelles Mota Vidal Nóbrega proposed a change to openstack/sahara: Append to a remote existing file  https://review.openstack.org/10710520:17
*** mattf has joined #openstack-sahara20:20
*** mattf has quit IRC20:21
*** mattf has joined #openstack-sahara20:21
openstackgerritAndrew Lazarev proposed a change to openstack/sahara-specs: Spec for security groups management in Sahara  https://review.openstack.org/10717020:41
*** crobertsrh is now known as _crobertsrh20:53
*** sballe has quit IRC20:58
*** mattf is now known as _mattf21:14
*** ViswaV has joined #openstack-sahara21:18
*** ViswaV_ has joined #openstack-sahara21:26
*** ViswaV has quit IRC21:29
*** tmckay has left #openstack-sahara21:32
*** elmiko is now known as _elmiko21:54
*** ViswaV has joined #openstack-sahara22:37
*** ViswaV_ has quit IRC22:37
*** ViswaV has quit IRC22:57
*** tnovacik has quit IRC23:11
*** ViswaV has joined #openstack-sahara23:17
*** ViswaV has quit IRC23:25
*** witlessb has quit IRC23:26

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