14:00:28 #startmeeting cinder 14:00:28 Meeting started Wed May 8 14:00:28 2024 UTC and is due to finish in 60 minutes. The chair is rosmaita. Information about MeetBot at http://wiki.debian.org/MeetBot. 14:00:28 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 14:00:28 The meeting name has been set to 'cinder' 14:00:37 #topic roll call 14:00:38 Hi 14:00:47 o/ 14:00:52 o/ 14:01:11 o/ 14:01:24 o/ 14:03:06 Hi 14:03:13 i guess we should get started 14:03:17 O/ 14:03:22 Oh. I thought jbernard would. 14:03:35 #link https://etherpad.opendev.org/p/cinder-dalmatian-meetings 14:03:43 agenda ^^ 14:04:03 jbernard had a conflict come up, so i'm chairing the meeting for him 14:04:33 looks like there are no announcements 14:04:49 actually, here's one 14:05:02 o/ 14:05:27 i think i've seen this a few times, usually in cinder-tempest-plugin-lvm-multiattach 14:05:37 tempest.scenario.test_instances_with_cinder_volumes.TestInstancesWithCinderVolumes.test_instances_with_cinder_volumes_on_all_compute_nodes : mount: mounting /dev/vdb on /mnt/vdb failed: Device or resource busy 14:05:56 seems to be intermittent, but we should keep an eye on it in case there's a real issue 14:06:45 so if you have a failure in cinder-tempest-plugin-lvm-multiattach , before rechecking, take a look and see if that's the error you are hitting 14:07:11 ok, that's all the announcements 14:07:32 #topic Repropose spec to introduce new backup_status field for volume 14:07:41 crohmann: that's you 14:08:25 Yes. I reproposed this and wanted to know if you believe this is something that could be jointly worked on? 14:09:07 I was merged before, but not worked on or implemented. 14:09:11 it's been a while since i looked at that spec 14:09:35 i seem to remember that hemna had a devastating critique that came up after it was merged? 14:09:41 or am i thinking of something else 14:10:28 must be something else, i don't see a comment from him on the original patch 14:11:40 so crohmann , when you say jointly worked on, do you mean that you are looking for someone interested in implementing this spec? 14:12:47 Yes, actually if this is something you cores would work on yourself. I doubt this is the kind of thing one can ever get done as a part time contributor. 14:14:22 De-Coupling backups from other volume status to mee seems kind of a great improvement to core of what cinder is and does 14:15:51 well, we need to re-approve the spec, so that should encourage cores to re-read it and think about implementation 14:16:48 my initial thought was that if it's well defined, maybe Desire would be interested in picking it up to work on 14:17:09 not sure what her time commitments are, though 14:17:11 The hardest part to think about is to imagine the consequences of it. 14:17:18 At least for me. 14:18:03 i will have to search the old meeting logs, or maybe just ping Walt ... i was sure that he had a serious objection 14:19:08 rosmaita: I believe you are referring to e.g. https://review.opendev.org/c/openstack/cinder-specs/+/818551 which was the former idea to introduce a whole new task status field. But that was indeed a bad idea. 14:20:21 thanks ... though i thought it was more recent than 2022! 14:20:22 That is when we went back to the drawing board and realized that it's not about all tasks ... but backups especially that can run independently from other actions on the volume. 14:20:52 ok, i clearly need to re-read this spec 14:21:27 so, the situation is: spec needs to be re-approved, and we are looking for someone willing to pick it up 14:21:36 more than the implementation i think it requires thorough testing 14:21:54 since the volume state won't be backing-up, there are all the operations that we can perform on the volume 14:22:08 and any one of them could break causing a regression 14:22:17 we will need a full suite of tempest tests 14:22:24 so that is the major thing to examine IMO 14:22:40 And we could even block processes if, for example, we delete the volume 14:23:06 +1 for tempest tests 14:23:10 sounds like a good action item would be for someone to review our current tempest backup test coverage and propose some new tests 14:23:46 ok, so let's keep that in mind in reviewing the spec 14:23:55 I believe the tests would depend on the operations that we can think of that would break thigns 14:24:58 I know it's complex, but it also promises some benefits by removing interlocking of cinder and cinder-backup. But from the discussion here I believe I am right to assume this really needs your buy in ... there really is no way to just push some code for review. 14:25:35 i agree about the benefits, but also with the wide opportunity to break things 14:26:24 i think if you have time to code some stuff, a good place to start would be to improve the test coverage 14:26:42 (see my request for review :-P ) 14:27:50 ok, let's move on ... result of the discussion is that cores need to please review the spec 14:27:57 #topic image encryption 14:28:02 Luzi: that's you 14:28:24 yeah, the glance spec is still under review and i addressed your comments rosmaita 14:28:35 just saw that, i need to re-review 14:28:42 do you want a spec for cinder too, now that you have looked through it? 14:28:51 did i see that you put up a patch for a new database table? 14:28:58 in cinder, i mean 14:29:09 that was for the volume type spec 14:29:37 oh, ok 14:29:53 that is another topic - let's focus on image encryption first 14:30:04 yes, sorry for confusing things 14:30:40 i think it is important to also have cinder folks looking through the glance spec, because you mentioned the need for another parameter 14:31:40 would something like "os_encrypt_compressed" = True/False good enough? 14:32:07 do we have a link to the spec somewhere? 14:32:17 https://review.opendev.org/c/openstack/glance-specs/+/915726 14:32:22 thanks 14:35:02 looking that over, i think you may need a cinder spec, but you can keep it short 14:35:12 you can refer to the glance spec for the basic outline 14:35:30 okay I will write a spec for Cinder 14:35:48 the key things for cinder will be what metadata items to look for and how creating a volume from an image will be handled 14:36:13 it's probably pretty similar to what we are currently doing 14:36:14 yeah, I will keep that in mind 14:36:38 but the problem is that we currently have a closed-loop system where cinder controls everything 14:37:06 once we inject users into the system, we need to be a lot more careful about checking things 14:37:30 so maybe i should outline the possible workflows? 14:38:09 "uses it to encrypt the image locally using the OpenStack client (osc) when uploading it." -- did i read this correctly? how will OSC help in encrypting the image? 14:38:41 what is done when cinder uses a user generated encrypted vs an image created from a Cinder LUKS-colume 14:38:44 volume 14:39:35 whoami-rajat, we want to make it easy for users and to be sure on how the encryption is done - so we aim for intagrating that into the osc 14:40:00 i guess the questions are: what does cinder have to worry about in downloading a user-supplied LUKS image so that it can write it into a volume 14:40:10 we also had done this for the gpg-encryption 14:40:29 and, is there anything new cinder needs to do when uploading a LUKS volume as an image to glance 14:40:37 rosmaita, yes that is what I mean 14:41:01 ok, we are on the same page then ... writing that up would be helpful 14:41:04 that seems really strange to me, is the OSC team aware about this? since i see OSC as just the CLI interface and SDK for the API requests, but yeah i will add comments to spec 14:43:02 Luzi: you also have a good point about needing to fail early if there's no key manager 14:43:55 yeah, that is what is bugging me with the container format 14:44:30 maybe you could discuss this with the Glance team? We have a national holiday tomorrow - so I will not be available 14:45:02 the glance team will probably have a holiday tomorrow, too 14:45:17 ah okay 14:45:22 (also, i have a conflict with the glance meeting) 14:46:43 can you explain real quickly though what the problem is with the container format? is the idea that an operator who doesn't have barbican can not allow uploads of encrypted volumes by not including 'encrypted' in the glance container_formats config? 14:48:07 you can and still need to update most of the "os_encrypt_*" parameters later on - if there is no Keymanager available, an encrypted image could be uploaded all parameters set, without getting an error 14:49:50 and cinder or nova using images which than have a container format like qcow2 or raw - how would you handle it? if there is a check, than it would fail in cinder or nova, but not while uploading in glance 14:50:02 i don't think that would be a good user experience 14:50:25 well, i guess the osc could check that there's a key manager endpoint available before uploading the image? 14:50:34 (when you ask it to do the encryption) 14:50:43 i guess it has to, anyway 14:51:19 yeah but that way we would still have the problem in the API... 14:51:40 yeah, but you have to figure that API users at least a little know what they are doing 14:52:06 right now you can put a JPEG into glance, and as long as it's container=bare, disk_format=raw, you can create a volume from it 14:53:00 well i think this point really needs a discussion with also the Glance and see what they would want 14:53:40 ok, well it sounds like me and Rajat are committed to looking at the glance spec, so that's probably a good outcome for today 14:53:49 yeah thank you 14:54:19 #topic review requests 14:54:46 looks like crohmann needs help interpreting a failing test 14:54:57 #link https://review.opendev.org/c/openstack/cinder/+/484729/comments/b6da8f16_5c9481e3 14:55:57 * whoami-rajat adding all naive comments to the spec 14:56:15 the festival of reviews is next week (may 17), maybe we can make it a festival of backup reviews 14:56:25 they do seem to be piling up a bit 14:56:48 also one thing i forgot to mention in announcement is, we have M-1 next week but not sure if we had planned any deadlines for M-1 this cycle 14:57:03 wow, that snuck up fast 14:57:37 yeah, i was just trying to see if we had a midcycle-1 date there and noticed the M-1 deadline 14:57:41 i know jon was working on scheduling the midcycles, guess we will be having one soon 14:57:44 #link https://releases.openstack.org/dalmatian/schedule.html 14:58:10 that means the release team will be asking for an early os-brick release 14:58:59 we need to prioritize os-brick reviews: https://review.opendev.org/q/project:openstack/os-brick+status:open 14:59:04 looks like it, maybe we can prioritize any important review 14:59:11 in brick 14:59:40 ok we are out of time for today ... please look at the agenda to follow up on the other review requests, they look reasonable 14:59:56 #link https://etherpad.opendev.org/p/cinder-dalmatian-meetings 15:00:11 thanks everyone ... have a productive remainder of your day 15:00:14 thanks rosmaita ! 15:00:16 #endmeeting