| Posted | Nick | Remark | |
|---|---|---|---|
| #openstack-nova - 2018-07-19 | |||
| 15:01:36 | mriedem | old school | |
| 15:04:14 | kashyap | mriedem: There are more gems in the Nova source: look for commit messages: "start of day" and "end of day" | |
| 15:04:55 | mriedem | i was just chasing a specific comment in the libvirt driver for it's origin | |
| 15:04:58 | mriedem | *its | |
| 15:06:06 | lei-zh1 | Hi mriedem kashyap, I just reply your comments, to see if I understand the case correctly | |
| 15:16:03 | openstackgerrit | Chen proposed openstack/python-novaclient master: Fix inconsistency https://review.openstack.org/572770 | |
| 15:21:36 | kashyap | lei-zh1: I'm on a call, will check the review once done. | |
| 15:22:29 | lei-zh1 | sure, no hurry | |
| 15:27:29 | openstackgerrit | Stephen Finucane proposed openstack/nova master: tests: Validate huge pages https://review.openstack.org/399653 | |
| 15:27:30 | openstackgerrit | Stephen Finucane proposed openstack/nova master: libvirt: create functional test base class https://review.openstack.org/407055 | |
| 15:34:40 | openstackgerrit | Matt Riedemann proposed openstack/nova master: Fix accumulated nits from port binding for live migration series https://review.openstack.org/583994 | |
| 15:38:23 | mriedem | lei-zh1: "From the conf Matt pasted, with cpu_mode not specified" | |
| 15:38:28 | mriedem | cpu_mode *is* specificed | |
| 15:38:30 | mriedem | *specified | |
| 15:38:33 | mriedem | but with value "none" | |
| 15:38:39 | mriedem | which is not equal to None | |
| 15:40:30 | mriedem | lei-zh1: my understanding is libvirt devs are recommending that the powerkvm ci should configure nova to use cpu_mode='host-model' with cpu_model='power8' | |
| 15:40:36 | mriedem | which isn't something you can control | |
| 15:40:45 | mriedem | and why i was trying to get a hold of mmedvede | |
| 15:41:38 | lei-zh1 | mriedem, ok, I got it | |
| 15:41:46 | mriedem | we can see that the host model in the capabilities is <model>POWER8</model> | |
| 15:45:20 | lei-zh1 | but I still need to handle the conf you mentioned, suppose it's a valid case, I should make a guess and set the model to power8, right? | |
| 15:45:25 | mriedem | i mean, we could hack something in here like, if cpu_mode='none' and arch == ppc64le, use cpu_mode='host-model' and cpu_model='power8' but it would be blatantly ignoring what's in nova.conf | |
| 15:48:20 | mriedem | lei-zh1: i left a couple of comments | |
| 15:48:30 | mriedem | you might just need to change 2 things: | |
| 15:48:37 | mriedem | if cpu.mode is None or cpu.mode == 'none' | |
| 15:48:47 | mriedem | 2. if arch == ppc64le: mode = 'power8' | |
| 15:50:47 | mriedem | efried: i think https://review.openstack.org/#/c/564440/ was originally part of https://review.openstack.org/#/c/564452/ and then split out | |
| 15:51:32 | efried | mriedem: It was originally like really early in the series and then moved up, but I don't think it was moved far enough to make dansmith happy. | |
| 15:51:47 | mriedem | > This is now at the end of the series. I've kept it separate from the "populate the thing" patch but that's to keep this readable. I can combine them if you don't mind the larger diff | |
| 15:51:55 | efried | mriedem: His original complaint - that we have dead conf options that say they do a thing they don't do - would still apply. | |
| 15:51:57 | mriedem | that's an old comment from stephenfin now too | |
| 15:52:06 | efried | mriedem: Yeah, I saw that, but it's not actually at the end of the series. | |
| 15:52:12 | mriedem | right | |
| 15:52:18 | efried | mriedem: Rule of thumb, I would think, is that the conf options ought to be in the same patch as the reno3 | |
| 15:52:23 | efried | s/3/./ | |
| 15:52:50 | stephenfin | efried: I can squash it with the following patch but https://review.openstack.org/#/c/564441/ is already quite beefy | |
| 15:53:00 | mriedem | so, | |
| 15:53:06 | stephenfin | Sorry, https://review.openstack.org/#/c/564452 | |
| 15:53:07 | mriedem | the other thing we can do, and we've done before, | |
| 15:53:18 | mriedem | is we don't approve the bottom thing until we've got +2s lined up on the thing to use it | |
| 15:53:36 | efried | yeah, that would be fine by me. | |
| 15:53:43 | mriedem | let's WIP the bottom thing then | |
| 15:54:04 | mriedem | done | |
| 15:54:20 | mriedem | i was just pulling this up coincidentally | |
| 15:54:34 | efried | I mean, I really don't feel it matters if we have a situation like this where conf options exist but don't work for a couple commits on the master branch during active development. | |
| 15:54:45 | efried | As long as we make sure we don't hit a release boundary with it. | |
| 15:54:48 | mriedem | right | |
| 15:54:53 | mriedem | and with 1 week to FF, it's risky | |
| 15:55:01 | mriedem | i'll review the rest of the series now | |
| 15:55:04 | mriedem | been meaning to anyway | |
| 15:56:23 | lei-zh1 | mriedem, please see my comments in the patch | |
| 16:02:20 | mriedem | gibi: i threw an idea in https://review.openstack.org/#/c/583347/ as an alternative for unsetting the spec_obj.instance_uuid while filtering hosts to get alternates, see what you think | |
| 16:02:43 | mriedem | either is a hack, but the alternative i just said might be a less impactful hack to any out of tree filters that rely on spec_obj.instance_uuid | |
| 16:05:28 | gibi | mriedem: those filters that rely on spec_obj.instance_uuid has the same issue as the anti-affinity one for multicreate alternates, that spec_obj.instance_uuid is actually invalid for the alternate scheduling. So I think the current patch fixes their issue as well | |
| 16:06:18 | mriedem | gibi: well, anything will explode in that path if it tries to access an unset spec_obj.instance_uuid | |
| 16:06:27 | mriedem | since we don't lazy-load that field in the RequestSpec object | |
| 16:06:46 | mriedem | i agree that filters shouldn't rely on that field *because* of multi-create | |
| 16:07:19 | mriedem | alternatively - to the alternative - we could temporarily set a sentinel uuid | |
| 16:07:29 | mriedem | which will be something that's never in the host_state.instances | |
| 16:07:32 | gibi | mriedem: ahh you are corret the current change doesn't make out of tree filters automatically better. Then you suggestion is as good as the current patch for me | |
| 16:08:40 | mriedem | if you have out of tree filters then all bets are off anyway, but it is admittedly weird to have a request spec w/o an instance_uuid field set | |
| 16:11:33 | gibi | the sentinel way could work and I agree that it is nicer than the unset field we just needs to adjust some logging not to log the sentinel as that is misleading | |
| 16:19:46 | mriedem | melwitt: appears we have a test that needs to be skipped for lvm http://logs.openstack.org/70/434870/37/check/nova-lvm/a7cce3d/logs/screen-n-cpu.txt.gz?level=TRACE#_Jul_19_14_40_50_480759 | |
| 16:22:23 | openstackgerrit | Balazs Gibizer proposed openstack/nova master: Use placement 1.28 in scheduler report client https://review.openstack.org/583667 | |
| 16:22:56 | openstackgerrit | Matt Riedemann proposed openstack/nova master: Skip test_resize_server_revert_with_volume_attached in nova-lvm https://review.openstack.org/584018 | |
| 16:22:58 | mriedem | melwitt et al ^ | |
| 16:43:15 | mriedem | stephenfin: a couple of things in here https://review.openstack.org/#/c/564441/ | |
| 16:47:03 | stephenfin | mriedem: looking | |
| 16:54:23 | stephenfin | mriedem: Comments left on all those. Will address once I learn what silly things I've done in the other patches that need fixing :) | |
| 16:57:52 | mriedem | i see your comments and raise you 2 | |
| 16:59:01 | mriedem | i think i answered one of my own questions | |
| 17:17:28 | openstackgerrit | Graham Hayes proposed openstack/nova master: Do not install zVMCloudConnector in poy36 https://review.openstack.org/584031 | |
| 17:28:01 | openstackgerrit | Artom Lifshitz proposed openstack/nova master: DNM: extra logging for 1775947 https://review.openstack.org/584032 | |
| 17:38:58 | efried | mriedem: Wherezat bug / pull request y'all opened yesterday for the zvm lib supporting py36? | |
| 17:40:29 | efried | mriedem: nm, found it. | |
| 18:08:44 | openstackgerrit | Lei Zhang proposed openstack/nova master: Add method to get cpu traits https://review.openstack.org/560317 | |
| 18:22:52 | mriedem | stub_out is failing me and i don't know why | |
| 18:25:00 | openstackgerrit | Matt Riedemann proposed openstack/nova master: Do not install zVMCloudConnector in py36 https://review.openstack.org/584031 | |
| 18:29:14 | mriedem | oh wow, well, figured it out | |
| 18:30:29 | efried | is mugsie Graham Hayes? Never knew that guy had a real name. | |
| 18:30:43 | mriedem | yup | |
| 18:30:57 | mriedem | i've actually *seen* him in person | |
| 18:30:58 | mriedem | believe it or not | |
| 18:31:10 | efried | Oh, yeah, I've seen him any number of times. Just didn't realize he had a name. | |
| 18:31:16 | mriedem | "that dns guy" | |
| 18:31:48 | efried | Been trying to get the mugsie/penick cage match going. | |
| 18:32:35 | mriedem | battle royale | |
| 18:43:34 | efried | Remind me what are the rules for what releases a conductor and its computes can be at? | |
| 18:43:52 | mriedem | computes n-1 | |
| 18:44:44 | mriedem | the control plane can tolerate n-1 computes for rolling upgrades | |
| 18:45:04 | efried | and GET /allocation_candidates happens on... the controller? | |
| 18:45:09 | mriedem | yeah, scheduler | |
| 18:45:24 | mriedem | controller = api, conductor, scheduler | |
| 18:45:50 | efried | Trying to figure out why this allocation_request_version thing exists | |
| 18:46:40 | efried | Sounds like its purpose is to allow us to "cheat" and use a higher microversion on the n-1 compute than that codebase actually knows about. | |
| 18:47:02 | mriedem | correct | |
| 18:47:05 | mriedem | well, not the compute, | |
| 18:47:07 | mriedem | the cell conductor | |
| 18:47:24 | efried | um | |