)]}'
{"id":"openstack%2Fwatcher~962011","triplet_id":"openstack%2Fwatcher~stable%2F2025.1~I4c8993f051b797104172047eaae1fe1523eaf7eb","project":"openstack/watcher","branch":"stable/2025.1","topic":"bug/2098984","hashtags":[],"change_id":"I4c8993f051b797104172047eaae1fe1523eaf7eb","subject":"Fix zone migration instance not found issue","status":"NEW","created":"2025-09-22 18:56:46.000000000","updated":"2026-03-11 09:46:02.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":"75a2cb2f3db63dfd668ada4f19f3720c736a7061","_number":962011,"virtual_id_number":962011,"owner":{"_account_id":30002,"name":"Douglas Viroel","email":"viroel@gmail.com","username":"dviroel"},"actions":{},"labels":{"Verified":{"recommended":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"all":[{"tag":"autogenerated:zuul:check","value":1,"date":"2026-03-11 09:46:02.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}},"removable_reviewers":[],"reviewers":{"REVIEWER":[{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2025-09-22 20:18:50.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":"f252c7fdc1c2a9d36f003fba595914f7b03d0e70","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":30002,"name":"Douglas Viroel","email":"viroel@gmail.com","username":"dviroel"},"date":"2025-09-22 18:56:46.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"92a39ad70c9e0a7734843a20df338fd28c50d6ab","tag":"autogenerated:zuul:check","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2025-09-22 20:18:50.000000000","message":"Patch Set 1: Verified+1\n\nBuild succeeded (check pipeline).\nhttps://zuul.opendev.org/t/openstack/buildset/e13ab17f9ba645a1972ebf82fb69c883\n\n- openstack-tox-cover https://zuul.opendev.org/t/openstack/build/7e01636aadeb43608d09d51c25d77e02 : SUCCESS in 6m 01s\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/7020f4bac1694a92a3172a9925b5ed56 : SUCCESS in 5m 51s\n- openstack-tox-py39 https://zuul.opendev.org/t/openstack/build/2d4540e29a5146e18666d168f98f5cbf : SUCCESS in 8m 05s\n- openstack-tox-py312 https://zuul.opendev.org/t/openstack/build/b53a81b2e9234aa39f09e98dc8f75be9 : SUCCESS in 6m 47s\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/34122f7fbc08495786a0d1149081ab0b : SUCCESS in 8m 04s\n- build-openstack-releasenotes https://zuul.opendev.org/t/openstack/build/fce70b3cff79497e89d125f6334d4b43 : SUCCESS in 4m 28s\n- watcher-tempest-functional https://zuul.opendev.org/t/openstack/build/c3597f8874514f55bb80dff43642618b : SUCCESS in 24m 04s\n- watcher-tempest-functional-jammy https://zuul.opendev.org/t/openstack/build/eb75132239584bfdbbc1bf49c02cc8d4 : SUCCESS in 13m 16s\n- watcher-grenade https://zuul.opendev.org/t/openstack/build/1f7c139806804914862d5c184860dc32 : SUCCESS in 31m 20s\n- watcher-tempest-strategies https://zuul.opendev.org/t/openstack/build/3524d86dd5a24b72ad17ee374b953afb : SUCCESS in 43m 17s\n- watcher-tempest-actuator https://zuul.opendev.org/t/openstack/build/69f39b5b03034443ac6424ed46f0c58d : SUCCESS in 21m 46s\n- watcherclient-tempest-functional https://zuul.opendev.org/t/openstack/build/12c63741c8904eb8b1c25470cb3c8af2 : SUCCESS in 25m 34s\n- watcher-tempest-functional-ipv6-only https://zuul.opendev.org/t/openstack/build/c912011e92d24acea3c50b28fd4f6fb0 : SUCCESS in 23m 38s\n- watcher-prometheus-integration https://zuul.opendev.org/t/openstack/build/8ad90b59a10c43249fb7588a133c5566 : SUCCESS in 1h 07m 17s","accounts_in_message":[],"_revision_number":1},{"id":"88778978e4368fbe7471b79047e61bb1510a39c2","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":34452,"name":"Joan Gilabert","display_name":"jgilaber","email":"jgilaber@redhat.com","username":"jgilaber"},"date":"2026-01-20 15:11:15.000000000","message":"Uploaded patch set 2: Patch Set 1 was rebased.\n\nOutdated Votes:\n* Verified+1\n","accounts_in_message":[],"_revision_number":2},{"id":"266bb1b92949c6a28a03551d78bb150e6f2d648e","tag":"autogenerated:zuul:check","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2026-01-20 16:26:55.000000000","message":"Patch Set 2: Verified+1\n\nBuild succeeded (check pipeline).\nhttps://zuul.opendev.org/t/openstack/buildset/039efe8eeacc4f6bad71b7b6630063bb\n\n- openstack-tox-cover https://zuul.opendev.org/t/openstack/build/43cbec20b4764fa68ec46567532b1443 : SUCCESS in 5m 58s\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/3de0c6ad03d145f787060a89022656a8 : SUCCESS in 4m 33s\n- openstack-tox-py39 https://zuul.opendev.org/t/openstack/build/4ffa3f61cb3448439c7a206f2515adca : SUCCESS in 4m 59s\n- openstack-tox-py312 https://zuul.opendev.org/t/openstack/build/bdc5af7d9a164304bbb3e98792753107 : SUCCESS in 4m 24s\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/913036356e7d4bfbad72c797cae136e0 : SUCCESS in 8m 30s\n- build-openstack-releasenotes https://zuul.opendev.org/t/openstack/build/d0fe71e90bbc411e82466476df5acb5b : SUCCESS in 4m 01s\n- watcher-tempest-api-jammy https://zuul.opendev.org/t/openstack/build/e717e85d873b4439a294c3fe94b9eba3 : SUCCESS in 32m 09s\n- watcher-grenade https://zuul.opendev.org/t/openstack/build/0ebab5bfd8a34de4bee30627885fc146 : SUCCESS in 35m 38s\n- watcher-tempest-gnocchi https://zuul.opendev.org/t/openstack/build/00250ac4e9ca49459d38d0bc2d45d961 : SUCCESS in 1h 05m 02s\n- watcherclient-tempest-functional https://zuul.opendev.org/t/openstack/build/4d11195df7e24b99a26c3e422f89b44c : SUCCESS in 38m 15s\n- watcher-tempest-api-ipv6-only https://zuul.opendev.org/t/openstack/build/96baa5fa2bc24b27aaca9091d20a7113 : SUCCESS in 37m 09s\n- watcher-tempest-prometheus https://zuul.opendev.org/t/openstack/build/d97759639dd74581aa30682edd45fcdf : SUCCESS in 1h 08m 59s","accounts_in_message":[],"_revision_number":2},{"id":"18707a1c08042ebb56c0c1102f6e5ddb5c9381f4","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":34452,"name":"Joan Gilabert","display_name":"jgilaber","email":"jgilaber@redhat.com","username":"jgilaber"},"date":"2026-03-11 08:12:00.000000000","message":"Uploaded patch set 3: Patch Set 2 was rebased.\n\nOutdated Votes:\n* Verified+1\n","accounts_in_message":[],"_revision_number":3},{"id":"75a2cb2f3db63dfd668ada4f19f3720c736a7061","tag":"autogenerated:zuul:check","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2026-03-11 09:46:02.000000000","message":"Patch Set 3: Verified+1\n\nBuild succeeded (check pipeline).\nhttps://zuul.opendev.org/t/openstack/buildset/88d2633840ba489eadb51229ca5ec921\n\n- openstack-tox-cover https://zuul.opendev.org/t/openstack/build/541debad9423424aa2c95d22f330443e : SUCCESS in 5m 56s\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/194d46fe62b14a618ecb49d3548b1547 : SUCCESS in 2m 50s\n- openstack-tox-py39 https://zuul.opendev.org/t/openstack/build/6b7ca416add14672ba8e6eaf5d3319f6 : SUCCESS in 4m 50s\n- openstack-tox-py312 https://zuul.opendev.org/t/openstack/build/41230d4612be43ab8f02aaf8d3173afb : SUCCESS in 5m 05s\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/7f14c9d2e1004ff2a592517ca915000c : SUCCESS in 8m 18s\n- build-openstack-releasenotes https://zuul.opendev.org/t/openstack/build/302d54e2e3154858b3a88d0728c19cd4 : SUCCESS in 4m 48s\n- watcher-tempest-api-jammy https://zuul.opendev.org/t/openstack/build/dae985e86fb345918a1f00f62e7060f1 : SUCCESS in 31m 03s\n- watcher-grenade https://zuul.opendev.org/t/openstack/build/7da4dc073b99473d86f0425251b0fbb6 : SUCCESS in 47m 29s\n- watcher-tempest-gnocchi https://zuul.opendev.org/t/openstack/build/e112de3ec53e4b96a9539235f4fdd840 : SUCCESS in 1h 10m 50s\n- watcherclient-tempest-functional https://zuul.opendev.org/t/openstack/build/05586602778d4307add81f033b70856f : SUCCESS in 36m 58s\n- watcher-tempest-api-ipv6-only https://zuul.opendev.org/t/openstack/build/05bd813a269849c7b662ee52c67016c3 : SUCCESS in 38m 21s\n- watcher-tempest-prometheus https://zuul.opendev.org/t/openstack/build/be4d8efae15749d095e3c98a579887b4 : SUCCESS in 1h 21m 09s","accounts_in_message":[],"_revision_number":3}],"current_revision_number":3,"current_revision":"a5d11690ecaa5c8e6eada2ef9fe28428cf98ed26","revisions":{"c792d6c3fa1c3dbf8dcf90b92383412d15355b1b":{"kind":"REWORK","_number":1,"created":"2025-09-22 18:56:46.000000000","uploader":{"_account_id":30002,"name":"Douglas Viroel","email":"viroel@gmail.com","username":"dviroel"},"ref":"refs/changes/11/962011/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/watcher","ref":"refs/changes/11/962011/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/watcher refs/changes/11/962011/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/watcher refs/changes/11/962011/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/watcher refs/changes/11/962011/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/watcher refs/changes/11/962011/1"}}},"commit":{"parents":[{"commit":"f29c3e4a61224e79bc6f40a4ab2d5f48a905a3c6","subject":"Add unit tests for instance and volume not found in model","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/watcher/commit/f29c3e4a61224e79bc6f40a4ab2d5f48a905a3c6"}]}],"author":{"name":"Douglas Viroel","email":"viroel@gmail.com","date":"2025-07-30 20:29:16.000000000","tz":-180},"committer":{"name":"Douglas Viroel","email":"viroel@gmail.com","date":"2025-09-22 18:54:08.000000000","tz":-180},"subject":"Fix zone migration instance not found issue","message":"Fix zone migration instance not found issue\n\nWhen retrieving the list of instances and volumes to propose a\nsolution, the zone migration strategy can raise an exception for\ninstance or volume not found, which will make the audit goes to a\nfailure state. This fix maintains the logic of listing all elements\ndirectly from the client (nova) but now checks if the instance\nis already in the model. The storage model check was already fixed\nin another patch[1].\n\n[1] https://github.com/openstack/watcher/commit/cb6fb1609706495a6187b973a55e270257be64e1\n\nCloses-Bug: #2098984\nAssisted-By: Cursor (claude-3.5-sonnet)\n\nChange-Id: I4c8993f051b797104172047eaae1fe1523eaf7eb\nSigned-off-by: Douglas Viroel \u003cviroel@gmail.com\u003e\n(cherry picked from commit 680518ad6d07febac69cc0d413dfd626f83dd93d)\n(cherry picked from commit 5574cb42971bdbb47e0c32704c50e4b5d8bd914c)\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/watcher/commit/c792d6c3fa1c3dbf8dcf90b92383412d15355b1b"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/watcher/commit/c792d6c3fa1c3dbf8dcf90b92383412d15355b1b"}]},"branch":"refs/heads/stable/2025.1"},"5dd0bb3b82a6faec1e7859e381b00bf00dcd3b46":{"kind":"TRIVIAL_REBASE","_number":2,"created":"2026-01-20 15:11:15.000000000","uploader":{"_account_id":34452,"name":"Joan Gilabert","display_name":"jgilaber","email":"jgilaber@redhat.com","username":"jgilaber"},"ref":"refs/changes/11/962011/2","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/watcher","ref":"refs/changes/11/962011/2","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/watcher refs/changes/11/962011/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/watcher refs/changes/11/962011/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/watcher refs/changes/11/962011/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/watcher refs/changes/11/962011/2"}}},"commit":{"parents":[{"commit":"0ff31a426786cd5ef3b70f1fddfa6c83d19351bb","subject":"Add unit tests for instance and volume not found in model","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/watcher/commit/0ff31a426786cd5ef3b70f1fddfa6c83d19351bb"}]}],"author":{"name":"Douglas Viroel","email":"viroel@gmail.com","date":"2025-07-30 20:29:16.000000000","tz":-180},"committer":{"name":"jgilaber","email":"jgilaber@redhat.com","date":"2026-01-20 15:10:40.000000000","tz":60},"subject":"Fix zone migration instance not found issue","message":"Fix zone migration instance not found issue\n\nWhen retrieving the list of instances and volumes to propose a\nsolution, the zone migration strategy can raise an exception for\ninstance or volume not found, which will make the audit goes to a\nfailure state. This fix maintains the logic of listing all elements\ndirectly from the client (nova) but now checks if the instance\nis already in the model. The storage model check was already fixed\nin another patch[1].\n\n[1] https://github.com/openstack/watcher/commit/cb6fb1609706495a6187b973a55e270257be64e1\n\nCloses-Bug: #2098984\nAssisted-By: Cursor (claude-3.5-sonnet)\n\nChange-Id: I4c8993f051b797104172047eaae1fe1523eaf7eb\nSigned-off-by: Douglas Viroel \u003cviroel@gmail.com\u003e\n(cherry picked from commit 680518ad6d07febac69cc0d413dfd626f83dd93d)\n(cherry picked from commit 5574cb42971bdbb47e0c32704c50e4b5d8bd914c)\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/watcher/commit/5dd0bb3b82a6faec1e7859e381b00bf00dcd3b46"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/watcher/commit/5dd0bb3b82a6faec1e7859e381b00bf00dcd3b46"}]},"branch":"refs/heads/stable/2025.1"},"a5d11690ecaa5c8e6eada2ef9fe28428cf98ed26":{"kind":"TRIVIAL_REBASE","_number":3,"created":"2026-03-11 08:12:00.000000000","uploader":{"_account_id":34452,"name":"Joan Gilabert","display_name":"jgilaber","email":"jgilaber@redhat.com","username":"jgilaber"},"ref":"refs/changes/11/962011/3","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/watcher","ref":"refs/changes/11/962011/3","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/watcher refs/changes/11/962011/3 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/watcher refs/changes/11/962011/3 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/watcher refs/changes/11/962011/3 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/watcher refs/changes/11/962011/3"}}},"commit":{"parents":[{"commit":"940b8bcd0bc3b6c7bfbfb9b29b6b06a1bb8d7be4","subject":"Add unit tests for instance and volume not found in model","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/watcher/commit/940b8bcd0bc3b6c7bfbfb9b29b6b06a1bb8d7be4"}]}],"author":{"name":"Douglas Viroel","email":"viroel@gmail.com","date":"2025-07-30 20:29:16.000000000","tz":-180},"committer":{"name":"jgilaber","email":"jgilaber@redhat.com","date":"2026-03-11 08:11:51.000000000","tz":60},"subject":"Fix zone migration instance not found issue","message":"Fix zone migration instance not found issue\n\nWhen retrieving the list of instances and volumes to propose a\nsolution, the zone migration strategy can raise an exception for\ninstance or volume not found, which will make the audit goes to a\nfailure state. This fix maintains the logic of listing all elements\ndirectly from the client (nova) but now checks if the instance\nis already in the model. The storage model check was already fixed\nin another patch[1].\n\n[1] https://github.com/openstack/watcher/commit/cb6fb1609706495a6187b973a55e270257be64e1\n\nCloses-Bug: #2098984\nAssisted-By: Cursor (claude-3.5-sonnet)\n\nChange-Id: I4c8993f051b797104172047eaae1fe1523eaf7eb\nSigned-off-by: Douglas Viroel \u003cviroel@gmail.com\u003e\n(cherry picked from commit 680518ad6d07febac69cc0d413dfd626f83dd93d)\n(cherry picked from commit 5574cb42971bdbb47e0c32704c50e4b5d8bd914c)\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/watcher/commit/a5d11690ecaa5c8e6eada2ef9fe28428cf98ed26"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/watcher/commit/a5d11690ecaa5c8e6eada2ef9fe28428cf98ed26"}]},"branch":"refs/heads/stable/2025.1"}},"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"}]}],"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":"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":""}}}]}
