)]}'
{"id":"openstack%2Fwatcher~1001645","triplet_id":"openstack%2Fwatcher~stable%2F2025.2~Ia367b465874663d099b7a4bb9cb9291f01c6f881","project":"openstack/watcher","branch":"stable/2025.2","topic":"bug/1988981","hashtags":[],"change_id":"Ia367b465874663d099b7a4bb9cb9291f01c6f881","subject":"Fix allowed_nodes corruption in ComputeScope","status":"NEW","created":"2026-08-20 11:52:30.000000000","updated":"2026-08-20 14:04:20.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":"3d0710089c35e643185f051afd73831d6c19fd21","_number":1001645,"virtual_id_number":1001645,"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-08-20 14:04:20.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":"Standard Change","+1":"Important Change","+2":"High Priority Change"},"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":"2026-08-20 14:04:20.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":"2f92bead6c1ae0c0eec9d234902a6e9dd5f1317d","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":30002,"name":"Douglas Viroel","email":"viroel@gmail.com","username":"dviroel"},"date":"2026-08-20 11:52:30.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"3d0710089c35e643185f051afd73831d6c19fd21","tag":"autogenerated:zuul:check","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2026-08-20 14:04:20.000000000","message":"Patch Set 1: Verified+1\n\nBuild succeeded (check pipeline).\nhttps://zuul.opendev.org/t/openstack/buildset/9f71a7fa447744bbbb9bcd5252fcf22e\n\n- openstack-tox-cover https://zuul.opendev.org/t/openstack/build/5dec77ffd1d849d3808ba5a336e99b23 : SUCCESS in 6m 37s\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/687200458f274495adca716fb1c20a27 : SUCCESS in 3m 28s\n- openstack-tox-py310 https://zuul.opendev.org/t/openstack/build/99e6aeeee7a64869afd10440242c003e : SUCCESS in 6m 26s\n- openstack-tox-py312 https://zuul.opendev.org/t/openstack/build/74bc6c4043094003982aab786a41fb0e : SUCCESS in 6m 26s\n- openstack-tox-py313 https://zuul.opendev.org/t/openstack/build/ef364c278dbc457b84c2d628f2daa51e : SUCCESS in 8m 59s (non-voting)\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/c076204c125f4652acad5eb60fd89d34 : SUCCESS in 9m 51s\n- build-openstack-releasenotes https://zuul.opendev.org/t/openstack/build/c20701e98d484753990fe5c8f23dcbcd : SUCCESS in 6m 29s\n- openstack-tox-py312-threading https://zuul.opendev.org/t/openstack/build/a7005d3b7edc4179aafa931ad4e5846a : SUCCESS in 5m 41s\n- watcher-grenade https://zuul.opendev.org/t/openstack/build/fb83d42a49904ae3a8c3cda1546fff6a : SUCCESS in 55m 42s\n- watcher-tempest-api-ipv6-only https://zuul.opendev.org/t/openstack/build/f9db81eae604469f91ea581d441263d8 : SUCCESS in 38m 51s\n- watcher-tempest-gnocchi https://zuul.opendev.org/t/openstack/build/7c51ef83d4c54b4d89edbb272351904a : SUCCESS in 1h 22m 03s\n- watcher-tempest-prometheus https://zuul.opendev.org/t/openstack/build/929235ec0ce840f8a884bd5c7459cc2d : SUCCESS in 53m 20s\n- watcher-tempest-prometheus-threading https://zuul.opendev.org/t/openstack/build/39e2bd6f662d434a8428fe05cd0b1272 : SUCCESS in 1h 32m 29s\n- watcher-tempest-aetos https://zuul.opendev.org/t/openstack/build/a8389d2f6c21447fa76263d20e1337d2 : SUCCESS in 1h 19m 17s","accounts_in_message":[],"_revision_number":1}],"current_revision_number":1,"current_revision":"01dc4a1bcde0066c85eac1d0e781f876eb679751","revisions":{"01dc4a1bcde0066c85eac1d0e781f876eb679751":{"kind":"REWORK","_number":1,"created":"2026-08-20 11:52:30.000000000","uploader":{"_account_id":30002,"name":"Douglas Viroel","email":"viroel@gmail.com","username":"dviroel"},"ref":"refs/changes/45/1001645/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/watcher","ref":"refs/changes/45/1001645/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/watcher refs/changes/45/1001645/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/watcher refs/changes/45/1001645/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/watcher refs/changes/45/1001645/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/watcher refs/changes/45/1001645/1"}}},"commit":{"parents":[{"commit":"1e8546675eb062c2c88985484410c256b8674ca8","subject":"Add policy enforcement to webhook trigger endpoint","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/watcher/commit/1e8546675eb062c2c88985484410c256b8674ca8"}]}],"author":{"name":"Douglas Viroel","email":"viroel@gmail.com","date":"2026-08-18 13:10:37.000000000","tz":-180},"committer":{"name":"Douglas Viroel","email":"viroel@gmail.com","date":"2026-08-20 11:41:34.000000000","tz":-180},"subject":"Fix allowed_nodes corruption in ComputeScope","message":"Fix allowed_nodes corruption in ComputeScope\n\nservice.host is a string, so extend() iterated it character by\ncharacter instead of appending the hostname as a single entry.\nReplace extend() with append() and update test mocks to use string\nhosts rather than dicts.\n\nCloses-Bug: #1988981\nAssisted-By: Claude Code (Sonnet 4.6)\nChange-Id: Ia367b465874663d099b7a4bb9cb9291f01c6f881\nSigned-off-by: Douglas Viroel \u003cviroel@gmail.com\u003e\n(cherry picked from commit 11437fa0ab1de6dd55075d5cf9bac7f9159d74d4)\n(cherry picked from commit 04a95dd69dffe4d29b0eebc679b20441220d25ae)\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/watcher/commit/01dc4a1bcde0066c85eac1d0e781f876eb679751"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/watcher/commit/01dc4a1bcde0066c85eac1d0e781f876eb679751"}]},"branch":"refs/heads/stable/2025.2"}},"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":""}}}]}
