16:00:09 #startmeeting nova 16:00:10 Meeting started Thu Oct 15 16:00:09 2020 UTC and is due to finish in 60 minutes. The chair is gibi. Information about MeetBot at http://wiki.debian.org/MeetBot. 16:00:11 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 16:00:13 The meeting name has been set to 'nova' 16:00:24 o/ 16:00:27 o/ 16:00:30 o/ 16:00:41 \o 16:01:22 o/ 16:01:39 lets get started 16:01:40 #topic Bugs (stuck/critical) 16:01:46 No critical bugs 16:01:52 #link 6 new untriaged bugs (0 since the last meeting): https://bugs.launchpad.net/nova/+bugs?search=Search&field.status=New 16:02:12 is there any specific bug we need to talk about? 16:02:17 I have a bug to bring up 16:02:32 o/ 16:02:44 https://bugs.launchpad.net/nova/+bug/1799298 is two years old but recently flagged as a security issue downstream, 16:02:46 Launchpad bug 1799298 in OpenStack Compute (nova) rocky "Metadata API cross joining instance_metadata and instance_system_metadata" [Medium,Triaged] 16:03:06 just wanted to bring it to attention and ask for help in solving it as it does not look straightforward based on the past bug comments 16:03:57 we don't join those tables for pulling the instance, 16:04:03 and haven't since icehouse-ish 16:04:20 is this a query specifically that metadata uses that is still doing a join? 16:05:18 there is a query and they confirmed it's this one... and they said they also found it present in train 16:06:59 reading the bug mriedem said that the instance password is needed from the system_metadata 16:07:29 right, but when we load an instance now, we actually query the instance, then query metadata, then sysmeta, and squash them together 16:07:37 that's what instances_fill_metadata() is 16:08:47 would this not do the join with system_metadata? https://github.com/openstack/nova/blob/master/nova/api/metadata/base.py#L675 16:08:52 so I'm wondering if there's a specific db api method that metadata uses to pull the instance, which is somehow letting those columns get into the initial query, but shouldn't? 16:09:21 melwitt: well, those are supposed to be treated differently down the stack, 16:09:41 they are for instance_get(), but my point is maybe this metadata-only query is bypassing that somehow 16:09:47 ack 16:10:39 anyway, we should probably not derail the meeting and can discuss in -nova 16:11:01 yep, thanks, at least there's some thread to pull now 16:11:11 OK 16:11:18 is there any other bug we need to talk about? 16:12:18 #topic Release Planning 16:12:23 Victoria has been released 16:12:26 Thank you all for your valuable contributions 16:12:41 master is now fully open for Wallaby 16:12:58 and we should focus on reviewing incoming specs and preparing for the PTG 16:13:20 I will create the wallaby runway etherpad tomorrw 16:13:49 anything else about Victoria or Wallaby? 16:14:46 #topic Stable Branches 16:14:58 elod left comments on the wiki ... 16:15:04 "Victoria is now a fully normal stable branch, and the normal stable policy now applies." 16:15:10 stable/stein will transition to Extended Maintenance in 2020-11-11 16:15:16 should prepare a final release from Stein 16:15:22 consider which patches should be part of the final release 16:15:30 current list of patches: https://etherpad.opendev.org/p/nova-stable-stein-em 16:16:05 yepp, that's all, actually, 16:16:16 I'll focus on Stein in the coming weeks 16:16:43 thanks 16:16:44 let me know if you see any patch that should be definitely be part of the final release 16:16:53 np 16:17:13 #topic Sub/related team Highlights 16:17:25 skipping API as gmann cannot join today 16:17:30 Libvirt (bauzas) 16:19:49 I guess the silence means no news 16:19:53 #topic PTG and Forum planning 16:19:58 Next week is Summit week: #link https://www.openstack.org/summit/2020/summit-schedule 16:20:09 Week after next week is PTG # link https://etherpad.opendev.org/p/nova-wallaby-ptg 16:21:01 is there anything we need to discuss regarding these events? 16:21:19 I will focus my time on Fishbowls during next week 16:22:30 #topic Open discussion 16:22:37 we have one topic from stephenfin 16:22:42 (stephenfin) Specless BP approval for https://blueprints.launchpad.net/nova/+spec/compact-db-migrations-wallaby 16:22:53 tl;dr: I want to go at least as far as Train, and then rework any Ussuri or Victoria migrations to use alembic. Initial cleanup work available at https://review.opendev.org/#/q/topic:bp/compact-db-migrations-wallaby 16:23:34 can we approve this specless bp? 16:24:06 I suspect this will be a lot more work than it seems, 16:24:16 My paranoid nature is immediately skeptical of changing something as crucial as DB schema in stable releases 16:24:30 artom: this compacts the old migration on master 16:24:34 as my experience from briefly touching alembic in glance is that the replicability of the schema stuff can get weird in things like unit tests 16:24:55 artom: right, not actually touching older releases, 16:25:02 Ah, sorry, *facepalm* 16:25:07 just squashing everything into state as of train 16:25:11 yeah, I made a note on the ptg etherpad but basically I know we've talked about this before, and IIRC the conclusion was it wouldn't be a good idea to convert everything to alembic. but I'd have to go see if I can find artifacts from those discussions 16:25:13 dansmith: as far as I understand the current bp only propose the compaction not the alembic migration 16:25:44 gibi: yeah, but using alembic going forward right? 16:26:00 my point is just about converting all our db fixture stuff to alembic, multi-cells and all 16:26:03 dansmith: this would enable to move to alembic, yes 16:26:31 dansmith: but that move would be still a separate bp 16:26:48 I totally recognize the need to compact, but I want to make sure we're super sure that the schema ends the same as it is now, so I hope we'll be very diligent about approving that compaction only after lots of review 16:26:55 gibi: sorry, parenting urgent issue 16:26:57 gibi: ack, okay 16:27:01 gibi: nothing to report 16:27:07 bauzas: OK, thanks 16:27:22 gibi: if the specless bp is just for the compaction, then that's fine with me 16:27:23 dansmith: I do suggest to talk about the alembic plans during the PTG 16:27:54 I think there are two asks 16:28:02 #1 for packing DB upgrades 16:28:03 dansmith, we could do something with tests, I think. This stuff is supposed to be 100% deterministic, so... run the old uncompacted migrations, run the news one, starting the the exact same schema, and assert the resulting schema is the same? 16:28:11 #2 for using alembic 16:28:19 fwiw, #1 seems good to me, but for #2, meh 16:28:20 artom: yes 16:28:33 This wouldn't apply to data migrations, right? 16:28:46 artom: my point is, it's easy to say "the tests pass that used to pass, so they must be identical" and that's not enough, 16:28:54 actually, I have the same opinion than dansmith 16:28:59 artom: we need to make sure they emit the same schema 16:29:05 artom: this has nothing to do with data migrations 16:29:41 Ack 16:30:08 So, if we can have a one-time test that asserts the new thing results in the same schema as the old thing, I don't see why not 16:30:22 that's what I'm saying 16:30:37 That's what *I'm* saying ;) 16:30:51 literally diff the mysqldump from a run generated with the current, and compacted thing, and they should be zero 16:31:37 are we discussing about how to compacting the DB upgrades ? then yes ^ 16:31:50 bauzas: how to *verify* the compaction 16:32:18 how to verify* indeed, my bad 16:32:25 I dont see any objection against approving stephenfin's bp with a comment that it only covers the compaction of the migrations and not the alembic move. 16:32:33 ++ 16:32:35 do I see it right? 16:32:39 good luck tho 16:32:49 I don't think it will be simple 16:32:55 but meh 16:33:01 gibi: yes, just footnote that we should be super review-y on the compaction please 16:33:11 dansmith: ack I will add that comment too 16:34:00 nothing else on the agenda for toda 16:34:00 y 16:34:10 anything else in the room to discuss? 16:34:44 * artom throws a small flat round object 16:35:22 what do you have there artom ? :) 16:35:35 A pun is what I have 16:35:38 :D 16:36:00 then thanks for joining today 16:36:15 o/ 16:36:37 #endmeeting