18:00:55 #startmeeting trove 18:00:56 Meeting started Wed May 28 18:00:55 2014 UTC and is due to finish in 60 minutes. The chair is SlickNik. Information about MeetBot at http://wiki.debian.org/MeetBot. 18:00:57 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 18:01:00 The meeting name has been set to 'trove' 18:01:21 Giving folks a couple of minutes to trickle in 18:01:27 o/ 18:01:28 o/ 18:01:40 Agenda at: 18:01:41 o/ 18:01:42 #link https://wiki.openstack.org/wiki/Meetings/TroveMeeting 18:01:45 o/ 18:01:45 wassup yall 18:01:47 o/ 18:01:53 o/ 18:01:54 cweid, 'sup man 18:01:55 o/ 18:01:59 o/ 18:02:00 o/ 18:02:00 ello 18:02:11 o/ 18:02:21 ohai 18:02:39 present 18:02:42 #link http://eavesdrop.openstack.org/meetings/trove/2014/trove.2014-05-21-18.01.html 18:03:08 o/ 18:03:23 Can we talk about my merge request :P 18:03:23 o/ 18:03:25 lol 18:03:28 kidding kidding 18:03:35 o/ 18:03:53 Okay, let's get started. 18:04:02 o/ 18:04:03 #topic Refactor/Re-write notifications 18:04:10 o/ 18:04:11 #link http://osdir.com/ml/openstack-dev/2014-05/msg01619.html 18:04:12 imsplitbit: can we talk about SHADDUP 18:04:40 i've wrote a ML about that but didn't receive any response from -cores 18:05:13 denis_makogon: I think what the issues are aren't clearly defined. 18:05:18 i'm interesting in re-defining notifications contract, because there're concerns about that 18:05:49 SlickNik, issue is the actual payload of each notifications 18:05:53 denis_makogon: plz link from lists.openstack in teh future. someon said they heard an advertisement on osdir 18:05:56 #link http://lists.openstack.org/pipermail/openstack-dev/2014-May/035740.html 18:06:13 hub_cap, thanks 18:06:17 npnp 18:06:20 SlickNik: did we want to go over the action items or not doing that any more? 18:07:12 cp16net: That was my fail; I didn't notice we had one. Let's go over that after this discussion. 18:07:19 k 18:07:28 i'd like to fix given issues( in ML) to make notification flexible and not pinned to any OS service at all 18:07:42 since it's now hardly pinned to Nova service 18:08:06 well, these notifications are used for billing 18:08:11 denis_makogon: I disagree that it isn't flexible 18:08:16 example : AZ for each payload seems to be redundant 18:08:17 so they are tied to resources 18:08:40 Like I don't get what use case people might have they can't accomplish due to how notifications work today 18:08:58 grapex, at least move AZ to create call and pass it as one of parameters(**kwargs) 18:09:01 And I know that both Rax and HP people are using the notifications as they exist today 18:09:10 regardless of what client/mechanism you use to get the values. you cannot remove values from the existing events 18:09:11 indeed 18:09:28 Yes, these events are primarily for billing. 18:09:32 when we would move to heat - it would be impossible to use novaclient inside notifications 18:09:39 denis_makogon: the reason why it's in every message is because it allows us to miss any given message without missing any info 18:09:56 vipul, can we make payload more generic 18:09:59 ? 18:10:14 it is generic 18:10:17 denis_makogon: it is generic, in that you can add additional things 18:10:32 we can add but not remove 18:10:39 i wrote small spec for new types of notification payloads 18:10:41 denis_makogon: I don't understand though why removing something from it will increase flexibility 18:10:42 #link https://wiki.openstack.org/wiki/Trove/trove-notifications-v2 18:10:50 If you don't want to use the AZ, you can ignore it. 18:11:12 grapex, no, take a look at current implementation 18:11:23 denis_makogon: what is the motivation for this? is there a hole somewhere in teh current format? 18:11:39 denis_makogon: I am - I'm looking at line 97 of trove/taskmanager/models.py 18:11:50 vipul, when i use heat - i cannot use nova for retrieving AZ 18:12:06 denis_makogon: why not? 18:12:08 will the AZ not come back denis_makogon ? 18:12:11 heat doesn't tell you AZ? is that the issue? 18:12:16 right ^^ 18:12:22 if heat has no AZ we should add it in 18:12:41 heat can tell, be each time notification is called - method calls nova for AZ 18:12:48 https://github.com/openstack/trove/blob/master/trove/taskmanager/models.py#L89-L98 18:12:53 #link https://github.com/openstack/trove/blob/master/trove/taskmanager/models.py#L89-L98 18:13:08 sure you can do a "if heat: use_heat_to_get_az" 18:13:14 so just add an if stmtm 18:13:24 denis_makogon: pass a server kwarg 18:13:25 denis_makogon: so you're concerned about the # of times we invoke the nova API? 18:13:26 done 18:13:43 vipul, yes 18:13:46 robertmyers: yeah that sounds like a bug too, not a bp. 18:14:02 Also- is there going to be some rule that the moment we provision with Heat, we can never talk to the Nova API again? 18:14:09 robertmyers, server term is specific only for nova, and not for Heat 18:14:18 It seems a little overzealous 18:14:23 SlickNik: yeah, a little refactor not a huge change 18:14:29 grapex: not that I'm aware of. 18:14:32 denis_makogon: so 18:14:33 i dont see why the novaclient wont work. heat has to create nova resources correct? 18:14:35 grapex, for now - no, but soon we will 18:14:38 denis_makogon: I don't think we need to worry about that.. at least not now.. the exists events are meant to be called every 30 mins or so.. 18:15:10 vipul, can we move out nova API call send_event ? 18:15:42 also, therea are problems with payload attributes 18:15:56 like instance_type - is a actual flavor 18:15:59 denis_makogon: what is the plan to provide the information that was provided by the nova call without the client? 18:16:21 denis_makogon: i am not sure i understand what you want to move out.. I don't mind calling nova a hundred times .. if that's what it takes to get the info 18:16:34 denis_makagon: let's be clear here...there are existing billing departments that use this structure and format today to bill clients 18:16:48 ++ 18:16:54 do you want us to go back to the billing department and change the process 18:17:06 so, we still should stick with current contract ? 18:17:10 if so there better be a very very good reason 18:17:17 I don't see why not 18:17:29 feel free to add any additional fields you want 18:17:32 :) 18:17:35 I don't think this is an issue that we should spend resources on 18:17:37 #agreed we should keep the contract 18:17:37 juice, i want to change notification payloads to be more meaningful and correct 18:17:40 denis_makogon: if you are using heat, you can use heatclient to populate that 18:17:44 denis_makogon: there is not need to change the contract just fix the bug I mentioned 18:17:45 rather than novalcient 18:17:58 at the end of the day, it needs the values in the json, its a contract 18:18:24 how to deal with incorrect terms inside payload ? 18:18:30 like a mentioned 18:18:35 can't change them 18:18:38 instance_type - is a flavor name 18:18:43 they are set 18:19:02 denis_makogon: u can add additional fields and ur billing can choose what to read 18:19:12 denis_makagon: easy it's a wart or something that might not make sense to you but think of the amount of work this will cause 18:19:13 so, can i refactor notification and keep contract as is ? 18:19:14 * imsplitbit smells a dead horse 18:19:20 Okay, I think we've spent 15 minutes on this 18:19:25 you can always add your own wrapper to correct the terms 18:19:25 And we need to move on. 18:19:27 v2 will fix all these problems 18:19:37 is there versioning for notifications? 18:19:41 kevinconway: actually v2.1 18:19:48 vipul, no 18:20:04 that seems like a big hole then 18:20:25 kevinconway: i like the way you think! 18:20:34 * hub_cap regrets saying that 18:20:45 so, can i refactor notification without changing contract? 18:20:51 I don't think we should change the current fields since billing is relying on them. 18:20:51 vipul: seems like we can break all the contracts when we rev Trove. in the mean time denis_makogon can only add, not remove 18:21:01 denis_makogon: why refactor? 18:21:11 to avoid using novaclient directly and pick AZ from kwargs ? 18:21:23 you can do that now 18:21:29 just pass server 18:21:46 it is already setup to do that 18:21:58 robertmyers, but it requires nova format for attributes 18:22:07 so mimic it 18:22:23 denis_makogon: No, it doesn't need a refactor as discussed. 18:22:26 why not just take it like : kwargs.get("az") 18:22:54 #topic Action Items 18:22:55 cause change is bad 18:22:57 it would not work with heat since we need to do +1 API call 18:23:08 cp16net: You had something here 18:23:12 * hub_cap channels cartman "with athoritahhhhhh" 18:23:23 I propose we start having a new weekly meeting in #openstack-deadhorse 18:23:28 #link https://bugs.launchpad.net/trove/+bug/1324206 18:23:42 added the audit log levels bug 18:24:07 we should link reviews to this bug 18:24:30 how will modules be assigned? 18:24:56 we can break it up in the description 18:25:18 were you thinking of having a review per module? 18:25:34 my action item proposal is dance party 18:25:37 yeah thats what i was thinking 18:25:41 would it be better to do sub-package per review ? 18:25:43 see cp16net agrees 18:25:48 * cp16net finds a disco ball for hub_cap 18:26:36 denis_makogon: i'm thinking module==taskmanger or instances 18:26:40 cp16net: Sorry about my deadhorse comment, my client fell behind. 18:26:40 and so on 18:26:55 cp16net, yeah, same as i said, sub-package 18:27:18 cp16net: are you saying we assign the modules in the bug description? 18:27:28 yeah i'll break them up 18:27:43 and you can sign up for them 18:27:48 ok sounds good 18:27:52 cp16net: That would be helpful, thanks! 18:28:05 btw does everyone have access to edit the description or is it only the owner? 18:28:28 cp16net: I would suggest putting it in an etherpad and linking to it from the bug description. 18:28:39 I think it's the owner + bug triage team 18:28:53 SlickNik: yeah ok i think that makes sense 18:29:35 Cool, thanks for looking into this cp16net. 18:29:42 Anything else you want to add? 18:29:44 #action cp16net make etherpad for breaking up the modules for log auditing bug 18:29:59 i dont have any more unless q's 18:30:36 #topic Open Discussion 18:31:27 Anything? 18:31:47 If not I have a short follow up with code-reviews discussion. 18:32:18 sounds great 18:33:19 #link http://lihk.in/trove/reviews.htm 18:33:23 #link http://lihk.in/trove/topics.htm 18:33:34 #link http://lihk.in/trove/external.htm 18:33:54 those don't work 18:34:10 juice, you need to be signed in to gerrit 18:34:10 juice, log in 18:34:10 I'm getting errors 18:34:12 juice: u need to be logged in 18:34:20 wow - say what? 18:34:26 So these are generated programatticall 18:34:30 y 18:34:30 juice you need to be logged in 18:34:30 i don't like any of these 18:34:33 can you change them all? 18:34:39 From https://github.com/SlickNik/trove-reviews 18:34:44 oh thanks cweid - glad someone is watching out for me 18:34:45 :( 18:34:53 SlickNik: so the topics, why are there only limited number of topics there 18:34:56 kevinconway: you can add a dash you like 18:34:57 juice: did u sign in? ;) 18:35:00 juice: you should be logged in :-P 18:35:14 iccha1: It's based off of https://github.com/SlickNik/trove-reviews/blob/master/topics.yaml 18:35:23 oh wow...is this what they call gerrit? 18:35:37 SlickNik: These are awesome! 18:35:44 ))) 18:35:54 SlickNik!! SlickNik!! 18:36:08 I think he finally managed to sign in :P 18:36:19 SlickNik, last one missing heat deps 18:36:28 no I am looking over esmute's shoulder 18:36:33 SlickNik: the yaml is pretty 18:36:40 for the url 18:37:03 sweet this looks really good SlickNik 18:37:08 #link https://blueprints.launchpad.net/heat/+spec/update-cinder-volume 18:37:12 SlickNik: I wonder if we could write some automation to pull in blueprints and write the topics.yaml for us 18:37:15 #link https://blueprints.launchpad.net/heat/+spec/update-cinder-volume 18:37:27 grapex: +1 18:37:36 grapex: will look into doing that. 18:37:57 btw, the dashboards get auto-published on a commit hook by https://rdjenkins.dyndns.org/job/Trove-Reviews/ 18:38:17 SlickNik: Can we make changes to the yaml? or just core can do that? 18:38:44 esmute: right now it's by pull request. I'll set up a group or something to make it easier. 18:38:44 SlickNik: Well this is pretty cool. Pretty much exactly what I wanted. 18:38:45 to add topics and whatnot 18:38:48 woah dyndns flashback 18:38:50 SlickNik: Great job 18:39:15 Hopefully address some of imsplitbit's concern of not showing up in the main review page as well. 18:39:18 very nice indeed. Good job SlickNik! 18:39:42 Thanks guys! 18:39:50 thanks SlickNik 18:40:00 okay, denis_makogon did you have something on cinder volumes? 18:40:13 cool thanks for trying to make things better slick 18:40:18 SlickNik, what do you mean? 18:40:47 One thought - how about moving the last 4 columns to be the first 4 - that way you don't have to scan so far across to match things up? 18:40:59 i said that external dashboard missing another two heat deps 18:41:08 and change all the colors 18:41:37 SlickNik: we need a mobile app 18:41:56 it needs to use bootstrap so it's responsive 18:42:33 vgnbkr: I'm not sure that's possible. I can look into it more though. 18:42:49 denis_makogon: oh, that's because there's no mention of trove in either of those commit messages. 18:42:59 vgnbkr: maybe not the first 4, but after owner ? 18:43:05 SlickNik, yes, should they? 18:43:12 SlickNik: Thanks - only if you think it will help you, too :) 18:43:37 Okay, that's all I had for now. 18:43:57 #endmeeting