)]}'
{"id":"openstack%2Fnova~829859","triplet_id":"openstack%2Fnova~stable%2Fstein~I17f4d7d2cb129c4ec1479cc4e5d723da75d3a527","project":"openstack/nova","branch":"stable/stein","attention_set":{},"removed_from_attention_set":{"29074":{"account":{"_account_id":29074,"name":"Felix Huettner","email":"felix.huettner@digits.schwarz","username":"felix.huettner"},"last_update":"2022-02-22 09:53:19.000000000","reason":"Removed by Felix Huettner by clicking the attention icon"}},"hashtags":[],"change_id":"I17f4d7d2cb129c4ec1479cc4e5d723da75d3a527","subject":"Gracefull recovery when attaching volume fails","status":"ABANDONED","created":"2022-02-18 08:44:29.000000000","updated":"2022-11-11 18:36:09.000000000","total_comment_count":0,"unresolved_comment_count":0,"has_review_started":true,"meta_rev_id":"a639c84fd2bd0085059be914ebfd5c4a30b185d6","_number":829859,"virtual_id_number":829859,"owner":{"_account_id":29074,"name":"Felix Huettner","email":"felix.huettner@digits.schwarz","username":"felix.huettner"},"actions":{},"labels":{"Verified":{"recommended":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"all":[{"tag":"autogenerated:zuul:check","value":1,"date":"2022-02-22 09:52:00.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":{"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"]}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2022-02-18 10:36:34.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-02-18 10:49:08.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":"9c6eb23ec63beb075a4a187db5e89e70a8859faa","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":29074,"name":"Felix Huettner","email":"felix.huettner@digits.schwarz","username":"felix.huettner"},"date":"2022-02-18 08:44:29.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"c0231703501b990a30147bbf7c5f1793123eb635","author":{"_account_id":10118,"name":"IBM PowerKVM CI","email":"kvmpower@linux.vnet.ibm.com","username":"powerkvm","tags":["SERVICE_USER"]},"date":"2022-02-18 10:36:34.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/59/829859/1/check/tempest-dsvm-full-bionic-py3/ea46c6b/ : SUCCESS in 1h 48m 20s","accounts_in_message":[],"_revision_number":1},{"id":"17c95f85dd3f4d6abea31cd02c417d7b7f2194e2","tag":"autogenerated:zuul:check","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2022-02-18 10:49:08.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-full-py3 https://zuul.opendev.org/t/openstack/build/d2d4a43bfbd540e4a0ca08e231695f3c : SUCCESS in 1h 17m 32s\n- openstack-tox-cover https://zuul.opendev.org/t/openstack/build/3609506b56a74b768eb80965c65da433 : SUCCESS in 18m 24s\n- openstack-tox-lower-constraints https://zuul.opendev.org/t/openstack/build/eb71d2dcfccb4d37bdc49488ef2601a7 : SUCCESS in 16m 26s\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/0fa7d216e7424a139cca3cfb55c30672 : FAILURE in 6m 18s\n- openstack-tox-py27 https://zuul.opendev.org/t/openstack/build/9e2a20a92a8142b48058acbebe442743 : FAILURE in 6m 10s\n- openstack-tox-py35 https://zuul.opendev.org/t/openstack/build/3108224132a041ee82fb82469b0c2b58 : FAILURE in 8m 07s\n- openstack-tox-py36 https://zuul.opendev.org/t/openstack/build/c257f533ff534d7eab490e31cf45b6d3 : SUCCESS in 17m 24s\n- openstack-tox-py37 https://zuul.opendev.org/t/openstack/build/2d6fe7c69d3447dc92c56dd54cfccb75 : SUCCESS in 16m 28s\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/99685f4f41044ff98e93966b2426e7dd : SUCCESS in 7m 39s\n- build-openstack-releasenotes https://zuul.opendev.org/t/openstack/build/353121657e474d2da759f8dc24a7743b : SUCCESS in 16m 47s\n- ironic-tempest-ipa-wholedisk-bios-agent_ipmitool-tinyipa https://zuul.opendev.org/t/openstack/build/0b4a85c7589541d28d000885a68e5cee : FAILURE in 24m 21s (non-voting)\n- devstack-plugin-ceph-tempest https://zuul.opendev.org/t/openstack/build/7901bf99cc324f7d95fb5686a9522069 : FAILURE in 21m 09s (non-voting)\n- neutron-grenade-multinode https://zuul.opendev.org/t/openstack/build/9e320a063dc946c2a09f34672a626f1d : SUCCESS in 1h 04m 36s\n- nova-grenade-live-migration https://zuul.opendev.org/t/openstack/build/ce27c5eeb59a4b73ace856bd696b334f : FAILURE in 55m 24s\n- nova-live-migration https://zuul.opendev.org/t/openstack/build/eb79eaf39f944e0195f783e77eeacf40 : FAILURE in 32m 48s\n- nova-next https://zuul.opendev.org/t/openstack/build/d5cab18e2d3a4afbbca0c1986fe4f47f : SUCCESS in 1h 10m 38s\n- nova-tox-functional https://zuul.opendev.org/t/openstack/build/f1dce0b799aa4a6baf621441ee2d9ce6 : FAILURE in 6m 22s\n- nova-tox-functional-py35 https://zuul.opendev.org/t/openstack/build/6b475a8a49fe46da9307eebdf856f1e4 : FAILURE in 7m 07s\n- nova-tox-validate-backport https://zuul.opendev.org/t/openstack/build/2b7f9153c8c94de2b68b5c861cab6541 : SUCCESS in 5m 15s (non-voting)\n- tempest-multinode-full https://zuul.opendev.org/t/openstack/build/0ee111caf32941a7b0c0c99099f5b092 : FAILURE in 32m 53s (non-voting)\n- tempest-slow-py3 https://zuul.opendev.org/t/openstack/build/e46e99ffeed54c0a907d53a89111e4b4 : FAILURE in 2h 03m 11s\n- grenade-py3 https://zuul.opendev.org/t/openstack/build/6a5620b220eb40409a8873009f945fe7 : SUCCESS in 1h 06m 31s","accounts_in_message":[],"_revision_number":1},{"id":"753c413560335b41af1085af78e132e805aa1083","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":29074,"name":"Felix Huettner","email":"felix.huettner@digits.schwarz","username":"felix.huettner"},"date":"2022-02-22 08:06:17.000000000","message":"Uploaded patch set 2.","accounts_in_message":[],"_revision_number":2},{"id":"5234114d9624a6010e84bc43fc36e0e95ac491f0","tag":"autogenerated:zuul:check","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2022-02-22 09:52:00.000000000","message":"Patch Set 2: Verified+1\n\nBuild succeeded (check pipeline).\n\n- tempest-full-py3 https://zuul.opendev.org/t/openstack/build/35523229c3774ebdad00128069002890 : SUCCESS in 1h 18m 04s\n- openstack-tox-cover https://zuul.opendev.org/t/openstack/build/e1638a3561ec4274b275df7b76a35ddf : SUCCESS in 14m 53s\n- openstack-tox-lower-constraints https://zuul.opendev.org/t/openstack/build/0aed8c3605f64199abd394a09ae342c5 : SUCCESS in 13m 21s\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/a97a85dd64484fb08716c0785e82b6a4 : SUCCESS in 10m 07s\n- openstack-tox-py27 https://zuul.opendev.org/t/openstack/build/6b3b15ca08c344579e6c2d7f4b28e7e3 : SUCCESS in 12m 17s\n- openstack-tox-py35 https://zuul.opendev.org/t/openstack/build/79f9d3c4ac31448cb44236320ef78a3e : SUCCESS in 15m 09s\n- openstack-tox-py36 https://zuul.opendev.org/t/openstack/build/cff01118cd6a4b128143923e010f03e9 : SUCCESS in 12m 34s\n- openstack-tox-py37 https://zuul.opendev.org/t/openstack/build/ec868e916ea145a793a359d118c51eb9 : SUCCESS in 17m 55s\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/6cdad69a3fed4eaa96c8f37af7c0bf74 : SUCCESS in 7m 58s\n- build-openstack-releasenotes https://zuul.opendev.org/t/openstack/build/70ddb1c0140d4b129638958de46fee19 : SUCCESS in 19m 22s\n- ironic-tempest-ipa-wholedisk-bios-agent_ipmitool-tinyipa https://zuul.opendev.org/t/openstack/build/fd1bf9a2a02541be9c7143957ccfade8 : SUCCESS in 46m 28s (non-voting)\n- devstack-plugin-ceph-tempest https://zuul.opendev.org/t/openstack/build/21b3bda67e124c11b745bfbdc6182ab2 : SUCCESS in 1h 04m 55s (non-voting)\n- neutron-grenade-multinode https://zuul.opendev.org/t/openstack/build/290b8b01995d44a29ec12ebb6cc1744c : SUCCESS in 1h 08m 01s\n- nova-grenade-live-migration https://zuul.opendev.org/t/openstack/build/dd6d312d82c148079e124d5231261b0f : SUCCESS in 1h 03m 33s\n- nova-live-migration https://zuul.opendev.org/t/openstack/build/d57661eaedb64086979e2048f86fbaf5 : SUCCESS in 47m 54s\n- nova-next https://zuul.opendev.org/t/openstack/build/aaae588aee5941e9ace8e28b3ead8f3e : SUCCESS in 1h 13m 31s\n- nova-tox-functional https://zuul.opendev.org/t/openstack/build/f333bfe3384d495e9b7f8ed15fa1a591 : SUCCESS in 19m 03s\n- nova-tox-functional-py35 https://zuul.opendev.org/t/openstack/build/26f9bed31a2b4656bfaafc6e50fa4488 : SUCCESS in 23m 04s\n- nova-tox-validate-backport https://zuul.opendev.org/t/openstack/build/657464b441f54ed19d99a74cf8504c7c : SUCCESS in 5m 41s (non-voting)\n- tempest-multinode-full https://zuul.opendev.org/t/openstack/build/623765b1476d45f08709eb1a7b09d188 : SUCCESS in 1h 32m 22s (non-voting)\n- tempest-slow-py3 https://zuul.opendev.org/t/openstack/build/9fa676b344c84dee973bd4dcc6a6d90d : SUCCESS in 1h 42m 59s\n- grenade-py3 https://zuul.opendev.org/t/openstack/build/b32483dbeead4140b400b4eea7a3f8c6 : SUCCESS in 50m 23s","accounts_in_message":[],"_revision_number":2},{"id":"eb14c977abf5a81eba2040b32076f22a3774fa2d","author":{"_account_id":10118,"name":"IBM PowerKVM CI","email":"kvmpower@linux.vnet.ibm.com","username":"powerkvm","tags":["SERVICE_USER"]},"date":"2022-02-22 10:56:21.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-py3 https://oplab9.parqtec.unicamp.br/pub/ppc64el/openstack/nova/59/829859/2/check/tempest-dsvm-full-bionic-py3/35ac3a8/ : SUCCESS in 2h 21m 53s","accounts_in_message":[],"_revision_number":2},{"id":"a639c84fd2bd0085059be914ebfd5c4a30b185d6","tag":"autogenerated:gerrit:abandon","author":{"_account_id":17685,"name":"Elod Illes","email":"elod.illes@est.tech","username":"elod.illes"},"date":"2022-11-11 18:36:09.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":2}],"current_revision_number":2,"current_revision":"9425ad78a95da2d8dc5309dd32867dbc0a3d21a4","revisions":{"b9406c0a22f4ad821661a3dfc93f6b72c38e847e":{"kind":"REWORK","_number":1,"created":"2022-02-18 08:44:29.000000000","uploader":{"_account_id":29074,"name":"Felix Huettner","email":"felix.huettner@digits.schwarz","username":"felix.huettner"},"ref":"refs/changes/59/829859/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/nova","ref":"refs/changes/59/829859/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/nova refs/changes/59/829859/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/nova refs/changes/59/829859/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/nova refs/changes/59/829859/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/nova refs/changes/59/829859/1"}}},"commit":{"parents":[{"commit":"85cda94e672a9ca0f512589d543a5a6659d285ad","subject":"[stable-only] Pin virtualenv and setuptools","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/nova/commit/85cda94e672a9ca0f512589d543a5a6659d285ad"}]}],"author":{"name":"Felix Huettner","email":"felix.huettner@mail.schwarz","date":"2022-02-09 11:03:15.000000000","tz":60},"committer":{"name":"Felix Huettner","email":"felix.huettner@mail.schwarz","date":"2022-02-18 08:44:17.000000000","tz":60},"subject":"Gracefull recovery when attaching volume fails","message":"Gracefull recovery when attaching volume fails\n\nWhen trying to attach a volume to an already running instance the nova-api\nrequests the nova-compute service to create a BlockDeviceMapping. If the\nnova-api does not receive a response within `rpc_response_timeout` it will\ntreat the request as failed and raise an exception.\n\nThere are multiple cases where nova-compute actually already processed the\nrequest and just the reply did not reach the nova-api in time (see bug report).\nAfter the failed request the database will contain a BlockDeviceMapping entry\nfor the volume + instance combination that will never be cleaned up again.\nThis entry also causes the nova-api to reject all future attachments of this\nvolume to this instance (as it assumes it is already attached).\n\nTo work around this we check if a BlockDeviceMapping has already been created\nwhen we see a messaging timeout. If this is the case we can safely delete it\nas the compute node has already finished processing and we will no longer pick\nit up.\nThis allows users to try the request again.\n\nA previous fix was abandoned but without a clear reason ([1]).\n\n[1]: https://review.opendev.org/c/openstack/nova/+/731804\n\nCloses-Bug: 1960401\nChange-Id: I17f4d7d2cb129c4ec1479cc4e5d723da75d3a527\n(cherry picked from commit 9eb116b99ce32bc69c4abf8ec3b0179ef89a8860)\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/nova/commit/b9406c0a22f4ad821661a3dfc93f6b72c38e847e"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/nova/commit/b9406c0a22f4ad821661a3dfc93f6b72c38e847e"}]},"branch":"refs/heads/stable/stein"},"9425ad78a95da2d8dc5309dd32867dbc0a3d21a4":{"kind":"REWORK","_number":2,"created":"2022-02-22 08:06:17.000000000","uploader":{"_account_id":29074,"name":"Felix Huettner","email":"felix.huettner@digits.schwarz","username":"felix.huettner"},"ref":"refs/changes/59/829859/2","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/nova","ref":"refs/changes/59/829859/2","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/nova refs/changes/59/829859/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/nova refs/changes/59/829859/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/nova refs/changes/59/829859/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/nova refs/changes/59/829859/2"}}},"commit":{"parents":[{"commit":"85cda94e672a9ca0f512589d543a5a6659d285ad","subject":"[stable-only] Pin virtualenv and setuptools","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/nova/commit/85cda94e672a9ca0f512589d543a5a6659d285ad"}]}],"author":{"name":"Felix Huettner","email":"felix.huettner@mail.schwarz","date":"2022-02-09 11:03:15.000000000","tz":60},"committer":{"name":"Felix Huettner","email":"felix.huettner@mail.schwarz","date":"2022-02-22 08:06:10.000000000","tz":60},"subject":"Gracefull recovery when attaching volume fails","message":"Gracefull recovery when attaching volume fails\n\nWhen trying to attach a volume to an already running instance the nova-api\nrequests the nova-compute service to create a BlockDeviceMapping. If the\nnova-api does not receive a response within `rpc_response_timeout` it will\ntreat the request as failed and raise an exception.\n\nThere are multiple cases where nova-compute actually already processed the\nrequest and just the reply did not reach the nova-api in time (see bug report).\nAfter the failed request the database will contain a BlockDeviceMapping entry\nfor the volume + instance combination that will never be cleaned up again.\nThis entry also causes the nova-api to reject all future attachments of this\nvolume to this instance (as it assumes it is already attached).\n\nTo work around this we check if a BlockDeviceMapping has already been created\nwhen we see a messaging timeout. If this is the case we can safely delete it\nas the compute node has already finished processing and we will no longer pick\nit up.\nThis allows users to try the request again.\n\nA previous fix was abandoned but without a clear reason ([1]).\n\n[1]: https://review.opendev.org/c/openstack/nova/+/731804\n\nCloses-Bug: 1960401\nChange-Id: I17f4d7d2cb129c4ec1479cc4e5d723da75d3a527\n(cherry picked from commit 9eb116b99ce32bc69c4abf8ec3b0179ef89a8860)\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/nova/commit/9425ad78a95da2d8dc5309dd32867dbc0a3d21a4"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/nova/commit/9425ad78a95da2d8dc5309dd32867dbc0a3d21a4"}]},"branch":"refs/heads/stable/stein"}},"requirements":[],"submit_records":[],"submit_requirements":[]}
