Wednesday, 2015-04-29

*** Networkn3rd has joined #openstack-sahara01:56
*** stanchan has joined #openstack-sahara02:55
*** Networkn3rd has quit IRC03:16
*** coolsvap|afk is now known as coolsvap03:27
openstackgerritKen Chen proposed openstack/sahara: Add CDH5.4 support in sahara  https://review.openstack.org/17766003:33
openstackgerritMerged openstack/sahara: [CDH] swift lib support  https://review.openstack.org/17320503:56
openstackgerritMerged openstack/sahara: Adding config hints for CDH plugin  https://review.openstack.org/16946603:56
*** nkrinner has joined #openstack-sahara04:57
*** Nikolay_St has quit IRC05:09
*** hdd has joined #openstack-sahara05:24
*** sgotliv has quit IRC06:01
*** Longgeek has joined #openstack-sahara06:03
*** Longgeek has quit IRC06:08
*** pcaruana has joined #openstack-sahara06:09
*** tnovacik has joined #openstack-sahara06:28
*** Longgeek has joined #openstack-sahara06:56
*** Longgeek has quit IRC07:02
*** Longgeek has joined #openstack-sahara07:06
*** sgotliv has joined #openstack-sahara07:34
*** Nikolay_St has joined #openstack-sahara07:49
*** sgotliv has quit IRC07:57
*** Longgeek has quit IRC08:05
*** witlessb has joined #openstack-sahara08:28
*** witlessb has quit IRC08:29
*** witlessb has joined #openstack-sahara08:31
openstackgerritVitaly Gridnev proposed openstack/sahara: Added unit tests for service/api module  https://review.openstack.org/17820508:33
*** pino|work has joined #openstack-sahara08:33
*** esikachev has joined #openstack-sahara08:48
*** sgotliv has joined #openstack-sahara08:53
*** Longgeek has joined #openstack-sahara09:06
*** Longgeek has quit IRC09:12
*** Longgeek has joined #openstack-sahara09:13
openstackgerritPino Toscano proposed openstack/sahara-image-elements: Improvements to README.rst of elements  https://review.openstack.org/17713509:19
*** tnovacik has quit IRC09:31
*** sgotliv has quit IRC09:55
*** tnovacik has joined #openstack-sahara10:10
*** sgotliv has joined #openstack-sahara10:13
openstackgerritArtem Osadchiy proposed openstack/sahara: Fix management IPs usage  https://review.openstack.org/17827710:16
*** _crobertsrh has quit IRC10:41
openstackgerritNikita Konovalov proposed openstack/sahara: Improved unit test coverage of periodic module  https://review.openstack.org/17819711:20
*** coolsvap is now known as coolsvap|afk11:33
*** crobertsrh has joined #openstack-sahara11:41
*** esikachev has quit IRC11:45
*** witlessb has quit IRC11:45
*** witlessb has joined #openstack-sahara11:46
openstackgerritVitaly Gridnev proposed openstack/sahara: Improve unit tests of general utils  https://review.openstack.org/17862711:54
*** openstackgerrit has quit IRC12:07
*** openstackgerrit has joined #openstack-sahara12:07
*** esikachev has joined #openstack-sahara12:08
*** raildo has joined #openstack-sahara12:42
*** chlong has joined #openstack-sahara12:44
tellesnobregaelmiko, regarding that rebalance call that storm needs when scaling up, I'm thinking in implementing it at edp.service.storm.engine and calling it when scaling does that sound ok?13:12
tellesnobregaor should it be at plugins.storm.plugin.py13:12
elmikotellesnobrega: i think it might make sense to have it in the engine class13:22
elmikoand then call it once the scaling nodes have been added13:22
elmikothat makes sense to me13:22
tellesnobregaelmiko, ok... i need to have the storm edp approved to get this as well... i'll add as dependency13:29
tellesnobregacan you take a look? https://review.openstack.org/#/c/168302/13:29
elmikotellesnobrega: ack, i'll take a look13:30
tellesnobregathanks13:30
*** flaviosr has joined #openstack-sahara13:47
tellesnobregaanyone can give me and flaviosr a hand on installing sahara production mode13:48
tellesnobrega?13:48
elmikowhat issues are you having?13:48
tellesnobregaflaviosr, way in here13:49
tellesnobregahe is actually the one trying to install it13:49
flaviosrelmiko, I am installing sahara on a juno production cloud, sahara guides says you need pip to install it, but pip updates some dependencies not supported by other openstack modules13:51
flaviosrthere is another way to install it, or installing in a virtualenv is the way to go?13:52
elmikoflaviosr: is it possible to isolate sahara into a virtual machine of it's own?13:52
elmikootherwise, virtualenv might be your best bet13:52
flaviosrthe best scenario is to install it on the same machine13:53
elmikothen probably best to use a virtualenv13:53
flaviosrok, thanks :)13:53
elmikonp13:54
*** hdd has quit IRC13:54
tellesnobregathanks elmiko14:06
-openstackstatus- NOTICE: gerrit has been restarted to clear a stuck events queue. any change events between 13:29-14:05 utc should be rechecked or have their approval votes reapplied to trigger jobs14:06
tellesnobregaafter some good experience we are putting sahara for production here, maybe change the way experiments are carried out in the lab14:06
elmikotellesnobrega: awesome!14:07
tellesnobregai need to study a little more on the job types and stuff like that to present to the lab how to use it and why it is way better than making clusters by hand14:08
elmikoi'd be curious to hear your results, i think most of the team would be14:08
SergeyLukjanovelmiko, tmckay, please, take a look on release notes draft https://etherpad.openstack.org/p/sahara-kilo-release-notes14:08
SergeyLukjanovcrobertsrh, ^^14:08
elmikoSergeyLukjanov: ack14:09
crobertsrhack14:09
SergeyLukjanovwe probably need to add more info to it14:09
SergeyLukjanovsample for other projects - https://wiki.openstack.org/wiki/ReleaseNotes/Kilo14:09
tmckaySergeyLukjanov, okay, will do14:09
tellesnobregaglad to see that storm and zookeeper are part of kilo :)14:17
*** flaviosr has quit IRC14:19
*** egafford has joined #openstack-sahara14:21
*** nkrinner has quit IRC14:24
*** esikachev has quit IRC14:29
*** esikachev has joined #openstack-sahara14:42
openstackgerritNikita Konovalov proposed openstack/sahara: Remove unused code from sqlalchemy api module  https://review.openstack.org/17870814:57
*** Networkn3rd has joined #openstack-sahara15:03
*** Nikolay_St has quit IRC15:23
elmikotellesnobrega: i posted a couple questions on the storm edp review15:24
openstackgerritVitaly Gridnev proposed openstack/sahara: Add unit tests for exceptions module  https://review.openstack.org/17872815:28
*** esikachev has quit IRC15:29
*** hdd has joined #openstack-sahara15:31
*** esikachev has joined #openstack-sahara15:32
openstackgerritNikita Konovalov proposed openstack/sahara: Fix InvalidRequestError being skipped  https://review.openstack.org/17874515:44
*** esikachev has quit IRC15:48
tellesnobregaelmiko, looking into it right now16:07
tellesnobregaelmiko, new patch on the way16:10
openstackgerritTelles Mota Vidal Nóbrega proposed openstack/sahara: Storm EDP implementation  https://review.openstack.org/16830216:13
*** chlong has quit IRC16:19
*** pino|work has quit IRC16:20
*** pcaruana has quit IRC16:22
*** pino|work has joined #openstack-sahara16:27
openstackgerritPino Toscano proposed openstack/sahara-image-elements: Improvements to README.rst of elements  https://review.openstack.org/17713516:41
pino|workelmiko: all yours ;)16:42
elmikopino|work: thanks!17:01
elmikotellesnobrega: thanks17:01
*** sgotliv has quit IRC17:13
*** tellesnobrega_ has joined #openstack-sahara17:16
tellesnobregaelmiko, thanks17:21
*** tellesnobrega_ has quit IRC17:21
elmikonp, i just wasn't sure about those few lines17:21
tellesnobregasure, it was a good catch17:21
tellesnobregaSergeyLukjanov, tmckay if you guys can take a look https://review.openstack.org/168302 it would be great17:25
*** stanchan has quit IRC17:34
*** stanchan has joined #openstack-sahara17:49
*** hdd has quit IRC17:57
*** hdd has joined #openstack-sahara17:58
*** stanchan has quit IRC18:00
*** stanchan has joined #openstack-sahara18:04
*** dhellmann has quit IRC18:05
*** stanchan has quit IRC18:22
tmckaytellesnobrega, so there is no possibility of passing arguments to a storm topology?18:22
tmckayeverything is already set in the jar, I guess?18:23
tellesnobregahuum, actually there is...18:23
tellesnobregaif the user creates a jar that expects for args18:23
tmckaylooks like the args stuff was removed in the last patch18:23
tmckaywhere elmiko commented18:24
tellesnobregayes, I forgot about this point, changing it back again18:24
tellesnobreganormally args arent very normal, but its possible, so i will fix that18:25
tmckay:) okay.  don't listen to elmiko too closely :) (just kidding)18:25
elmikohehe, that's what i was curious about18:25
tellesnobregalol18:25
elmikothe args were set but never passed to the storm call18:25
elmikotmckay: thanks.... ;)18:25
tellesnobregamy bad, being crazy swamped, didnt think it through18:25
tmckayelmiko, gotcha.  He removed them altogether -- one way to fix it18:25
tmckay"No args for you!"18:25
elmikotmckay: right, i didn't know which was correct18:26
elmikolol18:26
tmckayI will refrain from obvious -1 stat increase18:26
*** Nikolay_St has joined #openstack-sahara18:31
openstackgerritTelles Mota Vidal Nóbrega proposed openstack/sahara: Storm EDP implementation  https://review.openstack.org/16830218:36
elmikotellesnobrega: ok, looks much better18:37
tellesnobregaelmiko, thanks18:37
* tmckay looking now18:38
tmckayoops, tellesnobrega, args19218:39
tmckaycut and paste from the review page?18:39
tellesnobregaexactly18:39
tellesnobregalol18:39
tmckayheh18:39
elmikoi need to have my eyes examined...18:39
tmckaytellesnobrega, here's a hint18:40
openstackgerritTelles Mota Vidal Nóbrega proposed openstack/sahara: Storm EDP implementation  https://review.openstack.org/16830218:40
tmckayif you run %(topology_name)s %(args)s together with no space, and make sure that the space is on the front of args, you can avoid an extra space in the case that args is empty18:41
tmckaytellesnobrega, I think I did this in the spark stuff, not sure ^^18:41
tellesnobregatmckay, cool18:41
tmckaythat extra space caused me problems in test code so I found a way to get rid of it.18:41
tellesnobregacool18:41
* tmckay looks at the spark stuff, I know i did this somewhere18:41
tmckaytellesnobrega, yeah, around line 252 in sahara/service/edp/spark/engine.py18:44
tmckayit tags on the " " after assigning args, and then leaves it out in the format.  Up to you.18:44
tellesnobregai think i did that as well18:45
tmckaytellesnobrega, not for args, not as it currently is18:46
tellesnobregalooking at it now18:46
tmckayonly makes sense for stuff that might not be there18:46
openstackgerritNikolay Starodubtsev proposed openstack/sahara: Add unittests for EDP API  https://review.openstack.org/17879918:47
tmckaytellesnobrega, if the test code doesn't look for the command output, it's probably not necessary18:50
tellesnobregasure, i'm running tests again to check if i need that or not18:50
tmckaycould add another unit test for the case when "args" is specified18:52
tellesnobregayeah18:54
tellesnobregathinking about that18:54
tmckayegafford, ping, we have a similar case with storm topologies as spark jobs -- uploaded and run out of /tmp/storm-edp on master19:01
tmckayegafford, do you think https://review.openstack.org/#/c/150117/2/sahara/plugins/spark/plugin.py is generalizable, or do we need a parallel impl for storm?19:01
tmckaytellesnobrega, ^^  This thing loops around once in a while in a cron job on the cluster and cleans up the job dir19:02
tmckaymaybe something to add for Storm jobs, since it follows the pattern of the spark engine19:02
tmckayhmm, each time we do something like this, we'll need the same functionality19:03
tellesnobregaseems ok to me19:03
*** Nikolay_St has quit IRC19:03
tellesnobregai can do it19:04
openstackgerritTelles Mota Vidal Nóbrega proposed openstack/sahara: Storm EDP implementation  https://review.openstack.org/16830219:05
tellesnobregatmckay, elmiko, egafford ^19:05
tmckaytellesnobrega, not a burning issue -- anytime in Liberty would be fine.  If we can refactor and generalize between spark and storm (not sure if it's viable, with the cluster provisioning involved) then that probably gets us the same functionality in another engine, too, should we have one19:05
egaffordtmckay: Looking now.19:05
tellesnobregacool19:05
elmikotellesnobrega: ack19:05
*** dhellmann has joined #openstack-sahara19:06
tmckayegafford, not a top priority, but maybe generalization (supporting classes at any rate) makes some sense19:06
tmckayegafford, if we do it twice, we'll probably do it N times :)19:06
egaffordtmckay, tellesnobrega: There's nothing Spark-specific in that CR really, I agree.19:06
tmckaybut there is the provisioning side19:06
tmckaywhich is in the spark plugin19:06
tmckaysharing that stuff across the storm plugin might take some small amount of refactoring, I would guess19:07
egaffordSo long as other engines use the same job storage structure, the solution is reusable; it's just looking at the size and age of directories.19:07
tellesnobregahow many plugins can we think of that would follow the same pattern?19:07
egaffordtellesnobrega: Anything that doesn't use Oozie (or another engine with a pre-ordained job storage mechanism) can sensibly follow pattern, I'd think.19:08
tmckayegafford, would you recommend copy and paste, or refactor and share?19:08
tmckayI'm on the fence ...19:09
elmikoi wonder if we should consider creating an alternative to the EdpOozieEngine that could encapsulate some of these patterns?19:11
egaffordtmckay: Yeah, we don't have a perfect place to abstract to just now, but...19:11
elmikowe could call it EdpNotOozieEngine ;)19:11
tmckayelmiko, could be.  we could make an "EdpSshEngine" base class19:12
tmckayheh19:12
elmikoyea, exactly. your name is much more reasonable19:12
tmckayegafford, tellesnobrega, why don't we copy and paste, see how it turns out, then look for commonality in another CR?19:13
tmckaytellesnobrega, if you're swamped, just add a bug to track it and come back to it in Liberty sometime19:13
elmiko+1 for making it another CR19:14
tmckayyou've got 6 months before it's released :)19:14
tellesnobregai'm ok with that19:14
egaffordtmckay: It's certainly an option, and not a bad one.19:14
tellesnobregatmckay, lol, sure19:14
tellesnobregait's already on my todo19:14
tmckayegafford, ringing endorsement "it's an option, and not a bad one"19:14
tmckaysign me up!19:15
egaffordtmckay: Hedging wildly is the better part of discretion, which is the better part of valor, so >25% of valor is hedging wildly. Maths.19:18
tmckaylol19:18
*** stanchan has joined #openstack-sahara19:18
elmikonice19:18
*** nkrinner has joined #openstack-sahara19:29
*** Nikolay_St has joined #openstack-sahara19:31
*** Nikolay_St has quit IRC19:36
openstackgerritEmilien Macchi proposed stackforge/puppet-sahara: Beaker tests  https://review.openstack.org/17882119:47
*** Nikolay_St has joined #openstack-sahara19:54
openstackgerritTelles Mota Vidal Nóbrega proposed openstack/sahara: Storm EDP implementation  https://review.openstack.org/16830220:15
tellesnobregamissed indentation tmckay, elmiko, egafford ^20:15
openstackgerritTelles Mota Vidal Nóbrega proposed openstack/sahara: Implementation of Storm scaling  https://review.openstack.org/17883720:42
*** raildo has quit IRC20:58
*** Networkn3rd has quit IRC21:02
*** nkrinner has quit IRC21:25
*** Longgeek has quit IRC21:29
*** crobertsrh is now known as _crobertsrh21:45
*** hdd has quit IRC22:03
*** witlessb has quit IRC22:25
*** egafford has quit IRC22:38
*** stanchan has quit IRC23:43
*** tnovacik has quit IRC23:44
*** chlong has joined #openstack-sahara23:50

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