Wednesday, 2021-09-08

*** slaweq_ is now known as slaweq07:06
*** pjakuszew7 is now known as pjakuszew07:09
alexe9191Good day everyone :) 07:54
alexe9191I am planning on doing a nova upgrade from kilo to newton ( and then will upgrade up to train ) but I was wondering If I need to do a nova-compute start on all compute nodes between each version from kilo to newton?07:55
alexe9191do I need to do an upgrade to liberty, start the compute node services, turn them off again, and continue to mitaka and so on?07:56
bauzasalexe9191: good mornign08:03
bauzasalexe9191: you'd be more than happy to read https://docs.openstack.org/nova/latest/admin/upgrades.html08:03
opendevreviewFederico Ressi proposed openstack/nova master: Check Nova project changes with Tobiko scenario test cases  https://review.opendev.org/c/openstack/nova/+/80685308:09
opendevreviewFederico Ressi proposed openstack/nova master: Debug Nova APIs call failures  https://review.opendev.org/c/openstack/nova/+/80668308:10
alexe9191bauzas: thank you. Do I gather that I can only do an N+1 upgrade? I can not skip mitaka and go from Liberty to newton?08:27
*** elodilles_pto is now known as elodilles08:44
bauzasalexe9191: that's called here in OpenStack "Fast-Forward Upgrades"08:51
bauzassome distributions support it08:52
bauzaseg. https://docs.openstack.org/project-deploy-guide/tripleo-docs/latest/post_deployment/upgrade/fast_forward_upgrade.html08:52
opendevreviewElod Illes proposed openstack/os-vif stable/train: [stable-only] Fix lower-constraints  https://review.opendev.org/c/openstack/os-vif/+/80783908:55
alexe9191buazas: I am not using any distributions and that FFU is probably a wrapper around what nova/openstack services support. :) My question is, does nova support this behaviour or not?08:56
bauzasalexe9191: well...yes, somehow09:03
bauzasgiven the deployment services provide FFU, nova tries to help them09:04
bauzasalexe9191: see this session https://www.youtube.com/watch?v=YJXem5d6fkI you'll understand the strategy09:05
* lyarwood waves09:12
lyarwoodif you can understand the chap mumbling along in the video yeah09:12
lyarwoodalexe9191: so there's no official support in Nova for anything other than N to N+1 as that's all we test upstream09:13
lyarwoodalexe9191: as you can guess there's a huge matrix of N to N+$x releases we would need to cover to support anything else offically09:13
lyarwoodalexe9191: TripleO supports N to Q and Q to T at the moment with T to W being worked on at the moment09:14
lyarwoodalexe9191: In all three examples we didn't need the computes to start between the initial release and the final release09:15
lyarwoodalexe9191: for L to M I can't think that you would but it's something you would have to test yourself tbh09:15
lyarwoodalexe9191: oh sorry you're going from K to N, same applies09:16
lyarwoodalexe9191: but from N to T you should be fine given what TripleO has already tested09:16
lyarwoodalexe9191: I can point you to the code that handles this in TripleO if you want an idea of what it's actually doing09:17
lyarwoodalexe9191: for N to Q - https://github.com/openstack/tripleo-heat-templates/blob/0f47a4de9b5e64023ddc594d6106fff2c053bcfb/docker/services/nova-api.yaml#L365-L469 - that's with the computes stopped, for queens it then does a normal deployment that is defined above these tasks09:19
lyarwoodalexe9191: it's not a seperate set of tasks for Q to T but it's the same pattern, the same commands as a N to N+1 upgrade with the computes down09:20
alexe9191Thank you all! This is useful information 09:20
lyarwoodalexe9191: np, good luck :)09:21
alexe9191One more question just to be sure :) which version do I need to create the cell database for when upgrading ? I understand that from mitaka I need to create an API database. It seems that only in newton I need to start creating the cell0 database and map it using the nova manage commands09:22
alexe9191correct?09:22
opendevreviewMerged openstack/python-novaclient stable/wallaby: When creating a client, pass the default logger  https://review.opendev.org/c/openstack/python-novaclient/+/80444009:34
lyarwoodalexe9191: I think TripleO did that during the Ocata upgrade09:35
alexe9191Ok so it's way more ahead than I though :) I am testing now 09:37
alexe9191thank you all09:37
lyarwoodalexe9191: https://docs.openstack.org/releasenotes/nova/ocata.html#relnotes-15-0-0-origin-stable-ocata-prelude09:37
lyarwood`Ocata contains a lot of new CellsV2 functions, but not all of it is fully ready for production. All deployments must set up their existing nodes as a cell, with database connection and MQ transport_url config items matching that cell. In a subsequent release, additional cells will be fully supported, as will a migration path for CellsV1 users. By default, an Ocata deployment now needs to configure at least one new “Cell V2” (not to09:37
lyarwoodbe confused with the first version of cells). In Newton, it was possible to deploy a single cell V2 and schedule on it but this was optional. Now in Ocata, single CellsV2 deployments are mandatory. More details to be found when reading the release notes below.`09:37
slaweqstephenfin: hi, I'm not sure if You have +2 powers on nova's stable branches, but if so, can You maybe check https://review.opendev.org/c/openstack/nova/+/791421 ?09:38
slaweqthx in advance09:38
lyarwoodhe doesn't but I do, looking now09:41
slaweqlyarwood: thx a lot10:04
* gibi start the day late 11:39
opendevreviewLee Yarwood proposed openstack/nova stable/ussuri: Add regression test for bug #1899649  https://review.opendev.org/c/openstack/nova/+/76462511:51
opendevreviewLee Yarwood proposed openstack/nova stable/ussuri: compute: Don't detach volumes when RescheduledException raised without retry  https://review.opendev.org/c/openstack/nova/+/76462611:51
opendevreviewBalazs Gibizer proposed openstack/nova stable/wallaby: Parse alias from domain hostdev  https://review.opendev.org/c/openstack/nova/+/80776712:00
opendevreviewElod Illes proposed openstack/nova stable/ussuri: Allow X-OpenStack-Nova-API-Version header in CORS  https://review.opendev.org/c/openstack/nova/+/79686213:36
opendevreviewElod Illes proposed openstack/nova stable/train: Allow X-OpenStack-Nova-API-Version header in CORS  https://review.opendev.org/c/openstack/nova/+/79686313:39
*** bnemec-pto is now known as bnemec13:41
*** tosky is now known as Guest670215:22
*** tosky_ is now known as tosky15:22
fungisean-k-mooney: any idea what the wait is on https://review.opendev.org/806626 (victoria backport for the second ossa-2021-002 fix)? i'm in a holding pattern on publishing errata for the advisory until both that one and the ussuri backport merge17:28
fungijust making sure it's not slipped through the cracks17:29
sean-k-mooneyi need to readd the conflcit lines17:30
sean-k-mooneybut i have been swapped with downstream issues17:31
sean-k-mooneyso i have not had time to work on it17:31
fungino worries, take your time, i simply didn't want an exploitable vulnerability hanging out there any longer than necessary17:32
sean-k-mooneyya fair17:32
sean-k-mooneyill see if i can get to it but that all that is holding it up17:32
sean-k-mooneyhttps://review.opendev.org/c/openstack/nova/+/806626/1//COMMIT_MSG#1617:33
fungiokay, cool. thanks again17:33
opendevreviewElod Illes proposed openstack/nova stable/victoria: address open redirect with 3 forward slashes  https://review.opendev.org/c/openstack/nova/+/80662619:03
elodillessean-k-mooney: i've updated the commit message ^^^ please edit it if it is needed o:)19:06
*** elodilles is now known as elodilles_pto20:12
mnaseranyone by any chance the historical reasoning of instance_id_mappings table?20:45
mnaserwait, they don't even match up20:46
mnaseri mean, uuid = uuid, but id != id20:46
-opendevstatus- NOTICE: The Gerrit service on review.opendev.org is going offline momentarily for a host migration and zuul upgrade, downtime should be only a few minutes.21:06
melwittmnaser: found this with git blame https://github.com/openstack/nova/commit/0dc32690fe158e4cb11c2c9bcc65acaf73b94a7a21:38
mnasermelwitt: oooooooooh nice find21:39
melwitt:)21:39

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!