)]}'
{"id":"openstack%2Fnova~762903","triplet_id":"openstack%2Fnova~stable%2Fqueens~I335113f0ec59516cb337d34b6fc9078ea202130f","project":"openstack/nova","branch":"stable/queens","topic":"bug/1775934","hashtags":[],"change_id":"I335113f0ec59516cb337d34b6fc9078ea202130f","subject":"Sanity check instance mapping during scheduling","status":"ABANDONED","created":"2020-11-16 17:53:01.000000000","updated":"2022-11-11 18:24:12.000000000","total_comment_count":0,"unresolved_comment_count":0,"has_review_started":true,"meta_rev_id":"9fc185e313b303fb94a5b90f88eea2d973010ce0","_number":762903,"virtual_id_number":762903,"owner":{"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},"actions":{},"labels":{"Verified":{"disliked":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"all":[{"date":"2020-11-16 18:03:52.000000000","_account_id":26515,"name":"Cloudbase Nova Hyper-V CI","email":"nova_hyperv_ci@cloudbasesolutions.com","username":"nova_hyperv_ci"},{"value":0,"date":"2020-11-16 18:47:43.000000000","permitted_voting_range":{"min":-1,"max":1},"_account_id":10118,"name":"IBM PowerKVM CI","email":"kvmpower@linux.vnet.ibm.com","username":"powerkvm","tags":["SERVICE_USER"]},{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},{"date":"2020-11-16 18:01:51.000000000","_account_id":29963,"name":"Intel_Zuul","display_name":"Intel Corporation CI","email":"intel-openstack-ci@intel.com","username":"Intel_Zuul"},{"tag":"autogenerated:zuul:check","value":-1,"date":"2020-11-16 20:14:58.000000000","permitted_voting_range":{"min":-2,"max":2},"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}],"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":{"all":[{"value":0,"permitted_voting_range":{"min":-1,"max":1},"_account_id":26515,"name":"Cloudbase Nova Hyper-V CI","email":"nova_hyperv_ci@cloudbasesolutions.com","username":"nova_hyperv_ci"},{"value":0,"permitted_voting_range":{"min":-1,"max":1},"_account_id":10118,"name":"IBM PowerKVM CI","email":"kvmpower@linux.vnet.ibm.com","username":"powerkvm","tags":["SERVICE_USER"]},{"value":0,"permitted_voting_range":{"min":-1,"max":1},"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},{"value":0,"permitted_voting_range":{"min":-1,"max":1},"_account_id":29963,"name":"Intel_Zuul","display_name":"Intel Corporation CI","email":"intel-openstack-ci@intel.com","username":"Intel_Zuul"},{"value":0,"permitted_voting_range":{"min":-1,"max":1},"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}],"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":"","default_value":0,"optional":true},"Workflow":{"all":[{"_account_id":26515,"name":"Cloudbase Nova Hyper-V CI","email":"nova_hyperv_ci@cloudbasesolutions.com","username":"nova_hyperv_ci"},{"_account_id":10118,"name":"IBM PowerKVM CI","email":"kvmpower@linux.vnet.ibm.com","username":"powerkvm","tags":["SERVICE_USER"]},{"date":"2020-11-16 17:53:01.000000000","_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},{"_account_id":29963,"name":"Intel_Zuul","display_name":"Intel Corporation CI","email":"intel-openstack-ci@intel.com","username":"Intel_Zuul"},{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}],"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":26515,"name":"Cloudbase Nova Hyper-V CI","email":"nova_hyperv_ci@cloudbasesolutions.com","username":"nova_hyperv_ci"},{"value":0,"permitted_voting_range":{"min":0,"max":1},"_account_id":10118,"name":"IBM PowerKVM CI","email":"kvmpower@linux.vnet.ibm.com","username":"powerkvm","tags":["SERVICE_USER"]},{"value":0,"permitted_voting_range":{"min":0,"max":1},"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},{"value":0,"permitted_voting_range":{"min":0,"max":1},"_account_id":29963,"name":"Intel_Zuul","display_name":"Intel Corporation CI","email":"intel-openstack-ci@intel.com","username":"Intel_Zuul"},{"value":0,"permitted_voting_range":{"min":0,"max":1},"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}],"values":{" 0":"Default Priority","+1":"Contributor Review Promise","+2":"Core Review Promise"},"description":"","default_value":0,"optional":true}},"removable_reviewers":[],"reviewers":{"REVIEWER":[{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},{"_account_id":10118,"name":"IBM PowerKVM CI","email":"kvmpower@linux.vnet.ibm.com","username":"powerkvm","tags":["SERVICE_USER"]},{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},{"_account_id":26515,"name":"Cloudbase Nova Hyper-V CI","email":"nova_hyperv_ci@cloudbasesolutions.com","username":"nova_hyperv_ci"},{"_account_id":29963,"name":"Intel_Zuul","display_name":"Intel Corporation CI","email":"intel-openstack-ci@intel.com","username":"Intel_Zuul"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2020-11-16 17:53:01.000000000","updated_by":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"reviewer":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"state":"REVIEWER"},{"updated":"2020-11-16 18:01:51.000000000","updated_by":{"_account_id":29963,"name":"Intel_Zuul","display_name":"Intel Corporation CI","email":"intel-openstack-ci@intel.com","username":"Intel_Zuul"},"reviewer":{"_account_id":29963,"name":"Intel_Zuul","display_name":"Intel Corporation CI","email":"intel-openstack-ci@intel.com","username":"Intel_Zuul"},"state":"REVIEWER"},{"updated":"2020-11-16 18:03:52.000000000","updated_by":{"_account_id":26515,"name":"Cloudbase Nova Hyper-V CI","email":"nova_hyperv_ci@cloudbasesolutions.com","username":"nova_hyperv_ci"},"reviewer":{"_account_id":26515,"name":"Cloudbase Nova Hyper-V CI","email":"nova_hyperv_ci@cloudbasesolutions.com","username":"nova_hyperv_ci"},"state":"REVIEWER"},{"updated":"2020-11-16 18:47:43.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":"REVIEWER"},{"updated":"2020-11-16 20:14:58.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"}],"messages":[{"id":"24c5879de0aa4d178734b32f67e07804b1a46379","author":{"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},"date":"2020-11-16 17:53:01.000000000","message":"Patch Set 1: Cherry Picked from branch stable/rocky.","accounts_in_message":[],"_revision_number":1},{"id":"e7c6eaab55ae640aa036b8e4976c439e758b71d4","author":{"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},"date":"2020-11-16 17:53:15.000000000","message":"Topic changed from bug/1775934-stable/queens to bug/1775934","accounts_in_message":[],"_revision_number":1},{"id":"db3868e2768de3695f091f1fbc041bc3e310a98b","author":{"_account_id":29963,"name":"Intel_Zuul","display_name":"Intel Corporation CI","email":"intel-openstack-ci@intel.com","username":"Intel_Zuul"},"date":"2020-11-16 18:01:51.000000000","message":"Patch Set 1:\n\nBuild failed.\n\n- pmem-tempest-plugin-filtered-multi-node http://52.27.155.124/03/762903/1/check/pmem-tempest-plugin-filtered-multi-node/8c1f7b8/ : POST_FAILURE in 7m 18s\n- devstack-nfv-numa http://52.27.155.124/03/762903/1/check/devstack-nfv-numa/85da557/ : POST_FAILURE in 4m 22s","accounts_in_message":[],"_revision_number":1},{"id":"a504b703130ff7a9a5c9f2d6b0616886f7b0956b","author":{"_account_id":26515,"name":"Cloudbase Nova Hyper-V CI","email":"nova_hyperv_ci@cloudbasesolutions.com","username":"nova_hyperv_ci"},"date":"2020-11-16 18:03:52.000000000","message":"Patch Set 1:\n\nFor rechecking only on the Cloudbase Nova Hyper-V CI, add a review comment with run-Cloudbase Nova Hyper-V CI\n\n- nova http://cloudbase-ci.com/nova/762903/1 : FAILURE in 9m 02s","accounts_in_message":[],"_revision_number":1},{"id":"b29e7398a08be9f96eea2b2be2e96508d6eb49e5","author":{"_account_id":10118,"name":"IBM PowerKVM CI","email":"kvmpower@linux.vnet.ibm.com","username":"powerkvm","tags":["SERVICE_USER"]},"date":"2020-11-16 18:47:43.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-xenial https://oplab9.parqtec.unicamp.br/pub/ppc64el/openstack/nova/03/762903/1/check/tempest-dsvm-full-xenial/aefeb1c/ : FAILURE in 34m 01s\n- tempest-dsvm-full-xenial-py3 https://oplab9.parqtec.unicamp.br/pub/ppc64el/openstack/nova/03/762903/1/check/tempest-dsvm-full-xenial-py3/c036292/ : FAILURE in 25m 35s","accounts_in_message":[],"_revision_number":1},{"id":"cb4d7e160627ae9db69f4062db1041150b84c989","tag":"autogenerated:zuul:check","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2020-11-16 20:14:58.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- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/99e87011a6d44875b50028428cf041b4 : FAILURE in 9m 37s\n- openstack-tox-py27 https://zuul.opendev.org/t/openstack/build/f3600c61f3584d35bd13469aa73055b5 : SUCCESS in 12m 33s\n- openstack-tox-py35 https://zuul.opendev.org/t/openstack/build/4dac92d710cb4a30adcf627f11311a5e : SUCCESS in 12m 30s\n- build-openstack-sphinx-docs https://zuul.opendev.org/t/openstack/build/539e9e7e896c4dc9a696d236518efbf8 : SUCCESS in 7m 25s\n- tempest-full https://zuul.opendev.org/t/openstack/build/07616893c75447728c3e7b04941b4eac : SUCCESS in 1h 28m 26s\n- neutron-grenade https://zuul.opendev.org/t/openstack/build/7dce9e6749e94e268ac8482825be139f : SUCCESS in 49m 04s\n- tempest-full-py3 https://zuul.opendev.org/t/openstack/build/587e4c1dd5624dcaa5ca8013b6810d4c : SUCCESS in 1h 13m 52s\n- ironic-tempest-dsvm-ipa-wholedisk-bios-agent_ipmitool-tinyipa https://zuul.opendev.org/t/openstack/build/6db8ab7855fa467e845a927e2557e0b5 : SUCCESS in 40m 15s (non-voting)\n- nova-cells-v1 https://zuul.opendev.org/t/openstack/build/2027c0bcc24f4af9b0cb6a67bfbe5a41 : SUCCESS in 45m 33s\n- nova-grenade-live-migration https://zuul.opendev.org/t/openstack/build/c6ca0230fc4e495298efb43902400d44 : SUCCESS in 1h 01m 52s (non-voting)\n- nova-live-migration https://zuul.opendev.org/t/openstack/build/0d50b72d04894949b80c020a1c66b8ba : SUCCESS in 45m 16s\n- nova-multiattach https://zuul.opendev.org/t/openstack/build/c148151859da44ebaf5a855dff06cfa4 : SUCCESS in 1h 00m 13s\n- nova-next https://zuul.opendev.org/t/openstack/build/5b169352dcee4e7ab989d0154154ece8 : SUCCESS in 1h 17m 49s\n- tempest-slow https://zuul.opendev.org/t/openstack/build/e2f9931457b14872a7fb42d9071e5f33 : SUCCESS in 1h 44m 23s\n- nova-tox-functional https://zuul.opendev.org/t/openstack/build/a83925b12b9148be9e5ca4842bc58ab8 : SUCCESS in 24m 01s\n- nova-tox-functional-py35 https://zuul.opendev.org/t/openstack/build/47151c9d04204e469bf98424f21cc9dd : SUCCESS in 21m 42s\n- neutron-grenade-multinode https://zuul.opendev.org/t/openstack/build/993c722ac86e4358a32f16564113eafa : SUCCESS in 1h 04m 38s\n- devstack-plugin-ceph-tempest https://zuul.opendev.org/t/openstack/build/8e03f4ff49f941a09d533e2e7abdf66f : FAILURE in 58m 58s (non-voting)\n- tempest-multinode-full https://zuul.opendev.org/t/openstack/build/42ced108e572437794dce936baf7bb1a : SUCCESS in 1h 20m 07s (non-voting)","accounts_in_message":[],"_revision_number":1},{"id":"9fc185e313b303fb94a5b90f88eea2d973010ce0","tag":"autogenerated:gerrit:abandon","author":{"_account_id":17685,"name":"Elod Illes","email":"elod.illes@est.tech","username":"elod.illes"},"date":"2022-11-11 18:24:12.000000000","message":"Abandoned\n\nThis branch transitioned to End of Life for this project, open patches needs to be closed to be able to delete the branch.","accounts_in_message":[],"_revision_number":1}],"current_revision_number":1,"current_revision":"aea214a6233cde55a830eda9f2b0f32debc519fb","revisions":{"aea214a6233cde55a830eda9f2b0f32debc519fb":{"kind":"REWORK","_number":1,"created":"2020-11-16 17:53:01.000000000","uploader":{"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},"ref":"refs/changes/03/762903/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/nova","ref":"refs/changes/03/762903/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/nova refs/changes/03/762903/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/nova refs/changes/03/762903/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/nova refs/changes/03/762903/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/nova refs/changes/03/762903/1"}}},"commit":{"parents":[{"commit":"1516fdd3944dc8bb655664c136bb16715b0c1df2","subject":"Merge \"[stable-only] Use a separate transaction for reading after race\" into stable/queens","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/nova/commit/1516fdd3944dc8bb655664c136bb16715b0c1df2"}]}],"author":{"name":"Matt Riedemann","email":"mriedem.os@gmail.com","date":"2019-09-20 21:07:35.000000000","tz":-240},"committer":{"name":"melanie witt","email":"melwittt@gmail.com","date":"2020-11-16 17:53:01.000000000","tz":0},"subject":"Sanity check instance mapping during scheduling","message":"Sanity check instance mapping during scheduling\n\nmnaser reported a weird case where an instance was found\nin both cell0 (deleted there) and in cell1 (not deleted\nthere but in error state from a failed build). It\u0027s unclear\nhow this could happen besides some weird clustered rabbitmq\nissue where maybe the schedule and build request to conductor\nhappens twice for the same instance and one picks a host and\ntries to build and the other fails during scheduling and is\nburied in cell0.\n\nTo avoid a split brain situation like this, we add a sanity\ncheck in _bury_in_cell0 to make sure the instance mapping is\nnot pointing at a cell when we go to update it to cell0.\nSimilarly a check is added in the schedule_and_build_instances\nflow (the code is moved to a private method to make it easier\nto test).\n\nWorst case is this is unnecessary but doesn\u0027t hurt anything,\nbest case is this helps avoid split brain clustered rabbit\nissues.\n\nCloses-Bug: #1775934\n\nChange-Id: I335113f0ec59516cb337d34b6fc9078ea202130f\n(cherry picked from commit 5b552518e1abdc63fb33c633661e30e4b2fe775e)\n(cherry picked from commit efc35b1c5293c7c6c85f8cf9fd9d8cd8de71d1d5)\n(cherry picked from commit c895d3e6bca562225d70e8f81255f38970f7fcda)\n(cherry picked from commit 9b507c21aeeab876cd6a222d68f981fc923e8504)\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/nova/commit/aea214a6233cde55a830eda9f2b0f32debc519fb"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/nova/commit/aea214a6233cde55a830eda9f2b0f32debc519fb"}]},"branch":"refs/heads/stable/queens"}},"requirements":[],"submit_records":[],"submit_requirements":[]}
