Earlier  
Posted Nick Remark
#openstack-nova - 2017-10-03
13:52:03 mriedem i said i cared less about required= even though i didn't like it
13:52:05 bauzas edleafe: I'm not advocating for it now
13:52:08 mriedem i was -1 on the ?required='' thing
13:52:15 bauzas edleafe: I'm just saying it *could* be possible
13:52:17 dansmith edleafe: I don't think so, we still have to pull out things that might have that over things that don't at all, right?
13:52:20 jaypipes edleafe: no plans *currently*, but we still would likely need a corresponding parameter for preferred to pass to the scheduler of course.
13:52:23 cdent yeah, I fixed the required=‘’ thing, thank goodness
13:52:37 mriedem sdague: i can't say how often people are changing flavor names randomly
13:52:55 edleafe jaypipes: ok, I thought we were just thinking of the placement api
13:52:56 mriedem there were a few operators that said they would use this on the spec
13:53:08 jaypipes mriedem: what's your vote then? traits=?
13:53:11 sdague mriedem: sure, so let's just make name mutable
13:53:13 bauzas cdent: honestly, like I said, I don't want to take too much time on that spec, +Wd :)
13:53:34 sdague mriedem: I guess, it feels really weird to add a **3rd** 255 character string to flavor
13:53:37 mriedem sdague: from a ux perspective i don't think name is the thing you want to have 255 characters of detail in
13:53:52 sdague mriedem: because it's called name?
13:53:58 mriedem yes
13:53:58 mriedem we have server name and description
13:54:05 mriedem i don't expect the name of a resource to be super detailed
13:54:25 mriedem jaypipes: huh? i can't handle 3 conversations at once plus reviews right now.
13:54:27 sdague mriedem: we do, but servers' don't also have a server_id field that's a 255 character string
13:54:36 mriedem jaypipes: i thought agreement was on required=?
13:54:42 mriedem since we could have preferred later
13:54:51 jaypipes mriedem: got it. ok, it's settled then.
13:54:59 jaypipes I just wanted to hold a final vote.
13:55:06 mriedem sdague: i don't know why flavor is the weirdo resource with a 255 char id field either
13:55:19 sdague mriedem: because flavor_id == server.name
13:55:25 mriedem but id and name are generally short things
13:55:26 sdague and flavor.name == server.description
13:55:42 sdague or, at least should be treated as such
13:56:10 mriedem how many clouds are filling out the full flavor.name to express everything in that field today?
13:56:18 mriedem including details about baremetal and extra specs
13:57:09 sdague mriedem: don't know, but if that's the concern I'd make the microversion start returning name as a description field instead, and make it mutable after that point
13:57:39 mriedem i'm not going to do that
13:57:45 mriedem we also embed the flavor name in the instance details now,
13:58:00 mriedem so if name starts becoming big ass description, then your output in things like nova show are going to bloat up
13:58:25 sdague mriedem: but that can already be an issue today
13:59:07 sdague if you put a 64 char constraint on id and name at the same time, I'd be fine with it. But I think choose your own adventure on 3 255 character fields is going to lead to more confusion
13:59:13 efried cdent Nice, thanks.
13:59:40 bauzas jaypipes: question in https://review.openstack.org/#/c/497713/10
13:59:46 mriedem sdague: i don't see how it's confusing,
13:59:48 mriedem name is the name,
13:59:50 mriedem id is a uuid by default
13:59:59 mriedem description is a description, name and description are different things
14:00:01 mriedem in english
14:00:21 bauzas jaypipes: tl;dr say I have a host with 2 PFs, and only one tagged with a trait
14:00:29 sdague but your concern was also bloat because 255 characters should not be used
14:00:40 bauzas jaypipes: if I'm asking for 1 VF with that specific trait, I wouldn't get that host ?
14:00:45 jaypipes bauzas: responding on the review...
14:00:59 bauzas cool thanks :)
14:01:04 sdague so, if that's what you believe, then put a 40 character limit on flavor_id, a 64 on name, and add description as the mutable big one
14:01:31 mriedem sdague: that would be an upgrade issue for anyone that has larger values for those fields already, as a workaround
14:01:49 bauzas jaypipes: oh and FWIW, just discovered https://www.instagram.com/itsdougthepug/
14:01:54 sdague mriedem: start with it as json schema enforcement
14:02:25 mriedem that might e ok
14:02:26 mriedem *be
14:02:47 efried mriedem sdague jaypipes bauzas edleafe Put me to work, guys.
14:03:02 mriedem review specs
14:03:20 edleafe efried: paint my house
14:03:23 efried Right right; any particular ones? (Is there a dashboard to look at?
14:03:24 efried )
14:03:30 efried edleafe Be there in 90 minutes
14:04:21 jaypipes bauzas: :) on dougthepug
14:04:41 bauzas sorry, I'm living in the countryside
14:04:57 sdague mriedem: ok, well that's my current counter proposal in the spec. If we really believe people should only be doing flavor_id as uuid and name should be short, then enforce that on new types past that microversion.
14:05:01 bauzas so, in case that's something people know like since 2 years, :p
14:07:56 mriedem efried: https://goo.gl/QidAVs
14:08:01 efried coo
14:09:21 bauzas jaypipes: sorry, my question wasn't clear
14:09:28 bauzas jaypipes: if I'm taking your example
14:09:39 mriedem lyarwood: a few small things in https://review.openstack.org/#/c/490824/ to update
14:10:00 bauzas jaypipes: what if I'm having a node that is having 2 PFs, each of them having 8 VFs ?
14:10:20 bauzas jaypipes: in a nested world, I'd have a root RP (the node) and 2 chidren (the PFs)
14:11:00 bauzas jaypipes: then, if I'm asking for required=HW_NIC_OFFLOAD_TSO, should I get that node as a candidate?
14:11:28 bauzas jaypipes: because alex_xu is saying NO to this https://review.openstack.org/#/c/497713/10/specs/queens/approved/add-trait-support-in-allocation-candidates.rst@44
14:12:07 bauzas jaypipes: to clarify, only *one* PF would have HW_NIC_OFFLOAD_TSO
14:12:18 bauzas the other PF would have other traits
14:12:41 edleafe jaypipes: on https://review.openstack.org/#/c/498830/9/specs/queens/approved/return-selection-objects.rst - are you saying that I should drop the limits field entirely?
14:13:22 jaypipes edleafe: yes, and add a numa_limits field that is a NUMATopologyLimits object.
14:13:45 edleafe jaypipes: ok, I'll revise
14:14:33 jaypipes bauzas: when you say "what if I'm having a node that is having 2 PFs" are you really saying "what if I am *requesting* an instance that has two PFs"?
14:15:24 bauzas jaypipes: no, that's probably where I'm unclear
14:15:25 sdague mriedem: does https://review.openstack.org/#/c/466595 solve cburgess's desire as well?
14:15:35 bauzas jaypipes: nevermind the SR-IOV language
14:15:50 bauzas and keep things simple : one root RP and 2 children RPs
14:15:51 efried bauzas jaypipes If I'm understanding the algorithm correctly, we'll hit the PF that has the right trait; and then look up that guy's root_provider_id to include in the result set.
14:16:04 mriedem sdague: that is the exact same spec/blueprint we've shot down numerous times,
14:16:12 mriedem which i commented on back in may
14:16:14 efried So we don't even consider the child PF RP that lacks the trait in question.
14:16:38 bauzas jaypipes: each of those children RPs would have an inventory of 'foo': 8
14:16:42 efried mriedem Paperwork question: I don't see esberglu's https://review.openstack.org/#/c/503061/ in that dashboard. (Expected to see it under "needs final +2")
14:16:57 bauzas jaypipes: but only one would have a trait 'MISC_FOO'
14:17:20 jaypipes bauzas: k
14:17:36 bauzas jaypipes: my question is, if I'm asking in my query for resources=FOO:1&required=MISC_FOO, could I get that node ?
14:17:43 jaypipes bauzas: yes
14:18:03 jaypipes bauzas: Alex is talking about *aggregates* on line 43-44.
14:18:10 mriedem sdague: -1ed again
14:18:11 sdague mriedem: sure, but if there really are a bunch of different operators that are all coming forward with "please we need this" it would be good to figure out who they are all
14:18:26 jaypipes bauzas: he's being explicit that aggregates don't have traits associated with them. only RPs do.
14:18:36 bauzas ah, shiy

Earlier   Later