| Posted | Nick | Remark | |
|---|---|---|---|
| #openstack-nova - 2021-01-05 | |||
| 14:47:20 | dansmith | but it doesn't inherit from Forbidden | |
| 14:47:30 | dansmith | so ... maybe we thought we were, but aren't? | |
| 14:47:38 | dansmith | does the API handle anything with code= set and turn that into an http code? | |
| 14:48:17 | sean-k-mooney | i think it does | |
| 14:48:30 | dansmith | if so, then we should be good | |
| 14:48:42 | bauzas | ah-ha ok | |
| 14:48:47 | sean-k-mooney | i think we have a generic handeler for anything that inherits form NovaException | |
| 14:49:02 | dansmith | which also means we probably don't need this special catch | |
| 14:49:06 | bauzas | my only worry is that this handler was returning a 500 | |
| 14:49:15 | bauzas | but given code=403, I guess we're safe | |
| 14:49:16 | dansmith | see, NovaException defaults to code=500, | |
| 14:49:32 | dansmith | so this overrides to 403 which I think is supposed to make us not 500 when this bubbles all the way to the api | |
| 14:49:46 | bauzas | yup, from what I remind | |
| 14:49:58 | dansmith | I'll reply to bauzas | |
| 14:50:02 | bauzas | cool | |
| 14:50:06 | dansmith | as I need a gerrit comment karma in 2021 :P | |
| 14:51:02 | sean-k-mooney | we probaly could extent that api samples to assert the correct behavior | |
| 14:51:24 | dansmith | do we have api samples tests for failures? I didn't think we did | |
| 14:51:48 | sean-k-mooney | not sure but im pretty sure we dont have any api sample tests for cyborg integration | |
| 14:53:14 | sean-k-mooney | i think we just have https://github.com/openstack/nova/blob/261416aeb0187cc7d420bb74d8b330aa66cc37b6/nova/tests/functional/api_sample_tests/test_shelve.py | |
| 14:53:18 | bauzas | oh no, we don't hzve them :) | |
| 14:53:40 | dansmith | man, it's going to take me a while to get used to new gerrit | |
| 14:53:53 | dansmith | it was only released for one day before I disappeared in 2020 and it looks so foreign to me | |
| 14:54:35 | sean-k-mooney | ya part of it remind me of really really old gerrit | |
| 14:54:56 | sean-k-mooney | but i keep going to click on things that have moved | |
| 14:55:55 | gibi | stephenfin: lets add uptime to both response | |
| 14:56:04 | bauzas | dansmith: good luck with the new gerrit | |
| 14:56:06 | gibi | dansmith: hey, welcome back! | |
| 14:56:13 | dansmith | gibi: o/ | |
| 14:56:14 | bauzas | but I'm finally used to it | |
| 14:56:44 | bauzas | haven't seen yet any fancy new feature that makes it worth tho | |
| 14:57:37 | dansmith | gotta move everything around in a UI every 18 months to stave off dementia I guess | |
| 14:57:42 | gibi | bauzas: one big plus for me that now gerrit shows diffs due to rebase with a different color that diff due the the patch I'm reviewing | |
| 14:57:54 | bauzas | ah, gtk then | |
| 14:57:54 | dansmith | orly | |
| 14:58:06 | bauzas | haven't seen it yet | |
| 14:58:07 | dansmith | I think they could probably have done that without moving everything | |
| 14:58:53 | sean-k-mooney | gibi: oh i havent noticed that yet | |
| 14:59:03 | gibi | for example there are orange lines here due to six removal https://review.opendev.org/c/openstack/nova/+/764292/6..9/nova/api/openstack/compute/servers.py | |
| 14:59:15 | bauzas | dansmith: fwiw, I'll require your expertise in a few weeks for the compute RPC API version bump, still stuck with damn errors | |
| 14:59:20 | sean-k-mooney | dansmith: well im pretty sure the version we were using was eol | |
| 14:59:43 | bauzas | it was | |
| 14:59:45 | sean-k-mooney | dansmith: so just form a security and manatiance point of view we would have needed to eventually move | |
| 14:59:55 | dansmith | bauzas: roger | |
| 15:00:02 | dansmith | sean-k-mooney: no, I know ;) | |
| 15:00:03 | bauzas | and I've been told intermediate versions were providing both UIs | |
| 15:00:24 | bauzas | but we were so lagging that when we jumped straight, gerrit removed the old UI meanwhile | |
| 15:00:24 | sean-k-mooney | yes | |
| 15:00:30 | sean-k-mooney | they did that for about a year or so | |
| 15:00:34 | bauzas | \o/ | |
| 15:01:13 | sean-k-mooney | yep thats effectivly what happened | |
| 15:09:37 | bauzas | this would make our conversations much simplier | |
| 15:09:55 | stephenfin | or, you know, change your nick :) | |
| 15:10:25 | bauzas | you can't imagine how many colleagues were thinking that my last name was ending with an 's' | |
| 15:10:28 | bauzas | damn IRC | |
| 15:12:36 | bauzas | gosh, the cyborg shelve patch is not exactly hairy, but I'd have preferred it being split between the API change and the RPC changes | |
| 15:13:55 | stephenfin | from my brief look, that's probably wise | |
| 15:14:00 | stephenfin | API last, of course | |
| 15:14:02 | bauzas | gibi: any idea why there are conductor changes with https://review.opendev.org/c/openstack/nova/+/729563/26/nova/conductor/manager.py ? | |
| 15:14:47 | bauzas | stephenfin: from someone who fixed some RPC compat break from the last cyborg patch, please understand my cautiousness | |
| 15:15:32 | gibi | bauzas: unshelve going through the conductor as it needs to call the scheduler | |
| 15:15:35 | gibi | after shelve offload | |
| 15:16:30 | bauzas | gibi: in rebuild_instance() ? | |
| 15:17:07 | bauzas | anyway, taxi time | |
| 15:17:18 | bauzas | will figure this out when I'm back, 15 min-ish | |
| 15:17:19 | sean-k-mooney | rebuild hits the schduler too to assert the new image is valid for the current host so maybe that | |
| 15:17:34 | gibi | bauzas: I have to guess it is historical, this patch went thorough many many revision | |
| 15:17:43 | bauzas | sean-k-mooney: I just honestly feel they added some fix in the same change | |
| 15:17:44 | gibi | I will find the reason | |
| 15:17:49 | bauzas | but that looks extra | |
| 15:18:35 | sean-k-mooney | ill try to take a look eairlier today although i need to start working on something else too | |
| 15:18:43 | gibi | bauzas: one thing that _create_and_bind_arq_for_instance() has been changed and that is called from multiple places | |
| 15:19:45 | sean-k-mooney | they are changin form host to host.nodename | |
| 15:20:23 | gibi | but the inlineing of _rebuild_cyborg_arq seems separate | |
| 15:20:24 | sean-k-mooney | i think i reverted that in my rebuild patch for a reason | |
| 15:21:31 | gibi | I think earlier _rebuild_cyborg_arq was extended to handle unshelve too but I asked not to do that | |
| 15:23:08 | sean-k-mooney | oh they are moveing wherre we get the nodename | |
| 15:23:51 | gibi | sean-k-mooney: in different action we have different source of the node | |
| 15:23:51 | sean-k-mooney | yah i suspec there is a second caller to _create_and_bind_arq_for_instance | |
| 15:24:04 | sean-k-mooney | that only has the hostname not the host | |
| 15:24:48 | sean-k-mooney | here https://review.opendev.org/c/openstack/nova/+/729563/26/nova/conductor/manager.py#1251 | |
| 15:31:47 | sean-k-mooney | gibi: ya im not sure im a fan of folding _rebuild_cyborg_arq into the calling function | |
| 15:32:00 | gibi | that could be a comment | |
| 15:32:26 | sean-k-mooney | the other changes all look correct to me in the conductor manager however | |
| 15:33:50 | sean-k-mooney | well it only had one caller | |
| 15:34:21 | sean-k-mooney | and i intoduced it so ti could be reused for the other opertion so if we are not doing that removing it makes sense | |
| 15:34:41 | sean-k-mooney | its just the calling function is already quite large so its was nice to have it broken out | |
| 15:36:32 | gibi | yeah | |
| 15:36:41 | gibi | they tried to reuse it but that would neede a new flag | |
| 15:36:46 | gibi | so I was against that | |
| 15:36:54 | gibi | but we can keep it the hlper | |
| 15:36:56 | gibi | helper | |
| 15:44:12 | sean-k-mooney | its a nice to have rather then anything functional so not enough to -1 over | |
| 17:12:42 | openstackgerrit | Dan Smith proposed openstack/nova stable/victoria: Warn when starting services with older than N-1 computes https://review.opendev.org/c/openstack/nova/+/761923 | |
| 17:13:19 | dansmith | gibi: if you will double-check my edits here I can just +2+W this as I just fixed nits ^ | |
| 17:14:42 | gibi | dansmith: looking | |
| 17:16:24 | gibi | dansmith: thanks, looks good to me | |
| 17:20:38 | dansmith | ack | |
| 23:59:24 | openstackgerrit | Merged openstack/nova master: Improving the description for unshelve request body https://review.opendev.org/c/openstack/nova/+/767251 | |
| #openstack-nova - 2021-01-06 | |||
| 01:17:27 | openstackgerrit | melanie witt proposed openstack/nova master: Enable test_volume_backed_live_migration in tempest https://review.opendev.org/c/openstack/nova/+/528104 | |