)]}'
{"specs/2026.2/approved/client-heartbeat.rst":[{"author":{"_account_id":28619,"name":"Dmitriy Rabotyagov","email":"noonedeadpunk@gmail.com","username":"noonedeadpunk"},"change_message_id":"1ba1671f65cb05ceeb78891dc235bfa9263eecb4","unresolved":true,"context_lines":[{"line_number":191,"context_line":""},{"line_number":192,"context_line":"REST API impact"},{"line_number":193,"context_line":"---------------"},{"line_number":194,"context_line":""},{"line_number":195,"context_line":"**POST /v2/{project_id}/clients/{client_id}/heartbeat** — records that"},{"line_number":196,"context_line":"one scheduler is alive; the API generates the timestamp."},{"line_number":197,"context_line":""},{"line_number":198,"context_line":"* Body ``{\"hostname\": \"node1\"}``, optional when the ``client_id`` has one"},{"line_number":199,"context_line":"  record, required when it has several."},{"line_number":200,"context_line":"* 200 with ``client_id``, ``hostname``, ``last_heartbeat``, ``status``."},{"line_number":201,"context_line":"* 422 ambiguous without a hostname; 401 no token; 403 policy denied or"},{"line_number":202,"context_line":"  another project\u0027s record; 404 no such record, and likewise a hostname"},{"line_number":203,"context_line":"  the client does not have (a heartbeat never creates one — the"},{"line_number":204,"context_line":"  scheduler registers instead); 503 storage error."},{"line_number":205,"context_line":""},{"line_number":206,"context_line":"**DELETE /v2/{project_id}/clients/{client_id}** — 204, deleting one"},{"line_number":207,"context_line":"record, guarded by the existing ``clients:delete`` rule. The path names"}],"source_content_type":"text/x-rst","patch_set":3,"id":"d8c8773c_10dde47b","line":204,"range":{"start_line":194,"start_character":0,"end_line":204,"end_character":50},"updated":"2026-09-15 12:00:11.000000000","message":"I, potentially, have some other idea, which actually depends if we wanna improve \"clustering\".\n\nAll schedulers doing API calls periodically already, to fetch the job. When they do so, API should actually know what client requested jobs, and can record the last heartbeat derived from the /jobs request.\n\nSo instead of doing another API call with the same default periodicity as `interval` we could re-use the same interval for healthcheck.\n\nThen, to determine aliveness, scheduler can report configured periodicity as self-property to the API, and it actually would be a useful information about the client regardless.\nFor aliveness though, instead of timeout we can define a number of \"missed\" fetches, and derive status from it.\nIe, we know that scheduler should fetch jobs each 90 seconds, and if setting of \"missed\" is set to 3, we consider it as DOWN after timeout*missed (270) seconds.\n\nThe huge disadvantage here, is that we\u0027re locking ourselves in the logic, that each scheduler should fetch jobs independently. So it kinda depends if we want to optimize this or not, and \"store\" jobs for the cluster in coordination driver...","commit_id":"aa7d35198edcd9fd4094443c353f6917263b87b5"},{"author":{"_account_id":28619,"name":"Dmitriy Rabotyagov","email":"noonedeadpunk@gmail.com","username":"noonedeadpunk"},"change_message_id":"750d8315a9ad3e008e9bf9295e9651a3ffa3cf77","unresolved":false,"context_lines":[{"line_number":191,"context_line":""},{"line_number":192,"context_line":"REST API impact"},{"line_number":193,"context_line":"---------------"},{"line_number":194,"context_line":""},{"line_number":195,"context_line":"**POST /v2/{project_id}/clients/{client_id}/heartbeat** — records that"},{"line_number":196,"context_line":"one scheduler is alive; the API generates the timestamp."},{"line_number":197,"context_line":""},{"line_number":198,"context_line":"* Body ``{\"hostname\": \"node1\"}``, optional when the ``client_id`` has one"},{"line_number":199,"context_line":"  record, required when it has several."},{"line_number":200,"context_line":"* 200 with ``client_id``, ``hostname``, ``last_heartbeat``, ``status``."},{"line_number":201,"context_line":"* 422 ambiguous without a hostname; 401 no token; 403 policy denied or"},{"line_number":202,"context_line":"  another project\u0027s record; 404 no such record, and likewise a hostname"},{"line_number":203,"context_line":"  the client does not have (a heartbeat never creates one — the"},{"line_number":204,"context_line":"  scheduler registers instead); 503 storage error."},{"line_number":205,"context_line":""},{"line_number":206,"context_line":"**DELETE /v2/{project_id}/clients/{client_id}** — 204, deleting one"},{"line_number":207,"context_line":"record, guarded by the existing ``clients:delete`` rule. The path names"}],"source_content_type":"text/x-rst","patch_set":3,"id":"aad03bfb_64749942","line":204,"range":{"start_line":194,"start_character":0,"end_line":204,"end_character":50},"in_reply_to":"d8c8773c_10dde47b","updated":"2026-09-22 11:33:37.000000000","message":"Done","commit_id":"aa7d35198edcd9fd4094443c353f6917263b87b5"},{"author":{"_account_id":28619,"name":"Dmitriy Rabotyagov","email":"noonedeadpunk@gmail.com","username":"noonedeadpunk"},"change_message_id":"750d8315a9ad3e008e9bf9295e9651a3ffa3cf77","unresolved":true,"context_lines":[{"line_number":20,"context_line":"A scheduler registers once, at startup, and the record never changes"},{"line_number":21,"context_line":"afterwards. Nothing in the API says whether the process behind it still"},{"line_number":22,"context_line":"runs. Under `scheduler coordination`_ several schedulers share one"},{"line_number":23,"context_line":"``client_id``, so N processes map to one record and the API has no"},{"line_number":24,"context_line":"notion of a member at all."},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"* A dead scheduler stops running its jobs and nothing shows it. The only"}],"source_content_type":"text/x-rst","patch_set":5,"id":"d04d6a91_3a0e982c","line":23,"range":{"start_line":23,"start_character":15,"end_line":23,"end_character":59},"updated":"2026-09-22 11:33:37.000000000","message":"this is not true, as each has record in the api, they\u0027re just differ by uuid and not client_id.","commit_id":"6950633353a42f64e22fbda55c028ef5ef07c00b"},{"author":{"_account_id":39044,"name":"Alicja Filipek","display_name":"alaf01","email":"alicja.filipek@cleura.com","username":"alaf01"},"change_message_id":"3f03178aceec0b832f0f173af7459b48f6e0f974","unresolved":true,"context_lines":[{"line_number":20,"context_line":"A scheduler registers once, at startup, and the record never changes"},{"line_number":21,"context_line":"afterwards. Nothing in the API says whether the process behind it still"},{"line_number":22,"context_line":"runs. Under `scheduler coordination`_ several schedulers share one"},{"line_number":23,"context_line":"``client_id``, so N processes map to one record and the API has no"},{"line_number":24,"context_line":"notion of a member at all."},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"* A dead scheduler stops running its jobs and nothing shows it. The only"}],"source_content_type":"text/x-rst","patch_set":5,"id":"f7125ab4_c2c3a963","line":23,"range":{"start_line":23,"start_character":15,"end_line":23,"end_character":59},"in_reply_to":"d04d6a91_3a0e982c","updated":"2026-09-22 14:02:42.000000000","message":"central clients are keyed on (client_id, hostname), but not central sharing client id gets overriten on registration. I update this part.","commit_id":"6950633353a42f64e22fbda55c028ef5ef07c00b"},{"author":{"_account_id":28619,"name":"Dmitriy Rabotyagov","email":"noonedeadpunk@gmail.com","username":"noonedeadpunk"},"change_message_id":"750d8315a9ad3e008e9bf9295e9651a3ffa3cf77","unresolved":true,"context_lines":[{"line_number":25,"context_line":""},{"line_number":26,"context_line":"* A dead scheduler stops running its jobs and nothing shows it. The only"},{"line_number":27,"context_line":"  symptom is a missing backup."},{"line_number":28,"context_line":"* A cluster degrades invisibly: losing 1 of 5 members and losing 5 of 5"},{"line_number":29,"context_line":"  look identical from the API, CLI and dashboard."},{"line_number":30,"context_line":"* \"Which of my schedulers are up?\" needs shell access to every host."},{"line_number":31,"context_line":"* Stale records accumulate; a decommissioned scheduler looks like an"},{"line_number":32,"context_line":"  idle one."}],"source_content_type":"text/x-rst","patch_set":5,"id":"0d7a24e1_221769fc","line":29,"range":{"start_line":28,"start_character":0,"end_line":29,"end_character":49},"updated":"2026-09-22 11:33:37.000000000","message":"this is though just a consequence of previous point, that there\u0027s just no signalization that it\u0027s down? And next one as well.","commit_id":"6950633353a42f64e22fbda55c028ef5ef07c00b"},{"author":{"_account_id":28619,"name":"Dmitriy Rabotyagov","email":"noonedeadpunk@gmail.com","username":"noonedeadpunk"},"change_message_id":"750d8315a9ad3e008e9bf9295e9651a3ffa3cf77","unresolved":true,"context_lines":[{"line_number":45,"context_line":"  which are down, so I notice one reduced to its last live member."},{"line_number":46,"context_line":"* As a user, I want to see that my job\u0027s client is offline before I open"},{"line_number":47,"context_line":"  a ticket."},{"line_number":48,"context_line":"* As an administrator, I want to delete a decommissioned scheduler"},{"line_number":49,"context_line":"  without touching its cluster."},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"Proposed change"}],"source_content_type":"text/x-rst","patch_set":5,"id":"7a3c9e9f_7eac7915","line":48,"range":{"start_line":48,"start_character":8,"end_line":48,"end_character":21},"updated":"2026-09-22 11:33:37.000000000","message":"or a user?","commit_id":"6950633353a42f64e22fbda55c028ef5ef07c00b"},{"author":{"_account_id":39044,"name":"Alicja Filipek","display_name":"alaf01","email":"alicja.filipek@cleura.com","username":"alaf01"},"change_message_id":"3f03178aceec0b832f0f173af7459b48f6e0f974","unresolved":true,"context_lines":[{"line_number":45,"context_line":"  which are down, so I notice one reduced to its last live member."},{"line_number":46,"context_line":"* As a user, I want to see that my job\u0027s client is offline before I open"},{"line_number":47,"context_line":"  a ticket."},{"line_number":48,"context_line":"* As an administrator, I want to delete a decommissioned scheduler"},{"line_number":49,"context_line":"  without touching its cluster."},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"Proposed change"}],"source_content_type":"text/x-rst","patch_set":5,"id":"40d09856_bede17ab","line":48,"range":{"start_line":48,"start_character":8,"end_line":48,"end_character":21},"in_reply_to":"7a3c9e9f_7eac7915","updated":"2026-09-22 14:02:42.000000000","message":"yes, adding","commit_id":"6950633353a42f64e22fbda55c028ef5ef07c00b"},{"author":{"_account_id":28619,"name":"Dmitriy Rabotyagov","email":"noonedeadpunk@gmail.com","username":"noonedeadpunk"},"change_message_id":"750d8315a9ad3e008e9bf9295e9651a3ffa3cf77","unresolved":true,"context_lines":[{"line_number":51,"context_line":"Proposed change"},{"line_number":52,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"1. **A record per scheduler, keyed on hostname.** ``clients`` identity"},{"line_number":55,"context_line":"   becomes ``(project_id, client_id, hostname)`` — already the rule for"},{"line_number":56,"context_line":"   central clients, generalized to all. No new identity field."},{"line_number":57,"context_line":"   ``client_id`` still means the cluster and jobs still bind to it; a"}],"source_content_type":"text/x-rst","patch_set":5,"id":"d31eaf9a_1b93aca0","line":54,"range":{"start_line":54,"start_character":38,"end_line":54,"end_character":46},"updated":"2026-09-22 11:33:37.000000000","message":"hostname and client_id?","commit_id":"6950633353a42f64e22fbda55c028ef5ef07c00b"},{"author":{"_account_id":39044,"name":"Alicja Filipek","display_name":"alaf01","email":"alicja.filipek@cleura.com","username":"alaf01"},"change_message_id":"3f03178aceec0b832f0f173af7459b48f6e0f974","unresolved":true,"context_lines":[{"line_number":51,"context_line":"Proposed change"},{"line_number":52,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"1. **A record per scheduler, keyed on hostname.** ``clients`` identity"},{"line_number":55,"context_line":"   becomes ``(project_id, client_id, hostname)`` — already the rule for"},{"line_number":56,"context_line":"   central clients, generalized to all. No new identity field."},{"line_number":57,"context_line":"   ``client_id`` still means the cluster and jobs still bind to it; a"}],"source_content_type":"text/x-rst","patch_set":5,"id":"2a18b6ff_ef4ffceb","line":54,"range":{"start_line":54,"start_character":38,"end_line":54,"end_character":46},"in_reply_to":"d31eaf9a_1b93aca0","updated":"2026-09-22 14:02:42.000000000","message":"adding","commit_id":"6950633353a42f64e22fbda55c028ef5ef07c00b"},{"author":{"_account_id":28619,"name":"Dmitriy Rabotyagov","email":"noonedeadpunk@gmail.com","username":"noonedeadpunk"},"change_message_id":"750d8315a9ad3e008e9bf9295e9651a3ffa3cf77","unresolved":true,"context_lines":[{"line_number":58,"context_line":"   standalone scheduler is a cluster of one."},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"2. **Fetching work is the proof of life.** A scheduler already asks for"},{"line_number":61,"context_line":"   its jobs every ``[scheduler] interval`` seconds; it now asks through"},{"line_number":62,"context_line":"   ``GET /clients/{uuid}/poll``, and the API records that the record was"},{"line_number":63,"context_line":"   heard from. No second request, no new timer. ``GET"},{"line_number":64,"context_line":"   /v2/{project_id}/jobs`` is unchanged and records nothing: it stays"},{"line_number":65,"context_line":"   how people, scripts and older schedulers read jobs, so nothing an"}],"source_content_type":"text/x-rst","patch_set":5,"id":"e8cad37c_61863702","line":62,"range":{"start_line":61,"start_character":52,"end_line":62,"end_character":31},"updated":"2026-09-22 11:33:37.000000000","message":"does it fallback if API is running older (with no support of /clients/{uuid}/poll) version then scheduler?\n\nI also wonder if that is a good name after all. Is \"poll\" descriptive enough? Maybe it is...","commit_id":"6950633353a42f64e22fbda55c028ef5ef07c00b"},{"author":{"_account_id":28619,"name":"Dmitriy Rabotyagov","email":"noonedeadpunk@gmail.com","username":"noonedeadpunk"},"change_message_id":"750d8315a9ad3e008e9bf9295e9651a3ffa3cf77","unresolved":true,"context_lines":[{"line_number":82,"context_line":"5. **Status is derived on read, from the record\u0027s own cadence** —"},{"line_number":83,"context_line":"   ``offline`` once ``[clients] missed_polls`` of its intervals have"},{"line_number":84,"context_line":"   passed unheard (3 by default), ``online`` before that, ``unknown``"},{"line_number":85,"context_line":"   if it has never polled. Judging each record by the interval it"},{"line_number":86,"context_line":"   reported lets one fleet mix cadences: a scheduler polling every"},{"line_number":87,"context_line":"   600 s is not called dead on the clock of one polling every 60 s,"},{"line_number":88,"context_line":"   which a single timeout cannot express. Deriving avoids a stored"},{"line_number":89,"context_line":"   value going stale: freezer-api has no task to flip it."}],"source_content_type":"text/x-rst","patch_set":5,"id":"957b2f81_3e3b6619","line":86,"range":{"start_line":85,"start_character":47,"end_line":86,"end_character":11},"updated":"2026-09-22 11:33:37.000000000","message":"I think we should elaborate on that, as we\u0027re extending registration of the client with extra field, that is `[scheduler] interval` to the API.\nIf the config changes - interval is pushed/updated on a scheduler restart alike to it\u0027s capabilities.\nI see it is mentioned further on in db impact, but maybe we can repeat ourselves here.","commit_id":"6950633353a42f64e22fbda55c028ef5ef07c00b"},{"author":{"_account_id":28619,"name":"Dmitriy Rabotyagov","email":"noonedeadpunk@gmail.com","username":"noonedeadpunk"},"change_message_id":"750d8315a9ad3e008e9bf9295e9651a3ffa3cf77","unresolved":true,"context_lines":[{"line_number":93,"context_line":"   returns the cluster with its members named. An unclustered client has"},{"line_number":94,"context_line":"   one member, so freezer-api never needs to know whether coordination"},{"line_number":95,"context_line":"   is enabled. ``DELETE /clients/{client_id}`` drops a decommissioned"},{"line_number":96,"context_line":"   one, named by ``uuid`` when the client has more than one and refusing"},{"line_number":97,"context_line":"   a ``client_id`` that names several."},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"Coordination is untouched: no group, ring or lock changes. Its member id"}],"source_content_type":"text/x-rst","patch_set":5,"id":"f3245298_ac193b7b","line":96,"range":{"start_line":96,"start_character":59,"end_line":96,"end_character":72},"updated":"2026-09-22 11:33:37.000000000","message":"can we be more specific about return code here? I guess makes sense to mention it.","commit_id":"6950633353a42f64e22fbda55c028ef5ef07c00b"},{"author":{"_account_id":28619,"name":"Dmitriy Rabotyagov","email":"noonedeadpunk@gmail.com","username":"noonedeadpunk"},"change_message_id":"750d8315a9ad3e008e9bf9295e9651a3ffa3cf77","unresolved":true,"context_lines":[{"line_number":184,"context_line":"  are indistinguishable, so the API refuses rather than picking one."},{"line_number":185,"context_line":"* Existing rows keep both NULL and read as ``unknown``. A record with"},{"line_number":186,"context_line":"  no ``poll_interval`` — registered by a scheduler too old to send one —"},{"line_number":187,"context_line":"  is judged by ``[clients] default_poll_interval``. A reported value is"},{"line_number":188,"context_line":"  believed: it comes from the deployment\u0027s own configuration, and a"},{"line_number":189,"context_line":"  client that overstates it mostly hides its own failure. What it claims"},{"line_number":190,"context_line":"  is visible in the client list, so an implausible one can be seen."}],"source_content_type":"text/x-rst","patch_set":5,"id":"21cce4f7_9c868c63","line":187,"range":{"start_line":187,"start_character":15,"end_line":187,"end_character":50},"updated":"2026-09-22 11:33:37.000000000","message":"do we really need to introduce that? I think if the client is too old or never reported - we can leave it as unknown, rather then introduce fake default value which would mark all old clients as down?","commit_id":"6950633353a42f64e22fbda55c028ef5ef07c00b"},{"author":{"_account_id":39044,"name":"Alicja Filipek","display_name":"alaf01","email":"alicja.filipek@cleura.com","username":"alaf01"},"change_message_id":"3f03178aceec0b832f0f173af7459b48f6e0f974","unresolved":true,"context_lines":[{"line_number":184,"context_line":"  are indistinguishable, so the API refuses rather than picking one."},{"line_number":185,"context_line":"* Existing rows keep both NULL and read as ``unknown``. A record with"},{"line_number":186,"context_line":"  no ``poll_interval`` — registered by a scheduler too old to send one —"},{"line_number":187,"context_line":"  is judged by ``[clients] default_poll_interval``. A reported value is"},{"line_number":188,"context_line":"  believed: it comes from the deployment\u0027s own configuration, and a"},{"line_number":189,"context_line":"  client that overstates it mostly hides its own failure. What it claims"},{"line_number":190,"context_line":"  is visible in the client list, so an implausible one can be seen."}],"source_content_type":"text/x-rst","patch_set":5,"id":"daa7be5f_85ca2e8d","line":187,"range":{"start_line":187,"start_character":15,"end_line":187,"end_character":50},"in_reply_to":"21cce4f7_9c868c63","updated":"2026-09-22 14:02:42.000000000","message":"sure, that sound reasnable.","commit_id":"6950633353a42f64e22fbda55c028ef5ef07c00b"},{"author":{"_account_id":28619,"name":"Dmitriy Rabotyagov","email":"noonedeadpunk@gmail.com","username":"noonedeadpunk"},"change_message_id":"750d8315a9ad3e008e9bf9295e9651a3ffa3cf77","unresolved":true,"context_lines":[{"line_number":201,"context_line":"  not part of that check, so a job may be created for an all-offline"},{"line_number":202,"context_line":"  client."},{"line_number":203,"context_line":"* The Elasticsearch driver (deprecated) stores both columns and applies"},{"line_number":204,"context_line":"  the same identity. ``status`` is stored nowhere."},{"line_number":205,"context_line":""},{"line_number":206,"context_line":"REST API impact"},{"line_number":207,"context_line":"---------------"}],"source_content_type":"text/x-rst","patch_set":5,"id":"e1a39f87_3f0cd279","line":204,"range":{"start_line":204,"start_character":32,"end_line":204,"end_character":49},"updated":"2026-09-22 11:33:37.000000000","message":"is not stored in the database?","commit_id":"6950633353a42f64e22fbda55c028ef5ef07c00b"},{"author":{"_account_id":39044,"name":"Alicja Filipek","display_name":"alaf01","email":"alicja.filipek@cleura.com","username":"alaf01"},"change_message_id":"3f03178aceec0b832f0f173af7459b48f6e0f974","unresolved":true,"context_lines":[{"line_number":201,"context_line":"  not part of that check, so a job may be created for an all-offline"},{"line_number":202,"context_line":"  client."},{"line_number":203,"context_line":"* The Elasticsearch driver (deprecated) stores both columns and applies"},{"line_number":204,"context_line":"  the same identity. ``status`` is stored nowhere."},{"line_number":205,"context_line":""},{"line_number":206,"context_line":"REST API impact"},{"line_number":207,"context_line":"---------------"}],"source_content_type":"text/x-rst","patch_set":5,"id":"a28d3776_bfb00909","line":204,"range":{"start_line":204,"start_character":32,"end_line":204,"end_character":49},"in_reply_to":"e1a39f87_3f0cd279","updated":"2026-09-22 14:02:42.000000000","message":"no, it is computed on the fly based on the last heartbeat.","commit_id":"6950633353a42f64e22fbda55c028ef5ef07c00b"},{"author":{"_account_id":28619,"name":"Dmitriy Rabotyagov","email":"noonedeadpunk@gmail.com","username":"noonedeadpunk"},"change_message_id":"750d8315a9ad3e008e9bf9295e9651a3ffa3cf77","unresolved":true,"context_lines":[{"line_number":232,"context_line":"client document and answers with the record\u0027s ``uuid`` beside its"},{"line_number":233,"context_line":"``client_id``. Both are additive: a registration that omits the interval"},{"line_number":234,"context_line":"is judged by the configured default."},{"line_number":235,"context_line":""},{"line_number":236,"context_line":"**GET /v2/{project_id}/clients** — one entry per record, each with"},{"line_number":237,"context_line":"``last_heartbeat``, ``status`` and the ``poll_interval`` it reported"},{"line_number":238,"context_line":"inside ``client``, so the cadence a record is judged by can be read"}],"source_content_type":"text/x-rst","patch_set":5,"id":"387d73c0_cf5f1618","line":235,"updated":"2026-09-22 11:33:37.000000000","message":"I wonder if we should introduce `PATCH /v2/{project_id}/clients/{client_id}` when scheduler already has it\u0027s uuid stored locally, to just sync capabilities, or it\u0027s an overkill for now...","commit_id":"6950633353a42f64e22fbda55c028ef5ef07c00b"},{"author":{"_account_id":39044,"name":"Alicja Filipek","display_name":"alaf01","email":"alicja.filipek@cleura.com","username":"alaf01"},"change_message_id":"3f03178aceec0b832f0f173af7459b48f6e0f974","unresolved":true,"context_lines":[{"line_number":232,"context_line":"client document and answers with the record\u0027s ``uuid`` beside its"},{"line_number":233,"context_line":"``client_id``. Both are additive: a registration that omits the interval"},{"line_number":234,"context_line":"is judged by the configured default."},{"line_number":235,"context_line":""},{"line_number":236,"context_line":"**GET /v2/{project_id}/clients** — one entry per record, each with"},{"line_number":237,"context_line":"``last_heartbeat``, ``status`` and the ``poll_interval`` it reported"},{"line_number":238,"context_line":"inside ``client``, so the cadence a record is judged by can be read"}],"source_content_type":"text/x-rst","patch_set":5,"id":"8db97482_82448407","line":235,"in_reply_to":"387d73c0_cf5f1618","updated":"2026-09-22 14:02:42.000000000","message":"hmmm.... if we already have uuid imo we do not need client_id support.","commit_id":"6950633353a42f64e22fbda55c028ef5ef07c00b"},{"author":{"_account_id":28619,"name":"Dmitriy Rabotyagov","email":"noonedeadpunk@gmail.com","username":"noonedeadpunk"},"change_message_id":"750d8315a9ad3e008e9bf9295e9651a3ffa3cf77","unresolved":true,"context_lines":[{"line_number":284,"context_line":"* A poll writes one server-generated timestamp on an existing record in"},{"line_number":285,"context_line":"  the caller\u0027s own project; it cannot create, rename or re-own a client,"},{"line_number":286,"context_line":"  nor claim a future date."},{"line_number":287,"context_line":"* Listing clients reveals the ``uuid``, so a user in the project can"},{"line_number":288,"context_line":"  poll on a scheduler\u0027s behalf — as they can already re-register its"},{"line_number":289,"context_line":"  client. The design makes that unintentional, not impossible."},{"line_number":290,"context_line":"* The new path discloses no more than ``GET /jobs``, under its own rule."},{"line_number":291,"context_line":"* Deleting a member stays behind ``clients:delete``."},{"line_number":292,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"e6b60a90_4b2132ee","line":289,"range":{"start_line":287,"start_character":40,"end_line":289,"end_character":9},"updated":"2026-09-22 11:33:37.000000000","message":"It\u0027s important that a policy check would still be in place for the clients marked as `is_central`, so that users could not update/poll central clients unless they have admin privileges.\n\nWe also should mention adding new policies which would cover the new API endpoint.","commit_id":"6950633353a42f64e22fbda55c028ef5ef07c00b"},{"author":{"_account_id":39044,"name":"Alicja Filipek","display_name":"alaf01","email":"alicja.filipek@cleura.com","username":"alaf01"},"change_message_id":"3f03178aceec0b832f0f173af7459b48f6e0f974","unresolved":true,"context_lines":[{"line_number":284,"context_line":"* A poll writes one server-generated timestamp on an existing record in"},{"line_number":285,"context_line":"  the caller\u0027s own project; it cannot create, rename or re-own a client,"},{"line_number":286,"context_line":"  nor claim a future date."},{"line_number":287,"context_line":"* Listing clients reveals the ``uuid``, so a user in the project can"},{"line_number":288,"context_line":"  poll on a scheduler\u0027s behalf — as they can already re-register its"},{"line_number":289,"context_line":"  client. The design makes that unintentional, not impossible."},{"line_number":290,"context_line":"* The new path discloses no more than ``GET /jobs``, under its own rule."},{"line_number":291,"context_line":"* Deleting a member stays behind ``clients:delete``."},{"line_number":292,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"f5086c0d_c4638c30","line":289,"range":{"start_line":287,"start_character":40,"end_line":289,"end_character":9},"in_reply_to":"e6b60a90_4b2132ee","updated":"2026-09-22 14:02:42.000000000","message":"adding it to specs","commit_id":"6950633353a42f64e22fbda55c028ef5ef07c00b"},{"author":{"_account_id":28619,"name":"Dmitriy Rabotyagov","email":"noonedeadpunk@gmail.com","username":"noonedeadpunk"},"change_message_id":"750d8315a9ad3e008e9bf9295e9651a3ffa3cf77","unresolved":true,"context_lines":[{"line_number":299,"context_line":"Other end user impact"},{"line_number":300,"context_line":"---------------------"},{"line_number":301,"context_line":""},{"line_number":302,"context_line":"``openstack backup client list`` gains ``status`` and ``last"},{"line_number":303,"context_line":"heartbeat``, one row per scheduler; ``show`` gains both for the client"},{"line_number":304,"context_line":"as a whole plus a ``schedulers`` row naming each member by ``uuid`` —"},{"line_number":305,"context_line":"the same ``uuid`` ``openstack backup client delete`` takes to remove one"},{"line_number":306,"context_line":"of them. Horizon shows status and last heartbeat in the clients table"},{"line_number":307,"context_line":"and on the client detail page, highlighting offline rows."},{"line_number":308,"context_line":""},{"line_number":309,"context_line":"Performance Impact"},{"line_number":310,"context_line":"------------------"},{"line_number":311,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"81063e34_a704b1a2","line":308,"range":{"start_line":302,"start_character":0,"end_line":308,"end_character":0},"updated":"2026-09-22 11:33:37.000000000","message":"we also need to make sure that they are backwards compatible, and that API may not have expected fields yet, and it\u0027s not easily discoverable without microversions...","commit_id":"6950633353a42f64e22fbda55c028ef5ef07c00b"},{"author":{"_account_id":39044,"name":"Alicja Filipek","display_name":"alaf01","email":"alicja.filipek@cleura.com","username":"alaf01"},"change_message_id":"3f03178aceec0b832f0f173af7459b48f6e0f974","unresolved":true,"context_lines":[{"line_number":299,"context_line":"Other end user impact"},{"line_number":300,"context_line":"---------------------"},{"line_number":301,"context_line":""},{"line_number":302,"context_line":"``openstack backup client list`` gains ``status`` and ``last"},{"line_number":303,"context_line":"heartbeat``, one row per scheduler; ``show`` gains both for the client"},{"line_number":304,"context_line":"as a whole plus a ``schedulers`` row naming each member by ``uuid`` —"},{"line_number":305,"context_line":"the same ``uuid`` ``openstack backup client delete`` takes to remove one"},{"line_number":306,"context_line":"of them. Horizon shows status and last heartbeat in the clients table"},{"line_number":307,"context_line":"and on the client detail page, highlighting offline rows."},{"line_number":308,"context_line":""},{"line_number":309,"context_line":"Performance Impact"},{"line_number":310,"context_line":"------------------"},{"line_number":311,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"461c6008_1ff8a066","line":308,"range":{"start_line":302,"start_character":0,"end_line":308,"end_character":0},"in_reply_to":"81063e34_a704b1a2","updated":"2026-09-22 14:02:42.000000000","message":"yes, I am adding it","commit_id":"6950633353a42f64e22fbda55c028ef5ef07c00b"},{"author":{"_account_id":28619,"name":"Dmitriy Rabotyagov","email":"noonedeadpunk@gmail.com","username":"noonedeadpunk"},"change_message_id":"750d8315a9ad3e008e9bf9295e9651a3ffa3cf77","unresolved":true,"context_lines":[{"line_number":334,"context_line":"   # freezer-api.conf"},{"line_number":335,"context_line":"   [clients]"},{"line_number":336,"context_line":"   missed_polls \u003d 3              # polls a scheduler may miss"},{"line_number":337,"context_line":"   default_poll_interval \u003d 60    # assumed when a record reports none"},{"line_number":338,"context_line":""},{"line_number":339,"context_line":"   # freezer-scheduler.conf"},{"line_number":340,"context_line":"   [scheduler]"}],"source_content_type":"text/x-rst","patch_set":5,"id":"cd7e3d5e_e866ca2d","line":337,"range":{"start_line":337,"start_character":0,"end_line":337,"end_character":69},"updated":"2026-09-22 11:33:37.000000000","message":"do we really need that?","commit_id":"6950633353a42f64e22fbda55c028ef5ef07c00b"},{"author":{"_account_id":39044,"name":"Alicja Filipek","display_name":"alaf01","email":"alicja.filipek@cleura.com","username":"alaf01"},"change_message_id":"3f03178aceec0b832f0f173af7459b48f6e0f974","unresolved":true,"context_lines":[{"line_number":334,"context_line":"   # freezer-api.conf"},{"line_number":335,"context_line":"   [clients]"},{"line_number":336,"context_line":"   missed_polls \u003d 3              # polls a scheduler may miss"},{"line_number":337,"context_line":"   default_poll_interval \u003d 60    # assumed when a record reports none"},{"line_number":338,"context_line":""},{"line_number":339,"context_line":"   # freezer-scheduler.conf"},{"line_number":340,"context_line":"   [scheduler]"}],"source_content_type":"text/x-rst","patch_set":5,"id":"f370b220_ed0e1726","line":337,"range":{"start_line":337,"start_character":0,"end_line":337,"end_character":69},"in_reply_to":"cd7e3d5e_e866ca2d","updated":"2026-09-22 14:02:42.000000000","message":"no, we can remove it, old schedulers will have unknown status anyway.","commit_id":"6950633353a42f64e22fbda55c028ef5ef07c00b"},{"author":{"_account_id":28619,"name":"Dmitriy Rabotyagov","email":"noonedeadpunk@gmail.com","username":"noonedeadpunk"},"change_message_id":"750d8315a9ad3e008e9bf9295e9651a3ffa3cf77","unresolved":true,"context_lines":[{"line_number":349,"context_line":""},{"line_number":350,"context_line":"Hostnames must be distinct among the schedulers sharing a ``client_id``,"},{"line_number":351,"context_line":"and are not unique by nature — cloned images, short names in two"},{"line_number":352,"context_line":"domains, containers with a baked hostname. Two schedulers reporting one"},{"line_number":353,"context_line":"hostname count as one member; a hostname that changes per restart leaves"},{"line_number":354,"context_line":"a record behind each time. Both are visible in the member list, and the"},{"line_number":355,"context_line":"escape hatch is a distinct ``client_id`` or the deferred ``member_id``."},{"line_number":356,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"6f2c6b12_30cbc7b2","line":353,"range":{"start_line":352,"start_character":68,"end_line":353,"end_character":8},"updated":"2026-09-22 11:33:37.000000000","message":"and client_id","commit_id":"6950633353a42f64e22fbda55c028ef5ef07c00b"},{"author":{"_account_id":39044,"name":"Alicja Filipek","display_name":"alaf01","email":"alicja.filipek@cleura.com","username":"alaf01"},"change_message_id":"3f03178aceec0b832f0f173af7459b48f6e0f974","unresolved":true,"context_lines":[{"line_number":349,"context_line":""},{"line_number":350,"context_line":"Hostnames must be distinct among the schedulers sharing a ``client_id``,"},{"line_number":351,"context_line":"and are not unique by nature — cloned images, short names in two"},{"line_number":352,"context_line":"domains, containers with a baked hostname. Two schedulers reporting one"},{"line_number":353,"context_line":"hostname count as one member; a hostname that changes per restart leaves"},{"line_number":354,"context_line":"a record behind each time. Both are visible in the member list, and the"},{"line_number":355,"context_line":"escape hatch is a distinct ``client_id`` or the deferred ``member_id``."},{"line_number":356,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"a907b8dd_92c67812","line":353,"range":{"start_line":352,"start_character":68,"end_line":353,"end_character":8},"in_reply_to":"6f2c6b12_30cbc7b2","updated":"2026-09-22 14:02:42.000000000","message":"right, adding.","commit_id":"6950633353a42f64e22fbda55c028ef5ef07c00b"}]}
