)]}'
{"id":"openstack%2Fnova~803728","triplet_id":"openstack%2Fnova~stable%2Ftrain~I92f35514efddcb071c7094370b79d91d34c5bc72","project":"openstack/nova","branch":"stable/train","topic":"bug/1937375","hashtags":[],"change_id":"I92f35514efddcb071c7094370b79d91d34c5bc72","subject":"compute: Avoid duplicate BDMs during reserve_block_device_name","status":"ABANDONED","created":"2021-08-06 10:43:55.000000000","updated":"2023-09-01 16:53:38.000000000","total_comment_count":0,"unresolved_comment_count":0,"has_review_started":true,"meta_rev_id":"a854acd274362b8b74e16a57a721191e3b2c0d93","_number":803728,"virtual_id_number":803728,"owner":{"_account_id":10135,"name":"Lee Yarwood","display_name":"Lee Yarwood","email":"lyarwood@redhat.com","username":"lyarwood"},"actions":{},"labels":{"Verified":{"disliked":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"all":[{"_account_id":29074,"name":"Felix Huettner","email":"felix.huettner@digits.schwarz","username":"felix.huettner"},{"tag":"autogenerated:zuul:check","value":-1,"date":"2021-08-06 12:45:31.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":{"recommended":{"_account_id":29074,"name":"Felix Huettner","email":"felix.huettner@digits.schwarz","username":"felix.huettner"},"all":[{"value":1,"date":"2021-08-06 14:20:09.000000000","permitted_voting_range":{"min":-1,"max":1},"_account_id":29074,"name":"Felix Huettner","email":"felix.huettner@digits.schwarz","username":"felix.huettner"},{"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":"","value":1,"default_value":0,"optional":true},"Workflow":{"all":[{"_account_id":29074,"name":"Felix Huettner","email":"felix.huettner@digits.schwarz","username":"felix.huettner"},{"_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":29074,"name":"Felix Huettner","email":"felix.huettner@digits.schwarz","username":"felix.huettner"},{"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":{"CC":[{"_account_id":10118,"name":"IBM PowerKVM CI","email":"kvmpower@linux.vnet.ibm.com","username":"powerkvm","tags":["SERVICE_USER"]}],"REVIEWER":[{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},{"_account_id":29074,"name":"Felix Huettner","email":"felix.huettner@digits.schwarz","username":"felix.huettner"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2021-08-06 10:43:55.000000000","updated_by":{"_account_id":10135,"name":"Lee Yarwood","display_name":"Lee Yarwood","email":"lyarwood@redhat.com","username":"lyarwood"},"reviewer":{"_account_id":29074,"name":"Felix Huettner","email":"felix.huettner@digits.schwarz","username":"felix.huettner"},"state":"REVIEWER"},{"updated":"2021-08-06 11:11:02.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":"2021-08-06 12:45:31.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":"cdf86a2e3b3228e014b1d9e43db0c633875e6e3c","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":10135,"name":"Lee Yarwood","display_name":"Lee Yarwood","email":"lyarwood@redhat.com","username":"lyarwood"},"date":"2021-08-06 10:43:55.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"3dcb8d8d8b2c8d02fba9d8f033d8e583179a5390","author":{"_account_id":10118,"name":"IBM PowerKVM CI","email":"kvmpower@linux.vnet.ibm.com","username":"powerkvm","tags":["SERVICE_USER"]},"date":"2021-08-06 11:11:02.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 tempest-dsvm-full-bionic-py3 : NODE_FAILURE in 0s","accounts_in_message":[],"_revision_number":1},{"id":"fc538633424536d66b07d4d978e3af31dd930472","tag":"autogenerated:zuul:check","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2021-08-06 12:45:31.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- tempest-integrated-compute https://zuul.opendev.org/t/openstack/build/5e9d9e4dc3a44a23b32dd8d3a7fba0e5 : SUCCESS in 1h 15m 09s\n- openstack-tox-cover https://zuul.opendev.org/t/openstack/build/3d9c41d372274041b4a32e067b6f1d47 : SUCCESS in 17m 19s\n- openstack-tox-lower-constraints https://zuul.opendev.org/t/openstack/build/141193236bb548e09c157a7515a9b935 : SUCCESS in 14m 45s\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/7bac4ee3025a4e558530641224810d9a : FAILURE in 11m 17s\n- openstack-tox-py27 https://zuul.opendev.org/t/openstack/build/e065be6952cf4431a8e3c6aaab3641ed : SUCCESS in 14m 04s\n- openstack-tox-py36 https://zuul.opendev.org/t/openstack/build/2dd65f317b2e422badde9582d0bc3066 : SUCCESS in 13m 00s\n- openstack-tox-py37 https://zuul.opendev.org/t/openstack/build/f738a2edc5bd4f3bbef05028d076e50b : SUCCESS in 13m 58s\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/4496a2e3ad4747cda96d70527e325735 : SUCCESS in 10m 02s\n- ironic-tempest-ipa-wholedisk-bios-agent_ipmitool-tinyipa https://zuul.opendev.org/t/openstack/build/2d7ccb3fd3ce4ca4ba51b8ecaedce6af : POST_FAILURE in 1h 12m 02s (non-voting)\n- devstack-plugin-ceph-tempest https://zuul.opendev.org/t/openstack/build/9cc925b608424d00b396eacd733da4a5 : SUCCESS in 1h 23m 11s (non-voting)\n- neutron-grenade-multinode https://zuul.opendev.org/t/openstack/build/eaa3e40a01ec45089eaaf5e83f9d20c4 : SUCCESS in 1h 02m 27s\n- nova-grenade-multinode https://zuul.opendev.org/t/openstack/build/2be1e70fbee04a80b0f1497b72ca638a : SUCCESS in 1h 13m 49s\n- nova-live-migration https://zuul.opendev.org/t/openstack/build/ac3e2f8856cf4a4a831f4e48cef6d85c : FAILURE in 1h 02m 06s\n- nova-multi-cell https://zuul.opendev.org/t/openstack/build/567b55c269ea4084b84d42067917b153 : SUCCESS in 1h 49m 17s\n- nova-next https://zuul.opendev.org/t/openstack/build/56c8b30af20e4978a2aa80a8cbdcd7aa : SUCCESS in 1h 11m 22s\n- nova-tox-functional https://zuul.opendev.org/t/openstack/build/5c9a940b67144af89e5b5ef5ba7cce6e : SUCCESS in 19m 52s\n- nova-tox-functional-py36 https://zuul.opendev.org/t/openstack/build/9216b99578404bbea2b57c606ff43e99 : SUCCESS in 18m 36s\n- tempest-slow-py3 https://zuul.opendev.org/t/openstack/build/e8c99b51e2874db7b9ab483d404f2fd8 : SUCCESS in 1h 56m 55s\n- grenade-py3 https://zuul.opendev.org/t/openstack/build/520d9c881d0d455dbfa3fdbccf8d0d89 : SUCCESS in 59m 41s\n- tempest-ipv6-only https://zuul.opendev.org/t/openstack/build/acb23d4cca334316970b520fd5fb1018 : SUCCESS in 56m 35s","accounts_in_message":[],"_revision_number":1},{"id":"78e69db04d5a6606defff03a88405982057ee134","author":{"_account_id":29074,"name":"Felix Huettner","email":"felix.huettner@digits.schwarz","username":"felix.huettner"},"date":"2021-08-06 14:20:09.000000000","message":"Patch Set 1: Code-Review+1\n\nrecheck","accounts_in_message":[],"_revision_number":1},{"id":"06814757744d2be0904bb94f3e626b7b9001b92f","tag":"autogenerated:zuul:check","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2021-08-06 16:16:09.000000000","message":"Patch Set 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- tempest-integrated-compute https://zuul.opendev.org/t/openstack/build/4164e1437f0d4b4c9c0f4f70f74d158a : SUCCESS in 1h 25m 42s\n- openstack-tox-cover https://zuul.opendev.org/t/openstack/build/da733bba1b8341ca9e08ae65eba64c2e : SUCCESS in 17m 06s\n- openstack-tox-lower-constraints https://zuul.opendev.org/t/openstack/build/e71be37d4344429a962f780fa930def8 : SUCCESS in 19m 55s\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/cf4447ef7f01495bbd8d92f7e6b2dbba : FAILURE in 10m 55s\n- openstack-tox-py27 https://zuul.opendev.org/t/openstack/build/b209af6d600c4c479a037817064277e2 : SUCCESS in 13m 40s\n- openstack-tox-py36 https://zuul.opendev.org/t/openstack/build/cb26b3c572ff4ee79a10fd2d822ac46f : SUCCESS in 12m 58s\n- openstack-tox-py37 https://zuul.opendev.org/t/openstack/build/dd97bbdae4114def9b0f7cafa5eeb3dd : SUCCESS in 14m 42s\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/6dd18125fefb43da8279bd4ffb06d2c3 : SUCCESS in 14m 40s\n- ironic-tempest-ipa-wholedisk-bios-agent_ipmitool-tinyipa https://zuul.opendev.org/t/openstack/build/a7625ffe2c2a43f5b4a0d779f42404ac : SUCCESS in 1h 08m 35s (non-voting)\n- devstack-plugin-ceph-tempest https://zuul.opendev.org/t/openstack/build/21ff0c41a6534cb1801f0b4aef1a9815 : SUCCESS in 1h 17m 27s (non-voting)\n- neutron-grenade-multinode https://zuul.opendev.org/t/openstack/build/5239b1bad8a741d1ae4f491a4d095d1f : SUCCESS in 57m 31s\n- nova-grenade-multinode https://zuul.opendev.org/t/openstack/build/a30cbf3cf07a44219e35a2e36128940f : SUCCESS in 1h 08m 31s\n- nova-live-migration https://zuul.opendev.org/t/openstack/build/eb6303c56aa0424890407433aa1f17d1 : SUCCESS in 58m 23s\n- nova-multi-cell https://zuul.opendev.org/t/openstack/build/d15794a5eaea4abcac6a912878c843a2 : FAILURE in 1h 29m 43s\n- nova-next https://zuul.opendev.org/t/openstack/build/cec6bc1748d54935b762348ee166bd47 : SUCCESS in 1h 11m 15s\n- nova-tox-functional https://zuul.opendev.org/t/openstack/build/68d0f041a30f4d4cbdde92b313d6cdd5 : SUCCESS in 21m 13s\n- nova-tox-functional-py36 https://zuul.opendev.org/t/openstack/build/45c162e7dfa94b1aabcdcd5f1bd34fcd : SUCCESS in 19m 14s\n- tempest-slow-py3 https://zuul.opendev.org/t/openstack/build/262117b4d23b44c3a9d0aff83c787bbe : SUCCESS in 1h 54m 07s\n- grenade-py3 https://zuul.opendev.org/t/openstack/build/25cae1cce1474f9094f44fce2d643914 : SUCCESS in 59m 09s\n- tempest-ipv6-only https://zuul.opendev.org/t/openstack/build/656e21ecfe324f7a806c08a0973a5386 : SUCCESS in 55m 15s","accounts_in_message":[],"_revision_number":1},{"id":"f2d090b474db3f2a2b7d3a6fc406a7c03ba99af5","author":{"_account_id":10118,"name":"IBM PowerKVM CI","email":"kvmpower@linux.vnet.ibm.com","username":"powerkvm","tags":["SERVICE_USER"]},"date":"2021-08-06 17:16:13.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/2b81173322544c4b834a0bed4ee33870 : POST_FAILURE in 1h 55m 18s","accounts_in_message":[],"_revision_number":1},{"id":"30e20d44643df51d044078147d01f51e8e717db1","tag":"autogenerated:gerrit:setTopic","author":{"_account_id":17685,"name":"Elod Illes","email":"elod.illes@est.tech","username":"elod.illes"},"date":"2022-03-02 17:04:38.000000000","message":"Topic set to bug/1937375","accounts_in_message":[],"_revision_number":1},{"id":"a854acd274362b8b74e16a57a721191e3b2c0d93","tag":"autogenerated:gerrit:abandon","author":{"_account_id":17685,"name":"Elod Illes","email":"elod.illes@est.tech","username":"elod.illes"},"date":"2023-09-01 16:53:38.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":"6ef97792387bf010b92da1e06beefc04d22ff5ff","revisions":{"6ef97792387bf010b92da1e06beefc04d22ff5ff":{"kind":"REWORK","_number":1,"created":"2021-08-06 10:43:55.000000000","uploader":{"_account_id":10135,"name":"Lee Yarwood","display_name":"Lee Yarwood","email":"lyarwood@redhat.com","username":"lyarwood"},"ref":"refs/changes/28/803728/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/nova","ref":"refs/changes/28/803728/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/nova refs/changes/28/803728/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/nova refs/changes/28/803728/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/nova refs/changes/28/803728/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/nova refs/changes/28/803728/1"}}},"commit":{"parents":[{"commit":"051a14674195e5d37b931d3b59366656801bc8a1","subject":"Add functional test for bug 1937375","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/nova/commit/051a14674195e5d37b931d3b59366656801bc8a1"}]}],"author":{"name":"Felix Huettner","email":"felix.huettner@mail.schwarz","date":"2021-07-23 08:43:32.000000000","tz":120},"committer":{"name":"Lee Yarwood","email":"lyarwood@redhat.com","date":"2021-08-06 10:43:45.000000000","tz":60},"subject":"compute: Avoid duplicate BDMs during reserve_block_device_name","message":"compute: Avoid duplicate BDMs during reserve_block_device_name\n\nWhen attaching a volume to a running instance the nova-api validates\nthat the volume is not already attached to the instance. However\nnova-compute is responsible for actually creating the BDM entry in the\ndatabase. If sending attach requests fast enough it can be possible\nthat the same \"attach_volume\" request can be sent to nova-compute for\nthe same volume/instance combination.\n\nTo work around this we add a check in nova-compute to validate that\nthe volume has not been attached in the mean time.\n\nCloses-Bug: #1937375\nChange-Id: I92f35514efddcb071c7094370b79d91d34c5bc72\n(cherry picked from commit 2209b0007fe85d7c5439e0bfdfe2120c63898fa2)\n(cherry picked from commit 2bee83b8a980b2bd9e276b75aa74253f8c0d0a70)\n(cherry picked from commit 303c7a7c35044240f1546a5f960c1a4e6482f385)\n(cherry picked from commit deefea82efd87b001acce7cf8d0fc2915062228b)\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/nova/commit/6ef97792387bf010b92da1e06beefc04d22ff5ff"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/nova/commit/6ef97792387bf010b92da1e06beefc04d22ff5ff"}]},"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":{}}}]}
