Earlier  
Posted Nick Remark
#openstack-nova - 2017-03-21
12:57:38 jroll I believe flavors should match exactly, others (tripleo, yahoo, ?) don't want that
12:58:37 jroll so I think the answer for now is undersubscribe, use the exact match filters as before if one wants the exact match, and then the resource class stuff will eliminate the discussion
12:59:13 cdent ok, then yeah, the current min_unit setting in jay's new code isn't going to allow that
13:01:56 jroll making a note in the bug report, will write a patch shortly after
13:07:01 openstackgerrit Sean Dague proposed openstack/nova master: remove i18n log markers from nova.api.* https://review.openstack.org/448082
13:07:37 cdent edleafe is an awkward test
13:07:56 cdent wave something near him, and awkwardness is measured
13:08:45 edleafe cdent: I'm not a test!
13:08:56 cdent how do you know?
13:09:10 cdent maybe you are but no one told you
13:09:44 edleafe Sorry, that sounds too much like those late night "wow, man!" conversations from college
13:10:05 cdent dood
13:10:31 cdent maybe _everyone_ is a test (for different things)
13:11:32 edleafe and... and... maybe we're all tests in some giant alien CI... heavy
13:11:34 cdent wave something near jaypipes get back a report on which normal form you got going on
13:12:05 EmilienM mriedem: fyi, I posted a link before you connected: http://logs.openstack.org/22/447522/1/check-tripleo/gate-tripleo-ci-centos-7-ovb-nonha/7563947/logs/undercloud/var/log/
13:12:10 EmilienM mriedem: new logs with the debug patch
13:12:21 EmilienM mriedem: (and good morning :-))
13:12:23 jaypipes cdent: third.
13:15:14 jroll mriedem: EmilienM: see my comment here: https://bugs.launchpad.net/nova/+bug/1674236
13:15:14 openstack Launchpad bug 1674236 in tripleo "CI / promotion: Nova isn't aware of the nodes that were registered with Ironic" [Critical,Triaged]
13:17:57 EmilienM jroll: thanks, well explained
13:20:47 edleafe jaypipes: I was going to say 'ab'
13:22:10 openstackgerrit Stephen Finucane proposed openstack/nova master: Refactor: remove _items() in nova/api/openstack/compute/attach_interfaces.py https://review.openstack.org/447698
13:22:32 openstackgerrit Stephen Finucane proposed openstack/nova master: Add description to policies in agents.py https://review.openstack.org/445208
13:24:07 sfinucan sdague: Could you take a look at https://review.openstack.org/#/c/430909/ and successors when possible, please?
13:24:40 sdague sfinucan: why are you making a change like this - https://review.openstack.org/#/c/430717/6/nova/conf/netconf.py ?
13:25:10 sfinucan sdague: It makes the addition of deprecated lines easier for me
13:25:23 sdague why?
13:25:25 sfinucan plus, there's precedent for making everything in '/conf' ultra-consistent
13:25:34 sfinucan I can simply bulk copy-paste
13:27:10 sfinucan but the "making everything in /conf ultra-consistent" is big enough. I've enough of those done that the little differences between each start to get annoying, heh
13:27:24 mriedem jroll: yeah good catch, _compute_node_to_inventory_dict in the old flow hardcodes min_unit to 1
13:27:33 bauzas EmilienM: mriedem: I'm around to help, could you please tell me the current situation ?
13:27:43 mriedem bauzas: jroll is working on the change
13:28:11 jroll bauzas: read bug 1674236
13:28:11 openstack bug 1674236 in tripleo "CI / promotion: Nova isn't aware of the nodes that were registered with Ironic" [Critical,Triaged] https://launchpad.net/bugs/1674236
13:28:26 sdague sfinucan: honestly, that's kind of exactly the whitespace over eagerness that we stopped doing a couple of years ago. We made E12* non enforcing for a reason.
13:29:10 sfinucan yup, I'd completely agree...outside of '/conf'
13:29:37 sdague no, anyway, we don't want different rules in different places
13:29:46 sfinucan I want to enforce the "consistency is key" mindset in there, in the hopes that it will deliver consistency in the end result
13:29:52 sfinucan which, for the most part, it has been doing
13:30:42 sdague well, I disagree that over prescribed code indentation really impacts useful end user docs :)
13:31:01 sfinucan but it does describe people's mindsets going in there
13:32:05 sfinucan Also, I've done enough of work with that aspect of nova to surely justify the benefit of the doubt
13:33:23 bauzas jroll: mriedem: okay, gaining context :)
13:33:31 sdague I fought really hard against the whitespace wars in the past of people being overly prescriptive, I'm not really interested in bringing that mindset back for any reason
13:35:40 openstackgerrit Jim Rollenhagen proposed openstack/nova master: Ironic: hardcode min_unit for standard resources to 1 https://review.openstack.org/448098
13:36:09 jroll EmilienM: cdent: bauzas: this should definitely fix the bug, trying to figure out now if I need to change allocations code as well so we don't schedule two (undersubscribed) instances to one node
13:36:33 EmilienM jroll: would you recommend us to change something in tripleo also?
13:37:06 jroll EmilienM: well, I believe flavors should always exactly match nodes, but tripleo not doing that is a "feature", so I'd leave it alone
13:37:19 EmilienM ok
13:37:26 EmilienM jroll: thank you!
13:37:40 jroll np :)
13:37:54 EmilienM jroll: I'm going to try this one
13:38:11 jroll EmilienM: thanks
13:40:15 EmilienM jroll: https://review.openstack.org/#/c/447522/ - I'll let you know how it foes
13:40:17 EmilienM goes*
13:41:31 jroll thanks
13:41:54 bauzas EmilienM: jroll: okay, beginning to review https://review.openstack.org/#/c/448098/ FWIW
13:43:00 EmilienM bauzas: thx
13:44:02 bauzas jroll: oh, excellent catch on https://review.openstack.org/#/c/448098/1/nova/virt/ironic/driver.py
13:44:38 jroll bauzas: yeah, was fun
13:44:43 bauzas I think it's a situation where the scheduler is still needed until we implement all the features per the placement engine
13:44:47 jroll we are going to have to change how we do allocations here though :(
13:45:21 bauzas jroll: why so ? you're telling placement to accept returning RPs that have more resources
13:45:25 bauzas jroll: ah I see
13:45:33 jroll :P
13:45:41 bauzas jroll: so you would create an allocation that would eat all the left resources ?
13:45:41 jroll yeah, we don't want to leave free resources there
13:45:56 bauzas yeah, I honestly thought it was already the case
13:46:06 jroll bauzas: maybe. or hack instance.flavor to eat everything
13:46:10 bauzas an ironic allocation is free-or-none
13:46:13 cdent so does this mean we need yet more special casing?
13:46:33 mriedem jroll: did you run functional tests?
13:46:43 bauzas jroll: well, operators defined flavors that weren't really meaning this or that number of resource usage
13:46:48 mriedem jroll: i think there is a functional RT test that will fail
13:46:51 jroll bauzas: right, we have code that does this in our virt driver, but the RT decides we're wrong
13:47:05 jroll mriedem: there probably is, I haven't looked at them
13:47:13 jroll nor ran
13:47:13 bauzas jroll: we could tho tell them to add an extra spec that would signal 'eat me all the cake'
13:47:20 bauzas I mean a trait
13:47:28 mriedem that's not a trait
13:47:36 bauzas a what then ?
13:47:37 mriedem that's like a config option
13:47:41 jroll 'indivisible' is a trait :P
13:48:08 jroll cdent: yes, somewhere. unclear (to me) where
13:48:11 mriedem i guess i need to read the traits spec on the definition
13:48:15 bauzas VCPU=5&MEM_GB=1&eat_me_all_thecake ?
13:48:27 jroll mriedem: I'm mostly joking :)
13:49:12 bauzas jroll: that said I'm concerned we could merge https://review.openstack.org/#/c/448098/1/nova/virt/ironic/driver.py without modifying allocations that would allow to pick the same ironic node for two instances
13:49:42 jroll bauzas: I mean, I can WIP it, I just put it up for now so EmilienM could test and such
13:49:42 bauzas jroll: I do wonder if fixing ironic allocations shouldn't be merged first
13:50:01 bauzas jroll: well, it's a race
13:50:07 bauzas jroll: so the CI could be happy tho
13:50:24 jroll bauzas: let me be clear, I don't want this merged without fixing allocations as well
13:50:36 bauzas a-ah ok, then I agree
13:50:46 jroll bauzas: and if tripleo can boot at least one instance, it's progress
13:50:55 jroll or rather proves that was the issue
13:51:24 bauzas jroll: AFAIK, the Exact* filters are not default in config right?

Earlier   Later