Friday, 2022-07-22

opendevreviewwangkuntian proposed openstack/nova stable/yoga: Modify the command of getting serial console  https://review.opendev.org/c/openstack/nova/+/85072307:11
bauzasmorning07:18
gibigood morning07:24
Ugglabauzas, hi, I pushed an update version of unshelve to host. If you can have a look.08:09
bauzasUggla: I'll try but I'm overloaded by the vgpu regression08:10
opendevreviewribaudr proposed openstack/nova master: Allow unshelve to a specific host (Compute API part)  https://review.opendev.org/c/openstack/nova/+/83150708:23
opendevreviewribaudr proposed openstack/nova master: Allow unshelve to a specific host (REST API part)  https://review.opendev.org/c/openstack/nova/+/84589708:23
opendevreviewwangkuntian proposed openstack/nova master: Modify the command of getting serial console  https://review.opendev.org/c/openstack/nova/+/85072908:23
opendevreviewwangkuntian proposed openstack/nova master: Modify the command of getting serial console  https://review.opendev.org/c/openstack/nova/+/85073408:48
opendevreviewwangkuntian proposed openstack/nova master: Modify the command of getting serial console  https://review.opendev.org/c/openstack/nova/+/85072909:01
gibibauzas: now I managed to get back to your keypair patch and left feedback https://review.opendev.org/c/openstack/nova/+/84913309:07
bauzasgibi: ack, will look09:19
bauzasgibi: thanks for the review, will update it this afternoon09:53
auniyalO/, please have a review this - https://review.opendev.org/c/openstack/nova/+/84888610:24
sean-k-mooneyover all it looks ok there are proably some spelling nits that i cant see10:31
sean-k-mooneywe dont need the other section in the release note but i have leaft that feedback on the review10:31
gibiI left feedback too11:01
sean-k-mooneyauniyal: it would be helpful if you could also mark some fo the coments as resolved11:01
sean-k-mooneyim currently in the middle of something downstream so cant really spend much time on the review currently but in general when you push a new revision ist good if you can look at the old commens in gerrit, confirm its adressed and mark them done.11:03
opendevreviewBalazs Gibizer proposed openstack/nova master: Prevent instance.save() under mutated migration context  https://review.opendev.org/c/openstack/nova/+/85074611:08
gibifyi: if somebody has an idea to handle the fallout of ^^ (and the parent bug) then I'm all ears as I can only solve this back hacking either instance.save() or the rollback_live_migration_at_destination driver call11:09
gibis/back/by/11:10
sean-k-mooneygibi: sorry cant load context now but remind me on monday and ill think about it11:15
gibisean-k-mooney: sure, I know you are knee deep in a DB dump11:15
sean-k-mooneyalso didnto know that Instance.mutated_migration_context() was a thing11:15
gibiit is a beautiful if you use it in a small scope, but applying to a big scope is dangerous like hell11:16
gibianyhow it is not super urgent11:16
sean-k-mooneyim glad you were able to find the cause of that issue one way or another11:18
gibiit was a tricky one as we have two RPC to the dest during migration rollback, the first is a cast the second is a call. The second one saves the proper instance data but the first one saves the wrong data. However as the first one is cast it can happen _after_ the second call.11:20
sean-k-mooneyah11:20
sean-k-mooneyso this is also why its not determinitic11:20
sean-k-mooneyalso cast_as_call--11:20
gibiit was deterministic for James but it wasn't in a func env11:20
sean-k-mooneywell likely because of the cast as call fixutre11:21
gibiyepp11:21
sean-k-mooneythat will make it so the cast alwasy happens first11:21
gibithat was the first thing to hide the issue, but then I still had to slow down the execution of the cast to let the call finish first11:21
gibiin real env during the cast we do disk IO (delete disk)11:22
gibiso that could take time and nova switch to the next RPC which is the call11:22
sean-k-mooneywell we can do what we did in other case11:22
sean-k-mooneyadd a lock to the mocked op11:22
sean-k-mooneyso that it will block then to the call then unlock to let the cast continue11:23
gibiwhile locking would force a better serialization of the events it will still create a time window where the db has the wrong instance data11:23
gibiwe would save the wrong data first11:23
sean-k-mooneyoh i just mean in the func test11:23
gibiahh11:23
gibiin the func test I used threading.Condition to serialize the thing11:24
sean-k-mooneyack ya same idea11:24
gibiyepp11:24
gibithat is basically a lock11:24
gibiI actually needed two as I had to prevent instance.delete to happen before the cast too :D11:24
sean-k-mooney:) fun11:24
gibiit was indeed :)11:25
sean-k-mooneyi have stared and set rp +1 form me on both11:25
sean-k-mooneyso ill get back to them monday11:25
gibiack, thanks11:26
sean-k-mooneygibi: if you respin care to pull https://review.opendev.org/c/openstack/nova/+/850672/1/nova/tests/functional/integrated_helpers.py into its own change first11:37
sean-k-mooneyjust thinking that might be good to be able to backport seperatly11:37
sean-k-mooneyalthough not required11:37
gibisean-k-mooney: sure I can, but I guess we will backport the reproducer and the eventual fix anyhow11:58
sean-k-mooneyyep its not that important11:59
sean-k-mooneyjust one of the reaosn i have used the freestanding approch in the past is to not include cast_as_call11:59
sean-k-mooneyi.e. if you just use the mixins that is not added unless you do it yourslef in teh func test12:00
gibisean-k-mooney: true12:00
gibiI'm not sure how easy it would be to move the libvirt functional tests away from the _IntegratedBase12:00
sean-k-mooneyi would move it to https://github.com/openstack/nova/blob/master/nova/tests/functional/libvirt/integrated_helpers.py#L23= first12:01
sean-k-mooneybut as stephen notes https://github.com/openstack/nova/blob/master/nova/tests/functional/integrated_helpers.py#L1231-L1233=12:02
sean-k-mooneybut if we were to remove one or the ohter i would remove _IntegratedTestBase12:02
sean-k-mooneycrap meeting12:03
gibiI think this shows that even if we want light test case bases we eventually end up with heavy bases13:07
gibiso I would not fight much against the heavy bases13:08
*** hemna7 is now known as hemna13:09
opendevreviewSylvain Bauza proposed openstack/nova master: api: Drop generating a keypair and add special chars to naming  https://review.opendev.org/c/openstack/nova/+/84913313:58
bauzasgibi: sean-k-mooney: updated my 2.92 patch based on gibi's comments13:59
bauzasjust a few cleanups13:59
*** dasm|off is now known as dasm14:12
gibibauzas: +214:57
bauzasta14:57
bauzasI'm reviewing Uggla's API change ;)14:57
gibiI feel we will land two API change in a short while :)14:58
opendevreviewAlexey Stupnikov proposed openstack/nova master: [trivial] Simplify dict get call by removing unused default  https://review.opendev.org/c/openstack/nova/+/85045015:18
*** yoctozepto_ is now known as yoctozepto15:27
*** efried1 is now known as efried15:27
*** rpioso_ is now known as rpioso15:27
*** johnsom_ is now known as johnsom15:27
Ugglabauzas, thx, I hope you will like it.15:29
*** akekane_ is now known as abhishekk15:31
bauzasgibi: looks like we have a problem with test_live_migration_with_trunk 15:41
bauzasin tempest.api.compute.admin.test_live_migration.LiveMigrationTest15:41
bauzasUggla: +Wd so happy weekend :) 15:50
Ugglabauzas, I wish you a happy (probably hot) WE as well. 15:53
bauzasit's my daughter's birthday today so yes :)15:53
bauzas12yo 15:53
bauzasf***, I'm getting old15:54
bauzaslikewise OpenStack 15:54
bauzasboth were born on mid-July 201015:54
bauzasanyway, done for the week, see you all on Monday15:55
*** dasm is now known as dasm|off22:11
opendevreviewmelanie witt proposed openstack/nova master: libvirt: Configure and teardown ephemeral encryption secrets  https://review.opendev.org/c/openstack/nova/+/82675422:55

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