)]}'
{"id":"openstack%2Fnova~836994","triplet_id":"openstack%2Fnova~stable%2Ftrain~Ic0d6c59147abe5e094e8f13e0d3523b178daeba9","project":"openstack/nova","branch":"stable/train","topic":"bug/1944759","attention_set":{},"removed_from_attention_set":{"9708":{"account":{"_account_id":9708,"name":"Balazs Gibizer","display_name":"gibi","email":"gibizer@gmail.com","username":"gibi"},"last_update":"2023-09-01 16:56:13.000000000","reason":"Change was abandoned"}},"hashtags":[],"change_id":"Ic0d6c59147abe5e094e8f13e0d3523b178daeba9","subject":"Store old_flavor already on source host during resize","status":"ABANDONED","created":"2022-04-07 15:55:33.000000000","updated":"2023-09-01 16:56:13.000000000","total_comment_count":1,"unresolved_comment_count":0,"has_review_started":true,"meta_rev_id":"7bf63c1e67da78a0e4b97e1e67236d3e7260c413","_number":836994,"virtual_id_number":836994,"owner":{"_account_id":9708,"name":"Balazs Gibizer","display_name":"gibi","email":"gibizer@gmail.com","username":"gibi"},"actions":{},"labels":{"Verified":{"recommended":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"all":[{"_account_id":34325,"name":"Jneeee","email":"jneeee@qq.com","username":"junnan.liu"},{"tag":"autogenerated:zuul:check","value":1,"date":"2022-05-24 02:42:17.000000000","permitted_voting_range":{"min":-2,"max":2},"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},{"_account_id":20733,"name":"Rajesh Tailor","email":"ratailor@redhat.com","username":"rajesht"},{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"}],"values":{"-2":"Fails","-1":"Doesn\u0027t seem to work"," 0":"No score","+1":"Works for me","+2":"Verified"},"description":"","value":1,"default_value":0,"optional":true},"Code-Review":{"recommended":{"_account_id":20733,"name":"Rajesh Tailor","email":"ratailor@redhat.com","username":"rajesht"},"all":[{"value":1,"date":"2022-07-21 02:59:22.000000000","permitted_voting_range":{"min":-1,"max":1},"_account_id":34325,"name":"Jneeee","email":"jneeee@qq.com","username":"junnan.liu"},{"value":0,"permitted_voting_range":{"min":-1,"max":1},"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},{"value":1,"date":"2022-05-24 12:11:04.000000000","permitted_voting_range":{"min":-1,"max":1},"_account_id":20733,"name":"Rajesh Tailor","email":"ratailor@redhat.com","username":"rajesht"},{"value":1,"date":"2022-04-13 02:11:18.000000000","permitted_voting_range":{"min":-1,"max":1},"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"}],"values":{"-2":"Do not merge","-1":"This patch needs further work before it can be merged"," 0":"No score","+1":"Looks good to me, but someone else must approve","+2":"Looks good to me (core reviewer)"},"description":"","value":1,"default_value":0,"optional":true},"Workflow":{"all":[{"_account_id":34325,"name":"Jneeee","email":"jneeee@qq.com","username":"junnan.liu"},{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},{"_account_id":20733,"name":"Rajesh Tailor","email":"ratailor@redhat.com","username":"rajesht"},{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"}],"values":{"-1":"Work in progress"," 0":"Ready for reviews","+1":"Approved"},"description":"","default_value":0,"optional":true},"Review-Priority":{"all":[{"value":0,"permitted_voting_range":{"min":0,"max":1},"_account_id":34325,"name":"Jneeee","email":"jneeee@qq.com","username":"junnan.liu"},{"value":0,"permitted_voting_range":{"min":0,"max":1},"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},{"value":0,"permitted_voting_range":{"min":0,"max":1},"_account_id":20733,"name":"Rajesh Tailor","email":"ratailor@redhat.com","username":"rajesht"},{"value":0,"permitted_voting_range":{"min":0,"max":1},"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"}],"values":{" 0":"Default Priority","+1":"Contributor Review Promise","+2":"Core Review Promise"},"description":"","default_value":0,"optional":true}},"removable_reviewers":[],"reviewers":{"CC":[{"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},{"_account_id":10118,"name":"IBM PowerKVM CI","email":"kvmpower@linux.vnet.ibm.com","username":"powerkvm","tags":["SERVICE_USER"]},{"_account_id":34420,"name":"openstack lightbits","display_name":"Lightbits CI","email":"openstack@lightbitslabs.com","username":"openstack_lightbits"}],"REVIEWER":[{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},{"_account_id":20733,"name":"Rajesh Tailor","email":"ratailor@redhat.com","username":"rajesht"},{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},{"_account_id":34325,"name":"Jneeee","email":"jneeee@qq.com","username":"junnan.liu"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2022-04-07 17:33:35.000000000","updated_by":{"_account_id":10118,"name":"IBM PowerKVM CI","email":"kvmpower@linux.vnet.ibm.com","username":"powerkvm","tags":["SERVICE_USER"]},"reviewer":{"_account_id":10118,"name":"IBM PowerKVM CI","email":"kvmpower@linux.vnet.ibm.com","username":"powerkvm","tags":["SERVICE_USER"]},"state":"CC"},{"updated":"2022-04-07 18:14:09.000000000","updated_by":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"reviewer":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"state":"REVIEWER"},{"updated":"2022-04-13 02:11:18.000000000","updated_by":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"reviewer":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"state":"REVIEWER"},{"updated":"2022-05-24 00:17:35.000000000","updated_by":{"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},"reviewer":{"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},"state":"CC"},{"updated":"2022-05-24 02:42:24.000000000","updated_by":{"_account_id":34420,"name":"openstack lightbits","display_name":"Lightbits CI","email":"openstack@lightbitslabs.com","username":"openstack_lightbits"},"reviewer":{"_account_id":34420,"name":"openstack lightbits","display_name":"Lightbits CI","email":"openstack@lightbitslabs.com","username":"openstack_lightbits"},"state":"CC"},{"updated":"2022-05-24 12:11:04.000000000","updated_by":{"_account_id":20733,"name":"Rajesh Tailor","email":"ratailor@redhat.com","username":"rajesht"},"reviewer":{"_account_id":20733,"name":"Rajesh Tailor","email":"ratailor@redhat.com","username":"rajesht"},"state":"REVIEWER"},{"updated":"2022-07-21 02:59:22.000000000","updated_by":{"_account_id":34325,"name":"Jneeee","email":"jneeee@qq.com","username":"junnan.liu"},"reviewer":{"_account_id":34325,"name":"Jneeee","email":"jneeee@qq.com","username":"junnan.liu"},"state":"REVIEWER"}],"messages":[{"id":"898092042084672d5dd7ddf23c219c0bf6431a77","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":9708,"name":"Balazs Gibizer","display_name":"gibi","email":"gibizer@gmail.com","username":"gibi"},"date":"2022-04-07 15:55:33.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"dde92ff5819742f92273ca4655945b9756ef6b00","author":{"_account_id":10118,"name":"IBM PowerKVM CI","email":"kvmpower@linux.vnet.ibm.com","username":"powerkvm","tags":["SERVICE_USER"]},"date":"2022-04-07 17:33:35.000000000","message":"Patch Set 1:\n\nBuild failed. Test completed on IBM PowerKVM platform. For rechecking only on the IBM PowerKVM CI, add a review comment with pkvm- recheck. For contact and more information, see https://wiki.openstack.org/wiki/PowerKVM\n\n- tempest-dsvm-full-bionic-py3 finger://zuul-v3-executor.novalocal/06d3ea0713e74084be385d12513d61b9 : POST_FAILURE in 1h 31m 27s","accounts_in_message":[],"_revision_number":1},{"id":"0a7735f7c3f4ca6a362262cca8fc75fb10df3d82","tag":"autogenerated:zuul:check","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2022-04-07 18:14:09.000000000","message":"Patch Set 1: Verified-1\n\nBuild failed (check pipeline).  For information on how to proceed, see\nhttps://docs.opendev.org/opendev/infra-manual/latest/developers.html#automated-testing\n\n\n- grenade-skip-level https://zuul.opendev.org/t/openstack/build/4cb4d0b4ba5a4d5cbfecaf0fd126ce81 : FAILURE in 34m 28s (non-voting)\n- tempest-integrated-compute https://zuul.opendev.org/t/openstack/build/928fe1c477394badb78f9422cadcb9e1 : SUCCESS in 1h 25m 36s\n- openstacksdk-functional-devstack https://zuul.opendev.org/t/openstack/build/16f4fa3e7d7942d99294689da2d11c6d : SUCCESS in 1h 01m 07s\n- openstack-tox-cover https://zuul.opendev.org/t/openstack/build/9d01769d305344ee86bece363775372e : SUCCESS in 18m 03s\n- openstack-tox-lower-constraints https://zuul.opendev.org/t/openstack/build/b201615e2b0e452e832ec99e08750cf2 : RETRY_LIMIT in 4m 41s\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/98a087e22a53481984094add4dfc3376 : SUCCESS in 12m 19s\n- openstack-tox-py27 https://zuul.opendev.org/t/openstack/build/684df4405c7648e5ad3fb1105ef795c2 : SUCCESS in 17m 12s\n- openstack-tox-py36 https://zuul.opendev.org/t/openstack/build/4cb7bf7be82c4868adc6719326ff44fe : SUCCESS in 13m 59s\n- openstack-tox-py37 https://zuul.opendev.org/t/openstack/build/88180139f5284221ac61e23324438cc5 : SUCCESS in 13m 44s\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/b0caa6c3dc724551828d6e40fa0a3cab : SUCCESS in 11m 04s\n- ironic-tempest-ipa-wholedisk-bios-agent_ipmitool-tinyipa https://zuul.opendev.org/t/openstack/build/4baff985ad2246c09b8219d22a4dd46b : SUCCESS in 1h 21m 23s (non-voting)\n- devstack-plugin-ceph-tempest https://zuul.opendev.org/t/openstack/build/d86aadcb24d14605b1696ffa819dda5e : FAILURE in 1h 09m 15s (non-voting)\n- neutron-grenade-multinode https://zuul.opendev.org/t/openstack/build/462909aabaf84ef5b899f34d99d6261d : SUCCESS in 1h 10m 42s\n- nova-grenade-multinode https://zuul.opendev.org/t/openstack/build/ca42b64778eb449384d8d1a1e8fb9375 : SUCCESS in 1h 22m 56s\n- nova-live-migration https://zuul.opendev.org/t/openstack/build/10003957018f452a95da9bd1df2be4b6 : SUCCESS in 1h 02m 24s\n- nova-multi-cell https://zuul.opendev.org/t/openstack/build/c372421c58724039b647a1dd34ebb9f6 : FAILURE in 1h 23m 33s\n- nova-next https://zuul.opendev.org/t/openstack/build/67fc8a456a0c43728756c459a0f2e13a : SUCCESS in 1h 19m 43s\n- nova-tox-functional https://zuul.opendev.org/t/openstack/build/7359580d6a3649aeac6d2f38a58647dc : SUCCESS in 20m 51s\n- nova-tox-functional-py36 https://zuul.opendev.org/t/openstack/build/0b5779d2d5fa4b9787c8be965d8e9c51 : SUCCESS in 21m 55s\n- nova-tox-validate-backport https://zuul.opendev.org/t/openstack/build/e7a05fc7f293406e81c028aaeebc9fc3 : FAILURE in 5m 57s (non-voting)\n- tempest-slow-py3 https://zuul.opendev.org/t/openstack/build/650d2bbd919249e2bad736babd00110d : SUCCESS in 2h 09m 56s\n- grenade-py3 https://zuul.opendev.org/t/openstack/build/1f4349bea0b3457ba8f097c841cd0f2a : SUCCESS in 1h 08m 27s\n- tempest-ipv6-only https://zuul.opendev.org/t/openstack/build/3dc9b68ace584b92b620c7e0f8c96d03 : SUCCESS in 1h 04m 04s","accounts_in_message":[],"_revision_number":1},{"id":"44941cc6923d337f7ea2396b68af0f3d3682ed3e","author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"date":"2022-04-13 02:11:18.000000000","message":"Patch Set 1: Code-Review+1","accounts_in_message":[],"_revision_number":1},{"id":"c0632cb2fcc2f9f0b44dddf018e5644e8d89ef16","author":{"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},"date":"2022-05-24 00:17:35.000000000","message":"Patch Set 1:\n\n(1 comment)","accounts_in_message":[],"_revision_number":1},{"id":"37648f3900a713b3486efe1c9b03fbaf18cdd447","tag":"autogenerated:zuul:check","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2022-05-24 02:42:17.000000000","message":"Patch Set 1: Verified+1\n\nBuild succeeded (check pipeline).\n\n- grenade-skip-level https://zuul.opendev.org/t/openstack/build/3141dea2a5eb413eb19f2c60dc8165ad : FAILURE in 14m 00s (non-voting)\n- tempest-integrated-compute https://zuul.opendev.org/t/openstack/build/e5b4b4c442f241189ce32396892ad2ac : SUCCESS in 1h 13m 40s\n- openstacksdk-functional-devstack https://zuul.opendev.org/t/openstack/build/48c9ee7ff0d34b0bb24e278a981866a8 : SUCCESS in 49m 38s\n- openstack-tox-cover https://zuul.opendev.org/t/openstack/build/6a0c90f18ec548eb964a4637c4a85692 : SUCCESS in 15m 51s\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/742c5e5fc94345a0bd152b48934fc2b3 : SUCCESS in 10m 17s\n- openstack-tox-py27 https://zuul.opendev.org/t/openstack/build/99c08de62b7343b6b59f6aaeedc06d46 : SUCCESS in 13m 56s\n- openstack-tox-py36 https://zuul.opendev.org/t/openstack/build/7e0dda7af3a943c98e9505bad9f994ce : SUCCESS in 13m 46s\n- openstack-tox-py37 https://zuul.opendev.org/t/openstack/build/a287cd33bbf143c583cb74c770cb9e60 : SUCCESS in 12m 58s\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/1820d23288384c8294e1cae645bf0658 : SUCCESS in 11m 04s\n- ironic-tempest-ipa-wholedisk-bios-agent_ipmitool-tinyipa https://zuul.opendev.org/t/openstack/build/088a973c82c444849f224a2ae877c514 : SUCCESS in 1h 16m 43s (non-voting)\n- devstack-plugin-ceph-tempest https://zuul.opendev.org/t/openstack/build/7391ed0b29f24f018e5643918b94184d : FAILURE in 1h 07m 51s (non-voting)\n- neutron-grenade-multinode https://zuul.opendev.org/t/openstack/build/0ffc7c1c38484b77b53843221503e575 : SUCCESS in 56m 00s\n- nova-grenade-multinode https://zuul.opendev.org/t/openstack/build/9c886d2f459143cdaf587ba0b93c7cd4 : SUCCESS in 55m 21s\n- nova-live-migration https://zuul.opendev.org/t/openstack/build/0f62c2366a73478ba546041dca9e30da : SUCCESS in 47m 49s\n- nova-multi-cell https://zuul.opendev.org/t/openstack/build/2d8bd07615a1480c9686c531259bdf81 : SUCCESS in 1h 14m 12s\n- nova-next https://zuul.opendev.org/t/openstack/build/16e2d05cedaf4552a33023a5158269cd : SUCCESS in 1h 17m 49s\n- nova-tox-functional https://zuul.opendev.org/t/openstack/build/40492d1170bb44629376aaf1159b07b2 : SUCCESS in 21m 51s\n- nova-tox-functional-py36 https://zuul.opendev.org/t/openstack/build/7504c882faed464188c43620688fe8d9 : SUCCESS in 17m 57s\n- nova-tox-validate-backport https://zuul.opendev.org/t/openstack/build/de56d3c5b7b74ed3abf92fff34ef21c1 : FAILURE in 5m 08s (non-voting)\n- tempest-slow-py3 https://zuul.opendev.org/t/openstack/build/fd933224a180480eaf228ad8ca7fee42 : SUCCESS in 2h 18m 14s\n- grenade-py3 https://zuul.opendev.org/t/openstack/build/4932cf39786b4364bc2f114d846d1900 : SUCCESS in 53m 31s\n- tempest-ipv6-only https://zuul.opendev.org/t/openstack/build/642514aaa63940638072e196d2d4baf9 : SUCCESS in 51m 20s","accounts_in_message":[],"_revision_number":1},{"id":"426e3d533680537a6ef6f618fae7eb3d18ef2255","tag":"autogenerated:jenkins-gerrit-trigger","author":{"_account_id":34420,"name":"openstack lightbits","display_name":"Lightbits CI","email":"openstack@lightbitslabs.com","username":"openstack_lightbits"},"date":"2022-05-24 02:42:24.000000000","message":"Patch Set 1:\n\nBuild FAILED. log path: ${LOG_PATH}\nLeave a comment with \u0027run-Lightbits CI\u0027 to trigger a recheck. \nFor more information about CI, please see https://wiki.openstack.org/wiki/ThirdPartySystems/LightbitsLabs_CI","accounts_in_message":[],"_revision_number":1},{"id":"a0bdd75fce88ca063015a53686469da0d409ca39","author":{"_account_id":10118,"name":"IBM PowerKVM CI","email":"kvmpower@linux.vnet.ibm.com","username":"powerkvm","tags":["SERVICE_USER"]},"date":"2022-05-24 03:44:13.000000000","message":"Patch Set 1:\n\nBuild succeeded. Test completed on IBM PowerKVM platform. For rechecking only on the IBM PowerKVM CI, add a review comment with pkvm- recheck. For contact and more information, see https://wiki.openstack.org/wiki/PowerKVM\n\n- tempest-dsvm-full-bionic-py3 https://oplab9.parqtec.unicamp.br/pub/ppc64el/openstack/nova/94/836994/1/check/tempest-dsvm-full-bionic-py3/709dd3a/ : SUCCESS in 2h 15m 15s","accounts_in_message":[],"_revision_number":1},{"id":"4dd02df89b1f3a82a840c87f3922ed28eb08b0b3","author":{"_account_id":20733,"name":"Rajesh Tailor","email":"ratailor@redhat.com","username":"rajesht"},"date":"2022-05-24 12:11:04.000000000","message":"Patch Set 1: Code-Review+1","accounts_in_message":[],"_revision_number":1},{"id":"48f967c9fbd2a8a91c1e5cfa99145480a1e45b4b","author":{"_account_id":34325,"name":"Jneeee","email":"jneeee@qq.com","username":"junnan.liu"},"date":"2022-07-21 02:59:22.000000000","message":"Patch Set 1: Code-Review+1","accounts_in_message":[],"_revision_number":1},{"id":"7bf63c1e67da78a0e4b97e1e67236d3e7260c413","tag":"autogenerated:gerrit:abandon","author":{"_account_id":17685,"name":"Elod Illes","email":"elod.illes@est.tech","username":"elod.illes"},"date":"2023-09-01 16:56:13.000000000","message":"Abandoned\n\nstable/train branch of nova projects\u0027 have been tagged as End of Life. All open patches have to be abandoned in order to be able to delete the branch.","accounts_in_message":[],"_revision_number":1}],"current_revision_number":1,"current_revision":"d779e46eef2474d2bed6865481af64176116ab0d","revisions":{"d779e46eef2474d2bed6865481af64176116ab0d":{"kind":"REWORK","_number":1,"created":"2022-04-07 15:55:33.000000000","uploader":{"_account_id":9708,"name":"Balazs Gibizer","display_name":"gibi","email":"gibizer@gmail.com","username":"gibi"},"ref":"refs/changes/94/836994/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/nova","ref":"refs/changes/94/836994/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/nova refs/changes/94/836994/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/nova refs/changes/94/836994/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/nova refs/changes/94/836994/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/nova refs/changes/94/836994/1"}}},"commit":{"parents":[{"commit":"61538121ebadaff2ccc4b4814e38481b540c1bde","subject":"Reproduce bug 1944759","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/nova/commit/61538121ebadaff2ccc4b4814e38481b540c1bde"}]}],"author":{"name":"Balazs Gibizer","email":"balazs.gibizer@est.tech","date":"2021-09-24 13:17:28.000000000","tz":120},"committer":{"name":"Balazs Gibizer","email":"gibi@redhat.com","date":"2022-04-07 15:54:23.000000000","tz":120},"subject":"Store old_flavor already on source host during resize","message":"Store old_flavor already on source host during resize\n\nDuring resize, on the source host, in resize_instance(), the instance.host\nand .node is updated to point to the destination host. This indicates to\nthe source host\u0027s resource tracker that the allocation of this instance\ndoes not need to be tracked as an instance but as an outbound migration\ninstead. However for the source host\u0027s resource tracker to do that it,\nneeds to use the instance.old_flavor. Unfortunately the\ninstance.old_flavor is only set during finish_resize() on the\ndestination host. (resize_instance cast to the finish_resize). So it is\npossible that a running resize_instance() set the instance.host to point\nto the destination and then before the finish_resize could set the\nold_flavor an update_available_resources periodic runs on the source\nhost. This causes that the allocation of this instance is not tracked as\nan instance as the instance.host point to the destination but it is not\ntracked as a migration either as the instance.old_flavor is not yet set.\nSo the allocation on the source host is simply dropped by the periodic\njob.\n\nWhen such migration is confirmed the confirm_resize() tries to drop\nthe same resource allocation again but fails as the pinned CPUs of the\ninstance already freed.\n\nWhen such migration is reverted instead, then revert succeeds but the\nsource host resource allocation will not contain the resource allocation\nof the instance until the next update_available_resources periodic runs\nand corrects it.\n\nThis does not affect resources tracked exclusively in placement (e.g.\nVCPU, MEMORY_MB, DISK_GB) but it does affect NUMA related resource that\nare still tracked in the resource tracker (e.g. huge pages, pinned\nCPUs).\n\nThis patch moves the instance.old_flavor setting to the source node to\nthe same transaction that sets the instance.host to point to the\ndestination host. Hence solving the race condition.\n\nChange-Id: Ic0d6c59147abe5e094e8f13e0d3523b178daeba9\nCloses-Bug: #1944759\n(cherry picked from commit b841e553214be9a732703e2dfed6c97698ef9b71)\n(cherry picked from commit d4edcd62bae44c01885268a6cf7b7fae92617060)\n(cherry picked from commit c8b04d183f560a616a79577c4d4ae9465d03e541)\n(cherry picked from commit 34e0c0205b1053d3bbe064177740aba654997fe0)\n(cherry picked from commit daf4d622e87b2d76764faedac5b4885bf810ea68)\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/nova/commit/d779e46eef2474d2bed6865481af64176116ab0d"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/nova/commit/d779e46eef2474d2bed6865481af64176116ab0d"}]},"branch":"refs/heads/stable/train"}},"requirements":[],"submit_records":[],"submit_requirements":[{"name":"Verified","description":"Verified in gate by CI","status":"UNSATISFIED","is_legacy":false,"submittability_expression_result":{"expression":"label:Verified\u003dMAX AND -label:Verified\u003dMIN","fulfilled":false,"status":"FAIL","passing_atoms":[],"failing_atoms":["label:Verified\u003dMAX","label:Verified\u003dMIN"],"atom_explanations":{}}},{"name":"Code-Review","description":"Code reviewed by core reviewer","status":"UNSATISFIED","is_legacy":false,"submittability_expression_result":{"expression":"label:Code-Review\u003dMAX AND -label:Code-Review\u003dMIN","fulfilled":false,"status":"FAIL","passing_atoms":[],"failing_atoms":["label:Code-Review\u003dMAX","label:Code-Review\u003dMIN"],"atom_explanations":{}}},{"name":"Review-Priority","description":"Review Priority","status":"NOT_APPLICABLE","is_legacy":false,"applicability_expression_result":{"fulfilled":false,"status":"FAIL"},"submittability_expression_result":{"expression":"is:true","fulfilled":true,"status":"NOT_EVALUATED","passing_atoms":[],"failing_atoms":[],"atom_explanations":{}}},{"name":"Workflow","description":"Approved for gate by core reviewer","status":"UNSATISFIED","is_legacy":false,"submittability_expression_result":{"expression":"label:Workflow\u003dMAX AND -label:Workflow\u003dMIN","fulfilled":false,"status":"FAIL","passing_atoms":[],"failing_atoms":["label:Workflow\u003dMAX","label:Workflow\u003dMIN"],"atom_explanations":{}}}]}
