| Posted | Nick | Remark | |
|---|---|---|---|
| #openstack-nova - 2020-05-14 | |||
| 15:01:05 | dansmith | gibi: yeah I dunno how else you would do it.. like I had to add driver.cache_image() for my thing | |
| 15:01:39 | dansmith | gibi: and probably some signaling about the filesystem same-ness | |
| 15:03:03 | gibi | dansmith: OK, I will continue working through this path then | |
| 15:04:36 | lyarwood | gmann: ah got it thanks | |
| 15:04:45 | lyarwood | gmann: I was missing api_major_version = 'v2.1' | |
| 15:06:08 | gmann | lyarwood: ohk, and it was microversion request with 2.0 so ignored | |
| 15:08:18 | lyarwood | gmann: yeah that wasn't at all obvious, thanks again :) | |
| 15:26:56 | openstackgerrit | Takashi Natsume proposed openstack/nova master: Remove six.text_type (2/2) https://review.opendev.org/728117 | |
| 15:28:24 | lyarwood | stephenfin / artom: random question, do either of you recall how nova.tests.functional.libvirt.base.ServersTestBase stops the instance directories from being created? | |
| 15:29:00 | artom | lyarwood, I'd have to go digging - there's a presumably a mock/monkeypatch somewhere | |
| 15:29:04 | stephenfin | lyarwood: Not off the top of my head, unfortunately | |
| 15:29:10 | lyarwood | I've stopped applying ImageBackendFixture and the other obvious file_open fixtures etc but it's still not happy | |
| 15:29:17 | lyarwood | ack np | |
| 15:30:39 | openstackgerrit | Stephen Finucane proposed openstack/nova master: WIP: Add emulated TPM support to Nova https://review.opendev.org/631363 | |
| 15:30:40 | openstackgerrit | Stephen Finucane proposed openstack/nova master: Add support for resize and cold migration of emulated TPM files https://review.opendev.org/639934 | |
| 15:37:54 | lyarwood | doh, it was nova.virt.libvirt.LibvirtDriver._create_image | |
| 15:39:33 | lucadelmonte90 | hello, | |
| 15:40:40 | lucadelmonte90 | i couldn't find anything online, is there a way to disable instance resize from flavor a to flavor b, but keep it enabled for flavor a to flavor c? | |
| 15:42:01 | stephenfin | efried: Can you drop your -2 on https://review.opendev.org/#/c/631363/ ? | |
| 15:42:56 | efried | stephenfin: dangit, I thought I had removed all of my -2s. Done. | |
| 15:43:15 | stephenfin | Thanks | |
| 15:45:39 | artom | lucadelmonte90, no | |
| 15:46:22 | lucadelmonte90 | artom thanks :D | |
| 15:47:16 | artom | lucadelmonte90, if only all questions were that easy :) | |
| 15:50:24 | gibi | nova meeting going to start in 10 minutes on #openstack-meeting-3 | |
| 15:55:24 | artom | stephenfin, question on https://review.opendev.org/#/c/468203/14 | |
| 15:55:29 | artom | Not confident enough to -1... | |
| 15:56:37 | bauzas | just in time for the meeting | |
| 15:56:49 | artom | For the meating | |
| 15:57:39 | bauzas | and yelp doesn't help for getting doctor's votes :( | |
| 15:58:01 | bauzas | artom: too early for me | |
| 15:58:11 | bauzas | I'm not hungry but we're close to beer time tho | |
| 15:58:26 | artom | Not that kind of meating, muahaha | |
| 16:00:04 | artom | stephenfin, and another question on https://review.opendev.org/#/c/461456/13 | |
| 16:02:47 | artom | bauzas, I beet myself up every day | |
| 16:02:57 | artom | (Let's not pollute the meating) | |
| 16:04:06 | bauzas | artom: my doctor told me I should heel | |
| 16:31:25 | bauzas | bear time ! | |
| 16:31:32 | gibi | :D | |
| 16:33:48 | gmann | gibi: https://blueprints.launchpad.net/nova/+spec/policy-defaults-refresh-deprecated-apis | |
| 17:07:58 | melwitt | sean-k-mooney: why do you think we need the bigger list here? https://review.opendev.org/#/c/727898/3/bindep.txt just wondering bc it works without them being explicitly named | |
| 17:30:09 | openstackgerrit | melissaml proposed openstack/os-traits master: Remove translation sections from setup.cfg https://review.opendev.org/728160 | |
| 17:56:51 | NobodyCam | Good morning Nova folk's could someone help point me to which database this would come from: `Placement API returning an error response: Conflicting resource provider name: <hostName> already exists. call_func /openstack/venvs/nova-18.1.5.dev5/lib/python2.7/site-packages/nova/api/openstack/placement/wsgi_wrapper.py:31` | |
| 18:01:28 | melwitt | NobodyCam: what version? (has to be older bc placement was removed from nova in train) database would be the placement database, and if the version is old enough, it would be the nova_api database | |
| 18:01:58 | NobodyCam | Morning melwitt :) I'm on rocky | |
| 18:02:59 | melwitt | ok, yeah so if you have a database called 'placement' it will be in there, if not it will be in the database called 'nova_api' | |
| 18:04:27 | melwitt | there's a unique constraint on resource provider name https://github.com/openstack/nova/blob/stable/rocky/nova/db/sqlalchemy/api_models.py#L292-L306 | |
| 18:04:27 | NobodyCam | I have nova_api | |
| 18:04:56 | melwitt | resource_providers table | |
| 18:07:22 | melwitt | and if you want to change the name the recommended way is to use the placement cli https://docs.openstack.org/osc-placement/rocky/cli/index.html#resource-provider-set | |
| 18:08:22 | melwitt | although I guess it depends on how you're getting the error. if it's nova trying to do something then you will need to change something in nova. sorry I spoke too soon | |
| 18:10:49 | NobodyCam | we had a hypervisor crash and was brought back with the same name | |
| 18:11:38 | NobodyCam | the error is from a openstack server create with --AZ nova:<Host_fqdn> blah | |
| 18:12:20 | NobodyCam | I only see one entry for the host in resource_providers | |
| 18:14:01 | melwitt | oh, this sounds familiar | |
| 18:14:23 | NobodyCam | hum seem I'm missing something: | |
| 18:14:28 | NobodyCam | https://www.irccloud.com/pastebin/GVwbM6LK/ | |
| 18:15:53 | melwitt | the placement cli is a osc plugin so you have to install the osc-placement package to get the commands | |
| 18:16:33 | melwitt | but it sounds like you have a situation where nova is trying to create the resource provider but it already exists | |
| 18:18:55 | NobodyCam | yea | |
| 18:19:40 | NobodyCam | I can delete the record from resource_providers | |
| 18:20:32 | melwitt | this is likely be related to a WIP patch https://review.opendev.org/678100 (just fyi) but to recover, you will need to delete the resource provider. but before you do it, please check if it has any allocations on it by using the placement cli | |
| 18:21:02 | melwitt | openstack resource provider show --allocations <uuid> | |
| 18:21:34 | melwitt | and if there are allocations, save those (copy paste somewhere) because you'll want to restore them after you delete the resource provider | |
| 18:22:22 | melwitt | after you save the allocations, delete the resource provider 'openstack resource provider delete <uuid>' | |
| 18:22:34 | melwitt | restart nova-compute, that should create the new resource provider | |
| 18:23:13 | melwitt | then if you had allocations from earlier, set them on the new resource provider https://docs.openstack.org/osc-placement/rocky/cli/index.html#resource-provider-allocation-set | |
| 18:23:35 | NobodyCam | Awesome :) thank you melwitt Working on getting placement plugin going | |
| 18:25:21 | melwitt | ok cool. yeah after you install osc-placement (either from pip or distro package) then the commands will magically be part of the 'openstack' command | |
| 19:35:57 | openstackgerrit | Andreas Jaeger proposed openstack/nova master: Switch to newer openstackdocstheme and reno versions https://review.opendev.org/728263 | |
| 19:37:51 | NobodyCam | melwitt: Again massive thank you, we are back up and working | |
| 19:38:39 | NobodyCam | no allocations so just a delete and restart fixed us right up | |
| 19:39:00 | melwitt | NobodyCam: np, glad to hear. ah good, I was hoping it would be the easy case :) | |
| 19:39:19 | NobodyCam | :) | |
| 19:46:38 | openstackgerrit | Andreas Jaeger proposed openstack/python-novaclient master: Switch to newer openstackdocstheme and reno versions https://review.opendev.org/728270 | |
| 19:46:58 | openstackgerrit | Andreas Jaeger proposed openstack/python-novaclient master: Switch to newer openstackdocstheme and reno versions https://review.opendev.org/728270 | |
| 19:53:12 | openstackgerrit | melanie witt proposed openstack/nova master: Add packages required for pdf docs build to bindep.txt https://review.opendev.org/727898 | |
| 20:11:46 | gmann | sean-k-mooney: change lgtm and not changing the API but i am not sure about mentioned use case of this API to refresh the cache. server external event API is for openstack services mainly. - https://review.opendev.org/#/c/702394/3 | |
| 22:55:22 | openstackgerrit | melanie witt proposed openstack/nova master: DNM Try out running sphinx-build in parallel for releasenotes https://review.opendev.org/727429 | |
| #openstack-nova - 2020-05-15 | |||
| 00:05:40 | openstackgerrit | melanie witt proposed openstack/nova master: Configure latex_engine = 'xelatex' for pdf docs build https://review.opendev.org/727898 | |
| 00:09:08 | openstackgerrit | melanie witt proposed openstack/nova master: Fix pep8 errors uncovered by flake8 3.8.1 https://review.opendev.org/728312 | |
| 00:37:37 | openstackgerrit | Brin Zhang proposed openstack/nova master: Fix flake8 error from hacking <3.0.1 https://review.opendev.org/727589 | |
| 00:44:12 | gmann | melwitt: we need this to be in to have right cap for hacking and flake8 - https://review.opendev.org/#/c/727347/1 | |
| 00:44:19 | gmann | i thought it was merged | |
| 00:44:44 | gmann | but is doc job still failing ? | |
| 00:45:34 | melwitt | gmann: rechecking not gonna help, docs job still broken | |
| 00:46:11 | melwitt | it did merge but didn't stop the failure, I replied on the ML post | |
| 00:46:42 | gmann | i thought openstackdocstheme 2.1.0 fixed that on gate | |
| 00:47:06 | melwitt | 2.1.1 was intended to fix it but it did not work | |
| 00:47:35 | melwitt | my nova side fix is still proposed but now we have a chicken and egg with the pep8 job | |
| 00:47:56 | melwitt | I sent a ML post about that too a little while ago | |
| 00:48:29 | gmann | ah just saw, i think we can squash it with 727898 | |
| 00:49:39 | brinzhang | gmann: the hacking verion should change to 3.1.0? | |
| 00:49:42 | brinzhang | right? | |
| 00:50:31 | gmann | brinzhang: yeah in your patch yes as it will fix the code together | |
| 00:50:57 | brinzhang | gmann: ok, update soon | |
| 00:51:53 | melwitt | I wonder if alex_xu is around | |
| 00:56:17 | gmann | melwitt: this should avoid doc failure - https://review.opendev.org/#/c/727943/4 | |
| 00:56:44 | melwitt | gmann: it doesn't because 2.1.1 also fails | |
| 00:57:50 | melwitt | if you look in the docs job build logs, 2.1.1 is installed now | |