15:00:58 #startmeeting monasca 15:00:59 Meeting started Wed Jun 1 15:00:58 2016 UTC and is due to finish in 60 minutes. The chair is rhochmuth. Information about MeetBot at http://wiki.debian.org/MeetBot. 15:01:00 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 15:01:01 o/ 15:01:03 The meeting name has been set to 'monasca' 15:01:16 o/ 15:01:17 o/ 15:01:18 o/ 15:01:19 o/ 15:01:20 o/ 15:01:21 o/ 15:01:22 hi 15:01:22 o/ 15:01:29 0/ 15:01:30 Hi o/ 15:01:33 https://etherpad.openstack.org/p/monasca-team-meeting-agenda 15:01:45 1. Horizon pagination style https://blueprints.launchpad.net/monasca/+spec/horizon-pagination-style (shinya) 15:01:45 2. Log-API 15:01:45 3. Deterministic alarms 15:01:45 4. Storm upgrade status ? 15:01:45 5. Reviews 15:01:45 1. https://review.openstack.org/#/c/321864/ 15:01:45 2. https://review.openstack.org/#/c/286281/ 15:01:46 3. https://review.openstack.org/#/c/319887/ 15:01:46 4. https://review.openstack.org/#/c/323277/ 15:01:47 5. https://review.openstack.org/#/c/322750/ 15:01:59 o/ 15:02:16 Looks like a reasonable amount of stuff to get through 15:02:37 #topic Horizon pagination style 15:02:46 Hi. 15:02:50 hi 15:03:00 Can you guys understand my proposal? 15:03:17 This is my first blue print :-) 15:03:23 o/ 15:03:27 So it may be not good document. 15:03:34 I think I do understand :) 15:03:48 Thanks I'm relieved. 15:04:17 o/ 15:04:34 Nova and Glance and may be other API has marker option. 15:04:41 This is similar offset. 15:05:04 I think marker option is almost same as offset. 15:05:17 But there is a difference between marker and offset. 15:05:30 On Nova, if sort_dir=desc and marker are given. 15:05:47 API will return elements decsending from marker. 15:06:01 On Monasca, if "sort_by=id desc" and offset are given. 15:06:16 API will return elements descending from end to offset. 15:06:41 Horizon pagination style expects elements decending from marker(offset). 15:07:01 When prev page button pressed. 15:07:03 i think i understand 15:07:13 So we need to change sort spec or add marker option to apply Horizon style. 15:07:29 so, in your example, the offset is 11 15:07:52 i would expect 10..1 being returned in descending order 15:08:27 Yes, when id desc and offset are given. 15:08:31 the offset should be the starting location - 1 in the sorted (whether ascending or descending) 15:08:49 in the sorted lest 15:09:20 if 20..12 is being returned and the offset is 11, then that seems incorrect 15:10:27 the offset should apply to the sorted list 15:10:34 does that make sense 15:10:41 i'm working off of your example 15:11:13 so, given list [1, …, 20] 15:11:54 if query with sort descending and offset 11, i would expect [10, …, 1] as the result set 15:12:08 When ascending, api returns 12..20 right? 15:12:22 correct 15:12:52 Yes > if query with sort descending and offset 11, i would expect [10, ???, 1] as the result set 15:13:02 to me this seems like a bug. 15:13:22 I see. 15:13:24 did se actually specify something in the spec that works the other way 15:13:37 i don't think the spec went to this level of detail if i recall 15:14:26 but the behaviour that you specify seems to be the correct way, and what is being returned is not as expected 15:15:10 OK so I don't add new marker option. I will fix sort spec. 15:15:45 isn't there a bug that needs to be fixed 15:16:23 I think this is all. 15:16:48 hmmm, maybe i was confused 15:17:10 in your example, you have offset 11 15:17:16 sort by descending 15:17:41 i would expect [10..1] being returned 15:17:51 but you are saying 20..12 is returned 15:18:01 so, i consider that a bug, not a spec change 15:18:23 an horizon expect 10..1 to be returned 15:18:36 so, don't we need to change the code 15:18:44 and possibly update the API spec 15:18:48 and update the blueprint 15:20:09 Yes this is a bug, not spec change. So I will fix a bug. 15:20:16 thanks 15:20:24 ok, so let's move on 15:20:41 #topic Log-API 15:21:12 I have sent a comment to the blueprint TSV published last week 15:21:22 http://lists.openstack.org/pipermail/openstack-dev/2016-May/096245.html 15:21:27 thanks witek 15:21:37 witek, thanks. i replied to your mail 15:21:46 just now 15:22:10 i am ok with your proposal, if others don't have any issues 15:22:53 not sure about using the kafka_topic_name in the POST 15:23:05 that seems to expose internals 15:23:23 it does not have to be kafka topic 15:23:55 that's what i understood it as too, topic could be a generic name, no Roland ? 15:23:55 just some name which can be identified by API and redirected to the given topic 15:25:34 I think the main question here do we want API to be fully flexible or force clients to organize payloads per target topic [routing] 15:26:03 with request or attributes specified globally client sending logs would have to ensure that entire bulk goes into single topic 15:26:03 i was thinking general 15:26:10 attributes could be provided 15:26:21 and then it is up to internals of the service to route accordingly 15:26:54 agree 15:27:36 by attributes you mean that it can either specified globally and locally (per entry in bulk, same as it was for dimensions) or just globally or just locally ? 15:27:46 correct 15:27:59 but which one :D 15:28:00 i think same levles as dimensions 15:28:11 ah, ok, so we have the same thing in mind 15:28:54 +1 15:29:18 if you have "attributes" that have all the same levels as "dimensions" then i think you can do everything required 15:29:30 another question from me at least, because I did not fully understand how that might work, is "what is TTL of attributes", do they cease to exist at log-api level ? or do they follow log inside envelope or even log itself ? 15:29:39 but, i don't think the POST /v3.0/logs/topics/{kafka_topic_name} 15:29:40 is required 15:30:28 i haven't thought that far into implementation 15:30:32 if we want to implement it with attributes we have to reserve some name to identify it as routing target 15:30:56 tsv just wanted to use attributes to route to a specific topoic 15:31:09 in that case, they aren't required after they are published to a topic 15:31:45 for me that is sufficient 15:31:53 but in general you may want to send some additional info with logs which could even be stored in elastic 15:32:11 i think that is good for now too, as that is all that tsv was attempting to address 15:32:19 but i agree with you witek too 15:32:31 but, we don't have a need for that at the moment 15:32:45 rhochmuth: i see value in the API name change. With the topic name in the API endpoint, it may be easy to enforce RBAC using a policy file later - if we want to restrict access to specify topics. But i agree, not an immediate requirement 15:34:21 so, can we close for now on adding "attributues" and just use them to route to a configurable topic 15:34:27 TSV: yet another question from me here, please keep in mind the problem I've been working on recently - limits that are put on topics in kafka regarding maximum size of the message that can be received ? I highly value the idea of ensuring that logs are not lost because envelope exceeded that maximum size, but right now we have only single topic and log-api can be configured to know that limit, but what about multi 15:34:50 ups...ok...that's just a thing to think about, let's not dwell on this right now 15:35:58 yes, we can close the topic I think 15:36:09 thanks witek 15:36:11 tomasz, good point, will think through. thanks 15:36:14 thanks witek 15:36:21 #topic Deterministic alarms 15:37:04 tomasztrebski: i guess that is u 15:37:16 so...that's me...again...and I simply lost faith here. Thing that bothers me is that I managed to create those alarm definitions and they were set to OK right away for deterministic case 15:37:27 old behaviour worked for non-deterministic 15:37:36 that is what i expected based on the code reviews 15:37:37 but 3 people told me it does not work for them 15:38:01 is there anything we are missing in your environment 15:38:11 that's what I expect, imagine my surprise :( 15:38:11 i altered the mysql table to add the required column 15:38:25 by hand after install 15:38:47 it is jsut monasca-common, monasca-thresh and monasca-api 15:39:02 and i used POSTman to simulate requests 15:39:10 i haven't tried debugging yet 15:39:30 well I've posted some questions to thresh change, the most relevant thing is if ORM was used or not, because by default I have it enabled for thresh and api [java] 15:39:39 and I thought about it quite recently 15:40:00 ryban and i are using mysql 15:40:03 however python api was used without ORM, just copied devstack configuration and adjusted IP addresses + keystone roles 15:40:20 i didn't use python, just java 15:40:39 ok, I will try tomorrow without ORM 15:40:49 same steps as in gist I posted 15:40:51 I tested java + mysql - orm 15:41:25 so that might be a place to look for a bug 15:42:24 so to wrap up, tomasztrebski will test with mysql and try and replicate our problem 15:42:32 ok, I think that's all from my side, I know the difference I was looking for 15:42:48 and the rest of us will be in stand-by 15:42:57 sound good 15:43:40 #topic Storm upgrade status ? 15:44:24 this is still in progress, but not sure of the exact state right now 15:44:40 there are several reviews in flight 15:44:41 Are there any news regarding that ? I am partially interested in that because changes I've made there and if that's one is merged that will add some effort 15:45:09 i think we will wait for your review to merge first 15:45:18 we wanted to get that one in 15:45:22 too 15:45:42 that's very nice :), I will do my best to get this into shape 15:45:45 assuming it won't take too much longer to get deterministic alarms in 15:45:51 kk 15:45:59 and you have just a minor issue 15:46:14 well I am loosing 3:1, that's not very good :) 15:46:21 i'll mention to craig and ryan 15:46:27 thx 15:46:31 :-) 15:46:50 #topic reviews 15:47:05 https://review.openstack.org/#/c/321864/ 15:47:31 looks like that one is ready, i'll merge it, both ryan and hoppal reviewed 15:48:01 https://review.openstack.org/#/c/286281/ 15:48:27 This is the kv hint. I just wanted to bring it up again since Brad isn't around this week. 15:48:43 sorry, i didn't get to that one last week 15:49:04 i wanted to review again, but assuming everything is addressed, i dont see a problem merging 15:49:11 will try and get to it today 15:49:25 sounds good. that's all I had on that. 15:49:27 https://review.openstack.org/#/c/319887/ 15:49:32 sorry to interrupt but since mysql change in agent was brought in - I think this change here https://review.openstack.org/#/c/322764/ is also worth merging 15:49:42 I forgot to add this to agenda I guess 15:50:28 tomasztrebskiL i just merged that one too 15:50:52 for the next two minutes i'll merge anythign 15:51:19 https://review.openstack.org/#/c/319887/ 15:51:47 yes, truncation I mentioned to TSV, Artur was kind to test this for me 15:52:01 i haven't looked at the change 15:52:22 if you truncate the client won't know there is lost data 15:52:28 right? 15:52:32 maybe i shoudl look at the code 15:53:14 if I won't truncate I will loose entire batch of logs :(...anyway we find it better right now to truncate log message instead of loosing it 15:53:46 and the problem of safe bulk processing is another topic, but I don't want to discuss it now 15:53:47 the field 'truncated'=true is added, right? 15:53:57 only for logs that were actually truncated 15:54:29 i'll review 15:54:35 thx 15:55:07 looks like that one should be merged 15:55:08 you didn't make it in 2 minutes, Tomasz :) 15:55:20 I did...didn't want to enforce anything :D 15:55:52 https://review.openstack.org/#/c/323277/ 15:56:25 looks like shoudl be merged too 15:57:08 thx 15:57:14 https://review.openstack.org/#/c/322750/ 15:57:35 looks ready to me 15:58:00 I feel like I won teddy bear today 15:58:08 lol 15:58:21 ;-) 15:58:30 international children day 15:59:05 so, i think that is a wrap for today 15:59:08 Roland is wonderful father for monasca project 15:59:23 oh gosh 15:59:35 and we've managed to end before time up :D 15:59:54 we need to still decide mid-cycle week, but we'll being doign remotely 16:00:03 but, we've run out of time again 16:00:13 so, first item up next week is week for mid-cycle 16:00:16 and how to do remote 16:00:24 have to shut it down 16:00:41 #endmeeting