)]}'
{"id":"openstack%2Fnova~783656","triplet_id":"openstack%2Fnova~stable%2Fussuri~I2881d77d52bcbde9f3ac6a6ddfb4a22a9bd45c8a","project":"openstack/nova","branch":"stable/ussuri","topic":"bug/1908075","attention_set":{},"removed_from_attention_set":{"10135":{"account":{"_account_id":10135,"name":"Lee Yarwood","display_name":"Lee Yarwood","email":"lyarwood@redhat.com","username":"lyarwood"},"last_update":"2024-02-07 12:52:26.000000000","reason":"Change was abandoned"}},"hashtags":[],"change_id":"I2881d77d52bcbde9f3ac6a6ddfb4a22a9bd45c8a","subject":"api: Reject volume attach requests when an active bdm exists","status":"ABANDONED","created":"2021-03-29 14:10:10.000000000","updated":"2024-02-07 12:52:26.000000000","total_comment_count":0,"unresolved_comment_count":0,"has_review_started":true,"meta_rev_id":"5956fe2c745e8504223969cd759f7e7239dd513e","_number":783656,"virtual_id_number":783656,"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":[{"tag":"autogenerated:zuul:check","value":-1,"date":"2021-04-12 12:14:53.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":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":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":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":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}],"CC":[{"_account_id":10118,"name":"IBM PowerKVM CI","email":"kvmpower@linux.vnet.ibm.com","username":"powerkvm","tags":["SERVICE_USER"]},{"_account_id":17685,"name":"Elod Illes","email":"elod.illes@est.tech","username":"elod.illes"},{"_account_id":26515,"name":"Cloudbase Nova Hyper-V CI","email":"nova_hyperv_ci@cloudbasesolutions.com","username":"nova_hyperv_ci"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2021-03-29 15:58:51.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":"2021-03-29 20:23:17.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-04-12 10:17:55.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":"CC"},{"updated":"2024-02-07 12:52:26.000000000","updated_by":{"_account_id":17685,"name":"Elod Illes","email":"elod.illes@est.tech","username":"elod.illes"},"reviewer":{"_account_id":17685,"name":"Elod Illes","email":"elod.illes@est.tech","username":"elod.illes"},"state":"CC"}],"messages":[{"id":"60b708217f8462bce8515abf7c207092ba51ad81","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":10135,"name":"Lee Yarwood","display_name":"Lee Yarwood","email":"lyarwood@redhat.com","username":"lyarwood"},"date":"2021-03-29 14:10:10.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"f6494f96bbf64d639c2daecad51c7476356aee59","tag":"autogenerated:zuul:check","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2021-03-29 15:58:51.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/784a08ab3126410fa75b9bdc755711e6 : SUCCESS in 1h 36m 14s\n- openstack-tox-cover https://zuul.opendev.org/t/openstack/build/8d0432ab6ad648d6be7a6e04c12d57c9 : SUCCESS in 18m 39s\n- openstack-tox-lower-constraints https://zuul.opendev.org/t/openstack/build/4389c6fdb7ad4110aa8c2780153d1ca0 : SUCCESS in 16m 16s\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/20ccddfe118e485b87d600b232e4fe84 : FAILURE in 8m 46s\n- openstack-tox-py36 https://zuul.opendev.org/t/openstack/build/d15c8ac7441248e8ba2951c8d8f0cebc : SUCCESS in 13m 45s\n- openstack-tox-py37 https://zuul.opendev.org/t/openstack/build/c4f526e745a1493e92a37cbc6de544a3 : SUCCESS in 19m 28s\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/666a6de345594d6488db5efebd869df3 : SUCCESS in 12m 42s\n- ironic-tempest-ipa-wholedisk-bios-agent_ipmitool-tinyipa https://zuul.opendev.org/t/openstack/build/8bf9fdac5d49498e9623f13febcb1c57 : SUCCESS in 1h 00m 26s (non-voting)\n- devstack-plugin-ceph-tempest-py3 https://zuul.opendev.org/t/openstack/build/0a3c401afc0e48a0b58a4545b3d64d00 : SUCCESS in 1h 25m 18s (non-voting)\n- nova-grenade-multinode https://zuul.opendev.org/t/openstack/build/956c189a4c1e4c80987155b69c540105 : SUCCESS in 1h 35m 50s\n- nova-live-migration https://zuul.opendev.org/t/openstack/build/622fefe4f05048fe911d295dad3fe7c1 : SUCCESS in 45m 39s\n- nova-multi-cell https://zuul.opendev.org/t/openstack/build/470c576b562d468393ffda5344b23d3e : SUCCESS in 1h 35m 55s\n- nova-next https://zuul.opendev.org/t/openstack/build/8547b62e798e43d695b11649517631eb : SUCCESS in 1h 21m 21s\n- nova-tox-functional-py36 https://zuul.opendev.org/t/openstack/build/1fd76aacdb144954a9fff44ea316648e : FAILURE in 22m 17s\n- grenade https://zuul.opendev.org/t/openstack/build/8712d5375204467fa498b8c81d53fdd9 : SUCCESS in 1h 01m 29s\n- tempest-ipv6-only https://zuul.opendev.org/t/openstack/build/e0adf445bf124893b8e351f2e61f5984 : SUCCESS in 57m 12s\n- openstacksdk-functional-devstack https://zuul.opendev.org/t/openstack/build/bd4fd965da584aef934f3c21461ee44c : SUCCESS in 47m 29s\n- cyborg-tempest https://zuul.opendev.org/t/openstack/build/38c728af2ad94fa1830a435d05c1c27c : FAILURE in 29m 12s (non-voting)","accounts_in_message":[],"_revision_number":1},{"id":"a21b357d73f23ba2cea32ec637e2103d866df6e8","author":{"_account_id":10118,"name":"IBM PowerKVM CI","email":"kvmpower@linux.vnet.ibm.com","username":"powerkvm","tags":["SERVICE_USER"]},"date":"2021-03-29 20:23:17.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 https://oplab9.parqtec.unicamp.br/pub/ppc64el/openstack/nova/56/783656/1/check/tempest-dsvm-full-bionic/faaff8c/ : FAILURE in 1h 17m 22s\n- tempest-dsvm-full-bionic-py3 https://oplab9.parqtec.unicamp.br/pub/ppc64el/openstack/nova/56/783656/1/check/tempest-dsvm-full-bionic-py3/a57a633/ : FAILURE in 1h 26m 11s","accounts_in_message":[],"_revision_number":1},{"id":"586f04febe5b45408eaadc4b67613c8484e42e75","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":10135,"name":"Lee Yarwood","display_name":"Lee Yarwood","email":"lyarwood@redhat.com","username":"lyarwood"},"date":"2021-04-12 10:05:37.000000000","message":"Uploaded patch set 2.","accounts_in_message":[],"_revision_number":2},{"id":"babe5fcddffe8bf8f23d8b342365b5d776d6dc74","author":{"_account_id":26515,"name":"Cloudbase Nova Hyper-V CI","email":"nova_hyperv_ci@cloudbasesolutions.com","username":"nova_hyperv_ci"},"date":"2021-04-12 10:17:55.000000000","message":"Patch Set 2:\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/783656/2/iscsi : FAILURE in 10m 03s","accounts_in_message":[],"_revision_number":2},{"id":"bcca22d61a0ba53d454a58b6e8d763fe2f7bd2cf","author":{"_account_id":10118,"name":"IBM PowerKVM CI","email":"kvmpower@linux.vnet.ibm.com","username":"powerkvm","tags":["SERVICE_USER"]},"date":"2021-04-12 12:08:28.000000000","message":"Patch Set 2:\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 https://oplab9.parqtec.unicamp.br/pub/ppc64el/openstack/nova/56/783656/2/check/tempest-dsvm-full-bionic/835a4fc/ : SUCCESS in 1h 48m 07s\n- tempest-dsvm-full-bionic-py3 https://oplab9.parqtec.unicamp.br/pub/ppc64el/openstack/nova/56/783656/2/check/tempest-dsvm-full-bionic-py3/4eb3226/ : SUCCESS in 1h 50m 52s","accounts_in_message":[],"_revision_number":2},{"id":"7935454f78cfc9814d9a75ee5b706181e563dabe","tag":"autogenerated:zuul:check","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2021-04-12 12:14:53.000000000","message":"Patch Set 2: 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/dc9cbd5626104c6b80ff30c6e7e115ab : SUCCESS in 1h 19m 13s\n- openstack-tox-cover https://zuul.opendev.org/t/openstack/build/bf93c0e2c41a4b278b76d586a5145dad : SUCCESS in 18m 59s\n- openstack-tox-lower-constraints https://zuul.opendev.org/t/openstack/build/9e0afd1452c843eaa8e1024046cc4396 : SUCCESS in 14m 36s\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/d39394177a8846118fb9502cf61b995d : FAILURE in 8m 19s\n- openstack-tox-py36 https://zuul.opendev.org/t/openstack/build/05971d8f6e8a4ec087e7a8c54fab68d2 : SUCCESS in 13m 09s\n- openstack-tox-py37 https://zuul.opendev.org/t/openstack/build/71d899eada4e46b9a12159b83a3338b9 : SUCCESS in 14m 39s\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/658facfd50f546f49dd0adcfd13a783f : SUCCESS in 11m 50s\n- ironic-tempest-ipa-wholedisk-bios-agent_ipmitool-tinyipa https://zuul.opendev.org/t/openstack/build/2f8547c2ea1a439db2be35737e7ea373 : SUCCESS in 1h 10m 56s (non-voting)\n- devstack-plugin-ceph-tempest-py3 https://zuul.opendev.org/t/openstack/build/8c6acade53ab4642b48bf1e4f59585e0 : SUCCESS in 1h 29m 22s (non-voting)\n- nova-grenade-multinode https://zuul.opendev.org/t/openstack/build/f4dbdf13aa084cc9a8d5a8a69d2c6c00 : SUCCESS in 1h 25m 53s\n- nova-live-migration https://zuul.opendev.org/t/openstack/build/4aac8f15f1134dfa8142467663b48717 : SUCCESS in 51m 49s\n- nova-multi-cell https://zuul.opendev.org/t/openstack/build/090710bf2004457893401ec9ce69228a : SUCCESS in 1h 35m 25s\n- nova-next https://zuul.opendev.org/t/openstack/build/f02206ecc77e49828e4803bb151ba7a7 : SUCCESS in 2h 01m 21s\n- nova-tox-functional-py36 https://zuul.opendev.org/t/openstack/build/af97127b4c2c4d91b1fed14ae171ec71 : SUCCESS in 19m 24s\n- grenade https://zuul.opendev.org/t/openstack/build/1541da010e8d4ec187923ff0fdc813bd : SUCCESS in 54m 29s\n- tempest-ipv6-only https://zuul.opendev.org/t/openstack/build/9ac2b9e17814458a859875d3456fae01 : SUCCESS in 51m 13s\n- openstacksdk-functional-devstack https://zuul.opendev.org/t/openstack/build/45e3c31b2cea41b1af62f018737435a6 : SUCCESS in 49m 18s\n- cyborg-tempest https://zuul.opendev.org/t/openstack/build/98dc0c3fb3d540a4aa53b5d31a90d5e6 : FAILURE in 24m 38s (non-voting)","accounts_in_message":[],"_revision_number":2},{"id":"c0826e198e2c05cf604012f9f27390aca2fb3d56","tag":"autogenerated:gerrit:setTopic","author":{"_account_id":17685,"name":"Elod Illes","email":"elod.illes@est.tech","username":"elod.illes"},"date":"2021-08-31 15:23:04.000000000","message":"Topic set to bug/1908075","accounts_in_message":[],"_revision_number":2},{"id":"4d78f68b9353a4047b33043a82de1379cf49913f","author":{"_account_id":10135,"name":"Lee Yarwood","display_name":"Lee Yarwood","email":"lyarwood@redhat.com","username":"lyarwood"},"date":"2021-09-06 12:34:47.000000000","message":"Patch Set 2:\n\nrecheck","accounts_in_message":[],"_revision_number":2},{"id":"0ec1152b43272b73f2c8d08fe91d367c7cd6b6b4","tag":"autogenerated:zuul:check","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2021-09-06 14:17:55.000000000","message":"Patch Set 2:\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/cc3ca3101cb64998a16d86c5894f0689 : SUCCESS in 1h 19m 44s\n- openstack-tox-cover https://zuul.opendev.org/t/openstack/build/8e9733364d0e4f55a5e95dafc02a1f74 : SUCCESS in 16m 58s\n- openstack-tox-lower-constraints https://zuul.opendev.org/t/openstack/build/1b1345a92ac74fc798aeb1ea139c537d : SUCCESS in 15m 28s\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/1c4f469fd00d4d27b080b058d929f147 : SUCCESS in 8m 04s\n- openstack-tox-py36 https://zuul.opendev.org/t/openstack/build/edcb5ed8e5b74a269586f3e8b4aad774 : SUCCESS in 13m 43s\n- openstack-tox-py37 https://zuul.opendev.org/t/openstack/build/4dd99f338b154e3cbc4019611f18b69a : SUCCESS in 17m 44s\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/e3a1680366844b7fae8af9f6bcfb7e34 : SUCCESS in 12m 47s\n- ironic-tempest-ipa-wholedisk-bios-agent_ipmitool-tinyipa https://zuul.opendev.org/t/openstack/build/db6032b3cdab4414b1fbe7d2fb82fe89 : SUCCESS in 56m 33s (non-voting)\n- devstack-plugin-ceph-tempest-py3 https://zuul.opendev.org/t/openstack/build/e1e6d2299c9a4665b90da2962c5d07a0 : SUCCESS in 1h 08m 32s (non-voting)\n- nova-live-migration https://zuul.opendev.org/t/openstack/build/285695449109467fa8fd1f5baa3b6ffa : FAILURE in 48m 55s\n- nova-multi-cell https://zuul.opendev.org/t/openstack/build/6f13e554c7c0490e903f0c211bfa9a77 : SUCCESS in 1h 40m 26s\n- nova-next https://zuul.opendev.org/t/openstack/build/36f6c9e32dc04144bbec449a0458978e : SUCCESS in 1h 29m 12s\n- nova-tox-functional-py36 https://zuul.opendev.org/t/openstack/build/7ac30b625d114c7e9c750deec50fa934 : SUCCESS in 19m 15s\n- nova-tox-validate-backport https://zuul.opendev.org/t/openstack/build/358e94ac04894b5f8a0c83b438344257 : FAILURE in 6m 18s (non-voting)\n- nova-grenade-multinode https://zuul.opendev.org/t/openstack/build/274ce73073ca4d99b68506688a83e099 : SUCCESS in 1h 18m 42s\n- tempest-ipv6-only https://zuul.opendev.org/t/openstack/build/2d3e4794b00a4b53ae7e6b12a5df6e9d : SUCCESS in 43m 41s\n- openstacksdk-functional-devstack https://zuul.opendev.org/t/openstack/build/21e8eadaf73145148104ec4686c69bb0 : SUCCESS in 57m 28s\n- cyborg-tempest https://zuul.opendev.org/t/openstack/build/371469adc7ae4980856f83807b9b380e : SUCCESS in 34m 34s (non-voting)","accounts_in_message":[],"_revision_number":2},{"id":"85b8e9acb7e66f27f8fc6e79e836e4a07828b049","tag":"autogenerated:cloudbase-ci","author":{"_account_id":26515,"name":"Cloudbase Nova Hyper-V CI","email":"nova_hyperv_ci@cloudbasesolutions.com","username":"nova_hyperv_ci"},"date":"2021-09-06 15:13:26.000000000","message":"Patch Set 2:\n\nBuild succeeded. For checking Nova with Ceph, add a comment with run-Cloudbase Nova Ceph Hyper-V CI\n\n- nova http://cloudbase-ci.com/nova/783656/2/iscsi : SUCCESS in 2h 36m 11s","accounts_in_message":[],"_revision_number":2},{"id":"aeaf8c59190141d629fe05091e4fd669dc519004","author":{"_account_id":10118,"name":"IBM PowerKVM CI","email":"kvmpower@linux.vnet.ibm.com","username":"powerkvm","tags":["SERVICE_USER"]},"date":"2021-09-06 15:48:43.000000000","message":"Patch Set 2:\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 https://oplab9.parqtec.unicamp.br/pub/ppc64el/openstack/nova/56/783656/2/check/tempest-dsvm-full-bionic/01185c5/ : SUCCESS in 1h 56m 54s\n- tempest-dsvm-full-bionic-py3 https://oplab9.parqtec.unicamp.br/pub/ppc64el/openstack/nova/56/783656/2/check/tempest-dsvm-full-bionic-py3/73e3547/ : SUCCESS in 1h 58m 28s","accounts_in_message":[],"_revision_number":2},{"id":"5956fe2c745e8504223969cd759f7e7239dd513e","tag":"autogenerated:gerrit:abandon","author":{"_account_id":17685,"name":"Elod Illes","email":"elod.illes@est.tech","username":"elod.illes"},"date":"2024-02-07 12:52:26.000000000","message":"Abandoned\n\nstable/ussuri branch of openstack/nova transitioned to End of Life and is about to be deleted. To be able to do that, all open patches need to be abandoned.","accounts_in_message":[],"_revision_number":2}],"current_revision_number":2,"current_revision":"140e3564a3aea5e378c79c930ce7f36292f39e3a","revisions":{"3252399fc742994c37a6f9948a01c46cf59c5a2e":{"kind":"REWORK","_number":1,"created":"2021-03-29 14:10:10.000000000","uploader":{"_account_id":10135,"name":"Lee Yarwood","display_name":"Lee Yarwood","email":"lyarwood@redhat.com","username":"lyarwood"},"ref":"refs/changes/56/783656/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/nova","ref":"refs/changes/56/783656/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/nova refs/changes/56/783656/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/nova refs/changes/56/783656/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/nova refs/changes/56/783656/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/nova refs/changes/56/783656/1"}}},"commit":{"parents":[{"commit":"19fb58ff1a0586bba8f18d4d0576fba0c52e0d91","subject":"Add regression test for bug #1908075","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/nova/commit/19fb58ff1a0586bba8f18d4d0576fba0c52e0d91"}]}],"author":{"name":"Lee Yarwood","email":"lyarwood@redhat.com","date":"2020-12-24 11:50:43.000000000","tz":0},"committer":{"name":"Lee Yarwood","email":"lyarwood@redhat.com","date":"2021-03-29 14:09:48.000000000","tz":60},"subject":"api: Reject volume attach requests when an active bdm exists","message":"api: Reject volume attach requests when an active bdm exists\n\nWhen attaching volumes to instances Nova has previously relied on checks\ncarried out by c-api to ensure that a single non-multiattach volume is\nnot attached to multiple instances at once. While this works well in\nmost cases it does not handle PEBKAC issues when admins reset the state\nof a volume to available, allowing users to request that Nova attach the\nvolume to another instance.\n\nThis change aims to address this by including a simple check in the\nattach flow for non-multiattach volumes ensuring that there are no\nexisting active block device mapping records for the volume already\npresent within Nova.\n\nCloses-Bug: #1908075\nChange-Id: I2881d77d52bcbde9f3ac6a6ddfb4a22a9bd45c8a\n(cherry picked from commit 1252588d4e48da1d3a753639a8a4d937acf3e037)\n(cherry picked from commit 75cdbdd9c64353e8b73c36b184ea2140f0a4861d)\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/nova/commit/3252399fc742994c37a6f9948a01c46cf59c5a2e"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/nova/commit/3252399fc742994c37a6f9948a01c46cf59c5a2e"}]},"branch":"refs/heads/stable/ussuri"},"140e3564a3aea5e378c79c930ce7f36292f39e3a":{"kind":"REWORK","_number":2,"created":"2021-04-12 10:05:37.000000000","uploader":{"_account_id":10135,"name":"Lee Yarwood","display_name":"Lee Yarwood","email":"lyarwood@redhat.com","username":"lyarwood"},"ref":"refs/changes/56/783656/2","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/nova","ref":"refs/changes/56/783656/2","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/nova refs/changes/56/783656/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/nova refs/changes/56/783656/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/nova refs/changes/56/783656/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/nova refs/changes/56/783656/2"}}},"commit":{"parents":[{"commit":"92ee874947f745508bcd4636fc3f9551bde28b9e","subject":"Add regression test for bug #1908075","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/nova/commit/92ee874947f745508bcd4636fc3f9551bde28b9e"}]}],"author":{"name":"Lee Yarwood","email":"lyarwood@redhat.com","date":"2020-12-24 11:50:43.000000000","tz":0},"committer":{"name":"Lee Yarwood","email":"lyarwood@redhat.com","date":"2021-04-12 10:05:12.000000000","tz":60},"subject":"api: Reject volume attach requests when an active bdm exists","message":"api: Reject volume attach requests when an active bdm exists\n\nWhen attaching volumes to instances Nova has previously relied on checks\ncarried out by c-api to ensure that a single non-multiattach volume is\nnot attached to multiple instances at once. While this works well in\nmost cases it does not handle PEBKAC issues when admins reset the state\nof a volume to available, allowing users to request that Nova attach the\nvolume to another instance.\n\nThis change aims to address this by including a simple check in the\nattach flow for non-multiattach volumes ensuring that there are no\nexisting active block device mapping records for the volume already\npresent within Nova.\n\nCloses-Bug: #1908075\nChange-Id: I2881d77d52bcbde9f3ac6a6ddfb4a22a9bd45c8a\n(cherry picked from commit 1252588d4e48da1d3a753639a8a4d937acf3e037)\n(cherry picked from commit 75cdbdd9c64353e8b73c36b184ea2140f0a4861d)\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/nova/commit/140e3564a3aea5e378c79c930ce7f36292f39e3a"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/nova/commit/140e3564a3aea5e378c79c930ce7f36292f39e3a"}]},"branch":"refs/heads/stable/ussuri"}},"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":{}}}]}
