)]}'
{"id":"openstack%2Fwatcher~963253","triplet_id":"openstack%2Fwatcher~master~Ic66ceaf9ac4f10e8d6fb9a5400cd6915ed3153fe","project":"openstack/watcher","branch":"master","topic":"bug-2126767","attention_set":{},"removed_from_attention_set":{"16312":{"account":{"_account_id":16312,"name":"Alfredo Moralejo","email":"amoralej@redhat.com","username":"amoralej"},"last_update":"2025-10-14 16:02:03.000000000","reason":"Change was abandoned"}},"hashtags":[],"change_id":"Ic66ceaf9ac4f10e8d6fb9a5400cd6915ed3153fe","subject":"Add leader election to decision-engine service monitor","status":"ABANDONED","created":"2025-10-07 09:20:42.000000000","updated":"2025-10-14 16:02:03.000000000","total_comment_count":0,"unresolved_comment_count":0,"has_review_started":true,"meta_rev_id":"e4fad63be8fcdec3141415a70acaad5f70aa7198","_number":963253,"virtual_id_number":963253,"owner":{"_account_id":16312,"name":"Alfredo Moralejo","email":"amoralej@redhat.com","username":"amoralej"},"actions":{},"labels":{"Verified":{"recommended":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"all":[{"_account_id":26471,"name":"Software Factory CI","email":"softwarefactory-operations-team@redhat.com","username":"sf-project-io"},{"tag":"autogenerated:zuul:check","value":1,"date":"2025-10-07 10:56:45.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":{"recommended":{"_account_id":26471,"name":"Software Factory CI","email":"softwarefactory-operations-team@redhat.com","username":"sf-project-io"},"all":[{"value":1,"date":"2025-10-07 12:01:30.000000000","permitted_voting_range":{"min":-1,"max":1},"_account_id":26471,"name":"Software Factory CI","email":"softwarefactory-operations-team@redhat.com","username":"sf-project-io"},{"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":"","value":1,"default_value":0,"optional":true},"Workflow":{"all":[{"_account_id":26471,"name":"Software Factory CI","email":"softwarefactory-operations-team@redhat.com","username":"sf-project-io"},{"_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":26471,"name":"Software Factory CI","email":"softwarefactory-operations-team@redhat.com","username":"sf-project-io"},{"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"},"default_value":0,"optional":true}},"removable_reviewers":[],"reviewers":{"REVIEWER":[{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},{"_account_id":26471,"name":"Software Factory CI","email":"softwarefactory-operations-team@redhat.com","username":"sf-project-io"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2025-10-07 10:56:45.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":"2025-10-07 12:01:30.000000000","updated_by":{"_account_id":26471,"name":"Software Factory CI","email":"softwarefactory-operations-team@redhat.com","username":"sf-project-io"},"reviewer":{"_account_id":26471,"name":"Software Factory CI","email":"softwarefactory-operations-team@redhat.com","username":"sf-project-io"},"state":"REVIEWER"}],"messages":[{"id":"9a1abc4f87c55cb4711d920713bcb350d246741b","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":16312,"name":"Alfredo Moralejo","email":"amoralej@redhat.com","username":"amoralej"},"date":"2025-10-07 09:20:42.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"ffcf01cf028f61f3e9531f8e63df688634ec2609","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":16312,"name":"Alfredo Moralejo","email":"amoralej@redhat.com","username":"amoralej"},"date":"2025-10-07 09:25:40.000000000","message":"Uploaded patch set 2: Commit message was updated.","accounts_in_message":[],"_revision_number":2},{"id":"79250f4ef3c9a8b8068ca58694c260fbc3cb4210","tag":"autogenerated:zuul:check","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2025-10-07 10:56:45.000000000","message":"Patch Set 2: Verified+1\n\nBuild succeeded (check pipeline).\nhttps://zuul.opendev.org/t/openstack/buildset/2baa472a770642dfa05662d7790b4383\n\n- openstack-tox-cover https://zuul.opendev.org/t/openstack/build/3f8017aa351747deaee5ffe06ccb67e0 : SUCCESS in 3m 37s\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/0ee8a69d3fa748f7bdf606cd6b414d6b : SUCCESS in 3m 12s\n- openstack-tox-py310 https://zuul.opendev.org/t/openstack/build/4636c55be37d4e428abfe68ee2ccd5db : SUCCESS in 4m 01s\n- openstack-tox-py312 https://zuul.opendev.org/t/openstack/build/5ea4887b7a774da0a1e0b5f8efc15d95 : SUCCESS in 7m 21s\n- openstack-tox-py313 https://zuul.opendev.org/t/openstack/build/4a6d58380d6b4feb84e785b92ae73553 : SUCCESS in 8m 07s (non-voting)\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/f8c8bb38ced6425db3d0053686f3dbb4 : SUCCESS in 5m 21s\n- openstack-tox-py312-threading https://zuul.opendev.org/t/openstack/build/f00328b71dff4c069cde107aab5e2668 : SUCCESS in 5m 32s\n- watcher-tempest-functional https://zuul.opendev.org/t/openstack/build/54766095f7734a5eba6036ea9d3cdce0 : SUCCESS in 23m 50s\n- watcher-grenade https://zuul.opendev.org/t/openstack/build/0dedff5ef33c46a98632b9ae5bba99aa : SUCCESS in 37m 01s\n- watcher-tempest-strategies https://zuul.opendev.org/t/openstack/build/059e3f8526b1445bb2a830d9c460b399 : SUCCESS in 53m 37s\n- watcher-tempest-actuator https://zuul.opendev.org/t/openstack/build/6f91f0776ba846619d0336cfe4286ad6 : SUCCESS in 38m 08s\n- watcher-tempest-functional-ipv6-only https://zuul.opendev.org/t/openstack/build/90c9a64df5274480ae69e45ec2a62e95 : SUCCESS in 31m 22s\n- watcher-prometheus-integration https://zuul.opendev.org/t/openstack/build/47c04003a87944a68cadd5e373245e25 : SUCCESS in 1h 28m 07s\n- watcher-prometheus-integration-threading https://zuul.opendev.org/t/openstack/build/ebe7e809ab7344f98b05c9022253294b : SUCCESS in 1h 08m 53s\n- watcher-aetos-integration https://zuul.opendev.org/t/openstack/build/661f671a2dfa4acb942bb0e752f888a6 : SUCCESS in 1h 28m 35s","accounts_in_message":[],"_revision_number":2},{"id":"b6e64e3e1aa2afb4e1f9a28b65d578cc3a375145","author":{"_account_id":26471,"name":"Software Factory CI","email":"softwarefactory-operations-team@redhat.com","username":"sf-project-io"},"date":"2025-10-07 12:01:30.000000000","message":"Patch Set 2: Code-Review+1\n\nBuild succeeded (check pipeline).\nhttps://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/22015c271387458abb7801f7db433458\n\n- openstack-meta-content-provider-master https://softwarefactory-project.io/zuul/t/rdoproject.org/build/310a7059d3a146ad8b44144a0480b3e7 : SUCCESS in 2h 34m 18s\n- watcher-operator-validation-master https://softwarefactory-project.io/zuul/t/rdoproject.org/build/1903f144cf634115b169a26e8d683b9c : SUCCESS in 1h 50m 47s (non-voting)","accounts_in_message":[],"_revision_number":2},{"id":"e4fad63be8fcdec3141415a70acaad5f70aa7198","tag":"autogenerated:gerrit:abandon","author":{"_account_id":16312,"name":"Alfredo Moralejo","email":"amoralej@redhat.com","username":"amoralej"},"date":"2025-10-14 16:02:03.000000000","message":"Abandoned","accounts_in_message":[],"_revision_number":2}],"current_revision_number":2,"current_revision":"e80ebdc32247a56abbd9d9c6644fd7aa21bd1b04","revisions":{"c4910c11442ce38b46f6dadcbac18a4a82472952":{"kind":"REWORK","_number":1,"created":"2025-10-07 09:20:42.000000000","uploader":{"_account_id":16312,"name":"Alfredo Moralejo","email":"amoralej@redhat.com","username":"amoralej"},"ref":"refs/changes/53/963253/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/watcher","ref":"refs/changes/53/963253/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/watcher refs/changes/53/963253/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/watcher refs/changes/53/963253/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/watcher refs/changes/53/963253/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/watcher refs/changes/53/963253/1"}}},"commit":{"parents":[{"commit":"ff72f2d4355501d14eb89c2f614f182739ceb682","subject":"Move decision-engine monitoring service to the decision-engine","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/watcher/commit/ff72f2d4355501d14eb89c2f614f182739ceb682"}]}],"author":{"name":"Alfredo Moralejo","email":"amoralej@redhat.com","date":"2025-10-07 09:01:25.000000000","tz":120},"committer":{"name":"Alfredo Moralejo","email":"amoralej@redhat.com","date":"2025-10-07 09:20:12.000000000","tz":120},"subject":"Add leader election to decision-engine service monitor","message":"Add leader election to decision-engine service monitor\n\nWhen running multiple instances of the decision-engine, we may hit race\nconditions between the service monitor which handles services failures.\nTo avoid that I am adding a basic leader election mechanism which will\nset as leader the first one sorted alphabetically by hostname of the\nalive services.\n\nRelated-Bug: #2126767\n\nChange-Id: Ic66ceaf9ac4f10e8d6fb9a5400cd6915ed3153fe\nSigned-off-by: Alfredo Moralejo \u003camoralej@redhat.com\u003e\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/watcher/commit/c4910c11442ce38b46f6dadcbac18a4a82472952"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/watcher/commit/c4910c11442ce38b46f6dadcbac18a4a82472952"}]},"branch":"refs/heads/master"},"e80ebdc32247a56abbd9d9c6644fd7aa21bd1b04":{"kind":"NO_CODE_CHANGE","_number":2,"created":"2025-10-07 09:25:40.000000000","uploader":{"_account_id":16312,"name":"Alfredo Moralejo","email":"amoralej@redhat.com","username":"amoralej"},"ref":"refs/changes/53/963253/2","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/watcher","ref":"refs/changes/53/963253/2","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/watcher refs/changes/53/963253/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/watcher refs/changes/53/963253/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/watcher refs/changes/53/963253/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/watcher refs/changes/53/963253/2"}}},"commit":{"parents":[{"commit":"cf1e9f5fdb6dd9144656670ab6ed05cf7c211c8f","subject":"Move decision-engine monitoring service to the decision-engine","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/watcher/commit/cf1e9f5fdb6dd9144656670ab6ed05cf7c211c8f"}]}],"author":{"name":"Alfredo Moralejo","email":"amoralej@redhat.com","date":"2025-10-07 09:01:25.000000000","tz":120},"committer":{"name":"Alfredo Moralejo","email":"amoralej@redhat.com","date":"2025-10-07 09:25:13.000000000","tz":120},"subject":"Add leader election to decision-engine service monitor","message":"Add leader election to decision-engine service monitor\n\nWhen running multiple instances of the decision-engine, we may hit race\nconditions between the service monitor which handles services failures.\nTo avoid that I am adding a basic leader election mechanism which will\nset as leader the first one sorted alphabetically by hostname of the\nalive services.\n\nRelated-Bug: #2126767\n\nAssisted-By: claude-code\nChange-Id: Ic66ceaf9ac4f10e8d6fb9a5400cd6915ed3153fe\nSigned-off-by: Alfredo Moralejo \u003camoralej@redhat.com\u003e\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/watcher/commit/e80ebdc32247a56abbd9d9c6644fd7aa21bd1b04"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/watcher/commit/e80ebdc32247a56abbd9d9c6644fd7aa21bd1b04"}]},"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":"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":{}}}]}
