)]}'
{"id":"openstack%2Fnova~991295","triplet_id":"openstack%2Fnova~master~I7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5e6f","project":"openstack/nova","branch":"master","topic":"bug/2120927","attention_set":{"16207":{"account":{"_account_id":16207,"name":"ribaudr","display_name":"uggla","email":"rene.ribaud@gmail.com","username":"uggla","status":"Red Hat"},"last_update":"2026-06-03 11:31:36.000000000","reason":"Someone else replied on the change"}},"removed_from_attention_set":{},"hashtags":[],"change_id":"I7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5e6f","subject":"Fix shelve-offload/unshelve race wiping instance host","status":"NEW","created":"2026-06-03 09:17:02.000000000","updated":"2026-06-03 13:26:03.000000000","submit_type":"MERGE_IF_NECESSARY","mergeable":true,"submittable":false,"total_comment_count":0,"unresolved_comment_count":0,"has_review_started":true,"meta_rev_id":"0d59ebe13fcb16441186bd9966902427e25a09dd","_number":991295,"virtual_id_number":991295,"owner":{"_account_id":16207,"name":"ribaudr","display_name":"uggla","email":"rene.ribaud@gmail.com","username":"uggla","status":"Red Hat"},"actions":{},"labels":{"Verified":{"recommended":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"all":[{"tag":"autogenerated:zuul:check","value":1,"date":"2026-06-03 11:29:44.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":14384,"name":"Quobyte CI","email":"openstack-ci-external@quobyte.com","username":"quobyteci","tags":["SERVICE_USER"]},{"_account_id":34420,"name":"openstack lightbits","display_name":"Lightbits CI","email":"openstack@lightbitslabs.com","username":"openstack_lightbits"}],"REVIEWER":[{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2026-06-03 10:14:24.000000000","updated_by":{"_account_id":14384,"name":"Quobyte CI","email":"openstack-ci-external@quobyte.com","username":"quobyteci","tags":["SERVICE_USER"]},"reviewer":{"_account_id":14384,"name":"Quobyte CI","email":"openstack-ci-external@quobyte.com","username":"quobyteci","tags":["SERVICE_USER"]},"state":"CC"},{"updated":"2026-06-03 11:29:44.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":"2026-06-03 11:31:36.000000000","updated_by":{"_account_id":34420,"name":"openstack lightbits","display_name":"Lightbits CI","email":"openstack@lightbitslabs.com","username":"openstack_lightbits"},"reviewer":{"_account_id":34420,"name":"openstack lightbits","display_name":"Lightbits CI","email":"openstack@lightbitslabs.com","username":"openstack_lightbits"},"state":"CC"}],"messages":[{"id":"133b9d7050f93946c820ba61e917ac63c5384616","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":16207,"name":"ribaudr","display_name":"uggla","email":"rene.ribaud@gmail.com","username":"uggla","status":"Red Hat"},"date":"2026-06-03 09:17:02.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"0dea6854a3057999ef7580c9e1b4be53d1fd2d69","author":{"_account_id":14384,"name":"Quobyte CI","email":"openstack-ci-external@quobyte.com","username":"quobyteci","tags":["SERVICE_USER"]},"date":"2026-06-03 10:14:24.000000000","message":"Patch Set 1:\n\nBuild Successful \n\n* quobyteci:  nova_quobyteci : SUCCESS, logs at: https://oscilogs.quobyte.com/logs/I7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5e6f .","accounts_in_message":[],"_revision_number":1},{"id":"61457d3661069b6db81fabd688460380a4d9ae57","tag":"autogenerated:zuul:check","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2026-06-03 11:29:44.000000000","message":"Patch Set 1: Verified+1\n\nBuild succeeded (check pipeline).\nhttps://zuul.opendev.org/t/openstack/buildset/b30d5f845e2f4ae6ab2466f7ab92c9da\n\n- grenade-skip-level-always https://zuul.opendev.org/t/openstack/build/76b1bb858c8240eab95de039a30fe743 : SUCCESS in 1h 05m 19s\n- tempest-integrated-compute https://zuul.opendev.org/t/openstack/build/b3dbab80e0a64341a4c87873078ac5b3 : SUCCESS in 1h 59m 11s\n- openstacksdk-functional-devstack https://zuul.opendev.org/t/openstack/build/d20ea289823a431f83bcb7a1686f5ef2 : SUCCESS in 1h 05m 42s\n- openstack-tox-cover https://zuul.opendev.org/t/openstack/build/65e2a197d80846269a2153720ec6b6ac : SUCCESS in 1h 02m 13s\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/77973519f8a8446781487424733ff2bd : SUCCESS in 8m 23s\n- openstack-tox-py311 https://zuul.opendev.org/t/openstack/build/bc2db05cff0041bbbf5519e7728c2929 : SUCCESS in 14m 59s\n- openstack-tox-py313 https://zuul.opendev.org/t/openstack/build/a6042590137048b98bfc3729c4bdc0e0 : SUCCESS in 14m 34s\n- openstack-tox-py314 https://zuul.opendev.org/t/openstack/build/cd540933ff4747838236cddb3ffa95f8 : SUCCESS in 18m 09s (non-voting)\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/d9e7cc800bd1458da4d3ecfe0344187e : SUCCESS in 6m 40s\n- build-openstack-releasenotes https://zuul.opendev.org/t/openstack/build/a4b003e3db7043d085dd8f4bc48ec85d : SUCCESS in 20m 06s\n- ironic-tempest-bios-ipmi-autodetect https://zuul.opendev.org/t/openstack/build/ec63a27b100d474b8e94e1caa276088e : SUCCESS in 1h 06m 20s (non-voting)\n- nova-ceph-multistore https://zuul.opendev.org/t/openstack/build/421c7d2a91c24ae3b7bf76ffab3a5afd : SUCCESS in 1h 53m 47s\n- nova-live-migration https://zuul.opendev.org/t/openstack/build/a42860d9a301494ba9b60fe1a0fc95fd : SUCCESS in 32m 11s\n- nova-vtpm https://zuul.opendev.org/t/openstack/build/c546142e59b746bbab176c5af57e72d7 : SUCCESS in 36m 32s\n- nova-graceful-shutdown https://zuul.opendev.org/t/openstack/build/99f1aab710c642d68b8fb3b4ec53c964 : SUCCESS in 1h 05m 28s\n- nova-live-migration-ceph https://zuul.opendev.org/t/openstack/build/c48cf17b7c7b4040a6d829eb3a78c446 : SUCCESS in 56m 48s\n- nova-multi-cell https://zuul.opendev.org/t/openstack/build/50771eab447143bba78fe0c73971ccba : SUCCESS in 1h 48m 39s\n- nova-next https://zuul.opendev.org/t/openstack/build/6f0e129a404f4eabbbb43312dc44f6f9 : SUCCESS in 1h 17m 29s\n- nova-alt-configurations https://zuul.opendev.org/t/openstack/build/13d95a5e24b549409a6bdf15d17799a0 : SUCCESS in 1h 42m 19s\n- nova-tox-validate-backport https://zuul.opendev.org/t/openstack/build/0b0ec80e59ae45d6a07b6e6c96ebc820 : SUCCESS in 3m 55s (non-voting)\n- nova-tox-functional-py311 https://zuul.opendev.org/t/openstack/build/89c0914a63714d529a809b9de3403ccb : SUCCESS in 26m 51s\n- nova-tox-functional-py313 https://zuul.opendev.org/t/openstack/build/637e703d1c954191a3bd8ce57c7c3b59 : SUCCESS in 27m 49s\n- nova-tox-functional-py313-threading https://zuul.opendev.org/t/openstack/build/dd99dfdcb6fd404ea26df0e306c1c323 : TIMED_OUT in 2h 01m 08s (non-voting)\n- nova-grenade-multinode https://zuul.opendev.org/t/openstack/build/7c544b13e0b84e32821acc09da499663 : SUCCESS in 1h 30m 59s\n- tempest-ipv6-only https://zuul.opendev.org/t/openstack/build/5d953b1b50c241ec9f3c497a84919d21 : SUCCESS in 54m 06s\n- cyborg-tempest https://zuul.opendev.org/t/openstack/build/244e4e1e7e764001834d9b208669dc37 : SUCCESS in 34m 36s (non-voting)\n- barbican-tempest-plugin-simple-crypto https://zuul.opendev.org/t/openstack/build/a8e88ace627748e69abb96bda43f2946 : SUCCESS in 26m 00s (non-voting)\n- nova-tox-py313-threading https://zuul.opendev.org/t/openstack/build/ba971cd5d4394079afae57f1935f694e : SUCCESS in 11m 07s","accounts_in_message":[],"_revision_number":1},{"id":"c8f3855effb7c9900a185d70d24c127208c00a72","tag":"autogenerated:jenkins-gerrit-trigger","author":{"_account_id":34420,"name":"openstack lightbits","display_name":"Lightbits CI","email":"openstack@lightbitslabs.com","username":"openstack_lightbits"},"date":"2026-06-03 11:42:11.000000000","message":"Patch Set 1:\n\nBuild succeeded. log path: ${LOG_PATH}\nLeave a comment with","accounts_in_message":[],"_revision_number":1},{"id":"0d59ebe13fcb16441186bd9966902427e25a09dd","tag":"autogenerated:zuul:check-arm64","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2026-06-03 13:26:03.000000000","message":"Patch Set 1:\n\nBuild succeeded (ARM64 pipeline).\nhttps://zuul.opendev.org/t/openstack/buildset/ec192b34b0a142b3b77dc6773d59d810\n\n- openstack-tox-py311-arm64 https://zuul.opendev.org/t/openstack/build/8a8a0e3216ee465c8b0ca46ae67af93f : SUCCESS in 12m 53s (non-voting)\n- openstack-tox-py313-arm64 https://zuul.opendev.org/t/openstack/build/8d50bc2e4b3c41ae96119ba605fabc82 : SUCCESS in 14m 55s (non-voting)\n- openstack-tox-py314-arm64 https://zuul.opendev.org/t/openstack/build/3ae6cd741add4e019cc06f5c2a610bb2 : SUCCESS in 54m 29s (non-voting)","accounts_in_message":[],"_revision_number":1}],"current_revision_number":1,"current_revision":"b3a5608f71779e4d4162fd8114d85487c71e75ea","revisions":{"b3a5608f71779e4d4162fd8114d85487c71e75ea":{"kind":"REWORK","_number":1,"created":"2026-06-03 09:17:02.000000000","uploader":{"_account_id":16207,"name":"ribaudr","display_name":"uggla","email":"rene.ribaud@gmail.com","username":"uggla","status":"Red Hat"},"ref":"refs/changes/95/991295/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/nova","ref":"refs/changes/95/991295/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/nova refs/changes/95/991295/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/nova refs/changes/95/991295/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/nova refs/changes/95/991295/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/nova refs/changes/95/991295/1"}}},"commit":{"parents":[{"commit":"d8508f12fd184da25c51fa421d087e3714cdd07e","subject":"Add regression test for bug #2120927","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/nova/commit/d8508f12fd184da25c51fa421d087e3714cdd07e"}]}],"author":{"name":"René Ribaud","email":"rribaud@redhat.com","date":"2026-06-02 15:52:03.000000000","tz":120},"committer":{"name":"René Ribaud","email":"rribaud@redhat.com","date":"2026-06-03 09:12:31.000000000","tz":120},"subject":"Fix shelve-offload/unshelve race wiping instance host","message":"Fix shelve-offload/unshelve race wiping instance host\n\nDuring shelve offload, _shelve_offload_instance performs two\nsequential instance saves. The first sets vm_state to\nSHELVED_OFFLOADED with task_state\u003dNone. The second, after the\nresource tracker update, nils out host/node. Between these two\nsaves, the instance appears fully offloaded and a user can trigger\nan unshelve to a different host. If that unshelve completes before\nthe second save, the nil-out overwrites the host/node set by the\nunshelve, leaving an ACTIVE instance with no host.\n\nFix this by adding expected_vm_state\u003dSHELVED_OFFLOADED to the\nsecond save. If an unshelve has changed the vm_state to ACTIVE in\nthe meantime, the save raises InstanceUpdateConflict and we skip\nthe nil-out, preserving the host set by the unshelve.\n\nCloses-Bug: #2120927\nChange-Id: I7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5e6f\nAssisted-By: Claude-Code opus 4.6\nSigned-off-by: René Ribaud \u003crene.ribaud@gmail.com\u003e\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/nova/commit/b3a5608f71779e4d4162fd8114d85487c71e75ea"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/nova/commit/b3a5608f71779e4d4162fd8114d85487c71e75ea"}]},"branch":"refs/heads/master"}},"requirements":[],"submit_records":[{"rule_name":"gerrit~DefaultSubmitRule","status":"OK","labels":[{"label":"Verified","status":"MAY","applied_by":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}},{"label":"Code-Review","status":"MAY"},{"label":"Workflow","status":"MAY"},{"label":"Review-Priority","status":"MAY"}]}],"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":{"label:Verified\u003dMAX":"","label:Verified\u003dMIN":""}}},{"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":{"label:Code-Review\u003dMAX":"","label:Code-Review\u003dMIN":""}}},{"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":{"label:Workflow\u003dMAX":"","label:Workflow\u003dMIN":""}}}]}
