17:00:03 #startmeeting nova notification 17:00:04 Meeting started Tue May 3 17:00:03 2016 UTC and is due to finish in 60 minutes. The chair is gibi. Information about MeetBot at http://wiki.debian.org/MeetBot. 17:00:05 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 17:00:07 The meeting name has been set to 'nova_notification' 17:00:17 hi! 17:03:02 hm 17:03:53 o/ 17:04:01 hi cdent! 17:04:04 I'm not alone! :) 17:04:13 hi guys 17:04:18 sorry, i'm so deep in a hair nest of debugging that I keep losing track of the time 17:04:18 hi syjulian! 17:04:34 cdent: no worries 17:05:23 ok I guess we start and other can join later 17:05:54 I happy that we can restart this work on notifications 17:06:21 ++ 17:06:25 #topic outstanding reviews 17:06:55 so we have a main spec about transforming the first batch of legacy notifications 17:07:09 #link https://review.openstack.org/#/c/286675/ 17:07:28 I think we are close to get it merged 17:07:51 cdent: want to talk about your comment about the verbosity of the spec? 17:08:44 It wasn't specifically directed at that spec, but at nova specs in general. It feels like there's a dangerous trend. That just happened to be the one I was looking at when the need to write that down overtook me. 17:09:17 cdent: I share your worries even if I see some reasons behind the size of the spec 17:09:19 I get why you did it in that spec, and it makes good sense. I just fear that that level of detail could become a habit 17:09:40 cdent: +1 17:09:54 cdent: what about stating an ML thread about this trend? 17:10:11 I probably will, but I'm struggling to come up with a way to clearly articulate the problem. 17:10:19 I'll keep thinking 17:10:44 cdent: you can share your raw version of the mail privatly with me and I can comment if that helps 17:11:06 that's great, thank you, I'll see what I can put together soon 17:11:13 * cdent adds to this list 17:11:18 great! 17:11:39 anyhow I will ping couple of cores about the spec to get it merged 17:12:03 I think the work specified is great, will be glad to get that moving 17:12:05 hey gibi - this is steve, we met on friday. i’m lurking as an interested party here 17:12:23 Did you see my one question about a reminder on how to deal when both notifications are set? 17:12:24 sjmc7: hi steve! great that you joined! 17:12:57 cdent: yes, I saw, basically we are emitting the versioned notifications on a separate topic 'versioned_notifications' 17:13:11 cdent: this was implemented in Mitaka 17:13:30 cdent: so consumer can diferentiate by topic name 17:13:34 ah cool, excellent 17:13:41 I figured it was covered 17:14:03 cdent: I added a small clarification about it in the last path set 17:14:29 nice 17:14:58 any other comment on the transformation spec? 17:16:13 my other business is the JSON schema generation spec for oslo.versionedobjects 17:16:21 #link https://review.openstack.org/#/c/311194/ 17:16:29 yeah, we’ve got some interest in that, too, as a consumer 17:16:41 sjmc7: I can imagine :) 17:17:22 very glad to see that one 17:17:26 I think that spec doesn't have outstanding comment from nova side but I have to get feedback to oslo guys 17:17:36 yeah. how many different versions do you expect to have floating around in a given deployment? 17:17:38 s/to/from 17:18:11 sjmc7: I think one nova deployemnt means a single version of an notification (event_type) 17:18:46 sjmc7: as the version is defined by the nova code 17:18:47 ok. i’m a little nervous at having to try to cope with loads of different versions for a given release, even if we have schema available 17:19:19 sjmc7: what can happen is that if we have a notification that is emitted from nova-compute and deployer does a rolling upgrade 17:19:36 ah, ok, that makes sense 17:19:37 sjmc7: then old nova-computes might emit the old version 17:19:49 yeah. ok, that’s soemthing we’ll try to bear in mind 17:20:02 sjmc7: I think as soon as we have to need for the first version bump we have to understand this situation better 17:20:14 in terms of the schema generator - that’d be something we can either run or request from nova and get a static schema at configuration time? 17:20:58 sjmc7: I think I can add a small script to nova/tools to generate the schema 17:21:09 sjmc7: in a similar way as config.samples can be generated 17:21:15 sjmc7: that would be OK for you? 17:21:16 yeah, that would make sense 17:21:55 great 17:22:26 any other question / comment on the schema spec? 17:23:00 great 17:23:20 I think we have a bunch of specs up on review that wants to add new notifications 17:23:28 I tried to gathered them on the etherpad 17:23:37 #link https://etherpad.openstack.org/p/nova-versioned-notifications 17:24:15 I'm trying to keep reviewing them 17:24:42 but I have some backlog from last week 17:25:12 if somebody wants to speak about them then it is a good time :) 17:26:07 syjulian: I saw that you published your spec about adding new fields to the instance.create notification 17:26:19 #link https://review.openstack.org/#/c/312169/ 17:26:55 yeah. it's pretty much adding that scheduler_hints field to the create notification once it's transformed 17:27:24 does that go in the etherpad above? 17:27:32 I added it to the etherpad just now :) 17:27:37 cool 17:27:59 I will try to review it tomorrow 17:28:17 awesome! 17:28:39 takashin has a patch of transforming the instance.create notification so your addition will go after it 17:29:08 #link https://review.openstack.org/#/c/279416/ 17:29:47 we don't have instance.create on the list in the transformation spec but the agreement on the midcycle was that only the first couple of transformation needs a spec 17:29:54 so I think it won't be a problem 17:30:15 we’ve also got some stuff we’d like to add; i’ll put up a spec for that dependent on the initial one 17:30:41 sjmc7: just out of curiosity, which notification you want to extend? 17:31:08 at this time, the ones related to servers 17:31:42 sjmc7: OK, ping me when the spec is up and I will review it 17:32:50 thanks. our ideal is that all events that are output that change a server include the full set of information about that server (so the .create notification payload is the same or very simiilar to the .update one) 17:33:31 which is mostly the case right now, although some of the extensions (like volume or interface attach) are a bit different 17:34:46 sjmc7: I see. I like the idea to make those streamlined. Have you considered the amount of data you will get? 17:35:11 sjmc7: ceilometer guys had problems handling that in the past 17:35:26 yeah.. for us though it’s much easier for us to receive a full document and index it versus figuring out what changed 17:35:40 yeah, i know. i’m not sure whether that’s because of the way they were handling it 17:35:45 storing in mysql, for instance 17:36:05 ceilometer has many mistakes 17:36:14 :) 17:36:16 in both the datastore and the processing pipeline 17:36:19 it's much better now 17:36:26 although still some issues 17:37:07 I tend, however, to think that including all the data in every notification is kind of...weird 17:37:15 yeah, i can see that 17:37:35 there's a part of me that thinks they should just be an event type and a resource identifier 17:37:36 and that's it 17:37:46 then we have to hit the API? 17:37:53 I agree that can make things really difficult for assembling info later, though 17:37:56 we’re really trying to move away from that 17:38:00 yes, I know 17:38:11 but I think that's only because the API is poor 17:38:32 we are able to handle partial updates, it’s just more tricky. i can certainly understand not wanting to include more than is necessary, although it might be simpler from the backend’s perspective 17:38:35 if it were good at resolving "what's the info on this id" then it would make moderately more sense 17:38:51 I agree that if some info is sent, it may as well be all of it 17:39:44 we are actually hitting the API now on some requests 17:40:22 well, let’s get v1 of the notifications done and go from there :) 17:40:35 I feel we cannot solve the API problem soon so we might want to add those extra fields to support searchlight 17:40:52 and in the meantime start making the API better 17:41:06 :) 17:41:16 yeah.. part of why we’re doing this is to have a way of making horizon (or other consumers) experience better without huge demands on each service API 17:41:52 sjmc7: I think the searchlight use case is valid 17:42:21 anything else on sjmc7's spec? 17:43:22 OK. Then let's go back a bit to the schema generation spec as harlowja pinged me on the oslo channel minutes ago 17:43:31 \o 17:43:38 o/ 17:43:45 * harlowja posted a small comment on that spec 17:43:52 harlowja: thanks 17:44:00 harlowja: so you suggest to use yaml instead of json 17:44:01 also i found that json-schema.org appears dead :-/ 17:44:13 well i just want to clarify, the json schema is that IETF schema right 17:44:15 ? 17:44:26 (the one with the dead website, lol) 17:44:40 harlowja: yes 17:44:42 k 17:44:46 harlowja: with the dead page :D 17:44:52 harlowja: it worked last week :D 17:44:55 :-P 17:45:09 ok, then i think json is fine, since making that yaml would be weird 17:45:41 u guys are confident that json schema will be able to handle the intricacies of versioned objects? 17:46:10 at least we have some experience in nova with the API request validation, there the json schema works well 17:46:13 k 17:46:37 I also wrote jsonschema for to validate a small query language in celiometer in the past 17:46:37 it's perfectly fine to write jsonschem out as yaml 17:47:01 cdent right, i was just thinking that if these are going to be eventually stored as files, then yaml might be nice (due to comments) 17:47:28 but that might be a little far off (?) 17:47:49 on nova side we don't want to store them just generate them on demand 17:47:50 i'm trying to locate something, related 17:47:56 gibi ok 17:48:15 here we go: https://github.com/brantlk/service-catalog-schema/blob/master/schemas/v2.yaml 17:48:20 harlowja: it does not mean notification consumers will not store it 17:48:40 cdent: this look nice 17:48:46 cdent ya, i guess thats jsonschema in yaml :-P 17:48:53 ya 17:49:55 cool, will up to u all 17:50:09 I'm not agains use yaml this way it is just a bit wierd that we produce the notifications as json and use yaml to describe the schema 17:51:00 anyhow this is not a big change to add later if somebody need it 17:51:22 harlowja: thanks for bringing this up and thanks for the review 17:51:31 np 17:51:33 harlowja: I will respond 17:51:58 gibi: I have arrived :). Just very very late 17:52:07 rlrossit: no worries, logging is on :) 17:52:36 anything else on the schema generation? 17:53:37 anything else on any other open spec about notifications? 17:54:12 OK then lets move on 17:54:14 #topic open discussion 17:54:21 I have one simple topic 17:54:46 I will be on vacation next week so do we have a volunteer charing the next meeting? 17:55:48 do we have the numbers to warrant having the meeting next week if you're not here? 17:55:53 * cdent looks at rlrossit 17:55:57 agrees with cdent 17:56:01 * rlrossit doesn't want to volunteer 17:56:16 :) 17:56:38 I still need to change when I eat lunch on Tuesdays... 17:56:46 I'd say skip, use email and gerrit if something comes up, and just look forward to massive happenings the following week 17:56:49 rlrossit: sorry about that 17:57:02 cdent: OK, let's do that 17:57:05 gibi: blame my friends who are resistant to change 17:57:43 rlrossit: but during the winter it will be good again due to not having a summer time 17:58:03 #agreed skipping next week meetin, use email and gerrit instead 17:58:37 any other thing to discuss? 17:58:45 we still have 90 seconds left :D 17:59:40 * gibi will wait until the hour as it is so close 17:59:54 great 17:59:57 thank you all! 18:00:06 see you around! 18:00:12 #endmeeting