14:00:27 #startmeeting nova_scheduler 14:00:27 Meeting started Mon May 1 14:00:27 2017 UTC and is due to finish in 60 minutes. The chair is edleafe. Information about MeetBot at http://wiki.debian.org/MeetBot. 14:00:28 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 14:00:31 The meeting name has been set to 'nova_scheduler' 14:00:34 o/ 14:00:39 o/ 14:00:44 Who's here? 14:00:52 0/ 14:01:00 or o/ 14:01:25 jaypipes: I think the first was right, you do have an impressively large head 14:01:40 cdent: lol 14:01:50 * edleafe thought cdent was going to make a zero brains crack 14:02:09 look at the big brains on jay! 14:02:36 #topic Specs & Reviews 14:02:48 os-traits 14:02:49 #link Sync os-traits in placement DB https://review.openstack.org/450125 14:03:00 Is this something we need? Or should we only do this if we see a performance hit? 14:03:31 I don't think it's a performance thing 14:03:58 sfinucan would probably warn them against using anything from "from nova.cmd import common as cmd_common" 14:04:07 ya 14:05:02 so is this something necessary? 14:05:02 he's been alerted 14:05:52 so what is this for? if we don't find a trait in the db we lookup in the library? 14:06:03 i still haven't read the traits spec 14:06:21 and if your library is backlevel then you're kind of screwed for new traits 14:06:26 mriedem: its to put all the traits in the db 14:06:29 instead of using the library 14:06:31 It's for when the os-traits lib changes 14:06:41 This will update the copy in the DB 14:06:50 mriedem: yeah, basically it adds records for the standard traits (os-traits traits) into the API DB and ensures there's records in the traits table with the name of the trait and an autoincremt id. 14:06:52 So we can do all those yummy SQL joings 14:06:53 but if we don't find a trait in the db we fallback to the library? 14:06:55 joins 14:07:23 how often are operators expected to run this? 14:07:29 mriedem: whereas we have all the standard resource classes use their "ID" from the fields.ResourceClass.STANDARD enum, we don't have the same luxury for standard traits. 14:07:30 on a cron? 14:07:55 mriedem: whenever os-traits does a release and they want to use one of the new traits in that release. 14:08:06 mriedem: it's not too onerous, really... 14:08:29 it's not just operators using traits though right? but i guess they can control if they expose the support 14:08:49 are the traits available in a cloud discoverable by the end user? 14:08:55 so, just for sake of devil's advocate, what's wrong with validating input against the os.traits module, and then storing the strings in the db? 14:09:26 mriedem: yes 14:09:32 oh right, 14:09:37 /traits 14:09:38 derp 14:09:39 right 14:10:01 cdent: either way, it will depend on the release of os-traits the controller has installed. 14:10:14 ok i was concerned about interop, but since it's discoverable i care less 14:10:33 so if i'm an operator, i probably run this like i run nova-manage db sync 14:10:37 jaypipes: sure but if you don't sync, then you don't have to sync 14:10:50 which is one less thing to forget 14:11:11 and the package will automatically depend on the os_traits lib 14:11:18 so the question still stands: what's wrong with strings? 14:11:51 cdent: yeah, we could also do a "hey, check if the $TRAIT_NAME is in os-traits. If it isn't, return 404. If it is, check if it's in the DB and if not, add it. but that would be a little less efficient, yes? 14:11:59 so maybe this is a perf thing after all :) 14:12:22 if we are worried about efficiency on a list of strings that is <10,000 entries, aren't we...confused? 14:13:42 (I'm not exactly opposed to the change, I just want to be clear on the reasons) 14:15:27 Well, why don't we all review that change, and comment on the review? 14:15:36 * cdent nods 14:15:39 Next up: 14:15:40 Claims in the Scheduler 14:15:42 #link Claims in the scheduler series: https://review.openstack.org/#/c/460177/ 14:15:46 * jaypipes nods too 14:16:08 Sylvain is off today like a good French worker 14:16:18 * cdent is a bad worker 14:16:47 I'm concerned with the last one in that series 14:17:09 Moving claims to the scheduler because of a previous premature optimization choice seems... bad 14:17:24 s/the scheduler/the conductor 14:18:38 I think perhaps at this point we're just going to have to go with the WIP aspect of all this 14:18:59 Yes, and keep providing direction 14:19:00 however, I'd prefer if we were WIPping in the general direction of the original plan, and then moving away from that if it proves incomplete 14:19:03 edleafe: k, will review that today. 14:19:49 So yeah, it is all still WIP, so let's make sure we actually *make progress* 14:19:59 progress++ 14:20:05 keep in mind, 14:20:20 there is also a push for a general long-term direction to make the scheduler a library, 14:20:25 so we can drop another service you have to run 14:20:28 that's motivating some of this 14:21:08 at this point, 14:21:16 i've already forgotten all of the pros/cons of each approach really, 14:21:22 and they weren't all documented in the spec 14:21:36 Having the scheduler as a library doesn't seem to impact this at all 14:22:21 In general, we always assumed that the thing making the choice from placement would then make the allocation 14:23:32 i honestly don't even remember why we said conductor needs to do it last week 14:23:32 Moving on... Nested Resource Providers 14:23:32 Nested Resource provider series still doesn't show any signs of life 14:23:35 #link Nested RPs: https://review.openstack.org/#/c/415920/ 14:23:46 jaypipes: status? 14:24:13 edleafe: I'd like to get the shared resources pike series done first, along with the get_inventory() patches. 14:24:20 oh right the scheduler interface... ignore me 14:24:21 edleafe: then rebase and move forward with n-r-p 14:24:39 jaypipes: that makes sense, since nrp needs to give it's inventory via get_inventory 14:24:50 right 14:24:54 jaypipes: link? 14:24:58 sec 14:25:10 #link get_inventory: https://review.openstack.org/457782 14:25:21 #link shared-resources-pike: https://review.openstack.org/460798 14:25:33 cool, thx 14:25:38 currently fixing up comments on https://review.openstack.org/460798 from you and cdent. 14:25:43 Will look those over later 14:26:19 next up: Ironic testing for custom Resource Classes 14:26:21 # link Ironic custom RC tests https://review.openstack.org/#/c/443628/ 14:26:35 Anyone have anything to comment on that? 14:26:52 no, just need to review. 14:27:04 ok, then... Docs 14:27:05 #link Placement API ref https://review.openstack.org/#/q/topic:cd/placement-api-ref 14:27:14 also rpodolyaka just got married on Saturday, so he's out for a few :) 14:27:18 looks like that series is making some progress 14:27:25 how dare he! 14:27:39 and avolkov is also still on PTO 14:28:11 cdent: anything to add about docs? 14:28:41 I was looking this morning at what's required to do the actual publishing (not draft). shouldn't be too onerous 14:29:03 but will require a special job because of the placement-within-nova-ness 14:29:45 fun 14:29:49 because the existing job assumes a file structure right? 14:30:21 mriedem: yes 14:30:28 it's a small difference 14:31:28 OK, any other specs/reviews to discuss? 14:32:49 edleafe: no specs, but I have an open item to discuss. :) 14:33:03 jaypipes: opens is coming up soon 14:33:06 kk 14:33:08 #topic Bugs 14:33:08 #link Placement bugs https://bugs.launchpad.net/nova/+bugs?field.tag=placement 14:33:28 One new bug, that I see cdent has already responded to 14:33:28 there was a new one, I responded to it asking for n-cpu logs 14:33:31 jinx! 14:33:32 jinx 14:33:37 yay! 14:33:52 anything else about that bug? 14:34:01 ...or any other bug? 14:34:05 it's probably the thing 14:34:43 let's move on 14:34:45 #topic Open discussion 14:34:49 jaypipes? 14:35:33 so, I have two talks on the placement API in Boston. I'm done with slides for one of them and 85% done with the other one. I was hoping I could get feedback from folks on them? 14:35:55 already shared with mriedem and dansmith but I'd like to share with edleafe, cdent and others if that's ok? 14:36:09 yes please 14:36:12 of course 14:36:17 ok, thanks guys. 14:36:27 you'll see a google docs share notice shortly. 14:36:44 jaypipes: use my gmail addy: edleafe@gmail.com 14:36:49 will do, thx 14:36:54 makes sharing gdocs easier 14:37:22 also, word of warning: the slide template is the Mirantis Boston summit template. I don't control it or the fonts. :) 14:37:34 excuses, excuses... 14:37:52 cdent: you have a gmail 14:37:53 ? 14:37:59 chris.dent 14:38:05 k, thx 14:38:27 k, shared. thx in advance for the feedback. 14:38:31 OK, looking forward to tearing up jay's slide decks 14:38:35 I'll share the second talk shortly. 14:38:38 :) 14:38:46 go for it, edleafe! 14:39:00 Anything else for open discussion? 14:39:50 wow, even the crickets are quiet this morning! 14:39:54 heh 14:39:56 #endmeeting