)]}'
{"id":"openstack%2Fnova~942985","triplet_id":"openstack%2Fnova~master~Ida8127910e82566bfdc4a6ca34613546e09aec3a","project":"openstack/nova","branch":"master","hashtags":[],"change_id":"Ida8127910e82566bfdc4a6ca34613546e09aec3a","subject":"wip: Reserve volumes when doing instance resize","status":"ABANDONED","created":"2025-02-28 10:12:58.000000000","updated":"2025-03-03 10:05:18.000000000","total_comment_count":1,"unresolved_comment_count":0,"work_in_progress":true,"has_review_started":true,"meta_rev_id":"a943fa9c3742761f515820ef56b423501dfd44ed","_number":942985,"virtual_id_number":942985,"owner":{"_account_id":16137,"name":"Tobias Urdin","email":"tobias.urdin@binero.com","username":"tobasco"},"actions":{},"labels":{"Verified":{"all":[{"value":0,"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":"","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"]}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2025-02-28 11:04:04.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":"CC"},{"updated":"2025-02-28 12:36:03.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":"caf67a7eb8db3bb2112f1e5d4b04323c245196d7","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":16137,"name":"Tobias Urdin","email":"tobias.urdin@binero.com","username":"tobasco"},"date":"2025-02-28 10:12:58.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"5a814dd4b72194d30411caa8195bd7c76feb4d39","tag":"autogenerated:gerrit:setWorkInProgress","author":{"_account_id":16137,"name":"Tobias Urdin","email":"tobias.urdin@binero.com","username":"tobasco"},"date":"2025-02-28 10:15:51.000000000","message":"Set Work In Progress","accounts_in_message":[],"_revision_number":1},{"id":"7aded99655353bbc6a3afeac216f8d29037aff2c","tag":"autogenerated:zuul:check-arm64","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2025-02-28 11:04:04.000000000","message":"Patch Set 1:\n\nBuild succeeded (ARM64 pipeline).\nhttps://zuul.opendev.org/t/openstack/buildset/d22567b2482d4ed0afdfdc1837dfc969\n\n- openstack-tox-py39-arm64 https://zuul.opendev.org/t/openstack/build/440e88e60b9c4025846b0fe8a9e480ff : FAILURE in 48m 44s (non-voting)\n- openstack-tox-py312-arm64 https://zuul.opendev.org/t/openstack/build/a87d6de78edd407494b9b86c80c65983 : FAILURE in 39m 09s (non-voting)","accounts_in_message":[],"_revision_number":1},{"id":"95c4f0474dcfc2d8ef71f71bd9d3ce6320d1db24","tag":"autogenerated:zuul:check","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2025-02-28 12:36:03.000000000","message":"Patch Set 1: Verified-1\n\n(3 comments)\n\nBuild failed (check pipeline).  For information on how to proceed, see\nhttps://docs.opendev.org/opendev/infra-manual/latest/developers.html#automated-testing\nand https://docs.openstack.org/project-team-guide/testing.html#how-to-handle-test-failures\n\nhttps://zuul.opendev.org/t/openstack/buildset/3fe35ae9784647c2a537cfa5c132c86d\n\n- grenade-skip-level-always https://zuul.opendev.org/t/openstack/build/2a8063cb3b904ad09c355ced4981477f : SUCCESS in 50m 35s\n- tempest-integrated-compute https://zuul.opendev.org/t/openstack/build/03b539175cab4adfac3117692ec606b7 : FAILURE in 1h 42m 59s\n- openstacksdk-functional-devstack https://zuul.opendev.org/t/openstack/build/67ca1e33650b4b969d03ce5d7c65d170 : SUCCESS in 45m 03s\n- openstack-tox-cover https://zuul.opendev.org/t/openstack/build/11d108e9357343cb9971d6b722d6048b : FAILURE in 35m 38s\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/71d1e4ecb88d4837aabc85029e6b40de : FAILURE in 7m 27s\n- openstack-tox-py39 https://zuul.opendev.org/t/openstack/build/baa0f00294db4dd1940e00f4be56d320 : FAILURE in 12m 27s\n- openstack-tox-py312 https://zuul.opendev.org/t/openstack/build/9662c9a54e5e4380b967d0169592c430 : FAILURE in 19m 19s\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/bdb00fcb62174a4a92fa55fdd2ea2aa8 : SUCCESS in 11m 01s\n- ironic-tempest-ipa-wholedisk-bios-agent_ipmitool-tinyipa https://zuul.opendev.org/t/openstack/build/91a1d07ac05a40f6ac9b80398263218b : SUCCESS in 1h 29m 20s (non-voting)\n- nova-ceph-multistore https://zuul.opendev.org/t/openstack/build/77bb5ab4d8054ec7a476ef96a7a5f3b4 : FAILURE in 2h 00m 41s\n- nova-live-migration https://zuul.opendev.org/t/openstack/build/096c855583e8473fb827b899f69b0f5f : FAILURE in 1h 09m 41s\n- nova-live-migration-ceph https://zuul.opendev.org/t/openstack/build/068ab12a0b024163845730779736958b : FAILURE in 55m 02s\n- nova-multi-cell https://zuul.opendev.org/t/openstack/build/72e899dfc0a948db98020de722c2a8b3 : SUCCESS in 1h 46m 51s\n- nova-next https://zuul.opendev.org/t/openstack/build/10f5d48bbdc24575a3a276e5fc55922b : FAILURE in 2h 06m 33s\n- nova-ovs-hybrid-plug https://zuul.opendev.org/t/openstack/build/d0279aef0e514404a37ecb3ccdbec3db : FAILURE in 27m 08s\n- nova-tox-validate-backport https://zuul.opendev.org/t/openstack/build/56c3006eea604acdb01a7e216acdee0d : SUCCESS in 5m 00s (non-voting)\n- nova-tox-functional-py39 https://zuul.opendev.org/t/openstack/build/c8e781b32438420eb61871936b084c90 : FAILURE in 27m 47s\n- nova-tox-functional-py310 https://zuul.opendev.org/t/openstack/build/8a0fdfe6559b46289da4d2958f2bbbf2 : FAILURE in 31m 31s\n- nova-tox-functional-py312 https://zuul.opendev.org/t/openstack/build/4a90b37c79674ffc91be3d237b420f74 : FAILURE in 29m 35s\n- nova-grenade-multinode https://zuul.opendev.org/t/openstack/build/5ed81a48009f4ffcbf2865bdb5d659b8 : FAILURE in 1h 30m 13s\n- tempest-ipv6-only https://zuul.opendev.org/t/openstack/build/0056e15cf95f4c948e1960500b6a5fc9 : SUCCESS in 1h 19m 56s\n- cyborg-tempest https://zuul.opendev.org/t/openstack/build/84ec17db6a444722bb9bc68df7a6a389 : SUCCESS in 26m 18s (non-voting)\n- barbican-tempest-plugin-simple-crypto https://zuul.opendev.org/t/openstack/build/7d546011f10346de85dcf703845f4012 : SUCCESS in 29m 54s (non-voting)","accounts_in_message":[],"_revision_number":1},{"id":"cf33c545f0c33a100700676d2a4e30f215a619aa","tag":"autogenerated:gerrit:newWipPatchSet","author":{"_account_id":16137,"name":"Tobias Urdin","email":"tobias.urdin@binero.com","username":"tobasco"},"date":"2025-02-28 12:56:18.000000000","message":"Uploaded patch set 2.\n\nOutdated Votes:\n* Verified-1\n","accounts_in_message":[],"_revision_number":2},{"id":"9ce44d003b2bf0c250cc6b764fb9e6bc7665b0ca","tag":"autogenerated:zuul:check-arm64","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2025-02-28 13:27:55.000000000","message":"Patch Set 2:\n\nBuild succeeded (ARM64 pipeline).\nhttps://zuul.opendev.org/t/openstack/buildset/5140dcee1f3346ada04301e5708fb35c\n\n- openstack-tox-py39-arm64 https://zuul.opendev.org/t/openstack/build/652099689608498c9341ce7a2c0b50d3 : FAILURE in 23m 04s (non-voting)\n- openstack-tox-py312-arm64 https://zuul.opendev.org/t/openstack/build/d40a994f46e94ce596b09f88f16a8326 : FAILURE in 25m 36s (non-voting)","accounts_in_message":[],"_revision_number":2},{"id":"bca26880e9c1950963f9e910f8e72e7af4de2edb","tag":"autogenerated:gerrit:newWipPatchSet","author":{"_account_id":16137,"name":"Tobias Urdin","email":"tobias.urdin@binero.com","username":"tobasco"},"date":"2025-02-28 15:14:26.000000000","message":"Uploaded patch set 3.","accounts_in_message":[],"_revision_number":3},{"id":"10611889c179b5e356976c85d14e7521d5a69bcb","tag":"autogenerated:zuul:check-arm64","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2025-02-28 15:58:56.000000000","message":"Patch Set 3:\n\nBuild succeeded (ARM64 pipeline).\nhttps://zuul.opendev.org/t/openstack/buildset/0dad7216763240429626def0938d660e\n\n- openstack-tox-py39-arm64 https://zuul.opendev.org/t/openstack/build/c352f983cb004ec0b9eb4e7bf696e5fe : FAILURE in 41m 58s (non-voting)\n- openstack-tox-py312-arm64 https://zuul.opendev.org/t/openstack/build/a91533052959494b991b19aa61dfb6f0 : FAILURE in 38m 09s (non-voting)","accounts_in_message":[],"_revision_number":3},{"id":"b01e0a4714a4a7aa56938a3e51be3601cb5b0fbd","tag":"autogenerated:zuul:check","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2025-02-28 18:22:52.000000000","message":"Patch Set 3: Verified-1\n\n(1 comment)\n\nBuild failed (check pipeline).  For information on how to proceed, see\nhttps://docs.opendev.org/opendev/infra-manual/latest/developers.html#automated-testing\nand https://docs.openstack.org/project-team-guide/testing.html#how-to-handle-test-failures\n\nhttps://zuul.opendev.org/t/openstack/buildset/2cec574015264a08a40dcda17f383367\n\n- grenade-skip-level-always https://zuul.opendev.org/t/openstack/build/00df8c9048de4bbd8fdc0297972b4327 : SUCCESS in 1h 01m 22s\n- tempest-integrated-compute https://zuul.opendev.org/t/openstack/build/11728c760d504cb6aae08f59c8dcddc6 : FAILURE in 1h 57m 33s\n- openstacksdk-functional-devstack https://zuul.opendev.org/t/openstack/build/43ce126f27dc4ffe8223908a2df6826e : SUCCESS in 1h 06m 47s\n- openstack-tox-cover https://zuul.opendev.org/t/openstack/build/257af624019242fdb33dbee5184e2150 : FAILURE in 21m 01s\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/c318423d98ce4115a4de4199487bffdb : FAILURE in 7m 11s\n- openstack-tox-py39 https://zuul.opendev.org/t/openstack/build/dfe4192772ad4365a77f1d249f3f30ea : FAILURE in 11m 49s\n- openstack-tox-py312 https://zuul.opendev.org/t/openstack/build/3605b7652207432d9a5771b368e3637c : FAILURE in 12m 27s\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/30aa7b7785dc467aa15903249746779d : SUCCESS in 10m 03s\n- ironic-tempest-ipa-wholedisk-bios-agent_ipmitool-tinyipa https://zuul.opendev.org/t/openstack/build/e354d0b0548c4d4fbca79779b796e2c8 : SUCCESS in 1h 22m 44s (non-voting)\n- nova-ceph-multistore https://zuul.opendev.org/t/openstack/build/cf699b148faa4490947d28eb6a3ab1d7 : FAILURE in 2h 01m 10s\n- nova-live-migration https://zuul.opendev.org/t/openstack/build/3a041260d21b4c688070d079ebd75c7b : SUCCESS in 57m 01s\n- nova-live-migration-ceph https://zuul.opendev.org/t/openstack/build/69f5dc8960a6400a903a5e852b66ed82 : SUCCESS in 57m 12s\n- nova-multi-cell https://zuul.opendev.org/t/openstack/build/d4190df0c68944e9b62ba4b2694a6a55 : SUCCESS in 1h 54m 39s\n- nova-next https://zuul.opendev.org/t/openstack/build/b49d905d6be046599a2cbffa1f4d839a : FAILURE in 2h 24m 49s\n- nova-ovs-hybrid-plug https://zuul.opendev.org/t/openstack/build/25a677c1d26a4bcc93a9821a8c9393b2 : SUCCESS in 32m 25s\n- nova-tox-validate-backport https://zuul.opendev.org/t/openstack/build/0f4de453b6044dc6a7055cbaf3c824c6 : SUCCESS in 3m 26s (non-voting)\n- nova-tox-functional-py39 https://zuul.opendev.org/t/openstack/build/2ec9bdf2a86848fca11f7e93f957e071 : FAILURE in 27m 12s\n- nova-tox-functional-py310 https://zuul.opendev.org/t/openstack/build/bf4cdad4eb4f40e28bbb8c37b9f77b8a : FAILURE in 26m 42s\n- nova-tox-functional-py312 https://zuul.opendev.org/t/openstack/build/0a7768d3aaf24b409566d1067a7dc641 : FAILURE in 35m 00s\n- nova-grenade-multinode https://zuul.opendev.org/t/openstack/build/3ecf8d20b67c41a39cc440fb3a022b85 : FAILURE in 1h 22m 25s\n- tempest-ipv6-only https://zuul.opendev.org/t/openstack/build/aec7a5f102a5413d9434276d03cee206 : SUCCESS in 1h 06m 09s\n- cyborg-tempest https://zuul.opendev.org/t/openstack/build/6f9a8d5a7181417c8c838783bd31d277 : SUCCESS in 23m 38s (non-voting)\n- barbican-tempest-plugin-simple-crypto https://zuul.opendev.org/t/openstack/build/5afc452a48064926a3df9cf1f385d72c : SUCCESS in 33m 35s (non-voting)","accounts_in_message":[],"_revision_number":3},{"id":"e33557fca56250a06b8b5105e13c74b1ab2560f9","tag":"autogenerated:gerrit:newWipPatchSet","author":{"_account_id":16137,"name":"Tobias Urdin","email":"tobias.urdin@binero.com","username":"tobasco"},"date":"2025-03-03 09:04:32.000000000","message":"Uploaded patch set 4.\n\nOutdated Votes:\n* Verified-1\n","accounts_in_message":[],"_revision_number":4},{"id":"76db2d3777c295beb371fb9ee37ee5e0c14ce3c2","tag":"autogenerated:zuul:check-arm64","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2025-03-03 09:32:26.000000000","message":"Patch Set 4:\n\nBuild succeeded (ARM64 pipeline).\nhttps://zuul.opendev.org/t/openstack/buildset/c886c0f9e602453cb6be71256eb70f67\n\n- openstack-tox-py39-arm64 https://zuul.opendev.org/t/openstack/build/b7b0cd5ab2d34104819eace7e2bc2182 : SUCCESS in 21m 20s (non-voting)\n- openstack-tox-py312-arm64 https://zuul.opendev.org/t/openstack/build/b9a870ce467841fca921093219756d58 : SUCCESS in 26m 00s (non-voting)","accounts_in_message":[],"_revision_number":4},{"id":"ef758b57b872d58702119555255e44ee2fbe8120","author":{"_account_id":16137,"name":"Tobias Urdin","email":"tobias.urdin@binero.com","username":"tobasco"},"date":"2025-03-03 09:52:24.000000000","message":"Patch Set 4:\n\n(1 comment)\n\nThis change is ready for review.","accounts_in_message":[],"_revision_number":4},{"id":"4aa79ebed4662baabe84440900a76ddbe981af64","tag":"autogenerated:gerrit:setWorkInProgress","author":{"_account_id":16137,"name":"Tobias Urdin","email":"tobias.urdin@binero.com","username":"tobasco"},"date":"2025-03-03 09:52:34.000000000","message":"Set Work In Progress","accounts_in_message":[],"_revision_number":4},{"id":"a943fa9c3742761f515820ef56b423501dfd44ed","tag":"autogenerated:gerrit:abandon","author":{"_account_id":16137,"name":"Tobias Urdin","email":"tobias.urdin@binero.com","username":"tobasco"},"date":"2025-03-03 10:05:18.000000000","message":"Abandoned","accounts_in_message":[],"_revision_number":4}],"current_revision_number":4,"current_revision":"72e3632bb3e412837457854572bd16b7d31e08aa","revisions":{"760408b35221b0326346bba6cbb7a481344a39d3":{"kind":"REWORK","_number":1,"created":"2025-02-28 10:12:58.000000000","uploader":{"_account_id":16137,"name":"Tobias Urdin","email":"tobias.urdin@binero.com","username":"tobasco"},"ref":"refs/changes/85/942985/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/nova","ref":"refs/changes/85/942985/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/nova refs/changes/85/942985/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/nova refs/changes/85/942985/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/nova refs/changes/85/942985/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/nova refs/changes/85/942985/1"}}},"commit":{"parents":[{"commit":"583bd86de1d0da4af43805f0d2c6306e99a4f575","subject":"Retry more volume API functions on server error","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/nova/commit/583bd86de1d0da4af43805f0d2c6306e99a4f575"}]}],"author":{"name":"Tobias Urdin","email":"tobias.urdin@binero.com","date":"2025-02-28 09:57:10.000000000","tz":60},"committer":{"name":"Tobias Urdin","email":"tobias.urdin@binero.com","date":"2025-02-28 10:12:39.000000000","tz":60},"subject":"wip: Reserve volumes when doing instance resize","message":"wip: Reserve volumes when doing instance resize\n\nWIP: missing testing\n\nWhen we do a resize action we call attachment_create() from\nthe volume API when we call _terminate_volume_connections()\nbut a volume must be in available on in-use status when\ncalling attachment_create() or Cinder will raise a\nInvalidVolume exception that causes our resize to set\nthe instance to ERROR.\n\nA volume could have backing-up status if a volume backup\nis running and the resize would not gracefully fail but\nrequire an operation to fix the ERROR state on the instance.\n\nThis patch changes so that we try to reserve the volumes\nbefore starting the actual resize and if the reserve\nfails we do a rollback of the instance instead of setting\nit to ERROR.\n\nCloses-Bug: #2077512\nChange-Id: Ida8127910e82566bfdc4a6ca34613546e09aec3a\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/nova/commit/760408b35221b0326346bba6cbb7a481344a39d3"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/nova/commit/760408b35221b0326346bba6cbb7a481344a39d3"}]},"branch":"refs/heads/master"},"4cad8e560ea3e8c73a7f61bbca7525415c59cf2a":{"kind":"REWORK","_number":2,"created":"2025-02-28 12:56:18.000000000","uploader":{"_account_id":16137,"name":"Tobias Urdin","email":"tobias.urdin@binero.com","username":"tobasco"},"ref":"refs/changes/85/942985/2","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/nova","ref":"refs/changes/85/942985/2","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/nova refs/changes/85/942985/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/nova refs/changes/85/942985/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/nova refs/changes/85/942985/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/nova refs/changes/85/942985/2"}}},"commit":{"parents":[{"commit":"583bd86de1d0da4af43805f0d2c6306e99a4f575","subject":"Retry more volume API functions on server error","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/nova/commit/583bd86de1d0da4af43805f0d2c6306e99a4f575"}]}],"author":{"name":"Tobias Urdin","email":"tobias.urdin@binero.com","date":"2025-02-28 09:57:10.000000000","tz":60},"committer":{"name":"Tobias Urdin","email":"tobias.urdin@binero.com","date":"2025-02-28 12:55:33.000000000","tz":60},"subject":"wip: Reserve volumes when doing instance resize","message":"wip: Reserve volumes when doing instance resize\n\nWIP: missing testing\n\nWhen we do a resize action we call attachment_create() from\nthe volume API when we call _terminate_volume_connections()\nbut a volume must be in available on in-use status when\ncalling attachment_create() or Cinder will raise a\nInvalidVolume exception that causes our resize to set\nthe instance to ERROR.\n\nA volume could have backing-up status if a volume backup\nis running and the resize would not gracefully fail but\nrequire an operation to fix the ERROR state on the instance.\n\nThis patch changes so that we try to reserve the volumes\nbefore starting the actual resize and if the reserve\nfails we do a rollback of the instance instead of setting\nit to ERROR.\n\nCloses-Bug: #2077512\nChange-Id: Ida8127910e82566bfdc4a6ca34613546e09aec3a\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/nova/commit/4cad8e560ea3e8c73a7f61bbca7525415c59cf2a"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/nova/commit/4cad8e560ea3e8c73a7f61bbca7525415c59cf2a"}]},"branch":"refs/heads/master"},"67ec7cf0f14108162ad06c3c47139f76403e53c9":{"kind":"REWORK","_number":3,"created":"2025-02-28 15:14:26.000000000","uploader":{"_account_id":16137,"name":"Tobias Urdin","email":"tobias.urdin@binero.com","username":"tobasco"},"ref":"refs/changes/85/942985/3","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/nova","ref":"refs/changes/85/942985/3","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/nova refs/changes/85/942985/3 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/nova refs/changes/85/942985/3 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/nova refs/changes/85/942985/3 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/nova refs/changes/85/942985/3"}}},"commit":{"parents":[{"commit":"bf2addcf63f0977f3fc5eadc9bca0006efebd0a4","subject":"Retry more volume API functions on server error","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/nova/commit/bf2addcf63f0977f3fc5eadc9bca0006efebd0a4"}]}],"author":{"name":"Tobias Urdin","email":"tobias.urdin@binero.com","date":"2025-02-28 09:57:10.000000000","tz":60},"committer":{"name":"Tobias Urdin","email":"tobias.urdin@binero.com","date":"2025-02-28 15:14:16.000000000","tz":60},"subject":"wip: Reserve volumes when doing instance resize","message":"wip: Reserve volumes when doing instance resize\n\nWIP: missing testing\n\nWhen we do a resize action we call attachment_create() from\nthe volume API when we call _terminate_volume_connections()\nbut a volume must be in available on in-use status when\ncalling attachment_create() or Cinder will raise a\nInvalidVolume exception that causes our resize to set\nthe instance to ERROR.\n\nA volume could have backing-up status if a volume backup\nis running and the resize would not gracefully fail but\nrequire an operation to fix the ERROR state on the instance.\n\nThis patch changes so that we try to reserve the volumes\nbefore starting the actual resize and if the reserve\nfails we do a rollback of the instance instead of setting\nit to ERROR.\n\nCloses-Bug: #2077512\nChange-Id: Ida8127910e82566bfdc4a6ca34613546e09aec3a\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/nova/commit/67ec7cf0f14108162ad06c3c47139f76403e53c9"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/nova/commit/67ec7cf0f14108162ad06c3c47139f76403e53c9"}]},"branch":"refs/heads/master"},"72e3632bb3e412837457854572bd16b7d31e08aa":{"kind":"REWORK","_number":4,"created":"2025-03-03 09:04:32.000000000","uploader":{"_account_id":16137,"name":"Tobias Urdin","email":"tobias.urdin@binero.com","username":"tobasco"},"ref":"refs/changes/85/942985/4","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/nova","ref":"refs/changes/85/942985/4","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/nova refs/changes/85/942985/4 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/nova refs/changes/85/942985/4 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/nova refs/changes/85/942985/4 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/nova refs/changes/85/942985/4"}}},"commit":{"parents":[{"commit":"bf2addcf63f0977f3fc5eadc9bca0006efebd0a4","subject":"Retry more volume API functions on server error","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/nova/commit/bf2addcf63f0977f3fc5eadc9bca0006efebd0a4"}]}],"author":{"name":"Tobias Urdin","email":"tobias.urdin@binero.com","date":"2025-02-28 09:57:10.000000000","tz":60},"committer":{"name":"Tobias Urdin","email":"tobias.urdin@binero.com","date":"2025-03-03 09:04:04.000000000","tz":60},"subject":"wip: Reserve volumes when doing instance resize","message":"wip: Reserve volumes when doing instance resize\n\nWIP: missing testing\n\nWhen we do a resize action we call attachment_create() from\nthe volume API when we call _terminate_volume_connections()\nbut a volume must be in available on in-use status when\ncalling attachment_create() or Cinder will raise a\nInvalidVolume exception that causes our resize to set\nthe instance to ERROR.\n\nA volume could have backing-up status if a volume backup\nis running and the resize would not gracefully fail but\nrequire an operation to fix the ERROR state on the instance.\n\nThis patch changes so that we try to reserve the volumes\nbefore starting the actual resize and if the reserve\nfails we do a rollback of the instance instead of setting\nit to ERROR.\n\nCloses-Bug: #2077512\nChange-Id: Ida8127910e82566bfdc4a6ca34613546e09aec3a\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/nova/commit/72e3632bb3e412837457854572bd16b7d31e08aa"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/nova/commit/72e3632bb3e412837457854572bd16b7d31e08aa"}]},"branch":"refs/heads/master"}},"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":{}}}]}
