| Posted | Nick | Remark | |
|---|---|---|---|
| #openstack-nova - 2020-12-09 | |||
| 15:36:36 | bauzas | okay, I should be able to upload a new rev in 10 mins | |
| 15:36:45 | bauzas | still a WIP tho | |
| 15:36:45 | sean-k-mooney | cool | |
| 15:37:05 | sean-k-mooney | by did i see correctly that you are adding the network request to the request spec | |
| 15:37:32 | sean-k-mooney | i might have a use for that in for one of my specs | |
| 15:38:14 | sean-k-mooney | https://review.opendev.org/c/openstack/nova-specs/+/765901/1/specs/wallaby/approved/port-scoped-sriov-numa-affinity.rst#75 | |
| 15:38:54 | sean-k-mooney | i was planning to add a prefilter but realised i did not have the requested networks in the prefilter | |
| 15:39:16 | sean-k-mooney | so i was going to move it eairler but i think i can just build on your change instead | |
| 15:39:32 | sean-k-mooney | bauzas: can you review and provide input on that in particalar | |
| 15:40:42 | bauzas | sean-k-mooney: okay, will look | |
| 15:42:03 | sean-k-mooney | there is an clean way to do it with out a prefiler but i dont want to break the patern if i dont have to | |
| 15:53:50 | openstackgerrit | Sylvain Bauza proposed openstack/nova master: Add requested_networks field to RequestSpec object https://review.opendev.org/c/openstack/nova/+/749977 | |
| 15:53:50 | openstackgerrit | Sylvain Bauza proposed openstack/nova master: WIP: Add a routed networks scheduler pre-filter https://review.opendev.org/c/openstack/nova/+/749068 | |
| 16:30:09 | melwitt | LarsErikP: I can take care of the merge conflict for the ussuri backport, no worry | |
| 16:30:35 | melwitt | for the victoria one, we are currently stuck behind a known gate failure, I posted a note on the review | |
| 17:06:03 | stephenfin | lyarwood: should I even bother exposing this if it's really internal only? https://review.opendev.org/c/openstack/python-openstackclient/+/765366 | |
| 17:07:17 | lyarwood | stephenfin: yeah we could just block it in the cli | |
| 17:07:31 | lyarwood | stephenfin: but I'm assuming that will create future up and/or downstream bugs | |
| 17:07:40 | lyarwood | stephenfin: but they always have the API | |
| 17:08:15 | stephenfin | that's what I'm thinking. I'm not converting e.g. the 'nova reset-network' command | |
| 17:08:16 | lyarwood | stephenfin: that said the recently landed update stuff is actually useful outside of swap volume | |
| 17:08:46 | lyarwood | stephenfin: so you would just be blocking the swap volume stuff and allowing the volume update flow | |
| 17:09:18 | lyarwood | stephenfin: and FWIW this is why I wanted the swap volume flow fork lifted out from this API *before* we landed the volume update stuff | |
| 17:09:31 | stephenfin | so I'd drop the dst_volume argument and simply use src_volume for both | |
| 17:09:39 | lyarwood | yeah | |
| 17:09:43 | stephenfin | I can do that | |
| 17:26:30 | melwitt | stephenfin: while you're here, do you think you might be able to give this patch to use unittest.mock instead of third party mock a refresh from merge conflicts? https://review.opendev.org/c/openstack/nova/+/714676 prometheanfire was asking yesterday if we'd made progress on support for mock 4.0.2 https://review.opendev.org/765680 | |
| 17:26:53 | melwitt | *while you're here, I wanted to ask | |
| 18:57:35 | stephenfin | melwitt: Sorry, missed that. I'd deprioritized that because I couldn't figure out what the gain was. mock (the pypi package) is a rolling backport of upstream changes and as such, any bugs it introduces are things we're going to have to fix when we reach that future Python version anyway | |
| 18:58:12 | sean-k-mooney | stephenfin: not always | |
| 18:58:14 | stephenfin | so sticking with mock and simply getting it working with 4.0 seemed a wiser course of action, tbh | |
| 18:58:17 | melwitt | oh, hm | |
| 18:58:23 | sean-k-mooney | we have nit bugs in there backported implemation | |
| 18:58:29 | sean-k-mooney | that are not there in the native one | |
| 18:59:01 | stephenfin | I don't think so, at least not from reading upstream bug reports | |
| 18:59:27 | stephenfin | any bugs are also present in unittest.mock on the either the latest Python or Python master, I don't recall which | |
| 18:59:33 | melwitt | stephenfin: I see, ok, I can try that approach then. I didn't realize why the conversion patch wasn't being worked | |
| 18:59:41 | sean-k-mooney | our inablity to use one of the mock decortors is due to mock the lib vs unittest.mock | |
| 19:00:12 | stephenfin | sean-k-mooney: my understanding of that was that it was also an issue in the Python 3.9 unittest.mock implementation | |
| 19:00:19 | sean-k-mooney | i think its teh use of assert raises as a context manager actully | |
| 19:00:38 | stephenfin | I can root out the bug report in the morning (dinner time here) | |
| 19:01:27 | stephenfin | melwitt: I think that might be a wiser approach, but I'm not the only one with a say here. It just seems foolish to have to work around bugs with e.g. unittest.mock on Python 3.6 when mock 3.x+ doesn't have them | |
| 19:03:12 | melwitt | stephenfin: no I think what you're saying makes sense, I think that would be a simpler way to address this | |
| 19:03:41 | sean-k-mooney | stephenfin: https://docs.python.org/3/library/unittest.html#unittest.TestCase.assertRaises | |
| 19:03:45 | melwitt | I can put that together | |
| 19:03:53 | sean-k-mooney | with self.assertRaises(SomeException) as cm: | |
| 19:03:55 | sean-k-mooney | do_something() | |
| 19:04:03 | sean-k-mooney | stephenfin: that does not work with mock the lib | |
| 19:04:13 | sean-k-mooney | or at least it did not work in the past | |
| 19:05:28 | sean-k-mooney | perhaps its actully caused by soemthing else but that is what we belived it was blocking that form working in nova the last time we investigated | |
| 21:57:13 | JamesBenson | Hi all, I've modified my nova.conf with `cpu_mode = host-model` in a mixed CPU environment, but not all of my CPU flags passed through. What else am I missing? | |
| 23:40:18 | openstackgerrit | melanie witt proposed openstack/nova stable/victoria: WIP [stable-only] Target cell for min bw migration service lookup https://review.opendev.org/c/openstack/nova/+/766364 | |
| 23:42:36 | sean-k-mooney | JamesBenson: host model will not pass all the flags | |
| 23:43:27 | sean-k-mooney | JamesBenson: some cpu flags are not virtualisable but the real reason is host model chose the clost model to you actual cpu listed in qemus/libvirts cpu model xml file | |
| 23:44:06 | sean-k-mooney | those models are ment to represent the common set of flag commen to a specific generation of a cpu not the specific sku | |
| 23:44:31 | sean-k-mooney | so if you cpu has feature that are not avaiable on other cpus in the same generation those feature flags likely wont be present | |
| #openstack-nova - 2020-12-10 | |||
| 00:45:29 | openstackgerrit | Wenping Song proposed openstack/nova master: Remove redundant code in instance delete https://review.opendev.org/c/openstack/nova/+/759577 | |
| 02:17:02 | openstackgerrit | Brin Zhang proposed openstack/nova master: Replaces tenant_id with project_id from Rebuild Server API https://review.opendev.org/c/openstack/nova/+/766380 | |
| 02:29:39 | brinzhang | gmann: hi, I have a question with remove tenant_id | |
| 02:30:15 | brinzhang | gmann: the Servers Security Groups API, just need to change this apihttps://docs.openstack.org/api-ref/compute/?expanded=list-security-groups-by-server-detail#servers-security-groups-servers-os-security-groups | |
| 02:31:15 | brinzhang | but it will be impact the deprecated apis, https://docs.openstack.org/api-ref/compute/?expanded=list-security-groups-by-server-detail#security-groups-os-security-groups-deprecated | |
| 02:31:41 | brinzhang | does it need to be consider to change the deprecated apis? | |
| 02:32:23 | brinzhang | I saw the refresh policies changed the deprecated APIs too | |
| 03:34:52 | JamesBenson | sean-k-mooney: originally I had tried `custom` and posted `cpu_models = nehalem,westmere` & `cpu_model_extra_flags = pcid, vmx, pdpe1gb` but then I couldn't boot up VM's. Those three flags are the ones of interest, but aren't in both models. | |
| 03:36:03 | JamesBenson | sean-k-mooney: I thought that the way mentioned above was the right way, but couldn't get it working. Maybe the flags need to be there for all of them? | |
| 07:53:18 | openstackgerrit | Wenping Song proposed openstack/nova master: Nova supports password encrypted VNC https://review.opendev.org/c/openstack/nova/+/622336 | |
| 08:12:17 | openstackgerrit | Wenping Song proposed openstack/nova master: Nova supports password encrypted VNC https://review.opendev.org/c/openstack/nova/+/622336 | |
| 08:19:48 | openstackgerrit | Wenping Song proposed openstack/nova master: Nova supports password encrypted VNC https://review.opendev.org/c/openstack/nova/+/622336 | |
| 08:38:21 | bauzas | good morning Nova | |
| 08:44:36 | openstackgerrit | Brin Zhang proposed openstack/nova master: Replaces tenant_id with project_id from Rebuild Server API https://review.opendev.org/c/openstack/nova/+/766380 | |
| 09:34:59 | gibi | melwitt: hi | |
| 09:35:13 | melwitt | gibi: hi | |
| 09:35:29 | gibi | melwitt: I saw your comment about the chicken-egg | |
| 09:36:19 | melwitt | I figured :) I'm tired so I might be wrong but afaict it is chicken and egg | |
| 09:36:20 | gibi | melwitt: I guess we need to pull the fixes top of each other and then ask infra to promote | |
| 09:36:57 | gibi | melwitt: I will add a unit test coverage for your qos fix during my day (I assume you will go to sleep soon) | |
| 09:37:05 | melwitt | yeah, either that or disable the min bw tempest tests to let the lower-constraints change through and then re-enable it | |
| 09:37:22 | lyarwood | ah right I was going to ask about the bw failures in nova-next | |
| 09:37:26 | brinzhang | gibi, dansmith: could you please review cyborg shelve/unshelve patch again https://review.opendev.org/c/openstack/nova/+/729563 ? thanks | |
| 09:37:38 | lyarwood | brinzhang: dansmith is out until 2021 FYI | |
| 09:38:16 | melwitt | gibi: cool yes that would be appreciated, I am going to sleep soon. also I didn't find anything as to the cause for the failure on the master branch with the port binding failure too so that one needs eyes on it too | |
| 09:39:04 | brinzhang | lyarwood: ack, a shocking news, dansmith will work to k8s? | |
| 09:39:55 | melwitt | gibi: for my patch I had been thinking to add resource requests to one of the nova/tests/functional/cross_cell_migrate.py but it would take me a bit to learn how to incorporate that | |
| 09:39:58 | lyarwood | brinzhang: umm not that I'm aware of, he's just out on PTO until the new year. | |
| 09:40:14 | melwitt | *test_cross_cell_migrate.py | |
| 09:41:11 | melwitt | maybe that would be overkill anyway, I dunno | |
| 09:41:23 | gibi | melwitt: I think this upgrade check that breaks in stable is removed from master | |
| 09:41:45 | melwitt | gibi: it is but it's failing in a different way for the master branch | |
| 09:41:46 | brinzhang | lyarwood: yeah, I like that job too^, thanks | |
| 09:41:56 | gibi | melwitt: ohh, then I will check that too | |
| 09:42:31 | melwitt | gibi: here's my ML post with links to more info http://lists.openstack.org/pipermail/openstack-discuss/2020-December/019319.html | |
| 09:43:56 | melwitt | lajoskatona is looking at the neutron side but I doubt it's neutron. it's just that when we request the port binding it results in neutron getting UnknownResourceProvider, I have no idea how that can happen | |
| 09:53:56 | gibi | melwitt: sorry I was pulled in a downstream call | |
| 09:54:02 | gibi | I will pick up the threads after it | |
| 09:54:16 | melwitt | thanks gibi++ | |
| 09:54:19 | melwitt | o/ | |
| 09:54:23 | gibi | melwitt: have a nice evening | |
| 10:00:17 | stephenfin | sean-k-mooney: The issue with https://docs.python.org/3/library/unittest.html#unittest.TestCase.assertRaises is nothing to do with mock the lib | |
| 10:00:26 | stephenfin | sean-k-mooney: that happens because of testtools | |
| 10:01:10 | stephenfin | sean-k-mooney: https://github.com/testing-cabal/testtools/issues/113 https://github.com/testing-cabal/testtools/issues/275 | |