17:00:06 #startmeeting nova notification 17:00:07 Meeting started Tue May 16 17:00:06 2017 UTC and is due to finish in 60 minutes. The chair is gibi. Information about MeetBot at http://wiki.debian.org/MeetBot. 17:00:08 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 17:00:10 The meeting name has been set to 'nova_notification' 17:00:18 hi 17:00:48 hi 17:00:53 mriedem: hi 17:01:15 It seems it is again just two of us 17:01:17 anyhow 17:01:26 and i've been gone for awhile 17:01:43 last week I cancelled the meeting 17:02:01 so you didn't miss anything :) 17:02:38 I think I managed to summarize the notification tasks state in my weekly mail yesterday http://lists.openstack.org/pipermail/openstack-dev/2017-May/116662.html 17:03:14 so I just want to highlight that both keypair and BDM in instance notification is ready to be reviewed 17:03:26 ok i think i was planning on getting back to the series where you split out the instance.create payload 17:03:28 for keypairs 17:03:39 just hadn't gotten back into the swing of reviews yet since the summit 17:03:42 https://review.openstack.org/#/q/topic:bp/additional-notification-fields-for-searchlight+status:open 17:04:10 instance.create is now split 17:04:17 both for the keypair and for the tags 17:04:33 but the tags patch needs more work 17:05:25 besides that I managed to hand roll a minimal json ref implementation for 17:05:32 https://review.openstack.org/#/q/topic:refactor-notification-samples 17:05:48 it is less than 50 lines 17:06:40 ok 17:07:16 https://review.openstack.org/#/c/452820/6/doc/notification_samples/instance-pause-end.json ? 17:07:49 that seems like a mistak :) 17:08:08 we only need the second payload key 17:08:51 it seems json parser allows duplicated keys 17:09:06 this is why the test didn't failed 17:09:48 ok 17:10:11 i wonder if there is a way to use jsonschema validation to detect duplicate keys? 17:10:22 I will look into that 17:10:35 it all depends on the jsonschema and json libs 17:10:48 maybe even the json lib can be configured for stricter check 17:11:01 http://deron.meranda.us/python/demjson/ 17:11:05 jsonlint i guess 17:11:09 duplicate keys is valid json 17:11:19 so jsonschema validation doesn't fail on it 17:11:54 oo https://github.com/openstack/requirements/blob/master/global-requirements.txt#L361 17:11:57 already available in g-r 17:12:00 so we could use it 17:12:07 cool 17:12:24 I will spin up a separate patch to use that 17:12:47 maybe a combination with https://review.openstack.org/#/c/443677/ 17:13:33 anyhow thanks for the tips 17:14:12 these were the two highlight I wanted to mention 17:14:27 the weekly mail has some additional goods top of this 17:14:47 was there any notification related discussion in Boston I should know about? 17:15:41 no one is using versioned notifications yet 17:15:49 some people are running with notifications in general, 17:15:58 but have to turn them down because of how frequent they are 17:16:02 like the instance.exists ones 17:16:11 klindgren from godaddy commented on that 17:16:15 we told him to open a bug 17:16:45 the searchlight integration stuff is taking a bit of a turn, as in we might explore less invasive changes to the api before integrating with searchlight, 17:16:51 that was all very hand wavey though 17:17:47 I saw a patch about this turn of direction. Searchlight could be a second step for big deployers 17:18:33 I will keep an eye on the instance.exists bug, I guess we could add a config option to change the frequency 17:18:59 there is already a config for that i think 17:19:02 it's a periodic 17:19:13 what we talked about was doing a queue thing like the heal_instance_info periodic 17:19:27 where we get all of the instances, put them in a queue, but only process 1 per iteration (1 minute by default) 17:19:43 i think the issue was the size of the payload (with the frequency) 17:19:45 was killing rpc 17:19:58 nectar said they run notifications on a separate message bus 17:20:03 which is probably smart 17:20:47 so we either decrease the frequence (can be with the queue) or we decrease the payload size. We can do the later with a really small payload like a singel instance.uuid 17:21:07 well, the payload would decrease if you only send 1 instance 17:21:09 instead of a list 17:21:12 but i haven't dug into it 17:21:14 or seen a bug yet 17:22:11 OK, I will look into this with the bug 17:23:04 if there is nothing else then I have one more thing 17:23:30 ok 17:23:33 I will be on paid time off in the next two weeks 17:23:55 so most I'm planning to cancel the next two meetings 17:23:59 if that is OK 17:24:42 so the next meeting I'm planning is on 6th of June 17:25:06 works for me 17:25:09 enjoy the time off 17:25:25 thanks. I will have wedding to attend ;) 17:26:06 this week I'm still fully here but then see you on 6th of June 17:26:15 thanks for the meeting! 17:26:30 np, ttyl 17:26:36 #endmeeting