| Posted | Nick | Remark | |
|---|---|---|---|
| #openstack-nova - 2017-11-01 | |||
| 15:21:56 | dansmith | we log the situation so if they see the same instance over and over, they know some allocation is stuck | |
| 15:22:20 | dansmith | we _could_ track that set run-to-run and log more forcefully, but that's getting more complex | |
| 15:22:43 | mriedem | https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQ1b-BPsqPMmmI9aPgemul62fGgzoXzhuXWTEde_tBvLbcFaRAA | |
| 15:22:52 | mriedem | always good to know about the situation | |
| 15:23:01 | dansmith | um | |
| 15:24:29 | mriedem | if you want i can handle updating tests and such for that if you're busy today | |
| 15:25:22 | dansmith | I'm working on it now | |
| 15:25:28 | dansmith | I'll punt if I need to | |
| 15:30:08 | mriedem | anthonyper: fyi https://bugs.launchpad.net/nova/+bug/1728924 | |
| 15:30:09 | openstack | Launchpad bug 1728924 in OpenStack Compute (nova) "console logging does not work for OL instances on xen compute" [Undecided,Confirmed] | |
| 15:32:28 | dansmith | mriedem: heh, we have a test that asserts that we abort these unborn children | |
| 15:32:55 | mriedem | i'm not sure how to appropriately respond to that statement | |
| 15:33:17 | dansmith | it asserts the desired behavior for reasons other than "every instance goes through this state" of course | |
| 15:33:26 | dansmith | but it's basically asserting that this buggy behavior exists | |
| 15:33:52 | mriedem | huh | |
| 15:34:00 | mriedem | unrelated, i suppose bauzas is in transit | |
| 15:34:12 | dansmith | already? | |
| 15:34:16 | mriedem | jaypipes: just saw another bug in triage for this same NFS resize bfv issue https://review.openstack.org/#/c/516395/ | |
| 15:34:20 | mriedem | we should get that fixed and backported | |
| 15:34:26 | mriedem | s/fixed/merged/ | |
| 15:34:38 | mriedem | note that https://review.openstack.org/#/c/516396/ verifies it | |
| 15:34:41 | mriedem | melwitt: you too ^ | |
| 15:34:46 | mriedem | dansmith: only assuming | |
| 15:34:53 | mriedem | i know he likes to fly out about a week early :) | |
| 15:35:27 | dansmith | lol right | |
| 15:42:26 | Nisha_Agarwal | jaypipes, hi | |
| 15:42:47 | Nisha_Agarwal | jaypipes, i had a query regarding traits scheduling | |
| 15:44:34 | Nisha_Agarwal | jaypipes, is there any prefernce associated with scheduling? among traits scheduling and capabilities scheduling? | |
| 15:45:13 | Nisha_Agarwal | mriedem, ^^^ | |
| 15:45:50 | mriedem | idk | |
| 15:45:58 | Nisha_Agarwal | johnthetubaguy, ^^^^ do u have any idea? | |
| 15:47:24 | dansmith | Nisha_Agarwal: what does that mean "capabilities and traits" | |
| 15:47:56 | dansmith | placement will consider resource amounts and traits, the scheduler will run filters on the results based on what we have today | |
| 15:49:00 | Nisha_Agarwal | dansmith, what do you mean by " on what we have today"? | |
| 15:49:22 | Nisha_Agarwal | dansmith, scheduler runs the filters after placement is executed? | |
| 15:50:11 | dansmith | Nisha_Agarwal: yes | |
| 15:50:39 | Nisha_Agarwal | dansmith, i was asking from the point that if a node has both traits and capabilities populated which one gets the preference in scheduling...is there any preference associated with it? | |
| 15:51:01 | dansmith | Nisha_Agarwal: and I'm saying I don't know what "capabilities" are in this context | |
| 15:51:10 | mriedem | dansmith: i think the CapabilitiesFilter | |
| 15:51:21 | Nisha_Agarwal | mriedem, yes | |
| 15:51:22 | dansmith | so in that case, traits win | |
| 15:51:27 | dansmith | as I said, | |
| 15:51:45 | dansmith | we select based on resource counts and traits, then apply the filters on the result | |
| 15:51:54 | dansmith | if we have a filter, then that will filter the result set | |
| 15:54:19 | Nisha_Agarwal | dansmith, but there can be a case where say the traits scheduling selects 0 nodes but capabilitiesfilter would have selected 1 node if it was run on the same original set of nodes | |
| 15:54:44 | dansmith | yup | |
| 15:55:47 | Nisha_Agarwal | dansmith, then in that case when scheduling done along with traits+capabilities, and capabilities alone differ. :( | |
| 15:56:32 | dansmith | Nisha_Agarwal: agree, except with the sadface | |
| 15:57:33 | dansmith | Nisha_Agarwal: our goal is to make scheduling better, not to preserve every detail of the existing behavior forever | |
| 15:57:41 | openstackgerrit | Dan Smith proposed openstack/nova master: Avoid deleting allocations for instances being built https://review.openstack.org/517009 | |
| 15:57:52 | dansmith | mriedem: ^ | |
| 15:57:55 | openstackgerrit | Hamdy Khader proposed openstack/nova master: Adding NVMEoF for libvirt driver https://review.openstack.org/482640 | |
| 15:58:12 | dansmith | mriedem: lots of test noise in there because of how those tests work, unfortunately | |
| 16:00:21 | mriedem | ok | |
| 16:11:29 | jaypipes | mriedem: k, will look shortly. | |
| 16:11:39 | jaypipes | Nisha_Agarwal: just got back to the office... gimme a few | |
| 16:13:10 | openstackgerrit | Jay Pipes proposed openstack/nova master: required traits for no sharing providers https://review.openstack.org/517027 | |
| 16:13:21 | jaypipes | efried, alex_xu: ^ | |
| 16:13:48 | efried | jaypipes Ack. I did some refactoring of the bottom patch - do you have local deltas? | |
| 16:14:51 | jaypipes | efried: yes | |
| 16:15:01 | jaypipes | efried: I pulled the latest from this morning. | |
| 16:16:16 | efried | jaypipes k, I'll wait. My deltas are improving the readability of that method. Only one of my tweaks actually changes the SQL that's produced, but the test result is still good, so if that's gonna break something, I'll need a test for it. | |
| 16:16:34 | efried | jaypipes We can discuss this p.m. if you're around. | |
| 16:17:10 | jaypipes | efried: readability of the test method or readability of the _get_provider_ids_no_share() method? | |
| 16:17:29 | efried | jaypipes Of _get_provider_ids_matching_all | |
| 16:18:10 | efried | jaypipes Mainly renaming variables and getting rid of unnecessary ones. But the SQL-changer is that 'jc' doesn't need to be linked to the lastij - it can always just compare against rpt.c.id. | |
| 16:18:30 | jaypipes | efried: ah, sure, ok. | |
| 16:18:35 | efried | jaypipes If that's not true, then I need a test path that brings it out. | |
| 16:18:49 | efried | But I don't see why it shouldn't be okay. | |
| 16:18:59 | jaypipes | efried: yes, like I said, I copied the code from the get_all_with_shared() and just removed things. didn't change anything. so I'm good with a change like that, sure. | |
| 16:19:19 | efried | jaypipes Okay, cool. I'll post it once you've done yours. | |
| 16:19:30 | efried | jaypipes Because I'm all about rebase, 'bout rebase. No trouble. | |
| 16:20:08 | jaypipes | efried: why don't you do that now. I can always stash, stash pop after pulling your latest. | |
| 16:20:19 | efried | Okay. | |
| 16:21:28 | jaypipes | Nisha_Agarwal: ok, done reading back... so, dansmith is correct. We will filter nodes based on traits first, then whatever nodes are leftover from that we will pass to the remaining scheduler filters, including the ComputeCapabilitiesFilter. | |
| 16:21:59 | Nisha_Agarwal | jaypipes, yeah. | |
| 16:22:01 | jaypipes | Nisha_Agarwal: I don't see why you'd have a problem, though. since it's not like the ComputeCapabilitiesFilter and trait strings overlap... | |
| 16:22:23 | jaypipes | Nisha_Agarwal: if you could show me a specific example of what your use case is, that would be super helpful. | |
| 16:22:48 | openstackgerrit | Eric Fried proposed openstack/nova master: begin refactor AllocCandidates._get_by_filters() https://review.openstack.org/516778 | |
| 16:22:49 | openstackgerrit | Eric Fried proposed openstack/nova master: build alloc request resources for shared resources https://review.openstack.org/516780 | |
| 16:22:49 | openstackgerrit | Eric Fried proposed openstack/nova master: build ProviderSummary objects in sep function https://review.openstack.org/516779 | |
| 16:22:50 | openstackgerrit | Eric Fried proposed openstack/nova master: finish refactor AllocCandidates._get_by_filters() https://review.openstack.org/516782 | |
| 16:22:50 | openstackgerrit | Eric Fried proposed openstack/nova master: create allocation request for single provider https://review.openstack.org/516781 | |
| 16:22:51 | openstackgerrit | Eric Fried proposed openstack/nova master: required traits for no sharing providers https://review.openstack.org/517027 | |
| 16:22:51 | Nisha_Agarwal | jaypipes, i dont have any example. It was just a query which arose after our call yesterday | |
| 16:22:52 | efried | jaypipes ^ Out for a couple hours... | |
| 16:23:14 | Nisha_Agarwal | jaypipes, i can think of an example and and then reask the question again :) | |
| 16:23:47 | tomsou_ | Hello, can anyone help with the error message "CantStartEngineError: No sql_connection parameter is established" after "/bin/nova-manage cell_v2 list_cells --verbose" command? | |
| 16:24:02 | tomsou_ | mariadb is running | |
| 16:24:08 | mriedem | jaypipes: not sure if you had questions/items you'd like discussed at the placement update session in sydney, but here is the etherpad https://etherpad.openstack.org/p/SYD-forum-nova-placement-update | |
| 16:24:19 | mriedem | jaypipes: the agenda is empty for now, but the abstract has some items that could be moved into agenda | |
| 16:24:27 | jaypipes | efried_rollin: cool, thanks | |
| 16:24:41 | jaypipes | mriedem: rock on. will add shortly. | |
| 16:25:16 | jaypipes | Nisha_Agarwal: cool, thanks! | |
| 16:28:00 | Nisha_Agarwal | jaypipes, dansmith thanks !! | |
| 16:38:03 | openstackgerrit | C Leavett-Brown proposed openstack/nova master: Modify nova routing table to process null requests https://review.openstack.org/516796 | |
| 16:48:49 | dansmith | edleafe: mriedem jaypipes: so.. we don't claim in the chance scheduler, and we don't heal allocations in the compute, which means we're not really setting the stage for people to be able to move from chance to filter+placement right? | |
| 16:49:01 | dansmith | there'll need to be some tool and procedure for patching that up prior to a cutover | |
| 16:49:28 | jaypipes | dansmith: by "tool" do you mean "delete the chance scheduler"? if so, then yes ++ | |
| 16:49:50 | dansmith | sorry, | |