15:00:19 #startmeeting monasca 15:00:20 Meeting started Wed May 11 15:00:19 2016 UTC and is due to finish in 60 minutes. The chair is rhochmuth. Information about MeetBot at http://wiki.debian.org/MeetBot. 15:00:22 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 15:00:24 The meeting name has been set to 'monasca' 15:00:27 o/ 15:00:28 o/ 15:00:33 hello 15:00:33 o/ 15:00:38 hi 15:00:47 hi 15:00:54 hey 15:00:54 hi 15:01:07 hi flintHP 15:01:10 o/ 15:01:17 hi 15:01:22 hi ddyer 15:01:24 hi good morning 15:01:35 hi thatsdone 15:01:41 hi ashwin 15:01:47 hi everybody! 15:01:47 hi everyone else 15:01:54 that covers it 15:02:03 the agenda is at, https://etherpad.openstack.org/p/monasca-team-meeting-agenda 15:02:11 Agenda for Wednesday May 11, 2016 (15:00 UTC) 15:02:11 1. monasca-transform 15:02:11 1. https://wiki.openstack.org/wiki/Monasca/Transform 15:02:11 2. Reviews 15:02:11 1. https://review.openstack.org/#/c/307963/ 15:02:12 2. https://review.openstack.org/#/c/289675/ 15:02:12 3. https://review.openstack.org/#/c/306621/ 15:02:13 4. https://review.openstack.org/#/c/286281/ 15:02:13 5. https://review.openstack.org/#/q/topic:sporadic_metric 15:02:14 6. https://review.openstack.org/#/c/310511/ 15:02:25 What I woudl like to cover first is monasca-transform 15:02:27 o/ 15:02:44 we have a few folks form hpe that are here today 15:02:57 ashwin, ddyer and flinHP 15:03:02 flintHP 15:03:14 so, if we could cover that in the first half hour that woudl be good 15:03:24 then we can look at some fo the reviews that have been posted 15:03:34 +1 15:03:34 #topic monasca-transform 15:03:52 so, i'll let ashwin and team introduce you to the project and what is being done 15:04:00 and then open up for questions 15:04:09 ashwin u have the floor 15:04:16 hi all 15:04:22 hi ashwin 15:04:35 we will do a walkthrough new project monasca-transform 15:04:52 Blueprint is at https://blueprints.launchpad.net/monasca/+spec/monasca-transform 15:05:29 More detailed design is on the wiki at : https://wiki.openstack.org/wiki/Monasca/Transform 15:06:36 The main purpose of this project is to aggregate and transform metrics published to monasca's metrics topic in Kafka 15:07:05 and publish new aggregated metrics back to metrics topic in Kafka. 15:07:25 what use cases does it cover that can't be covered by the alarm definition language? 15:08:06 There are several use cases which we can address e.g. aggregate individual metrics, combine multiple metrics to derive a new metric, find say a rate at which metric changes over a time interval etc 15:09:09 do you want to write back to the same topic? 15:10:17 aggregrate individual metrics and combine multiple metrics to derive a new metric seem like functionality that already exists in monasca from the users point of view using existing tools/queries 15:10:40 yes the idea is aggregated metric is just like any other monasca metrics so you can set alarms etc on the aggregated metric 15:10:59 find the rate and deriving metrics seem like new functionality 15:12:41 why was apache spark chosen instead of using storm? 15:13:12 Deriving metrics using complex business logic For example consider the periodic heart beat metrics which come from a VM indicating what state the VM was in. One might have to look at how the state of VM changed over the target time interval and then use some business logic come up with a new metric which would indicate the amount of time that the VM was in a usable state 15:14:38 o/ 15:15:11 will this all be project-scoped/multi-tenant? 15:15:29 like for operators, as well as cloud customers? 15:15:53 aggregations can be defined based on any parameters 15:16:25 the project/tenant aggregations will be the normal one 15:16:45 for exampel calculating the number of swift bytes in/out per tenant 15:16:56 for metering/billing purposes 15:17:02 and operators can aggregate across all projects? 15:17:17 yes, i believe so 15:17:23 that would be good 15:17:34 i don't think that was the intended usage 15:17:40 but it is just code 15:17:59 would I be able to compose mem.used_md with cpu.user_perc somehow with this ? 15:18:05 it that the case ? 15:18:32 yes our initial use cases involve aggregating metrics over entire cloud, by all hosts, by each host, by all projects etc 15:18:33 not sure that was a target, but i'm not sure what you mean by that 15:18:48 tomasz ^^^ 15:19:03 nice ashwin 15:19:42 yes you could for example get mem.total_mb metrics which are per host metrics and aggregate to get total available memory across all hosts 15:19:43 composite alarms - that's the name that at least read somewhere, the case is to compose two distinct metrics to say: trigger ALARM if cpu exceeds 50% and in the sime memory consumption goes above 70% 15:20:00 tomasz: that isn't the intended usage 15:20:08 mhm, thx 15:20:53 hello everyone o/ 15:21:17 hmm...my reviewer from sporadic metrics :D, hello there :-) 15:21:17 hi people =) we are late sorry 15:21:39 tomasztrebski, haha 15:21:45 hi, we are in theprocess of reviewing the monasca-transform engine 15:21:59 let's stay focused for another 10 minutes 15:22:07 tks for the update rhochmuth 15:22:17 then do intros and reivews 15:22:54 We are planning on using Spark, Spark streaming on collecting set of metrics and use generic transformation components to run series of aggregation operations over a time interval and publish the metrics back to Kafka. 15:23:12 all the components are written in python 15:23:33 All transformations will be data driven, and it should be possible to add new aggregation routines by configuration changes. 15:24:08 Generic transformation components will be re-usable and easy to change, add new ones or make changes to existing ones 15:24:36 Should be possible to write python unit tests to test each transformation, also series of transformations (transformation pipeline) can be tested. 15:24:47 was an evaluation done between spark and storm? monasca uses storm and the team has expertise in it. why was spark a better alternative to storm? 15:25:24 Can I build the transform engine from code as well as from config? 15:25:57 spark was chosen for a couple of reasons: 15:25:57 Er, pipeline 15:26:03 1. python support 15:26:12 and monasca-ui will be extended to set/configure "new aggregations" ? 15:26:32 kamil_: there isn't an API at this time 15:26:33 2. we had previous experience with hadoop and spark supported a lot of the same mechanisms 15:27:12 3. it has a lot of momentum in terms of development and we wanted something others would be willing to invest in 15:28:00 how much of the code is ready? the repo is empty 15:28:08 ddyer it would be good to update the wiki with those reasons so that people know why spark was chosen 15:28:20 good idea 15:28:24 kamil_: so you can deploy the service and specify the transform via configuration and new metrics will be created 15:28:34 we are in the process of preparing the code for submittal/review 15:28:47 witek: should be published soon 15:28:51 we found the ability to write unit tests in python to test components really useful (vs hadoop where this was impossible) 15:29:29 so, we are kinda getting to the end of a 1/2 hour 15:29:36 should probably talk next stpes 15:29:39 steps 15:29:45 follow-up 15:29:59 the code will be submited for review 15:30:08 and then folks can start using it 15:30:13 and reviewing it 15:30:35 sweet :D 15:31:01 so, does anyone have any major issues with this code being submitted for review 15:31:04 and proceeding 15:31:14 would anyone like another session after reviewing the wiki 15:31:23 please squash the commits :) 15:31:30 lol 15:31:35 we need to see it before we can make that determination 15:31:48 :-) 15:31:57 so the code will end-up in the monasca-transform repo 15:32:12 as a single new review 15:32:17 we eagerly await your review for submission ;-) 15:32:53 so, do we want to discuss again next week any issues? 15:33:02 we can use gerrit for comments and other questions 15:33:10 so, i think that would be preferred right now 15:33:57 +1 gerrit 15:34:12 wow, we already have a +1 (grin) 15:34:20 thank you everyone! 15:34:35 ok, so ashwin and team please submit, and then we can review and discuss any subsequent follow-up 15:34:45 "submit the review" that is 15:35:02 sounds good thanks roland! 15:35:20 thanks ashwin et al 15:35:42 roland is speaking latin again 15:35:54 the other topic listed on the agenda is reviews 15:36:02 #topic reviews 15:36:13 https://review.openstack.org/#/c/307963/ 15:36:27 that's me asking for status 15:36:36 fix metric-list limits 15:36:40 please to merge :) 15:36:59 yes, i think it is ready 15:37:01 this is a blocker for us at twc 15:37:37 the problem from last week was that there were several performance issues identified 15:37:55 rbarndt did a huge amount of testing and performance analysis last week 15:38:01 but i think it is ready to go now 15:38:01 last i heard from ryan brandt that he was ok now? 15:38:07 correct 15:38:30 yup 15:38:55 https://review.openstack.org/#/c/289675/ 15:39:10 this one is also ready, jsut waiting on some more testing 15:39:31 actually I =2'd that one, but the merge didnt' go through 15:39:34 ok, rbak is excited to pull that in and make grafana changes 15:39:44 that one is based off the metrics-list fix 15:39:48 so need that first 15:40:08 right 15:40:39 i'll discuss after doen here, and possibly merge both 15:40:51 sweet 15:40:58 https://review.openstack.org/#/c/306621/ 15:41:09 that's me 15:41:25 i think it's ready -- no oustanding comments 15:41:30 ovs plugin 15:41:38 can this be used in devstack 15:42:00 i need to stand up devstack again -- does it use ovs? 15:42:12 i don't know 15:42:29 i'll get the answer to that 15:43:13 has anyone else tested your plugin 15:43:31 all i can do at this point is a cursory review of code, ... 15:43:37 tested i'm not sure -- i have been getting comments from folks that seem like neutron people 15:44:07 we've tested it at twc in the labe with and without HA routers 15:44:13 s/labe/lab 15:44:24 well, i'll take another look 15:44:39 cool 15:44:46 i asked some folks in hpe india that are looking at vswitch metrics 15:44:59 some of them left comments 15:45:09 aah, cool, that must be sonu and selvakumar 15:45:28 sonu yes 15:45:37 let's move on next review 15:45:37 Openstak default is linuxbridge. I don't know devstack uses ovs. 15:45:38 https://review.openstack.org/#/c/286281/ 15:46:16 thx shinya -- so this won't help devstack if that's the default 15:47:17 oh -- that kv hint is mine too 15:47:43 I mentioned it in my comment, but I didn't see any differences in my testing of the hint 15:48:00 And exploring the queries we use it seems like vertica is already satisfying everything locally 15:48:20 It doesn't hurt anything though 15:48:27 yeah -- i think it'll free vertica resource/bandwidth up more than anything 15:48:52 according to artem at vertica -- the hint eliminates node chatter 15:49:05 Devstack supports ovs, I think the default networking is ovs 15:49:31 http://docs.openstack.org/developer/devstack/guides/neutron.html?highlight=openvswitch 15:49:32 slogan: default is still nova network which does not use ovs, but if you enable neutron then the default for neutron is ovs 15:49:54 Just enable the q services, I might be able to help with a local.conf if needed 15:49:54 thanks shinya 15:50:15 Right clarkb 15:50:50 Novas net ID something I've never used so to me neutron iscalways on :-) 15:51:33 so let's move on 15:51:34 https://review.openstack.org/#/q/topic:sporadic_metric 15:51:41 tomasz, witek 15:52:10 Tomasz has moved the newest code to deterministic_alarm topic 15:52:28 i didn't get to review the latest round of changes 15:52:34 internet was out last night 15:52:45 but i heard that craig added comments 15:53:04 in sporadic_metric we have the additional sporadic field for metric, which can be persisted 15:53:34 so we can see, what kind of metric we are getting 15:54:04 is that functionality still useful after implementing deterministic_alarms? 15:54:19 it isn't required 15:54:44 as the deterministic_alarms are independent of sporadic metrics 15:54:44 roland, I forgot to add you as reviewer to the newest changes, that's fixed right now 15:55:08 you can apply a deterministic_alarm to either a periodic or sproadic metric 15:55:17 and it is done independently 15:55:36 the only use that the sproadic metrics have at this point are to supply additional information about metrics 15:55:46 exactly 15:56:02 so it is still useful, but not required 15:56:11 well, not exactly, we could "propose" user to use non-deterministic alarm for sporadic metrics 15:56:14 directly in ui 15:56:50 obviously the checkox would be mutable, so user could proceed as he wishes 15:56:50 so, i t hink the question is whether we shoudl keep sporadic metrics too 15:57:06 I think we should with having the case above in my head 15:57:14 i see 15:57:37 i was assuming it woudl be removed just to simplify 15:57:40 tomasztrebski, +1 15:57:46 ok, let me think about that some more 15:57:54 ok, thanks Roland 15:57:57 i'll discuss with craig 15:58:23 that'd be up to the user to decide if he want to accept "the proposition" - so the checkbox (or something, I haven't decided yet) would be mutable in monasca-ui 15:58:26 ok, thx 15:58:35 tomasz: are you planning on python changes too 15:58:50 right now I am in middle of checking if I need to do anything for deterministic alarms 15:58:50 tomasz: also agree with last statements 15:59:11 till now I found one "bug" in monasca-api documentation :D 15:59:26 so, i think we've run out of time again 15:59:34 this is happenign a lot 15:59:42 do we need a longer time-slot or two meetings 15:59:45 a lot of interest in monasca :) 15:59:50 yup 15:59:53 that's good 16:00:01 i hate rushing through and skipping over stuff 16:00:14 we have a few folks that showed up today that we didnt' even get introduced 16:00:26 ok, i need to close the meeting down 16:00:37 sorry foks 16:00:43 too much to discuss today 16:00:46 nps ^^ 16:00:48 no problem, we can introduce ourselves in the next meeting. :) 16:00:59 bye 16:01:00 i'll be in the openstack-monasca room 16:01:09 #endmeeting