| Posted | Nick | Remark | |
|---|---|---|---|
| #openstack-nova - 2026-02-19 | |||
| 13:36:26 | sean-k-mooney | so even if its in progess we can actuly cancel it | |
| 13:36:44 | sean-k-mooney | ya so for now i guess we coudl keep those executor seperate | |
| 13:37:02 | sean-k-mooney | but i dont think we want a seprate executor per config optionright | |
| 13:37:11 | sean-k-mooney | at elast not unless the idel at 0 | |
| 13:37:42 | gibi | ahh there is different abort modes of cancellation of lm, but we basically loose the abort mode for lms that are not yet running due to the sempahore (limit'l | |
| 13:37:47 | gibi | (limit) | |
| 13:38:05 | sean-k-mooney | yes you can force compelte or abort | |
| 13:38:20 | gibi | if the lm is really executing the we abort via the driver | |
| 13:38:21 | sean-k-mooney | sorry i have not had time to properly load context | |
| 13:38:51 | sean-k-mooney | you are stating https://review.opendev.org/c/openstack/nova/+/975924/1 wont work right | |
| 13:39:01 | sean-k-mooney | or are you saying it will and we cant avoid the complexity | |
| 13:39:40 | gibi | I'm saying I think we probably need the complexity from https://review.opendev.org/c/openstack/nova/+/975924/1 as a shared executor in https://review.opendev.org/c/openstack/nova/+/977251/1#message-ff7b23fb4a19eee42289ff428220461ae3df2da8 does not work well | |
| 13:39:53 | sean-k-mooney | ack | |
| 13:40:28 | sean-k-mooney | i have not reviewd iether patch yet hence why im asking for your gut feeling on which one is more likely to work | |
| 13:41:30 | gibi | having a shared executor for build and snapshot might work, but we would need a separate for lm. Or we need the complexity from the wrapper that implements limits per task type. | |
| 13:41:54 | sean-k-mooney | i dont hate the idea of TaskTypeLimiterExecutorWrapper | |
| 13:42:14 | sean-k-mooney | i actully think we will want to have a task/proirty aware executro in the future | |
| 13:42:36 | sean-k-mooney | i think that is nessisary complexity rather then overengeinging given our usecases | |
| 13:42:53 | sean-k-mooney | but i ahve only really read the doc strings at this point | |
| 13:46:51 | sean-k-mooney | gibi: honestly i dont think https://review.opendev.org/c/openstack/nova/+/975924/1/nova/utils.py is that complex and i woudl personlly extend it to add a priorty filed to the task or type stuct or both | |
| 13:47:42 | sean-k-mooney | proirtyon type woudl mean all tasks fo this type has a default priorty we regestry when we registrer the type | |
| 13:48:22 | sean-k-mooney | that woudl allow use to still work properly if the concurnace on teh executor is less then the limtis for all the indiviual types | |
| 13:48:56 | sean-k-mooney | we can technially do that in your version as well as proposed | |
| 13:49:34 | sean-k-mooney | but obvioulsy we might want to express some prefence beyond arivle time in when the next task si enquened | |
| 13:50:12 | sean-k-mooney | gibi: if this is don correctly by the way this can just live en futureist | |
| 13:50:23 | sean-k-mooney | but im ok with the idea of building this out in nova first | |
| 13:53:39 | gibi | yeah | |
| 13:58:06 | gibi | given the closeness of FF I'm trying to make a way forward with a split approach. build and snapshot in a shared executor, and lm having its own executor. | |
| 13:58:22 | gibi | but I think the right approach is the TaskTypeLimiterExecutorWrapper | |
| 13:58:27 | gibi | we just don't have time | |
| 13:58:47 | sean-k-mooney | looking at it breifly i woudl be ok with proceeding in that direction too | |
| 13:59:22 | sean-k-mooney | that obviously not a rigours code review but directionally i think the trade offs you are makign make sense | |
| 14:01:14 | gibi | yeah if I would have 2 weeks I would go all in on the wrapper | |
| 14:01:33 | gibi | but if I want to be realistic and want nova-compute with threading in G then the split approach is less risky | |
| 14:11:29 | opendevreview | Balazs Gibizer proposed openstack/nova master: [compute]Use single long task executor https://review.opendev.org/c/openstack/nova/+/977251 | |
| 14:11:30 | opendevreview | Balazs Gibizer proposed openstack/nova master: Run nova-compute in native threading mode https://review.opendev.org/c/openstack/nova/+/965467 | |
| 14:42:53 | dansmith | gibi: you're saying you don't think it's reasonable to lift the live migration limit to match what is probably the higher build limit? | |
| 14:43:45 | dansmith | live migrations are controlled by the admins, so I guess I don't see that as a fatal compromise for the time being, | |
| 14:44:59 | dansmith | but even if you go with the semaphore approach, I think you can still handle cancelation if the tasks each immediately check to see if they've been canceled after they acquire the semaphore and exit if so, no? the operation will appear to be a bit sticky until the (or a) current one finishes, but I imagine that's happening today... | |
| 15:35:20 | Uggla | FYI: https://lists.openstack.org/archives/list/openstack-discuss@lists.openstack.org/thread/VTLDDSXUHPKON3WOKNMATFL7ERHFPCYB/ | |
| 15:36:05 | sean-k-mooney | Uggla: my understandign was the bug scrub was previously ment ot happen in teh channel after the meeting | |
| 15:36:17 | sean-k-mooney | not part of it | |
| 15:36:38 | sean-k-mooney | but sure. for watcher we do bug scrubing in the meeting each week and it works fine | |
| 15:36:55 | gmaan | bauzas: this is also ready for your review https://review.opendev.org/c/openstack/nova/+/975586 | |
| 15:37:20 | gmaan | gibi: bauzas: can either of you +w this one, I thought it was merged https://review.opendev.org/c/openstack/nova/+/975242/4 | |
| 15:38:27 | gmaan | gibi: dansmith sean-k-mooney: for single executor, adding semaphore for lm makes it comples than the approach gibi mentioned. I also thought the same. to have separate executor for lm and shared for all other long running tasks | |
| 15:38:28 | Uggla | bauzas, gibi, elodilles, gmaan see 16:35 msg. | |
| 15:39:39 | gmaan | Uggla: yeah, I saw the email too. this cycle, gate is giving the best feeling of FF | |
| 15:39:42 | dansmith | gmaan: the only problem there is that 20 live migrations waiting on semaphores will consume all the builder threads, but the point is to limit the activity a bit, so I think that should be okay | |
| 15:40:14 | Uggla | sean-k-mooney, I would like to have a sync point during the meeting to restart it. Because I was lazy on that topic... :( | |
| 15:41:26 | opendevreview | Bence Romsics proposed openstack/nova master: WIP Functional reproducer for #2051685 https://review.opendev.org/c/openstack/nova/+/977331 | |
| 15:42:34 | gmaan | dansmith: but as we recommend only 1 live migration at a time (currently), by common executor, will 10 (or say 5) parallel live migration be successful and on time ? I am wondering on that side too | |
| 15:43:14 | opendevreview | Bence Romsics proposed openstack/nova master: WIP Functional reproducer for #2051685 https://review.opendev.org/c/openstack/nova/+/977331 | |
| 15:43:50 | dansmith | gmaan: you can limit parallel migrations manually by not issuing more than one of them at a time, but a semaphore (set to 1) for live migrations will limit them to one at a time... it's just that if you start 10 in parallel, 9 will consume threads from the pool that will prevent builds from happening too | |
| 15:44:28 | gmaan | ohk | |
| 15:45:49 | dansmith | the suggestion of putting them both into one pool and requiring them to be the same was a compromise to avoid the complexity that gibi seemed to not think was achievable in a short period of time.. that compromise is, of course, a compromise and has some restrictions | |
| 15:46:14 | dansmith | if we're not okay with those, then we could just punt and try to do the complex thing first | |
| 15:46:29 | dansmith | I tend to want an incremental approach where not everything will be perfect in the first round | |
| 15:49:42 | gmaan | live migration are doable by manager user also not just admin, but still 10 as default shoudl be ok and if operator make it lower then they know the limitation. if needed we can make it 20 as default ? | |
| 15:50:27 | dansmith | I thought the default for the limit was 10 and we _recommended_ they set it to one? | |
| 15:53:16 | gmaan | k, one will be issue i think | |
| 16:12:28 | sean-k-mooney | the default for the live migtion is 1 and we recomemnd it to be one | |
| 16:12:49 | sean-k-mooney | but for the long live pool 10 is proably a reasonable default | |
| 16:13:10 | gmaan | I am saying with single limit for executor, build is default to 10 so that will go on live migration also | |
| 16:16:09 | sean-k-mooney | i woudl prefer to still havea way to limit live migration with a semephro if possibel as i dont like the idea of changign the default by proxy to 10 | |
| 16:17:03 | sean-k-mooney | but i dont think that is a conflciting request | |
| 16:17:34 | sean-k-mooney | we jsut keep the existign cofnig option and semepor for live migraton | |
| 16:30:10 | opendevreview | Koya Watanabe proposed openstack/nova-specs master: Repropose instance-metadata-tag-protection https://review.opendev.org/c/openstack/nova-specs/+/977339 | |
| 16:34:20 | opendevreview | Koya Watanabe proposed openstack/nova-specs master: Repropose newly instance metadata/tag protection feature https://review.opendev.org/c/openstack/nova-specs/+/977339 | |
| 16:55:29 | sean-k-mooney | gibi: melwitt will ye have time to look at https://review.opendev.org/c/openstack/nova/+/975859/4 and https://review.opendev.org/c/openstack/nova/+/975872/5 next week? its a bug fix so it is not as time sensitive as features so if not that is ok | |
| 16:55:34 | gibi | sorry I had to step away. I don't think 10 concurrent live migration is a good thing, as well as limiting the concurrent builds to 1. The semaphore approach makes it complicated to cancel queued live migrations waiting on the semaphore (=> complexity), but also 10 lm waiting on the sempahore will block any new build requests as the sempahore is take on the worker from the Executor. I understand this | |
| 16:55:40 | gibi | was as compromise but I think this is too big of a compromise. As a sort term I'm now pushing for build and snapshot sharing an executor and live migration having its own (as today). Then after G I would do the per task type limit with an executor wrapper | |
| 16:56:39 | gibi | and sorry again, but I have to step away again :/ (but I will read back) | |
| 17:03:00 | gmaan | I am good that way for G and it is simple. semaphore approach still consume the executor so it does not really solve the operation limitation. If we are going to make it more smarter in future then this approach is ok for now. | |
| 17:06:48 | sean-k-mooney | this approch beign gibis current patch with 1 pool for live migration and another for the rest of the backgorund task and no semaphor? | |
| 17:07:12 | sean-k-mooney | im ok with that for this release as well jsut making sure that we are talking about th esame thing | |
| 17:08:29 | opendevreview | Ghanshyam Maan proposed openstack/nova master: Add manager graceful shutdown, timeout, and wait https://review.opendev.org/c/openstack/nova/+/975586 | |
| 17:11:22 | gmaan | bauzas: gibi thanks for review on graceful shutdown changes, I fixed the bauzas comment in this change itself instead of followup because anyways I need to change the other changes in that series. | |
| 17:11:44 | gmaan | this one https://review.opendev.org/c/openstack/nova/+/975586 | |
| 17:36:36 | opendevreview | Merged openstack/nova master: Add 2nd RPC server for compute service https://review.opendev.org/c/openstack/nova/+/975242 | |
| 18:09:09 | opendevreview | melanie witt proposed openstack/nova master: TPM: fixups for live migration of `host` secret security https://review.opendev.org/c/openstack/nova/+/976316 | |
| 18:09:09 | opendevreview | melanie witt proposed openstack/nova master: TPM: support live migration of `deployment` secret security https://review.opendev.org/c/openstack/nova/+/925771 | |
| 18:09:10 | opendevreview | melanie witt proposed openstack/nova master: TPM: bump service version to enable live migration https://review.opendev.org/c/openstack/nova/+/975724 | |
| 18:09:10 | opendevreview | melanie witt proposed openstack/nova master: TPM: test live migration between hosts with different security https://review.opendev.org/c/openstack/nova/+/952629 | |
| 18:09:11 | opendevreview | melanie witt proposed openstack/nova master: TPM: add late check for supported TPM secret security https://review.opendev.org/c/openstack/nova/+/956975 | |
| 18:09:11 | opendevreview | melanie witt proposed openstack/nova master: TPM: enable conversion of secret security modes via resize https://review.opendev.org/c/openstack/nova/+/962052 | |
| 18:09:12 | opendevreview | melanie witt proposed openstack/nova master: DNM vtpm tempest https://review.opendev.org/c/openstack/nova/+/957477 | |
| 18:57:16 | gmaan | gibi: In my graceful shutdown change, i saw test_submit_second_while_delaying_first failing in threading job AssertionError: 1.997275639999998 not greater than 2.0 | |
| 18:57:17 | gmaan | https://1069208da190f941bbcb-6faf22591116ac424591f44dbeb2cb9b.ssl.cf1.rackcdn.com/openstack/0cc7f4aa239e491493e73f88b45c8986/testr_results.html | |
| 18:57:45 | gmaan | not sure you or sean-k-mooney talked about it but just to let you know that this is happening in more places | |
| 18:58:24 | sean-k-mooney | gmaan: melwitt mentioned it a day or two ago i think | |
| 18:58:31 | gmaan | ohk | |
| 18:58:51 | sean-k-mooney | i didnt look at it in too much detail but we likely neeed to mock time slightly diffently | |
| 18:59:18 | sean-k-mooney | that or use the assert almsot equesl th9ing for floats | |
| 18:59:55 | sean-k-mooney | its defnitly a semi flaky test but i hav enot see it fail much | |
| 19:00:17 | gmaan | k, I just saw it in my change but not anywhere else | |
| 19:01:32 | gmaan | its for delay task StaticallyDelayingCancellableTaskExecutorWrapper with delay of 2 so task should not finish before 2 if we check float then it will fail too | |
| 19:03:02 | sean-k-mooney | well sleep shodl not be less then the ammount but i have not looked at the code | |
| 19:03:10 | gmaan | or maybe it is just matter of next line captired the monotomic time after task is submitted. maybe we can capture time before task is submitted | |
| 19:03:26 | gmaan | let me propose the change and see if that make sense | |