)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":29244,"name":"Gregory Thiemonge","email":"gthiemon@redhat.com","username":"gthiemonge"},"change_message_id":"975f3ae0ad20e6f9a4eea33695f0847e24f4a390","unresolved":true,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Support deploy amphora in different availability zones"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"- Added option to enable multizone deployment in Octavia config"},{"line_number":10,"context_line":"  Enabling this option changes behaviour for creation Amphora in"},{"line_number":11,"context_line":"  availability zones (more detailes below)."},{"line_number":12,"context_line":"- Added attribute for octavia availability zones, which indicates, that"},{"line_number":13,"context_line":"  AZ could be used in multizone deployment."},{"line_number":14,"context_line":"- Added attribute for amphora resource to indicate, which AZ was"},{"line_number":15,"context_line":"  calculated in multizone deployment."},{"line_number":16,"context_line":"- Added validation to create Loadbalancer with multizone enabled flag,"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"af29b2df_a2d841cb","line":13,"range":{"start_line":9,"start_character":0,"end_line":13,"end_character":43},"updated":"2026-02-11 07:35:11.000000000","message":"I think the key point will be how to configure it\n\nWe\u0027ve seen similar different proposals, and many different requests for a similar feature\nsome people want to be able to specify a list of AZs when creating a LB (for instance LB1 in az1 \u0026 az2, LB2 in az1 \u0026 az3), some even want to click on the desired AZs in horizon.\n\nI wonder if we can find a way to satisfy all those users.","commit_id":"96e8041dbab59ea3bff519f69589170cad784adb"},{"author":{"_account_id":29244,"name":"Gregory Thiemonge","email":"gthiemon@redhat.com","username":"gthiemonge"},"change_message_id":"dc2a03156558b8746711394b2acb5f8dcdffde31","unresolved":true,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Support deploy amphora in different availability zones"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"- Added option to enable multizone deployment in Octavia config"},{"line_number":10,"context_line":"  Enabling this option changes behaviour for creation Amphora in"},{"line_number":11,"context_line":"  availability zones (more detailes below)."},{"line_number":12,"context_line":"- Added attribute for octavia availability zones, which indicates, that"},{"line_number":13,"context_line":"  AZ could be used in multizone deployment."},{"line_number":14,"context_line":"- Added attribute for amphora resource to indicate, which AZ was"},{"line_number":15,"context_line":"  calculated in multizone deployment."},{"line_number":16,"context_line":"- Added validation to create Loadbalancer with multizone enabled flag,"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"69874ee1_f845e6e5","line":13,"range":{"start_line":9,"start_character":0,"end_line":13,"end_character":43},"in_reply_to":"3221a629_13e9c855","updated":"2026-02-12 13:33:23.000000000","message":"we can discuss it with a wider team first (team meeting, or PTG if you can wait), I would prefer to get other folks\u0027 opinion on it.","commit_id":"96e8041dbab59ea3bff519f69589170cad784adb"},{"author":{"_account_id":29244,"name":"Gregory Thiemonge","email":"gthiemon@redhat.com","username":"gthiemonge"},"change_message_id":"5581dba700bbfc34c5575fd6881e69026d30034a","unresolved":true,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Support deploy amphora in different availability zones"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"- Added option to enable multizone deployment in Octavia config"},{"line_number":10,"context_line":"  Enabling this option changes behaviour for creation Amphora in"},{"line_number":11,"context_line":"  availability zones (more detailes below)."},{"line_number":12,"context_line":"- Added attribute for octavia availability zones, which indicates, that"},{"line_number":13,"context_line":"  AZ could be used in multizone deployment."},{"line_number":14,"context_line":"- Added attribute for amphora resource to indicate, which AZ was"},{"line_number":15,"context_line":"  calculated in multizone deployment."},{"line_number":16,"context_line":"- Added validation to create Loadbalancer with multizone enabled flag,"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"edd3574d_b5544794","line":13,"range":{"start_line":9,"start_character":0,"end_line":13,"end_character":43},"in_reply_to":"69874ee1_f845e6e5","updated":"2026-02-12 13:35:02.000000000","message":"for this kind of changes, we usually ask people to write a spec to discuss the impact on the API, DB, and how it is integrated\n\nfor instance https://review.opendev.org/c/openstack/octavia/+/923571/8","commit_id":"96e8041dbab59ea3bff519f69589170cad784adb"},{"author":{"_account_id":29244,"name":"Gregory Thiemonge","email":"gthiemon@redhat.com","username":"gthiemonge"},"change_message_id":"026ead57fa46d4848fcbde3bd1f172553075a11e","unresolved":true,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Support deploy amphora in different availability zones"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"- Added option to enable multizone deployment in Octavia config"},{"line_number":10,"context_line":"  Enabling this option changes behaviour for creation Amphora in"},{"line_number":11,"context_line":"  availability zones (more detailes below)."},{"line_number":12,"context_line":"- Added attribute for octavia availability zones, which indicates, that"},{"line_number":13,"context_line":"  AZ could be used in multizone deployment."},{"line_number":14,"context_line":"- Added attribute for amphora resource to indicate, which AZ was"},{"line_number":15,"context_line":"  calculated in multizone deployment."},{"line_number":16,"context_line":"- Added validation to create Loadbalancer with multizone enabled flag,"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"e09fa0d2_3abe3ea0","line":13,"range":{"start_line":9,"start_character":0,"end_line":13,"end_character":43},"in_reply_to":"91f6cd75_afb8482d","updated":"2026-02-12 09:53:47.000000000","message":"* if LB1 is in az1 \u0026 az2, only these 2 AZs will be used\n  if LB1 is in az1, az2 \u0026 az3, 2 of the AZs will be used (randomly), in case of failover, the 3rd AZ can be used too\n* so far I have no idea 😄\n\n\u003e several (2 or more) AZs specified\n\ncurrently I think we can only pass one Octavia AZ when creating a LB\nI don\u0027t know the impact of changing this in the API, but it would be easier to control by users.\n\nanother approach could be:\n- replace your use_in_multizone bool with a list of strings (a list of multizone names: mz1,mz2)\n- admin can decide: az1 is in mz1 and mz2, az2 in mz\u003cx\u003e etc...\n- then we need to find a way to pass a multizone name when creating a LB","commit_id":"96e8041dbab59ea3bff519f69589170cad784adb"},{"author":{"_account_id":6577,"name":"Sergey Kraynev","email":"sergejyit@gmail.com","username":"skraynev"},"change_message_id":"4da418cc4c49a9cb79c07707ef818ee3ba7eb305","unresolved":true,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Support deploy amphora in different availability zones"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"- Added option to enable multizone deployment in Octavia config"},{"line_number":10,"context_line":"  Enabling this option changes behaviour for creation Amphora in"},{"line_number":11,"context_line":"  availability zones (more detailes below)."},{"line_number":12,"context_line":"- Added attribute for octavia availability zones, which indicates, that"},{"line_number":13,"context_line":"  AZ could be used in multizone deployment."},{"line_number":14,"context_line":"- Added attribute for amphora resource to indicate, which AZ was"},{"line_number":15,"context_line":"  calculated in multizone deployment."},{"line_number":16,"context_line":"- Added validation to create Loadbalancer with multizone enabled flag,"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"91f6cd75_afb8482d","line":13,"range":{"start_line":9,"start_character":0,"end_line":13,"end_character":43},"in_reply_to":"af29b2df_a2d841cb","updated":"2026-02-11 08:19:29.000000000","message":"Sounds reasonable.\n- Does it means, that: LB1 in az1 \u0026 az2 - will always be in these two zones?\nshould it be able to failover amphora in az3 (if it\u0027s enabled for multizone generally, but not for particular LB) ?\n\n- Is this case with specification list of az via API preferred or I could combine it?\n\nPotentially it could be combined with current approach, like:\nif multizone enabled and not AZ specified - use logic proposed in this PR.\nif multizone enabled and one AZ specified - use old logic for backport combatibility.\nif multizone enabled and several (2 or more) AZs specified - use only these Zones for deploy LBs amphoras and ignore extra available zones.","commit_id":"96e8041dbab59ea3bff519f69589170cad784adb"},{"author":{"_account_id":6577,"name":"Sergey Kraynev","email":"sergejyit@gmail.com","username":"skraynev"},"change_message_id":"55105a37cdde9a442a98111c74c1e7f5a78add84","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Support deploy amphora in different availability zones"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"- Added option to enable multizone deployment in Octavia config"},{"line_number":10,"context_line":"  Enabling this option changes behaviour for creation Amphora in"},{"line_number":11,"context_line":"  availability zones (more detailes below)."},{"line_number":12,"context_line":"- Added attribute for octavia availability zones, which indicates, that"},{"line_number":13,"context_line":"  AZ could be used in multizone deployment."},{"line_number":14,"context_line":"- Added attribute for amphora resource to indicate, which AZ was"},{"line_number":15,"context_line":"  calculated in multizone deployment."},{"line_number":16,"context_line":"- Added validation to create Loadbalancer with multizone enabled flag,"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"848088d5_88abec50","line":13,"range":{"start_line":9,"start_character":0,"end_line":13,"end_character":43},"in_reply_to":"ca603aa0_7315476b","updated":"2026-05-21 06:09:21.000000000","message":"Done","commit_id":"96e8041dbab59ea3bff519f69589170cad784adb"},{"author":{"_account_id":6577,"name":"Sergey Kraynev","email":"sergejyit@gmail.com","username":"skraynev"},"change_message_id":"7670e1678afe4f2e95544261c0b7d7daf564be65","unresolved":true,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Support deploy amphora in different availability zones"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"- Added option to enable multizone deployment in Octavia config"},{"line_number":10,"context_line":"  Enabling this option changes behaviour for creation Amphora in"},{"line_number":11,"context_line":"  availability zones (more detailes below)."},{"line_number":12,"context_line":"- Added attribute for octavia availability zones, which indicates, that"},{"line_number":13,"context_line":"  AZ could be used in multizone deployment."},{"line_number":14,"context_line":"- Added attribute for amphora resource to indicate, which AZ was"},{"line_number":15,"context_line":"  calculated in multizone deployment."},{"line_number":16,"context_line":"- Added validation to create Loadbalancer with multizone enabled flag,"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"3221a629_13e9c855","line":13,"range":{"start_line":9,"start_character":0,"end_line":13,"end_character":43},"in_reply_to":"e09fa0d2_3abe3ea0","updated":"2026-02-12 13:21:56.000000000","message":"got it. sounds good, I will try to add it and come back with changes.","commit_id":"96e8041dbab59ea3bff519f69589170cad784adb"},{"author":{"_account_id":6577,"name":"Sergey Kraynev","email":"sergejyit@gmail.com","username":"skraynev"},"change_message_id":"82a90caf2b0ff4dcd8743aec583ead5c34c4892f","unresolved":true,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Support deploy amphora in different availability zones"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"- Added option to enable multizone deployment in Octavia config"},{"line_number":10,"context_line":"  Enabling this option changes behaviour for creation Amphora in"},{"line_number":11,"context_line":"  availability zones (more detailes below)."},{"line_number":12,"context_line":"- Added attribute for octavia availability zones, which indicates, that"},{"line_number":13,"context_line":"  AZ could be used in multizone deployment."},{"line_number":14,"context_line":"- Added attribute for amphora resource to indicate, which AZ was"},{"line_number":15,"context_line":"  calculated in multizone deployment."},{"line_number":16,"context_line":"- Added validation to create Loadbalancer with multizone enabled flag,"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"ca603aa0_7315476b","line":13,"range":{"start_line":9,"start_character":0,"end_line":13,"end_character":43},"in_reply_to":"edd3574d_b5544794","updated":"2026-05-17 18:42:31.000000000","message":"Proposal is created now: https://review.opendev.org/c/openstack/octavia/+/988883\nHowever I did not add logic for API extra options for LB yet.\nI will try to do it during next week","commit_id":"96e8041dbab59ea3bff519f69589170cad784adb"},{"author":{"_account_id":28619,"name":"Dmitriy Rabotyagov","email":"noonedeadpunk@gmail.com","username":"noonedeadpunk"},"change_message_id":"4fed3a421ac70fa083ebfcdf23f793e530924dd6","unresolved":true,"context_lines":[{"line_number":42,"context_line":"  * Set the same AZ for Backup amphora"},{"line_number":43,"context_line":"  * Try to find randomly any AZ not equal to Master\u0027s AZ (if it exist"},{"line_number":44,"context_line":"    set it for Backup Amphora)"},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"Detailed description is available here:"},{"line_number":47,"context_line":"https://review.opendev.org/c/openstack/octavia/+/988883"},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"The biggest part of PR is 1.5 k lines of tests for CreateCompute task."},{"line_number":50,"context_line":"It covers the ollowing cases:"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":14,"id":"40281840_0334fdf7","line":47,"range":{"start_line":45,"start_character":0,"end_line":47,"end_character":55},"updated":"2026-06-22 11:03:18.000000000","message":"This must be either as `Depends-On` or this patch must be rebased on top of it, to prevent accidental merge before spec is approved","commit_id":"ac1c022ec4ad01f867c6ec082e2278e633422848"},{"author":{"_account_id":6577,"name":"Sergey Kraynev","email":"sergejyit@gmail.com","username":"skraynev"},"change_message_id":"608bfa74ff4c4b6e411b34468aa9921189ed417e","unresolved":false,"context_lines":[{"line_number":42,"context_line":"  * Set the same AZ for Backup amphora"},{"line_number":43,"context_line":"  * Try to find randomly any AZ not equal to Master\u0027s AZ (if it exist"},{"line_number":44,"context_line":"    set it for Backup Amphora)"},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"Detailed description is available here:"},{"line_number":47,"context_line":"https://review.opendev.org/c/openstack/octavia/+/988883"},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"The biggest part of PR is 1.5 k lines of tests for CreateCompute task."},{"line_number":50,"context_line":"It covers the ollowing cases:"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":14,"id":"2ad8c274_15eeac67","line":47,"range":{"start_line":45,"start_character":0,"end_line":47,"end_character":55},"in_reply_to":"40281840_0334fdf7","updated":"2026-06-23 07:49:39.000000000","message":"no problem. updated","commit_id":"ac1c022ec4ad01f867c6ec082e2278e633422848"},{"author":{"_account_id":29244,"name":"Gregory Thiemonge","email":"gthiemon@redhat.com","username":"gthiemonge"},"change_message_id":"7bdadf9f4241b2cdaa1ea60250436f6837091135","unresolved":true,"context_lines":[{"line_number":55,"context_line":"* Failover LB after enabling multizone, when AZ is already calculated"},{"line_number":56,"context_line":"  for amphora"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"Change-Id: Id391e43752c7d952ed3703275ee5d06ffbf038d6"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"Signed-off-by: Sergey Kraynev \u003csergejyit@gmail.com\u003e"},{"line_number":61,"context_line":"Change-Id: I96a6d019aef823f5c13918bce874a88d008c53b9"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":15,"id":"f92b0c23_29e3106b","line":61,"range":{"start_line":58,"start_character":1,"end_line":61,"end_character":52},"updated":"2026-07-08 07:24:36.000000000","message":"BTW you have 2 change-ids in the commit message","commit_id":"e0d0e37360cd90e817105621e958fbcb1c1a090d"},{"author":{"_account_id":6577,"name":"Sergey Kraynev","email":"sergejyit@gmail.com","username":"skraynev"},"change_message_id":"ccb8ad45c2cb61aab10c30f35659357fdc51285e","unresolved":false,"context_lines":[{"line_number":55,"context_line":"* Failover LB after enabling multizone, when AZ is already calculated"},{"line_number":56,"context_line":"  for amphora"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"Change-Id: Id391e43752c7d952ed3703275ee5d06ffbf038d6"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"Signed-off-by: Sergey Kraynev \u003csergejyit@gmail.com\u003e"},{"line_number":61,"context_line":"Change-Id: I96a6d019aef823f5c13918bce874a88d008c53b9"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":15,"id":"e174a3d6_4081b05b","line":61,"range":{"start_line":58,"start_character":1,"end_line":61,"end_character":52},"in_reply_to":"d7d4ebe2_b502183b","updated":"2026-08-14 09:33:25.000000000","message":"Marked as resolved.","commit_id":"e0d0e37360cd90e817105621e958fbcb1c1a090d"},{"author":{"_account_id":6577,"name":"Sergey Kraynev","email":"sergejyit@gmail.com","username":"skraynev"},"change_message_id":"ca6ea5796522b7887b60548c70d1449b19f57922","unresolved":true,"context_lines":[{"line_number":55,"context_line":"* Failover LB after enabling multizone, when AZ is already calculated"},{"line_number":56,"context_line":"  for amphora"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"Change-Id: Id391e43752c7d952ed3703275ee5d06ffbf038d6"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"Signed-off-by: Sergey Kraynev \u003csergejyit@gmail.com\u003e"},{"line_number":61,"context_line":"Change-Id: I96a6d019aef823f5c13918bce874a88d008c53b9"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":15,"id":"d7d4ebe2_b502183b","line":61,"range":{"start_line":58,"start_character":1,"end_line":61,"end_character":52},"in_reply_to":"f92b0c23_29e3106b","updated":"2026-07-13 06:30:21.000000000","message":"oops. fixed. thank you for catching it.","commit_id":"e0d0e37360cd90e817105621e958fbcb1c1a090d"},{"author":{"_account_id":29244,"name":"Gregory Thiemonge","email":"gthiemon@redhat.com","username":"gthiemonge"},"change_message_id":"90fd335dd9a681b068562ee367fd08e08205e075","unresolved":true,"context_lines":[{"line_number":71,"context_line":"AZs from the explicit list. During failover, AZ candidates are"},{"line_number":72,"context_line":"restricted to the explicit list when present."},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"Co-Authored-By: Claude Opus 4.6 \u003cnoreply@anthropic.com\u003e"},{"line_number":75,"context_line":"Co-Authored-By: Gregory Thiemonge \u003cgthiemon@redhat.com\u003e"},{"line_number":76,"context_line":"Signed-off-by: Sergey Kraynev \u003csergejyit@gmail.com\u003e"},{"line_number":77,"context_line":"Change-Id: I96a6d019aef823f5c13918bce874a88d008c53b9"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":32,"id":"59908595_ef2a5a8b","line":74,"range":{"start_line":74,"start_character":1,"end_line":74,"end_character":13},"updated":"2026-10-22 08:41:14.000000000","message":"Assisted-By for AI tools (I probably added this line, sorry)","commit_id":"3ef54433af829af5982684d43e34610ef61b6e64"},{"author":{"_account_id":6577,"name":"Sergey Kraynev","email":"sergejyit@gmail.com","username":"skraynev"},"change_message_id":"2a0bebce74a29ec7d12d40361d5f2cc1ca337e02","unresolved":false,"context_lines":[{"line_number":71,"context_line":"AZs from the explicit list. During failover, AZ candidates are"},{"line_number":72,"context_line":"restricted to the explicit list when present."},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"Co-Authored-By: Claude Opus 4.6 \u003cnoreply@anthropic.com\u003e"},{"line_number":75,"context_line":"Co-Authored-By: Gregory Thiemonge \u003cgthiemon@redhat.com\u003e"},{"line_number":76,"context_line":"Signed-off-by: Sergey Kraynev \u003csergejyit@gmail.com\u003e"},{"line_number":77,"context_line":"Change-Id: I96a6d019aef823f5c13918bce874a88d008c53b9"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":32,"id":"629407ca_a06cc46d","line":74,"range":{"start_line":74,"start_character":1,"end_line":74,"end_character":13},"in_reply_to":"59908595_ef2a5a8b","updated":"2026-11-22 08:34:21.000000000","message":"Done","commit_id":"3ef54433af829af5982684d43e34610ef61b6e64"}],"/PATCHSET_LEVEL":[{"author":{"_account_id":6577,"name":"Sergey Kraynev","email":"sergejyit@gmail.com","username":"skraynev"},"change_message_id":"89a6d05da2d89f65f01aea09828f69fa408a8748","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":9,"id":"41391c5b_ac9fde2f","updated":"2026-05-17 14:09:18.000000000","message":"@gthiemon@redhat.com hi, I added proposal referenced this PR.\nI also will try to update in short time this PR, according description in proposal and my last understanding how it works.","commit_id":"ff62fc823e30ba9cdb36b7398b1e839d163608f2"},{"author":{"_account_id":38562,"name":"Richard Cruise","email":"rcruise@redhat.com","username":"rcruise"},"change_message_id":"30b8942ff6bf5fc9e442a6a87c658b56e798e009","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":9,"id":"616eb55a_708c4801","updated":"2026-04-07 11:35:51.000000000","message":"Further to Greg\u0027s comments about specifying the AZ, I have an idea around how it can be done within the current change. We could provide a list of allowed AZs for either the amphora or LB via the API which is then stored in the DB. \n\nWhen deciding which AZ the Amphora will reside in, the allowed AZs list would act as a filter and constrain the selection to only the AZs the user wants. Within that, it is presumably allowed for the Amphora to reside on any AZ the user specified as long as anti-affinity is maintained between Master \u0026 Backup\n\nI\u0027ve provided a few suggestions around how it could work rather than creating another patch. @sergejyit@gmail.com, if you think it\u0027s worth pursuing I could try and propose a code patch into your change to do this?\n\nI like the idea that AZs can be specified as being multizone or not. There may be cases where an admin does not wish to allow an AZ to be included in a multizone setup even if the user tried to create a multizone amphora on that AZ","commit_id":"ff62fc823e30ba9cdb36b7398b1e839d163608f2"},{"author":{"_account_id":29244,"name":"Gregory Thiemonge","email":"gthiemon@redhat.com","username":"gthiemonge"},"change_message_id":"6572bd1af9746122ebc0f69d79540ddcf8e00cf1","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":9,"id":"ce40821e_7b5ea192","updated":"2026-03-19 08:18:59.000000000","message":"I\u0027ve thought about this feature:\n\nwhat about adding an \"availability_zones\" attribute to the load balancer API?\n\nUsers would call POST /loadbalancer with\n{\n  \"availability_zones\": [\"az1\", az2\u0027]\n}\n\nwe would keep the existing \"availability_zone\" attribute (a string) for backward compat, so \"availability_zone\": \"az1\" would be the same as \"availability_zones\": [\"az1\"]\n\nit would be nicely integrated with octavia-dashboard, we would just update the choice box to a multi choice box for the AZs.\n\nWDYT about it?","commit_id":"ff62fc823e30ba9cdb36b7398b1e839d163608f2"},{"author":{"_account_id":6577,"name":"Sergey Kraynev","email":"sergejyit@gmail.com","username":"skraynev"},"change_message_id":"4b3127b3e9cd393d58d55d453cd2e5811f41616c","unresolved":true,"context_lines":[],"source_content_type":"","patch_set":9,"id":"efa6d9f8_46548dd9","in_reply_to":"6511fdfd_b662e1fa","updated":"2026-05-13 07:57:03.000000000","message":"Hi, Gregory. Thank you for reminder.\nI actually re-worked this MR, but without API for passing AZ on LB creation.\nAnd put it on pause due to different workloads. I want to prepare solution + proposal during weekend.\nAnd let you know status on the next week. I will be happy some help after it with finalizing/review.","commit_id":"ff62fc823e30ba9cdb36b7398b1e839d163608f2"},{"author":{"_account_id":6577,"name":"Sergey Kraynev","email":"sergejyit@gmail.com","username":"skraynev"},"change_message_id":"7206ecd6e07b4b58654a9e80c9c12e37c65e167d","unresolved":true,"context_lines":[],"source_content_type":"","patch_set":9,"id":"f6595e2a_8fcc349b","in_reply_to":"ce40821e_7b5ea192","updated":"2026-03-23 10:39:19.000000000","message":"I think, that it\u0027s possible to do. \nHowever I\u0027d like also to support case, when AZs are not specified.\nFor example you are not familiar with existing zones and don\u0027t want to choose zones - you want to make sure, that zones will be different.","commit_id":"ff62fc823e30ba9cdb36b7398b1e839d163608f2"},{"author":{"_account_id":6577,"name":"Sergey Kraynev","email":"sergejyit@gmail.com","username":"skraynev"},"change_message_id":"5a7e96deab64e867c93223f95d363fa805b3f32e","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":9,"id":"601d93f3_756533cd","in_reply_to":"efa6d9f8_46548dd9","updated":"2026-05-27 11:35:36.000000000","message":"proposal: https://review.opendev.org/c/openstack/octavia/+/988883","commit_id":"ff62fc823e30ba9cdb36b7398b1e839d163608f2"},{"author":{"_account_id":29244,"name":"Gregory Thiemonge","email":"gthiemon@redhat.com","username":"gthiemonge"},"change_message_id":"974d8fb7e2e4eb16cbf0f15ecb25a0d0cd41d19b","unresolved":true,"context_lines":[],"source_content_type":"","patch_set":9,"id":"6511fdfd_b662e1fa","in_reply_to":"f6595e2a_8fcc349b","updated":"2026-05-13 07:04:06.000000000","message":"ok so, having the possibility to:\n- explicitly select one or more AZs when creating a LB\n- implicitly create amphorae in AZs configured in \"multizone\" when creating a LB without passing AZs\n\nBTW are you still working on it? I really want to get this feature in the H release cycle, don\u0027t hesitate if you need help to implement the changes.","commit_id":"ff62fc823e30ba9cdb36b7398b1e839d163608f2"},{"author":{"_account_id":38562,"name":"Richard Cruise","email":"rcruise@redhat.com","username":"rcruise"},"change_message_id":"1f843bd930bf832926e2560bad57a6234771bbad","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":10,"id":"6a7cd8f3_575d5440","updated":"2026-05-20 16:15:08.000000000","message":"recheck - pip install issue","commit_id":"b3b66756eb19fc2fc0c8f2b0a6e8f9148433516d"},{"author":{"_account_id":29244,"name":"Gregory Thiemonge","email":"gthiemon@redhat.com","username":"gthiemonge"},"change_message_id":"9af767980e6961f7cc807293d46de80543909b84","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":11,"id":"edc8b0f7_131a2029","updated":"2026-06-09 12:49:06.000000000","message":"Can you also add a releasenote that describes the feature?","commit_id":"153f39e2588794363542d13f3373ae84f8c54dec"},{"author":{"_account_id":6577,"name":"Sergey Kraynev","email":"sergejyit@gmail.com","username":"skraynev"},"change_message_id":"2cb74fff4d33920d0cc37a302955a3ad884b0e32","unresolved":true,"context_lines":[],"source_content_type":"","patch_set":11,"id":"062ba9ff_724f4669","updated":"2026-05-21 07:52:35.000000000","message":"Hm. I have not idea why functional-py310 is failed, when 3.13 passed.\nand I could not load logs for this failed job. @gthiemon@redhat.com could you please give an advise what to do here?","commit_id":"153f39e2588794363542d13f3373ae84f8c54dec"},{"author":{"_account_id":38562,"name":"Richard Cruise","email":"rcruise@redhat.com","username":"rcruise"},"change_message_id":"985c7024c4b88e1df45911059bdc229798c116e6","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":11,"id":"7e79a06e_97c9e51d","updated":"2026-05-25 14:28:10.000000000","message":"recheck - python 310 jobs have been removed","commit_id":"153f39e2588794363542d13f3373ae84f8c54dec"},{"author":{"_account_id":29244,"name":"Gregory Thiemonge","email":"gthiemon@redhat.com","username":"gthiemonge"},"change_message_id":"bd2ca7901e6a61d997a43c0b7d8f76ca4f6ea6b8","unresolved":true,"context_lines":[],"source_content_type":"","patch_set":11,"id":"6d1dfa54_3d384813","in_reply_to":"062ba9ff_724f4669","updated":"2026-05-21 08:32:49.000000000","message":"I\u0027ve just proposed a patch that removes the py310 jobs (3.11 is the minimal supported version)\nI hope it merges today","commit_id":"153f39e2588794363542d13f3373ae84f8c54dec"},{"author":{"_account_id":6577,"name":"Sergey Kraynev","email":"sergejyit@gmail.com","username":"skraynev"},"change_message_id":"5a7e96deab64e867c93223f95d363fa805b3f32e","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":11,"id":"f6b5af8c_859fd18d","in_reply_to":"6d1dfa54_3d384813","updated":"2026-05-27 11:35:36.000000000","message":"Acknowledged","commit_id":"153f39e2588794363542d13f3373ae84f8c54dec"},{"author":{"_account_id":6577,"name":"Sergey Kraynev","email":"sergejyit@gmail.com","username":"skraynev"},"change_message_id":"88371ee744ac34bc231bd47d625e12f8b66e376c","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":11,"id":"0da7aa8e_61f1cbb8","in_reply_to":"edc8b0f7_131a2029","updated":"2026-06-15 16:55:34.000000000","message":"sure, I will add it","commit_id":"153f39e2588794363542d13f3373ae84f8c54dec"},{"author":{"_account_id":29244,"name":"Gregory Thiemonge","email":"gthiemon@redhat.com","username":"gthiemonge"},"change_message_id":"24f56d09f8cb200e56860bdb28ce6db39e67b30b","unresolved":true,"context_lines":[],"source_content_type":"","patch_set":15,"id":"8533d51c_6eca92f4","updated":"2026-07-08 07:01:59.000000000","message":"release note is still missing\n\nI also noticed that the load balancer API hasn\u0027t been updated (adding `availability_zones` support), do you plan to address it?\n(as I requested it in the spec change, I can help to implement it if you prefer)","commit_id":"e0d0e37360cd90e817105621e958fbcb1c1a090d"},{"author":{"_account_id":6577,"name":"Sergey Kraynev","email":"sergejyit@gmail.com","username":"skraynev"},"change_message_id":"ca6ea5796522b7887b60548c70d1449b19f57922","unresolved":true,"context_lines":[],"source_content_type":"","patch_set":15,"id":"ec8bbafe_aa4aaabf","in_reply_to":"8533d51c_6eca92f4","updated":"2026-07-13 06:30:21.000000000","message":"Release Note - now added.\nRegarding new API. I wanted, to add it myself, but will be glad any help, if you want to get it asap.","commit_id":"e0d0e37360cd90e817105621e958fbcb1c1a090d"},{"author":{"_account_id":6577,"name":"Sergey Kraynev","email":"sergejyit@gmail.com","username":"skraynev"},"change_message_id":"ccb8ad45c2cb61aab10c30f35659357fdc51285e","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":15,"id":"4d8d0e7c_97986def","in_reply_to":"ec8bbafe_aa4aaabf","updated":"2026-08-14 09:33:25.000000000","message":"Done","commit_id":"e0d0e37360cd90e817105621e958fbcb1c1a090d"},{"author":{"_account_id":29244,"name":"Gregory Thiemonge","email":"gthiemon@redhat.com","username":"gthiemonge"},"change_message_id":"831b3dc33bd98c8db2cd3118f285c4e3600ef3e2","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":18,"id":"2f999071_4d86433b","updated":"2026-08-05 08:08:16.000000000","message":"@sergejyit@gmail.com Hi, I added a child patch to the chain with the changes that, I think, are required for the support of the availability_zones parameter in the LB API. It also fixes a few things that are needed to integrate the change with the multizone feature.\nIMHO if it\u0027s ok with you, we can squash the patch into the main patch (this one).","commit_id":"bcb059463291fb7cecfab6d65ec511796889bde1"},{"author":{"_account_id":38562,"name":"Richard Cruise","email":"rcruise@redhat.com","username":"rcruise"},"change_message_id":"b34ece7a3cf3b4c634e63b6a6d8f539c2b2313c3","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":20,"id":"d4045949_3b9087b7","updated":"2026-08-13 15:30:00.000000000","message":"-1 for the deprecation in the rel note that I think needs to be fixed. I know there\u0027s a lot of development but I wanted to note the issues so they don\u0027t get missed","commit_id":"0fc327cd173519d4374af66ac0cd9697572b9146"},{"author":{"_account_id":29244,"name":"Gregory Thiemonge","email":"gthiemon@redhat.com","username":"gthiemonge"},"change_message_id":"91a4510c350d41ff03fe22183797d146a35c3fb1","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":20,"id":"eeb0a413_6aa2b752","updated":"2026-08-14 09:26:49.000000000","message":"recheck failures due to infra issues","commit_id":"0fc327cd173519d4374af66ac0cd9697572b9146"},{"author":{"_account_id":38562,"name":"Richard Cruise","email":"rcruise@redhat.com","username":"rcruise"},"change_message_id":"1c20f4ef771dc6203280143c85db99bba0083025","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":21,"id":"832f8542_b76c3def","updated":"2026-08-14 19:42:35.000000000","message":"Thanks for resolving those issues","commit_id":"1cc32054016d5420e7fd707caa84b39696312e12"},{"author":{"_account_id":29244,"name":"Gregory Thiemonge","email":"gthiemon@redhat.com","username":"gthiemonge"},"change_message_id":"23fe519bcadee43df2b91da6abcddd36256c5364","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":23,"id":"b50aaddd_495a0e72","updated":"2026-08-17 12:46:52.000000000","message":"recheck mirror issue in grenade","commit_id":"a5df4fcd8e5dcf9b8934fa59c36f141872a343a8"},{"author":{"_account_id":38562,"name":"Richard Cruise","email":"rcruise@redhat.com","username":"rcruise"},"change_message_id":"755ab77da0ae1a0cedd2c66af4e7e6594db350f8","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":25,"id":"2bc22753_d4cb1bcc","updated":"2026-09-25 11:46:30.000000000","message":"A few test cases need fixing, and I think there\u0027s some other room for improvements\n\nReviewed with assistance from GPT 5.5","commit_id":"72a9e0662ad1b3327f49f73518b99da04034f9c9"},{"author":{"_account_id":38562,"name":"Richard Cruise","email":"rcruise@redhat.com","username":"rcruise"},"change_message_id":"141c4b617ec4d778ea91f5dddfa386ebe2deba7c","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":26,"id":"e5615749_081cae52","updated":"2026-09-30 08:03:13.000000000","message":"Looks good, thanks for clearing up those issues","commit_id":"b1567653b4c9e1a5a45e01d14c45004b6464b97a"},{"author":{"_account_id":29244,"name":"Gregory Thiemonge","email":"gthiemon@redhat.com","username":"gthiemonge"},"change_message_id":"90fd335dd9a681b068562ee367fd08e08205e075","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":32,"id":"6b0e8a72_02e6bcee","updated":"2026-10-22 08:41:14.000000000","message":"We need to update the api-ref to describe the new parameters of the API, it can be done in a follow-up commit. we also need to provide docs (followup commit too)","commit_id":"3ef54433af829af5982684d43e34610ef61b6e64"}],"octavia/api/v2/controllers/availability_zones.py":[{"author":{"_account_id":32666,"name":"Damian Dąbrowski","email":"damian@dabrowski.cloud","username":"ddabrowski"},"change_message_id":"a34156c2d712ae699d760e6a591b8a6f61cf76d7","unresolved":true,"context_lines":[{"line_number":183,"context_line":"            az_profile \u003d ("},{"line_number":184,"context_line":"                self.repositories.availability_zone."},{"line_number":185,"context_line":"                get_availability_zone_metadata_dict(lock_session, name))"},{"line_number":186,"context_line":"            if (constants.VOLUME_ZONE not in az_profile or"},{"line_number":187,"context_line":"                    constants.COMPUTE_ZONE not in az_profile or"},{"line_number":188,"context_line":"                    constants.VOLUME_TYPE not in az_profile):"},{"line_number":189,"context_line":"                raise exceptions.NotAllowedForMultizoneAvailabilityZone()"}],"source_content_type":"text/x-python","patch_set":32,"id":"fb798a6f_8e49391f","line":186,"updated":"2026-10-29 22:34:08.000000000","message":"it shouldn\u0027t be required to define a volume_type in AZ profile for environments that use just ephemeral drives for octavia.","commit_id":"3ef54433af829af5982684d43e34610ef61b6e64"},{"author":{"_account_id":6577,"name":"Sergey Kraynev","email":"sergejyit@gmail.com","username":"skraynev"},"change_message_id":"2a0bebce74a29ec7d12d40361d5f2cc1ca337e02","unresolved":false,"context_lines":[{"line_number":183,"context_line":"            az_profile \u003d ("},{"line_number":184,"context_line":"                self.repositories.availability_zone."},{"line_number":185,"context_line":"                get_availability_zone_metadata_dict(lock_session, name))"},{"line_number":186,"context_line":"            if (constants.VOLUME_ZONE not in az_profile or"},{"line_number":187,"context_line":"                    constants.COMPUTE_ZONE not in az_profile or"},{"line_number":188,"context_line":"                    constants.VOLUME_TYPE not in az_profile):"},{"line_number":189,"context_line":"                raise exceptions.NotAllowedForMultizoneAvailabilityZone()"}],"source_content_type":"text/x-python","patch_set":32,"id":"eae91a9b_8566ff6e","line":186,"in_reply_to":"fb798a6f_8e49391f","updated":"2026-11-22 08:34:21.000000000","message":"ok. I will remove check for volume zone","commit_id":"3ef54433af829af5982684d43e34610ef61b6e64"},{"author":{"_account_id":32666,"name":"Damian Dąbrowski","email":"damian@dabrowski.cloud","username":"ddabrowski"},"change_message_id":"a34156c2d712ae699d760e6a591b8a6f61cf76d7","unresolved":true,"context_lines":[{"line_number":185,"context_line":"                get_availability_zone_metadata_dict(lock_session, name))"},{"line_number":186,"context_line":"            if (constants.VOLUME_ZONE not in az_profile or"},{"line_number":187,"context_line":"                    constants.COMPUTE_ZONE not in az_profile or"},{"line_number":188,"context_line":"                    constants.VOLUME_TYPE not in az_profile):"},{"line_number":189,"context_line":"                raise exceptions.NotAllowedForMultizoneAvailabilityZone()"},{"line_number":190,"context_line":""},{"line_number":191,"context_line":"    @oslo_db_api.wrap_db_retry(max_retries\u003d5, retry_on_deadlock\u003dTrue)"}],"source_content_type":"text/x-python","patch_set":32,"id":"4effeb04_dd0f1a3a","line":188,"updated":"2026-10-29 22:34:08.000000000","message":"it shouldn\u0027t be required to define a volume_type in AZ profile for environments that use just ephemeral drives for octavia.","commit_id":"3ef54433af829af5982684d43e34610ef61b6e64"},{"author":{"_account_id":6577,"name":"Sergey Kraynev","email":"sergejyit@gmail.com","username":"skraynev"},"change_message_id":"2a0bebce74a29ec7d12d40361d5f2cc1ca337e02","unresolved":false,"context_lines":[{"line_number":185,"context_line":"                get_availability_zone_metadata_dict(lock_session, name))"},{"line_number":186,"context_line":"            if (constants.VOLUME_ZONE not in az_profile or"},{"line_number":187,"context_line":"                    constants.COMPUTE_ZONE not in az_profile or"},{"line_number":188,"context_line":"                    constants.VOLUME_TYPE not in az_profile):"},{"line_number":189,"context_line":"                raise exceptions.NotAllowedForMultizoneAvailabilityZone()"},{"line_number":190,"context_line":""},{"line_number":191,"context_line":"    @oslo_db_api.wrap_db_retry(max_retries\u003d5, retry_on_deadlock\u003dTrue)"}],"source_content_type":"text/x-python","patch_set":32,"id":"e1e05c90_310f8430","line":188,"in_reply_to":"4effeb04_dd0f1a3a","updated":"2026-11-22 08:34:21.000000000","message":"ok. I will remove check for volume zone","commit_id":"3ef54433af829af5982684d43e34610ef61b6e64"}],"octavia/api/v2/controllers/load_balancer.py":[{"author":{"_account_id":29244,"name":"Gregory Thiemonge","email":"gthiemon@redhat.com","username":"gthiemonge"},"change_message_id":"24f56d09f8cb200e56860bdb28ce6db39e67b30b","unresolved":true,"context_lines":[{"line_number":488,"context_line":"                **err_kwargs)"},{"line_number":489,"context_line":"        if (lb_topology \u003d\u003d constants.TOPOLOGY_ACTIVE_STANDBY and"},{"line_number":490,"context_line":"                len(availability_zones) \u003c 1):"},{"line_number":491,"context_line":"            err_kwargs[\"count\"] \u003d 1"},{"line_number":492,"context_line":"            raise exceptions.NotEnoughAvailabilityZonesWithUniqueComputeZone("},{"line_number":493,"context_line":"                **err_kwargs)"},{"line_number":494,"context_line":""}],"source_content_type":"text/x-python","patch_set":15,"id":"354c6a23_4c00e7c3","line":491,"range":{"start_line":491,"start_character":12,"end_line":491,"end_character":35},"updated":"2026-07-08 07:01:59.000000000","message":"err_kwargs[\"count\"] is already 1 (see line 481)","commit_id":"e0d0e37360cd90e817105621e958fbcb1c1a090d"},{"author":{"_account_id":6577,"name":"Sergey Kraynev","email":"sergejyit@gmail.com","username":"skraynev"},"change_message_id":"ca6ea5796522b7887b60548c70d1449b19f57922","unresolved":true,"context_lines":[{"line_number":488,"context_line":"                **err_kwargs)"},{"line_number":489,"context_line":"        if (lb_topology \u003d\u003d constants.TOPOLOGY_ACTIVE_STANDBY and"},{"line_number":490,"context_line":"                len(availability_zones) \u003c 1):"},{"line_number":491,"context_line":"            err_kwargs[\"count\"] \u003d 1"},{"line_number":492,"context_line":"            raise exceptions.NotEnoughAvailabilityZonesWithUniqueComputeZone("},{"line_number":493,"context_line":"                **err_kwargs)"},{"line_number":494,"context_line":""}],"source_content_type":"text/x-python","patch_set":15,"id":"50718ab3_e0c45b8d","line":491,"range":{"start_line":491,"start_character":12,"end_line":491,"end_character":35},"in_reply_to":"354c6a23_4c00e7c3","updated":"2026-07-13 06:30:21.000000000","message":"true, it\u0027s legacy after different messages and checks for different types of topologies. Previously I raise error if Active-Standby has less than 2 multizone AZs. Now it\u0027s the same as on failvoer and for Single topology.\n\nI will update this part.","commit_id":"e0d0e37360cd90e817105621e958fbcb1c1a090d"},{"author":{"_account_id":6577,"name":"Sergey Kraynev","email":"sergejyit@gmail.com","username":"skraynev"},"change_message_id":"1397a6808c183ab488b4551f8621572ecad4141a","unresolved":false,"context_lines":[{"line_number":488,"context_line":"                **err_kwargs)"},{"line_number":489,"context_line":"        if (lb_topology \u003d\u003d constants.TOPOLOGY_ACTIVE_STANDBY and"},{"line_number":490,"context_line":"                len(availability_zones) \u003c 1):"},{"line_number":491,"context_line":"            err_kwargs[\"count\"] \u003d 1"},{"line_number":492,"context_line":"            raise exceptions.NotEnoughAvailabilityZonesWithUniqueComputeZone("},{"line_number":493,"context_line":"                **err_kwargs)"},{"line_number":494,"context_line":""}],"source_content_type":"text/x-python","patch_set":15,"id":"cbe6ebca_92d27ef8","line":491,"range":{"start_line":491,"start_character":12,"end_line":491,"end_character":35},"in_reply_to":"50718ab3_e0c45b8d","updated":"2026-08-14 09:32:30.000000000","message":"Marked as resolved.","commit_id":"e0d0e37360cd90e817105621e958fbcb1c1a090d"},{"author":{"_account_id":29244,"name":"Gregory Thiemonge","email":"gthiemon@redhat.com","username":"gthiemonge"},"change_message_id":"098d93220582146b64f806abb8b15f69a6973008","unresolved":true,"context_lines":[{"line_number":550,"context_line":""},{"line_number":551,"context_line":"            if (CONF.controller_worker.multizone_enabled and"},{"line_number":552,"context_line":"                    not load_balancer.availability_zone):"},{"line_number":553,"context_line":"                self._validate_availability_zones_in_multizone("},{"line_number":554,"context_line":"                    lock_session, lb_dict)"},{"line_number":555,"context_line":""},{"line_number":556,"context_line":"            az_dict \u003d self._validate_and_return_az_dict(lock_session, driver,"}],"source_content_type":"text/x-python","patch_set":18,"id":"11fac96a_27c7ea57","line":553,"range":{"start_line":553,"start_character":21,"end_line":553,"end_character":62},"updated":"2026-08-05 08:28:43.000000000","message":"I think that we should also call validate.network_alloed_by_config for all the AZs with multizone","commit_id":"bcb059463291fb7cecfab6d65ec511796889bde1"},{"author":{"_account_id":6577,"name":"Sergey Kraynev","email":"sergejyit@gmail.com","username":"skraynev"},"change_message_id":"7df29b68e0b45176e2185ce588605fd37418b5ac","unresolved":true,"context_lines":[{"line_number":550,"context_line":""},{"line_number":551,"context_line":"            if (CONF.controller_worker.multizone_enabled and"},{"line_number":552,"context_line":"                    not load_balancer.availability_zone):"},{"line_number":553,"context_line":"                self._validate_availability_zones_in_multizone("},{"line_number":554,"context_line":"                    lock_session, lb_dict)"},{"line_number":555,"context_line":""},{"line_number":556,"context_line":"            az_dict \u003d self._validate_and_return_az_dict(lock_session, driver,"}],"source_content_type":"text/x-python","patch_set":18,"id":"c48474e9_4b0b5b9c","line":553,"range":{"start_line":553,"start_character":21,"end_line":553,"end_character":62},"in_reply_to":"11fac96a_27c7ea57","updated":"2026-08-13 11:20:28.000000000","message":"I think, it could be added later as an extra fix.","commit_id":"bcb059463291fb7cecfab6d65ec511796889bde1"},{"author":{"_account_id":6577,"name":"Sergey Kraynev","email":"sergejyit@gmail.com","username":"skraynev"},"change_message_id":"151657c0360fb34d59c8c3bdc282a044ce5a81da","unresolved":false,"context_lines":[{"line_number":550,"context_line":""},{"line_number":551,"context_line":"            if (CONF.controller_worker.multizone_enabled and"},{"line_number":552,"context_line":"                    not load_balancer.availability_zone):"},{"line_number":553,"context_line":"                self._validate_availability_zones_in_multizone("},{"line_number":554,"context_line":"                    lock_session, lb_dict)"},{"line_number":555,"context_line":""},{"line_number":556,"context_line":"            az_dict \u003d self._validate_and_return_az_dict(lock_session, driver,"}],"source_content_type":"text/x-python","patch_set":18,"id":"18e48b51_0587d760","line":553,"range":{"start_line":553,"start_character":21,"end_line":553,"end_character":62},"in_reply_to":"c48474e9_4b0b5b9c","updated":"2026-08-14 09:29:45.000000000","message":"Done","commit_id":"bcb059463291fb7cecfab6d65ec511796889bde1"},{"author":{"_account_id":38562,"name":"Richard Cruise","email":"rcruise@redhat.com","username":"rcruise"},"change_message_id":"b34ece7a3cf3b4c634e63b6a6d8f539c2b2313c3","unresolved":true,"context_lines":[{"line_number":472,"context_line":"                        option\u003d\u0027availability_zone\u0027,"},{"line_number":473,"context_line":"                        value\u003dload_balancer.availability_zone)"},{"line_number":474,"context_line":""},{"line_number":475,"context_line":"    def _validate_availability_zones_list(self, session, load_balancer):"},{"line_number":476,"context_line":"        \"\"\"Validate the availability_zones (plural) list."},{"line_number":477,"context_line":""},{"line_number":478,"context_line":"        Each AZ must exist and be enabled. Unlike the automatic multizone"}],"source_content_type":"text/x-python","patch_set":20,"id":"2411bae5_ba6ea188","line":475,"updated":"2026-08-13 15:30:00.000000000","message":"There doesn\u0027t seem to be any unit test coverage for these 2 functions","commit_id":"0fc327cd173519d4374af66ac0cd9697572b9146"},{"author":{"_account_id":6577,"name":"Sergey Kraynev","email":"sergejyit@gmail.com","username":"skraynev"},"change_message_id":"f450c62b6d035c2d0b36cce9cc7bb267670d42db","unresolved":true,"context_lines":[{"line_number":472,"context_line":"                        option\u003d\u0027availability_zone\u0027,"},{"line_number":473,"context_line":"                        value\u003dload_balancer.availability_zone)"},{"line_number":474,"context_line":""},{"line_number":475,"context_line":"    def _validate_availability_zones_list(self, session, load_balancer):"},{"line_number":476,"context_line":"        \"\"\"Validate the availability_zones (plural) list."},{"line_number":477,"context_line":""},{"line_number":478,"context_line":"        Each AZ must exist and be enabled. Unlike the automatic multizone"}],"source_content_type":"text/x-python","patch_set":20,"id":"6d22b52f_4be6e013","line":475,"in_reply_to":"2411bae5_ba6ea188","updated":"2026-08-14 11:30:51.000000000","message":"the second one is covered in functional tests:\nf.e. test_multizone_create_not_marked_az_single_topology\ntest_multizone_create_marked_but_disabled_az_single_topology\n\nfor the first one, tests also added in the last patchset","commit_id":"0fc327cd173519d4374af66ac0cd9697572b9146"},{"author":{"_account_id":38562,"name":"Richard Cruise","email":"rcruise@redhat.com","username":"rcruise"},"change_message_id":"1c20f4ef771dc6203280143c85db99bba0083025","unresolved":false,"context_lines":[{"line_number":472,"context_line":"                        option\u003d\u0027availability_zone\u0027,"},{"line_number":473,"context_line":"                        value\u003dload_balancer.availability_zone)"},{"line_number":474,"context_line":""},{"line_number":475,"context_line":"    def _validate_availability_zones_list(self, session, load_balancer):"},{"line_number":476,"context_line":"        \"\"\"Validate the availability_zones (plural) list."},{"line_number":477,"context_line":""},{"line_number":478,"context_line":"        Each AZ must exist and be enabled. Unlike the automatic multizone"}],"source_content_type":"text/x-python","patch_set":20,"id":"bf1c4801_f8c9f314","line":475,"in_reply_to":"6d22b52f_4be6e013","updated":"2026-08-14 19:42:35.000000000","message":"Okay, sounds good","commit_id":"0fc327cd173519d4374af66ac0cd9697572b9146"},{"author":{"_account_id":38562,"name":"Richard Cruise","email":"rcruise@redhat.com","username":"rcruise"},"change_message_id":"755ab77da0ae1a0cedd2c66af4e7e6594db350f8","unresolved":true,"context_lines":[{"line_number":472,"context_line":"                        option\u003d\u0027availability_zone\u0027,"},{"line_number":473,"context_line":"                        value\u003dload_balancer.availability_zone)"},{"line_number":474,"context_line":""},{"line_number":475,"context_line":"    def _validate_availability_zones_list(self, session, load_balancer):"},{"line_number":476,"context_line":"        \"\"\"Validate the availability_zones (plural) list."},{"line_number":477,"context_line":""},{"line_number":478,"context_line":"        Each AZ must exist and be enabled. Unlike the automatic multizone"}],"source_content_type":"text/x-python","patch_set":25,"id":"a7d5adbb_4dd4ffdd","line":475,"updated":"2026-09-25 11:46:30.000000000","message":"I think you should also add a check for duplicates here\n\nCurrently if I pass in the same AZ several time (e.g. [\u0027az1\u0027,\u0027az1\u0027]) for load_balancer.availability_zones it will pass this check but fail later when it tries to update the DB. It\u0027ll give some weird error like \"az1 already exists\" which isn\u0027t helpful\n\nIt would be better to check it and reject the API request for duplicate AZ names with a 400 error\n\nMaybe a unit test case for duplicates would also be good? WDYT?\n\nFYI, GPT spotted this problem but I\u0027ve looked through the code and it seems correct","commit_id":"72a9e0662ad1b3327f49f73518b99da04034f9c9"},{"author":{"_account_id":6577,"name":"Sergey Kraynev","email":"sergejyit@gmail.com","username":"skraynev"},"change_message_id":"e710eb9f394f438f9922798dc904d8ad52fc751d","unresolved":true,"context_lines":[{"line_number":472,"context_line":"                        option\u003d\u0027availability_zone\u0027,"},{"line_number":473,"context_line":"                        value\u003dload_balancer.availability_zone)"},{"line_number":474,"context_line":""},{"line_number":475,"context_line":"    def _validate_availability_zones_list(self, session, load_balancer):"},{"line_number":476,"context_line":"        \"\"\"Validate the availability_zones (plural) list."},{"line_number":477,"context_line":""},{"line_number":478,"context_line":"        Each AZ must exist and be enabled. Unlike the automatic multizone"}],"source_content_type":"text/x-python","patch_set":25,"id":"d3240994_ada87736","line":475,"in_reply_to":"a7d5adbb_4dd4ffdd","updated":"2026-09-29 17:23:46.000000000","message":"agree. fixed","commit_id":"72a9e0662ad1b3327f49f73518b99da04034f9c9"},{"author":{"_account_id":38562,"name":"Richard Cruise","email":"rcruise@redhat.com","username":"rcruise"},"change_message_id":"141c4b617ec4d778ea91f5dddfa386ebe2deba7c","unresolved":false,"context_lines":[{"line_number":472,"context_line":"                        option\u003d\u0027availability_zone\u0027,"},{"line_number":473,"context_line":"                        value\u003dload_balancer.availability_zone)"},{"line_number":474,"context_line":""},{"line_number":475,"context_line":"    def _validate_availability_zones_list(self, session, load_balancer):"},{"line_number":476,"context_line":"        \"\"\"Validate the availability_zones (plural) list."},{"line_number":477,"context_line":""},{"line_number":478,"context_line":"        Each AZ must exist and be enabled. Unlike the automatic multizone"}],"source_content_type":"text/x-python","patch_set":25,"id":"8614e19c_36cf02b6","line":475,"in_reply_to":"d3240994_ada87736","updated":"2026-09-30 08:03:13.000000000","message":"Done","commit_id":"72a9e0662ad1b3327f49f73518b99da04034f9c9"},{"author":{"_account_id":38562,"name":"Richard Cruise","email":"rcruise@redhat.com","username":"rcruise"},"change_message_id":"755ab77da0ae1a0cedd2c66af4e7e6594db350f8","unresolved":true,"context_lines":[{"line_number":606,"context_line":"                            constants.VALID_VIP_NETWORKS))"},{"line_number":607,"context_line":""},{"line_number":608,"context_line":"            # When availability_zones (plural) is specified, get AZ metadata"},{"line_number":609,"context_line":"            # from the first AZ for network validation"},{"line_number":610,"context_line":"            for az_name in availability_zone_names:"},{"line_number":611,"context_line":"                az \u003d ("},{"line_number":612,"context_line":"                    self.repositories.availability_zone"}],"source_content_type":"text/x-python","patch_set":25,"id":"1444de19_bf116a0b","line":609,"updated":"2026-09-25 11:46:30.000000000","message":"Nit, its actually every AZ, not the first one","commit_id":"72a9e0662ad1b3327f49f73518b99da04034f9c9"},{"author":{"_account_id":38562,"name":"Richard Cruise","email":"rcruise@redhat.com","username":"rcruise"},"change_message_id":"141c4b617ec4d778ea91f5dddfa386ebe2deba7c","unresolved":false,"context_lines":[{"line_number":606,"context_line":"                            constants.VALID_VIP_NETWORKS))"},{"line_number":607,"context_line":""},{"line_number":608,"context_line":"            # When availability_zones (plural) is specified, get AZ metadata"},{"line_number":609,"context_line":"            # from the first AZ for network validation"},{"line_number":610,"context_line":"            for az_name in availability_zone_names:"},{"line_number":611,"context_line":"                az \u003d ("},{"line_number":612,"context_line":"                    self.repositories.availability_zone"}],"source_content_type":"text/x-python","patch_set":25,"id":"280f2ed0_744f1442","line":609,"in_reply_to":"0f1cff52_838ecdb8","updated":"2026-09-30 08:03:13.000000000","message":"Done","commit_id":"72a9e0662ad1b3327f49f73518b99da04034f9c9"},{"author":{"_account_id":6577,"name":"Sergey Kraynev","email":"sergejyit@gmail.com","username":"skraynev"},"change_message_id":"e710eb9f394f438f9922798dc904d8ad52fc751d","unresolved":true,"context_lines":[{"line_number":606,"context_line":"                            constants.VALID_VIP_NETWORKS))"},{"line_number":607,"context_line":""},{"line_number":608,"context_line":"            # When availability_zones (plural) is specified, get AZ metadata"},{"line_number":609,"context_line":"            # from the first AZ for network validation"},{"line_number":610,"context_line":"            for az_name in availability_zone_names:"},{"line_number":611,"context_line":"                az \u003d ("},{"line_number":612,"context_line":"                    self.repositories.availability_zone"}],"source_content_type":"text/x-python","patch_set":25,"id":"0f1cff52_838ecdb8","line":609,"in_reply_to":"1444de19_bf116a0b","updated":"2026-09-29 17:23:46.000000000","message":"agree. fixed","commit_id":"72a9e0662ad1b3327f49f73518b99da04034f9c9"},{"author":{"_account_id":38562,"name":"Richard Cruise","email":"rcruise@redhat.com","username":"rcruise"},"change_message_id":"755ab77da0ae1a0cedd2c66af4e7e6594db350f8","unresolved":true,"context_lines":[{"line_number":607,"context_line":""},{"line_number":608,"context_line":"            # When availability_zones (plural) is specified, get AZ metadata"},{"line_number":609,"context_line":"            # from the first AZ for network validation"},{"line_number":610,"context_line":"            for az_name in availability_zone_names:"},{"line_number":611,"context_line":"                az \u003d ("},{"line_number":612,"context_line":"                    self.repositories.availability_zone"},{"line_number":613,"context_line":"                    .get_availability_zone_metadata_dict("}],"source_content_type":"text/x-python","patch_set":25,"id":"3e8ba13b_28ee21cb","line":610,"updated":"2026-09-25 11:46:30.000000000","message":"This currently bypasses the check for Multizone on a list of AZ. For example, I pass in [\u0027AZ1\u0027, \u0027AZ2\u0027] in availability_zone_names and AZ2 does not allow multizone, this will still allow it\n\nI\u0027m not sure this is correct, I would have assumed that passing a list of AZs, they would still need to be enabled for Multizone","commit_id":"72a9e0662ad1b3327f49f73518b99da04034f9c9"},{"author":{"_account_id":6577,"name":"Sergey Kraynev","email":"sergejyit@gmail.com","username":"skraynev"},"change_message_id":"e710eb9f394f438f9922798dc904d8ad52fc751d","unresolved":true,"context_lines":[{"line_number":607,"context_line":""},{"line_number":608,"context_line":"            # When availability_zones (plural) is specified, get AZ metadata"},{"line_number":609,"context_line":"            # from the first AZ for network validation"},{"line_number":610,"context_line":"            for az_name in availability_zone_names:"},{"line_number":611,"context_line":"                az \u003d ("},{"line_number":612,"context_line":"                    self.repositories.availability_zone"},{"line_number":613,"context_line":"                    .get_availability_zone_metadata_dict("}],"source_content_type":"text/x-python","patch_set":25,"id":"f37b0f17_baa3e0a5","line":610,"in_reply_to":"3e8ba13b_28ee21cb","updated":"2026-09-29 17:23:46.000000000","message":"sure, I will add validation here as well when multizone is enabled.","commit_id":"72a9e0662ad1b3327f49f73518b99da04034f9c9"},{"author":{"_account_id":38562,"name":"Richard Cruise","email":"rcruise@redhat.com","username":"rcruise"},"change_message_id":"141c4b617ec4d778ea91f5dddfa386ebe2deba7c","unresolved":false,"context_lines":[{"line_number":607,"context_line":""},{"line_number":608,"context_line":"            # When availability_zones (plural) is specified, get AZ metadata"},{"line_number":609,"context_line":"            # from the first AZ for network validation"},{"line_number":610,"context_line":"            for az_name in availability_zone_names:"},{"line_number":611,"context_line":"                az \u003d ("},{"line_number":612,"context_line":"                    self.repositories.availability_zone"},{"line_number":613,"context_line":"                    .get_availability_zone_metadata_dict("}],"source_content_type":"text/x-python","patch_set":25,"id":"eebf75a2_ebd3104b","line":610,"in_reply_to":"f37b0f17_baa3e0a5","updated":"2026-09-30 08:03:13.000000000","message":"Done","commit_id":"72a9e0662ad1b3327f49f73518b99da04034f9c9"}],"octavia/common/data_models.py":[{"author":{"_account_id":38562,"name":"Richard Cruise","email":"rcruise@redhat.com","username":"rcruise"},"change_message_id":"30b8942ff6bf5fc9e442a6a87c658b56e798e009","unresolved":true,"context_lines":[{"line_number":657,"context_line":"        self.image_id \u003d image_id"},{"line_number":658,"context_line":"        self.compute_flavor \u003d compute_flavor"},{"line_number":659,"context_line":"        self.availability_zone \u003d availability_zone"},{"line_number":660,"context_line":""},{"line_number":661,"context_line":"    def delete(self):"},{"line_number":662,"context_line":"        for amphora in self.load_balancer.amphorae:"},{"line_number":663,"context_line":"            if amphora.id \u003d\u003d self.id:"}],"source_content_type":"text/x-python","patch_set":9,"id":"d5269a32_d4afe31c","line":660,"updated":"2026-04-07 11:35:51.000000000","message":"I think we could add a parameter here called allowed_availability_zones where the user could pass in a list of specific AZs via the API when using multizone","commit_id":"ff62fc823e30ba9cdb36b7398b1e839d163608f2"},{"author":{"_account_id":6577,"name":"Sergey Kraynev","email":"sergejyit@gmail.com","username":"skraynev"},"change_message_id":"55105a37cdde9a442a98111c74c1e7f5a78add84","unresolved":false,"context_lines":[{"line_number":657,"context_line":"        self.image_id \u003d image_id"},{"line_number":658,"context_line":"        self.compute_flavor \u003d compute_flavor"},{"line_number":659,"context_line":"        self.availability_zone \u003d availability_zone"},{"line_number":660,"context_line":""},{"line_number":661,"context_line":"    def delete(self):"},{"line_number":662,"context_line":"        for amphora in self.load_balancer.amphorae:"},{"line_number":663,"context_line":"            if amphora.id \u003d\u003d self.id:"}],"source_content_type":"text/x-python","patch_set":9,"id":"0bbb2020_17dab8cf","line":660,"in_reply_to":"8851a8b2_9037c642","updated":"2026-05-21 06:09:21.000000000","message":"Done","commit_id":"ff62fc823e30ba9cdb36b7398b1e839d163608f2"},{"author":{"_account_id":6577,"name":"Sergey Kraynev","email":"sergejyit@gmail.com","username":"skraynev"},"change_message_id":"82a90caf2b0ff4dcd8743aec583ead5c34c4892f","unresolved":true,"context_lines":[{"line_number":657,"context_line":"        self.image_id \u003d image_id"},{"line_number":658,"context_line":"        self.compute_flavor \u003d compute_flavor"},{"line_number":659,"context_line":"        self.availability_zone \u003d availability_zone"},{"line_number":660,"context_line":""},{"line_number":661,"context_line":"    def delete(self):"},{"line_number":662,"context_line":"        for amphora in self.load_balancer.amphorae:"},{"line_number":663,"context_line":"            if amphora.id \u003d\u003d self.id:"}],"source_content_type":"text/x-python","patch_set":9,"id":"8851a8b2_9037c642","line":660,"in_reply_to":"d5269a32_d4afe31c","updated":"2026-05-17 18:42:31.000000000","message":"sure, @gthiemon@redhat.com mentioned the same.\nI want to combine currently provided approach with API option.\nThe idea is:\n- if not availability_zones option not specified for Lb - we use default logic for choosing AZs marked for miltizone\n- otherwise do the same logic but only on specified list of AZs (this list should be validated before for correctness )","commit_id":"ff62fc823e30ba9cdb36b7398b1e839d163608f2"}],"octavia/common/exceptions.py":[{"author":{"_account_id":38562,"name":"Richard Cruise","email":"rcruise@redhat.com","username":"rcruise"},"change_message_id":"30b8942ff6bf5fc9e442a6a87c658b56e798e009","unresolved":true,"context_lines":[{"line_number":454,"context_line":"    code \u003d 400"},{"line_number":455,"context_line":""},{"line_number":456,"context_line":""},{"line_number":457,"context_line":"class NotEnoughAvailabilityZonesWithUniqComputeZone(APIException):"},{"line_number":458,"context_line":"    msg \u003d _(\"Multizone deployment is enabled. Loadbalancer creation with \""},{"line_number":459,"context_line":"            \"%(topology)s topology requires at least %(count)s octavia AZ \""},{"line_number":460,"context_line":"            \"marked for using in multizone deployment. Currently enabled \""}],"source_content_type":"text/x-python","patch_set":9,"id":"a3f33130_c5722b91","line":457,"updated":"2026-04-07 11:35:51.000000000","message":"Typo? Should be Unique, not Uniq?","commit_id":"ff62fc823e30ba9cdb36b7398b1e839d163608f2"},{"author":{"_account_id":6577,"name":"Sergey Kraynev","email":"sergejyit@gmail.com","username":"skraynev"},"change_message_id":"82a90caf2b0ff4dcd8743aec583ead5c34c4892f","unresolved":false,"context_lines":[{"line_number":454,"context_line":"    code \u003d 400"},{"line_number":455,"context_line":""},{"line_number":456,"context_line":""},{"line_number":457,"context_line":"class NotEnoughAvailabilityZonesWithUniqComputeZone(APIException):"},{"line_number":458,"context_line":"    msg \u003d _(\"Multizone deployment is enabled. Loadbalancer creation with \""},{"line_number":459,"context_line":"            \"%(topology)s topology requires at least %(count)s octavia AZ \""},{"line_number":460,"context_line":"            \"marked for using in multizone deployment. Currently enabled \""}],"source_content_type":"text/x-python","patch_set":9,"id":"a7878d8f_6ca1ebb2","line":457,"in_reply_to":"a3f33130_c5722b91","updated":"2026-05-17 18:42:31.000000000","message":"fixed","commit_id":"ff62fc823e30ba9cdb36b7398b1e839d163608f2"}],"octavia/controller/worker/v2/flows/amphora_flows.py":[{"author":{"_account_id":38562,"name":"Richard Cruise","email":"rcruise@redhat.com","username":"rcruise"},"change_message_id":"b34ece7a3cf3b4c634e63b6a6d8f539c2b2313c3","unresolved":true,"context_lines":[{"line_number":64,"context_line":"                      constants.LOADBALANCER_ID,"},{"line_number":65,"context_line":"                      constants.MASTER_AVAILABILITY_ZONE_NAME,"},{"line_number":66,"context_line":"                      constants.BACKUP_AVAILABILITY_ZONE_NAME),"},{"line_number":67,"context_line":"            inject\u003d{constants.FOR_FAILOVER: True},"},{"line_number":68,"context_line":"            provides\u003d(constants.COMPUTE_ID, constants.AVAILABILITY_ZONE_NAME)))"},{"line_number":69,"context_line":"        create_amp_for_lb_subflow.add("},{"line_number":70,"context_line":"            database_tasks.UpdateAmphoraAvailabilityZone("}],"source_content_type":"text/x-python","patch_set":20,"id":"2104fcc6_b1124b5b","line":67,"updated":"2026-08-13 15:30:00.000000000","message":"I got Claude to review the CR and it noted this:\n\n\"This appears to make the master_availability_zone_name/backup_availability_zone_name values computed by ControllerWorker.calculate_availability_zone() dead on arrival for the normal (non-failover) LB-creation path, and, combined with the default parallel taskflow engine and unordered_flow for master/backup, introduces a race where both amphorae can independently select the same AZ, defeating the anti-affinity goal that is the primary purpose of this feature.\"\n\nLooking at it myself, I think the risk of both amphorae landing in the same AZ is quite small but non zero. We might need to note this in the docs, or perhaps have something in the Health Monitor to check that anti affinity it being enforced","commit_id":"0fc327cd173519d4374af66ac0cd9697572b9146"},{"author":{"_account_id":38562,"name":"Richard Cruise","email":"rcruise@redhat.com","username":"rcruise"},"change_message_id":"755ab77da0ae1a0cedd2c66af4e7e6594db350f8","unresolved":false,"context_lines":[{"line_number":64,"context_line":"                      constants.LOADBALANCER_ID,"},{"line_number":65,"context_line":"                      constants.MASTER_AVAILABILITY_ZONE_NAME,"},{"line_number":66,"context_line":"                      constants.BACKUP_AVAILABILITY_ZONE_NAME),"},{"line_number":67,"context_line":"            inject\u003d{constants.FOR_FAILOVER: True},"},{"line_number":68,"context_line":"            provides\u003d(constants.COMPUTE_ID, constants.AVAILABILITY_ZONE_NAME)))"},{"line_number":69,"context_line":"        create_amp_for_lb_subflow.add("},{"line_number":70,"context_line":"            database_tasks.UpdateAmphoraAvailabilityZone("}],"source_content_type":"text/x-python","patch_set":20,"id":"c558e4da_1a1ae7e6","line":67,"in_reply_to":"0df982c8_db0f2756","updated":"2026-09-25 11:46:30.000000000","message":"Done","commit_id":"0fc327cd173519d4374af66ac0cd9697572b9146"},{"author":{"_account_id":29244,"name":"Gregory Thiemonge","email":"gthiemon@redhat.com","username":"gthiemonge"},"change_message_id":"e764bdbafbe93d11206126d6dcb836c8da12202f","unresolved":true,"context_lines":[{"line_number":64,"context_line":"                      constants.LOADBALANCER_ID,"},{"line_number":65,"context_line":"                      constants.MASTER_AVAILABILITY_ZONE_NAME,"},{"line_number":66,"context_line":"                      constants.BACKUP_AVAILABILITY_ZONE_NAME),"},{"line_number":67,"context_line":"            inject\u003d{constants.FOR_FAILOVER: True},"},{"line_number":68,"context_line":"            provides\u003d(constants.COMPUTE_ID, constants.AVAILABILITY_ZONE_NAME)))"},{"line_number":69,"context_line":"        create_amp_for_lb_subflow.add("},{"line_number":70,"context_line":"            database_tasks.UpdateAmphoraAvailabilityZone("}],"source_content_type":"text/x-python","patch_set":20,"id":"0df982c8_db0f2756","line":67,"in_reply_to":"2104fcc6_b1124b5b","updated":"2026-08-14 06:29:35.000000000","message":"Interestingly, similar issues can happen in ACTIVE_STANDBY with the anti-affinity feature from Nova:\nhttps://bugs.launchpad.net/octavia/+bug/2133042\n\nI think it\u0027s not a blocking issue, we may fix both issues by waiting for the 1st amp to be scheduled by nova before requesting the creation of the 2nd amp","commit_id":"0fc327cd173519d4374af66ac0cd9697572b9146"},{"author":{"_account_id":29244,"name":"Gregory Thiemonge","email":"gthiemon@redhat.com","username":"gthiemonge"},"change_message_id":"90fd335dd9a681b068562ee367fd08e08205e075","unresolved":true,"context_lines":[{"line_number":64,"context_line":"                      constants.LOADBALANCER_ID,"},{"line_number":65,"context_line":"                      constants.MASTER_AVAILABILITY_ZONE_NAME,"},{"line_number":66,"context_line":"                      constants.BACKUP_AVAILABILITY_ZONE_NAME),"},{"line_number":67,"context_line":"            inject\u003d{constants.FOR_FAILOVER: True},"},{"line_number":68,"context_line":"            provides\u003d(constants.COMPUTE_ID, constants.AVAILABILITY_ZONE_NAME)))"},{"line_number":69,"context_line":"        create_amp_for_lb_subflow.add("},{"line_number":70,"context_line":"            database_tasks.UpdateAmphoraAvailabilityZone("}],"source_content_type":"text/x-python","patch_set":32,"id":"bbbafdff_c174f7be","line":67,"range":{"start_line":67,"start_character":21,"end_line":67,"end_character":47},"updated":"2026-10-22 08:41:14.000000000","message":"I added this line few patches ago, but this is not correct.\n\nI suggest that we add a `for_failover\u003dFalse` parameter to the `get_amphora_for_lb_subflow` function, and we inject the boolean instead of `True`, then we pass `for_failover\u003dTrue` from the caller of the failover flow: `get_amphora_for_lb_failover_subflow`.","commit_id":"3ef54433af829af5982684d43e34610ef61b6e64"},{"author":{"_account_id":32666,"name":"Damian Dąbrowski","email":"damian@dabrowski.cloud","username":"ddabrowski"},"change_message_id":"a34156c2d712ae699d760e6a591b8a6f61cf76d7","unresolved":true,"context_lines":[{"line_number":64,"context_line":"                      constants.LOADBALANCER_ID,"},{"line_number":65,"context_line":"                      constants.MASTER_AVAILABILITY_ZONE_NAME,"},{"line_number":66,"context_line":"                      constants.BACKUP_AVAILABILITY_ZONE_NAME),"},{"line_number":67,"context_line":"            inject\u003d{constants.FOR_FAILOVER: True},"},{"line_number":68,"context_line":"            provides\u003d(constants.COMPUTE_ID, constants.AVAILABILITY_ZONE_NAME)))"},{"line_number":69,"context_line":"        create_amp_for_lb_subflow.add("},{"line_number":70,"context_line":"            database_tasks.UpdateAmphoraAvailabilityZone("}],"source_content_type":"text/x-python","patch_set":32,"id":"f8467c94_9078fb5a","line":67,"range":{"start_line":67,"start_character":21,"end_line":67,"end_character":47},"in_reply_to":"bbbafdff_c174f7be","updated":"2026-10-29 22:34:08.000000000","message":"I tested this patch on test env and newly created loadbalancers didn\u0027t always have amphoras in dfferent AZs.\n\nClaude says:\n\n\nWhat the patch is meant to do\n1. `create_load_balancer` calls `calculate_availability_zone()`. That picks a master AZ, removes it from the set, and picks the backup from what’s left. With az1 and az2, they’re always different (controller_worker.py:454-471).\n2. It stores both as `master_availability_zone_name` and `backup_availability_zone_name`.\n3. `ComputeCreate` should then read them in `calculate_octavia_az_for_multizone_setup` and give the master/backup name to each amphora (compute_tasks.py:194-198):\n\nWhat actually happens\n\nStep 3 never runs. The patch adds this to `get_amphora_for_lb_subflow` (amphora_flows.py:67):\n\n```\ninject\u003d{constants.FOR_FAILOVER: True},\n```\n\nThat subflow builds amphorae for both LB creation (load_balancer_flows.py:166,174) and failover (amphora_flows.py:380). So for_failover is always True. The master/backup pair from step 1 is computed and then thrown away. Every create goes through the failover logic instead, and that logic can’t tell a new amphora apart from one being failed over.\n\n\nWhy the tests didn’t catch it\n\nThe unit tests call `ComputeCreate.execute(..., for_failover\u003dFalse)` directly, so the create branch looks correct. The flow tests only check that `MASTER_AVAILABILITY_ZONE_NAME` is in `requires`. Nothing checks what value `for_failover` gets injected in the create flow.\n\nFix\n\nMake `get_amphora_for_lb_subflow` take a `for_failover` argument with default `False`. Pass `True` only from get_amphora_for_failover_subflow. Then add a flow test that checks the injected value for each path.","commit_id":"3ef54433af829af5982684d43e34610ef61b6e64"},{"author":{"_account_id":6577,"name":"Sergey Kraynev","email":"sergejyit@gmail.com","username":"skraynev"},"change_message_id":"2a31d69df21fa05c05b06a2c96a47f350fe6e845","unresolved":false,"context_lines":[{"line_number":64,"context_line":"                      constants.LOADBALANCER_ID,"},{"line_number":65,"context_line":"                      constants.MASTER_AVAILABILITY_ZONE_NAME,"},{"line_number":66,"context_line":"                      constants.BACKUP_AVAILABILITY_ZONE_NAME),"},{"line_number":67,"context_line":"            inject\u003d{constants.FOR_FAILOVER: True},"},{"line_number":68,"context_line":"            provides\u003d(constants.COMPUTE_ID, constants.AVAILABILITY_ZONE_NAME)))"},{"line_number":69,"context_line":"        create_amp_for_lb_subflow.add("},{"line_number":70,"context_line":"            database_tasks.UpdateAmphoraAvailabilityZone("}],"source_content_type":"text/x-python","patch_set":32,"id":"a1773347_92043de1","line":67,"range":{"start_line":67,"start_character":21,"end_line":67,"end_character":47},"in_reply_to":"f8467c94_9078fb5a","updated":"2026-11-22 08:55:22.000000000","message":"I added `for_failover\u003dFalse` to `get_amphora_for_lb_subflow`, `True` is passed only from `get_amphora_for_lb_failover_subflow`","commit_id":"3ef54433af829af5982684d43e34610ef61b6e64"}],"octavia/controller/worker/v2/tasks/compute_tasks.py":[{"author":{"_account_id":38562,"name":"Richard Cruise","email":"rcruise@redhat.com","username":"rcruise"},"change_message_id":"30b8942ff6bf5fc9e442a6a87c658b56e798e009","unresolved":true,"context_lines":[{"line_number":211,"context_line":"            self.az_repo.get_availability_zone_name_to_profile_mapping("},{"line_number":212,"context_line":"                db_apis.get_session())"},{"line_number":213,"context_line":"        )"},{"line_number":214,"context_line":"        # handle case, when amphora already has AZ and AZ is enabled"},{"line_number":215,"context_line":"        if previous_amphora_az and previous_amphora_az in az_to_az_profile_map:"},{"line_number":216,"context_line":"            return previous_amphora_az, previous_amphora_az"},{"line_number":217,"context_line":"        compute_zone_to_azs \u003d utils.group_compute_zone_to_azs("}],"source_content_type":"text/x-python","patch_set":9,"id":"04319184_92a3b138","line":214,"updated":"2026-04-07 11:35:51.000000000","message":"So I think at this point you could add a check if the Amphora has allowed_availability_zones set and if so, reduce the az_to_az_profile_map to only the allowed AZs. Then below when the AZ is selected randomly, it will definitely be created within one of the allowed AZs","commit_id":"ff62fc823e30ba9cdb36b7398b1e839d163608f2"},{"author":{"_account_id":6577,"name":"Sergey Kraynev","email":"sergejyit@gmail.com","username":"skraynev"},"change_message_id":"82a90caf2b0ff4dcd8743aec583ead5c34c4892f","unresolved":false,"context_lines":[{"line_number":211,"context_line":"            self.az_repo.get_availability_zone_name_to_profile_mapping("},{"line_number":212,"context_line":"                db_apis.get_session())"},{"line_number":213,"context_line":"        )"},{"line_number":214,"context_line":"        # handle case, when amphora already has AZ and AZ is enabled"},{"line_number":215,"context_line":"        if previous_amphora_az and previous_amphora_az in az_to_az_profile_map:"},{"line_number":216,"context_line":"            return previous_amphora_az, previous_amphora_az"},{"line_number":217,"context_line":"        compute_zone_to_azs \u003d utils.group_compute_zone_to_azs("}],"source_content_type":"text/x-python","patch_set":9,"id":"d33fc01a_a99f0d8f","line":214,"in_reply_to":"04319184_92a3b138","updated":"2026-05-17 18:42:31.000000000","message":"I removed this complicated logic. Now logic is simplified to way, that AZ will be chosen randomly without extra pre-calculation","commit_id":"ff62fc823e30ba9cdb36b7398b1e839d163608f2"},{"author":{"_account_id":29244,"name":"Gregory Thiemonge","email":"gthiemon@redhat.com","username":"gthiemonge"},"change_message_id":"7f89662e05b555ec0a5a681593173c3db45f530b","unresolved":true,"context_lines":[{"line_number":170,"context_line":"                          amphora_id)"},{"line_number":171,"context_line":"            raise"},{"line_number":172,"context_line":""},{"line_number":173,"context_line":"    def calculate_octavia_az_for_miltizone_setup("},{"line_number":174,"context_line":"            self, loadbalancer_id, amphora_id, master_az_name, backup_az_name):"},{"line_number":175,"context_line":"        # Calculate AZs only on failover, because on creation they should be"},{"line_number":176,"context_line":"        # calculated out of the task"}],"source_content_type":"text/x-python","patch_set":11,"id":"acac837a_e770524f","line":173,"range":{"start_line":173,"start_character":33,"end_line":173,"end_character":41},"updated":"2026-06-08 12:35:23.000000000","message":"typo \"miltizone\"","commit_id":"153f39e2588794363542d13f3373ae84f8c54dec"},{"author":{"_account_id":6577,"name":"Sergey Kraynev","email":"sergejyit@gmail.com","username":"skraynev"},"change_message_id":"88371ee744ac34bc231bd47d625e12f8b66e376c","unresolved":false,"context_lines":[{"line_number":170,"context_line":"                          amphora_id)"},{"line_number":171,"context_line":"            raise"},{"line_number":172,"context_line":""},{"line_number":173,"context_line":"    def calculate_octavia_az_for_miltizone_setup("},{"line_number":174,"context_line":"            self, loadbalancer_id, amphora_id, master_az_name, backup_az_name):"},{"line_number":175,"context_line":"        # Calculate AZs only on failover, because on creation they should be"},{"line_number":176,"context_line":"        # calculated out of the task"}],"source_content_type":"text/x-python","patch_set":11,"id":"700c281c_ab2716cf","line":173,"range":{"start_line":173,"start_character":33,"end_line":173,"end_character":41},"in_reply_to":"acac837a_e770524f","updated":"2026-06-15 16:55:34.000000000","message":"Done","commit_id":"153f39e2588794363542d13f3373ae84f8c54dec"},{"author":{"_account_id":29244,"name":"Gregory Thiemonge","email":"gthiemon@redhat.com","username":"gthiemonge"},"change_message_id":"7f89662e05b555ec0a5a681593173c3db45f530b","unresolved":true,"context_lines":[{"line_number":224,"context_line":"            amp.availability_zone for amp in current_amps"},{"line_number":225,"context_line":"            if amp.role and amp.status not in ("},{"line_number":226,"context_line":"                constants.DELETED, constants.AMPHORA_BOOTING)}"},{"line_number":227,"context_line":"        LOG.debug(\u0027Found used AZs by amphoras: %s\u0027)"},{"line_number":228,"context_line":"        not_used_azs \u003d list(availability_zones_names_set - used_azs)"},{"line_number":229,"context_line":"        # with not used az"},{"line_number":230,"context_line":"        if not_used_azs:"}],"source_content_type":"text/x-python","patch_set":11,"id":"ba71e527_d09a2b4c","line":227,"range":{"start_line":227,"start_character":8,"end_line":227,"end_character":51},"updated":"2026-06-08 12:35:23.000000000","message":"arg is missing","commit_id":"153f39e2588794363542d13f3373ae84f8c54dec"},{"author":{"_account_id":6577,"name":"Sergey Kraynev","email":"sergejyit@gmail.com","username":"skraynev"},"change_message_id":"88371ee744ac34bc231bd47d625e12f8b66e376c","unresolved":false,"context_lines":[{"line_number":224,"context_line":"            amp.availability_zone for amp in current_amps"},{"line_number":225,"context_line":"            if amp.role and amp.status not in ("},{"line_number":226,"context_line":"                constants.DELETED, constants.AMPHORA_BOOTING)}"},{"line_number":227,"context_line":"        LOG.debug(\u0027Found used AZs by amphoras: %s\u0027)"},{"line_number":228,"context_line":"        not_used_azs \u003d list(availability_zones_names_set - used_azs)"},{"line_number":229,"context_line":"        # with not used az"},{"line_number":230,"context_line":"        if not_used_azs:"}],"source_content_type":"text/x-python","patch_set":11,"id":"48030734_28de9d76","line":227,"range":{"start_line":227,"start_character":8,"end_line":227,"end_character":51},"in_reply_to":"ba71e527_d09a2b4c","updated":"2026-06-15 16:55:34.000000000","message":"Done","commit_id":"153f39e2588794363542d13f3373ae84f8c54dec"},{"author":{"_account_id":29244,"name":"Gregory Thiemonge","email":"gthiemon@redhat.com","username":"gthiemonge"},"change_message_id":"20ec10e2e045d6b1358fbec33b45da38ba9604e0","unresolved":true,"context_lines":[{"line_number":258,"context_line":"        # not suitable AZ use default"},{"line_number":259,"context_line":"        return None"},{"line_number":260,"context_line":""},{"line_number":261,"context_line":"    def _update_amphora_az(self, amphora_id, az):"},{"line_number":262,"context_line":"        try:"},{"line_number":263,"context_line":"            self.amphora_repo.update(db_apis.get_session(),"},{"line_number":264,"context_line":"                                     id\u003damphora_id,"}],"source_content_type":"text/x-python","patch_set":11,"id":"5955996b_f7eab51a","line":261,"range":{"start_line":261,"start_character":8,"end_line":261,"end_character":26},"updated":"2026-06-09 12:42:35.000000000","message":"This function doesn\u0027t work in my devstack, amp.availability_zone is still None after calling it.\nThe reason is that since sqlalchemy2 the DB sessions no longer auto commit the changes.\nTo fix it, you need to include the try/except block in a \"with db_apis.session().begin() as session:\" block (and pass session to update()), the DB update will be committed at the end of the with block.\n\nAlso note that DB update code usually resides in database_tasks.py","commit_id":"153f39e2588794363542d13f3373ae84f8c54dec"},{"author":{"_account_id":6577,"name":"Sergey Kraynev","email":"sergejyit@gmail.com","username":"skraynev"},"change_message_id":"88371ee744ac34bc231bd47d625e12f8b66e376c","unresolved":true,"context_lines":[{"line_number":258,"context_line":"        # not suitable AZ use default"},{"line_number":259,"context_line":"        return None"},{"line_number":260,"context_line":""},{"line_number":261,"context_line":"    def _update_amphora_az(self, amphora_id, az):"},{"line_number":262,"context_line":"        try:"},{"line_number":263,"context_line":"            self.amphora_repo.update(db_apis.get_session(),"},{"line_number":264,"context_line":"                                     id\u003damphora_id,"}],"source_content_type":"text/x-python","patch_set":11,"id":"eb4135eb_2677e861","line":261,"range":{"start_line":261,"start_character":8,"end_line":261,"end_character":26},"in_reply_to":"5955996b_f7eab51a","updated":"2026-06-15 16:55:34.000000000","message":"ok. The first update is simple, but the last suggestion will require some re-work + fix test and recheck. I will try to check it tomorrow.","commit_id":"153f39e2588794363542d13f3373ae84f8c54dec"},{"author":{"_account_id":6577,"name":"Sergey Kraynev","email":"sergejyit@gmail.com","username":"skraynev"},"change_message_id":"1397a6808c183ab488b4551f8621572ecad4141a","unresolved":false,"context_lines":[{"line_number":258,"context_line":"        # not suitable AZ use default"},{"line_number":259,"context_line":"        return None"},{"line_number":260,"context_line":""},{"line_number":261,"context_line":"    def _update_amphora_az(self, amphora_id, az):"},{"line_number":262,"context_line":"        try:"},{"line_number":263,"context_line":"            self.amphora_repo.update(db_apis.get_session(),"},{"line_number":264,"context_line":"                                     id\u003damphora_id,"}],"source_content_type":"text/x-python","patch_set":11,"id":"f5e629d3_87c82b66","line":261,"range":{"start_line":261,"start_character":8,"end_line":261,"end_character":26},"in_reply_to":"eb4135eb_2677e861","updated":"2026-08-14 09:32:30.000000000","message":"Marked as resolved.","commit_id":"153f39e2588794363542d13f3373ae84f8c54dec"},{"author":{"_account_id":29244,"name":"Gregory Thiemonge","email":"gthiemon@redhat.com","username":"gthiemonge"},"change_message_id":"24f56d09f8cb200e56860bdb28ce6db39e67b30b","unresolved":true,"context_lines":[{"line_number":269,"context_line":"        \"\"\""},{"line_number":270,"context_line":"        if isinstance(result, failure.Failure):"},{"line_number":271,"context_line":"            return"},{"line_number":272,"context_line":"        compute_id \u003d result"},{"line_number":273,"context_line":"        LOG.warning(\"Reverting compute create for amphora with id \""},{"line_number":274,"context_line":"                    \"%(amp)s and compute id: %(comp)s\","},{"line_number":275,"context_line":"                    {\u0027amp\u0027: amphora_id, \u0027comp\u0027: compute_id})"}],"source_content_type":"text/x-python","patch_set":15,"id":"6b650432_c9fd3f09","line":272,"range":{"start_line":272,"start_character":8,"end_line":272,"end_character":27},"updated":"2026-07-08 07:01:59.000000000","message":"If I\u0027m not mistaken, as you changed the return value of execute() from (compute_id) to (compute_id, availability_zone_name), here the result is now a tuple, so it should be `compute_id \u003d result[0]`.\ncan you check it?","commit_id":"e0d0e37360cd90e817105621e958fbcb1c1a090d"},{"author":{"_account_id":6577,"name":"Sergey Kraynev","email":"sergejyit@gmail.com","username":"skraynev"},"change_message_id":"ccb8ad45c2cb61aab10c30f35659357fdc51285e","unresolved":false,"context_lines":[{"line_number":269,"context_line":"        \"\"\""},{"line_number":270,"context_line":"        if isinstance(result, failure.Failure):"},{"line_number":271,"context_line":"            return"},{"line_number":272,"context_line":"        compute_id \u003d result"},{"line_number":273,"context_line":"        LOG.warning(\"Reverting compute create for amphora with id \""},{"line_number":274,"context_line":"                    \"%(amp)s and compute id: %(comp)s\","},{"line_number":275,"context_line":"                    {\u0027amp\u0027: amphora_id, \u0027comp\u0027: compute_id})"}],"source_content_type":"text/x-python","patch_set":15,"id":"4bf25339_9d697ffd","line":272,"range":{"start_line":272,"start_character":8,"end_line":272,"end_character":27},"in_reply_to":"6aad9713_2a3ee0d7","updated":"2026-08-14 09:33:25.000000000","message":"Marked as resolved.","commit_id":"e0d0e37360cd90e817105621e958fbcb1c1a090d"},{"author":{"_account_id":6577,"name":"Sergey Kraynev","email":"sergejyit@gmail.com","username":"skraynev"},"change_message_id":"ca6ea5796522b7887b60548c70d1449b19f57922","unresolved":true,"context_lines":[{"line_number":269,"context_line":"        \"\"\""},{"line_number":270,"context_line":"        if isinstance(result, failure.Failure):"},{"line_number":271,"context_line":"            return"},{"line_number":272,"context_line":"        compute_id \u003d result"},{"line_number":273,"context_line":"        LOG.warning(\"Reverting compute create for amphora with id \""},{"line_number":274,"context_line":"                    \"%(amp)s and compute id: %(comp)s\","},{"line_number":275,"context_line":"                    {\u0027amp\u0027: amphora_id, \u0027comp\u0027: compute_id})"}],"source_content_type":"text/x-python","patch_set":15,"id":"6aad9713_2a3ee0d7","line":272,"range":{"start_line":272,"start_character":8,"end_line":272,"end_character":27},"in_reply_to":"6b650432_c9fd3f09","updated":"2026-07-13 06:30:21.000000000","message":"yes. you are right. fixed","commit_id":"e0d0e37360cd90e817105621e958fbcb1c1a090d"}],"octavia/controller/worker/v2/tasks/database_tasks.py":[{"author":{"_account_id":38562,"name":"Richard Cruise","email":"rcruise@redhat.com","username":"rcruise"},"change_message_id":"b34ece7a3cf3b4c634e63b6a6d8f539c2b2313c3","unresolved":true,"context_lines":[{"line_number":960,"context_line":"                                     compute_id\u003dcompute_id)"},{"line_number":961,"context_line":""},{"line_number":962,"context_line":""},{"line_number":963,"context_line":"class UpdateAmphoraAvailabilityZone(BaseDatabaseTask):"},{"line_number":964,"context_line":"    \"\"\"Update availability zone for amphora in DB.\"\"\""},{"line_number":965,"context_line":""},{"line_number":966,"context_line":"    def execute(self, amphora_id, availability_zone_name):"}],"source_content_type":"text/x-python","patch_set":20,"id":"7c206e6a_283743f3","line":963,"updated":"2026-08-13 15:30:00.000000000","message":"There seems to be no unit tests for this","commit_id":"0fc327cd173519d4374af66ac0cd9697572b9146"},{"author":{"_account_id":6577,"name":"Sergey Kraynev","email":"sergejyit@gmail.com","username":"skraynev"},"change_message_id":"efaaa2cc2e13098f4f172f86908b56c3954cd13a","unresolved":false,"context_lines":[{"line_number":960,"context_line":"                                     compute_id\u003dcompute_id)"},{"line_number":961,"context_line":""},{"line_number":962,"context_line":""},{"line_number":963,"context_line":"class UpdateAmphoraAvailabilityZone(BaseDatabaseTask):"},{"line_number":964,"context_line":"    \"\"\"Update availability zone for amphora in DB.\"\"\""},{"line_number":965,"context_line":""},{"line_number":966,"context_line":"    def execute(self, amphora_id, availability_zone_name):"}],"source_content_type":"text/x-python","patch_set":20,"id":"fc5e8050_a2013da8","line":963,"in_reply_to":"7c206e6a_283743f3","updated":"2026-08-14 09:56:24.000000000","message":"test added","commit_id":"0fc327cd173519d4374af66ac0cd9697572b9146"},{"author":{"_account_id":38562,"name":"Richard Cruise","email":"rcruise@redhat.com","username":"rcruise"},"change_message_id":"755ab77da0ae1a0cedd2c66af4e7e6594db350f8","unresolved":true,"context_lines":[{"line_number":979,"context_line":"                    id\u003damphora_id,"},{"line_number":980,"context_line":"                    availability_zone\u003davailability_zone_name"},{"line_number":981,"context_line":"                )"},{"line_number":982,"context_line":"            except Exception as e:"},{"line_number":983,"context_line":"                LOG.error(\"Failed to update amphora %(amp)s \""},{"line_number":984,"context_line":"                          \"availability zone to %(az)s due to: \""},{"line_number":985,"context_line":"                          \"%(except)s\", {\u0027amp\u0027: amphora_id,"}],"source_content_type":"text/x-python","patch_set":25,"id":"6d5306a0_52189539","line":982,"updated":"2026-09-25 11:46:30.000000000","message":"I\u0027m not sure we should catch the exception here, the rest of the DB tasks seem to raise the exception further up the stack without trying to catch it (on the execute method, the revert methods seem to have try/except blocks)\n\nI think it\u0027s best to match the existing structure or re-raise the exception. Another option might be to raise a custom exception if you think it\u0027d be more useful?","commit_id":"72a9e0662ad1b3327f49f73518b99da04034f9c9"},{"author":{"_account_id":38562,"name":"Richard Cruise","email":"rcruise@redhat.com","username":"rcruise"},"change_message_id":"141c4b617ec4d778ea91f5dddfa386ebe2deba7c","unresolved":false,"context_lines":[{"line_number":979,"context_line":"                    id\u003damphora_id,"},{"line_number":980,"context_line":"                    availability_zone\u003davailability_zone_name"},{"line_number":981,"context_line":"                )"},{"line_number":982,"context_line":"            except Exception as e:"},{"line_number":983,"context_line":"                LOG.error(\"Failed to update amphora %(amp)s \""},{"line_number":984,"context_line":"                          \"availability zone to %(az)s due to: \""},{"line_number":985,"context_line":"                          \"%(except)s\", {\u0027amp\u0027: amphora_id,"}],"source_content_type":"text/x-python","patch_set":25,"id":"6b8510b9_a2d76ec2","line":982,"in_reply_to":"5dfaed39_07274e2e","updated":"2026-09-30 08:03:13.000000000","message":"Done","commit_id":"72a9e0662ad1b3327f49f73518b99da04034f9c9"},{"author":{"_account_id":6577,"name":"Sergey Kraynev","email":"sergejyit@gmail.com","username":"skraynev"},"change_message_id":"e710eb9f394f438f9922798dc904d8ad52fc751d","unresolved":true,"context_lines":[{"line_number":979,"context_line":"                    id\u003damphora_id,"},{"line_number":980,"context_line":"                    availability_zone\u003davailability_zone_name"},{"line_number":981,"context_line":"                )"},{"line_number":982,"context_line":"            except Exception as e:"},{"line_number":983,"context_line":"                LOG.error(\"Failed to update amphora %(amp)s \""},{"line_number":984,"context_line":"                          \"availability zone to %(az)s due to: \""},{"line_number":985,"context_line":"                          \"%(except)s\", {\u0027amp\u0027: amphora_id,"}],"source_content_type":"text/x-python","patch_set":25,"id":"5dfaed39_07274e2e","line":982,"in_reply_to":"6d5306a0_52189539","updated":"2026-09-29 17:23:46.000000000","message":"I will remove try/except block here. let\u0027s handle it as is.","commit_id":"72a9e0662ad1b3327f49f73518b99da04034f9c9"}],"octavia/db/migration/alembic_migrations/versions/fe12c33b254d_add_support_for_multizone_deployment.py":[{"author":{"_account_id":29244,"name":"Gregory Thiemonge","email":"gthiemon@redhat.com","username":"gthiemonge"},"change_message_id":"24f56d09f8cb200e56860bdb28ce6db39e67b30b","unresolved":true,"context_lines":[{"line_number":35,"context_line":"    )"},{"line_number":36,"context_line":"    op.add_column("},{"line_number":37,"context_line":"        \u0027amphora\u0027,"},{"line_number":38,"context_line":"        sa.Column(\u0027availability_zone\u0027, sa.String(512), nullable\u003dTrue)"},{"line_number":39,"context_line":"    )"},{"line_number":40,"context_line":"    op.create_foreign_key("},{"line_number":41,"context_line":"        u\u0027fk_amphora_availability_zone_name\u0027, u\u0027amphora\u0027,"}],"source_content_type":"text/x-python","patch_set":15,"id":"ba0d809d_b5536003","line":38,"range":{"start_line":38,"start_character":49,"end_line":38,"end_character":52},"updated":"2026-07-08 07:01:59.000000000","message":"not consistent with the type defined in octavia/db/models.py\n`sa.String(512)` vs `sa.String(255)`","commit_id":"e0d0e37360cd90e817105621e958fbcb1c1a090d"},{"author":{"_account_id":6577,"name":"Sergey Kraynev","email":"sergejyit@gmail.com","username":"skraynev"},"change_message_id":"ca6ea5796522b7887b60548c70d1449b19f57922","unresolved":true,"context_lines":[{"line_number":35,"context_line":"    )"},{"line_number":36,"context_line":"    op.add_column("},{"line_number":37,"context_line":"        \u0027amphora\u0027,"},{"line_number":38,"context_line":"        sa.Column(\u0027availability_zone\u0027, sa.String(512), nullable\u003dTrue)"},{"line_number":39,"context_line":"    )"},{"line_number":40,"context_line":"    op.create_foreign_key("},{"line_number":41,"context_line":"        u\u0027fk_amphora_availability_zone_name\u0027, u\u0027amphora\u0027,"}],"source_content_type":"text/x-python","patch_set":15,"id":"e5616c40_dff8aba0","line":38,"range":{"start_line":38,"start_character":49,"end_line":38,"end_character":52},"in_reply_to":"ba0d809d_b5536003","updated":"2026-07-13 06:30:21.000000000","message":"fixed. thx","commit_id":"e0d0e37360cd90e817105621e958fbcb1c1a090d"},{"author":{"_account_id":6577,"name":"Sergey Kraynev","email":"sergejyit@gmail.com","username":"skraynev"},"change_message_id":"1397a6808c183ab488b4551f8621572ecad4141a","unresolved":false,"context_lines":[{"line_number":35,"context_line":"    )"},{"line_number":36,"context_line":"    op.add_column("},{"line_number":37,"context_line":"        \u0027amphora\u0027,"},{"line_number":38,"context_line":"        sa.Column(\u0027availability_zone\u0027, sa.String(512), nullable\u003dTrue)"},{"line_number":39,"context_line":"    )"},{"line_number":40,"context_line":"    op.create_foreign_key("},{"line_number":41,"context_line":"        u\u0027fk_amphora_availability_zone_name\u0027, u\u0027amphora\u0027,"}],"source_content_type":"text/x-python","patch_set":15,"id":"64f3691c_a6ffc0db","line":38,"range":{"start_line":38,"start_character":49,"end_line":38,"end_character":52},"in_reply_to":"e5616c40_dff8aba0","updated":"2026-08-14 09:32:30.000000000","message":"Marked as resolved.","commit_id":"e0d0e37360cd90e817105621e958fbcb1c1a090d"},{"author":{"_account_id":29244,"name":"Gregory Thiemonge","email":"gthiemon@redhat.com","username":"gthiemonge"},"change_message_id":"3f2110fc9781025f9662fd55e447db423c4b99fe","unresolved":true,"context_lines":[{"line_number":30,"context_line":"def upgrade():"},{"line_number":31,"context_line":"    op.add_column("},{"line_number":32,"context_line":"        \u0027availability_zone\u0027,"},{"line_number":33,"context_line":"        sa.Column(\u0027use_in_multizone\u0027, sa.Boolean(), default\u003dFalse,"},{"line_number":34,"context_line":"                  nullable\u003dFalse)"},{"line_number":35,"context_line":"    )"},{"line_number":36,"context_line":"    op.add_column("}],"source_content_type":"text/x-python","patch_set":18,"id":"569e08e1_d56b973d","line":33,"range":{"start_line":33,"start_character":52,"end_line":33,"end_character":65},"updated":"2026-07-29 14:02:10.000000000","message":"Claude code reports that default\u003dFalse should be replaced by server_default\u003dsa.sql.expression.false(), without it the ALTER TABLE command will fail if there\u0027s any existing rows in availability_zone\n\n(Note from gthiemon: I\u0027ll double check if it\u0027s true)","commit_id":"bcb059463291fb7cecfab6d65ec511796889bde1"},{"author":{"_account_id":6577,"name":"Sergey Kraynev","email":"sergejyit@gmail.com","username":"skraynev"},"change_message_id":"ccb8ad45c2cb61aab10c30f35659357fdc51285e","unresolved":false,"context_lines":[{"line_number":30,"context_line":"def upgrade():"},{"line_number":31,"context_line":"    op.add_column("},{"line_number":32,"context_line":"        \u0027availability_zone\u0027,"},{"line_number":33,"context_line":"        sa.Column(\u0027use_in_multizone\u0027, sa.Boolean(), default\u003dFalse,"},{"line_number":34,"context_line":"                  nullable\u003dFalse)"},{"line_number":35,"context_line":"    )"},{"line_number":36,"context_line":"    op.add_column("}],"source_content_type":"text/x-python","patch_set":18,"id":"2110c60d_2c71dff8","line":33,"range":{"start_line":33,"start_character":52,"end_line":33,"end_character":65},"in_reply_to":"2c56b3cc_8b7a632d","updated":"2026-08-14 09:33:25.000000000","message":"Marked as resolved.","commit_id":"bcb059463291fb7cecfab6d65ec511796889bde1"},{"author":{"_account_id":29244,"name":"Gregory Thiemonge","email":"gthiemon@redhat.com","username":"gthiemonge"},"change_message_id":"86db50ebbe24135e3a9066a69ae90a38d3276887","unresolved":true,"context_lines":[{"line_number":30,"context_line":"def upgrade():"},{"line_number":31,"context_line":"    op.add_column("},{"line_number":32,"context_line":"        \u0027availability_zone\u0027,"},{"line_number":33,"context_line":"        sa.Column(\u0027use_in_multizone\u0027, sa.Boolean(), default\u003dFalse,"},{"line_number":34,"context_line":"                  nullable\u003dFalse)"},{"line_number":35,"context_line":"    )"},{"line_number":36,"context_line":"    op.add_column("}],"source_content_type":"text/x-python","patch_set":18,"id":"9c48191d_9b4969b5","line":33,"range":{"start_line":33,"start_character":52,"end_line":33,"end_character":65},"in_reply_to":"569e08e1_d56b973d","updated":"2026-07-29 14:13:41.000000000","message":"it works with MariaDB but claude thinks it\u0027s a good practice to use server_default","commit_id":"bcb059463291fb7cecfab6d65ec511796889bde1"},{"author":{"_account_id":6577,"name":"Sergey Kraynev","email":"sergejyit@gmail.com","username":"skraynev"},"change_message_id":"7df29b68e0b45176e2185ce588605fd37418b5ac","unresolved":true,"context_lines":[{"line_number":30,"context_line":"def upgrade():"},{"line_number":31,"context_line":"    op.add_column("},{"line_number":32,"context_line":"        \u0027availability_zone\u0027,"},{"line_number":33,"context_line":"        sa.Column(\u0027use_in_multizone\u0027, sa.Boolean(), default\u003dFalse,"},{"line_number":34,"context_line":"                  nullable\u003dFalse)"},{"line_number":35,"context_line":"    )"},{"line_number":36,"context_line":"    op.add_column("}],"source_content_type":"text/x-python","patch_set":18,"id":"2c56b3cc_8b7a632d","line":33,"range":{"start_line":33,"start_character":52,"end_line":33,"end_character":65},"in_reply_to":"9c48191d_9b4969b5","updated":"2026-08-13 11:20:28.000000000","message":"ok, I will update it.","commit_id":"bcb059463291fb7cecfab6d65ec511796889bde1"}],"octavia/db/models.py":[{"author":{"_account_id":29244,"name":"Gregory Thiemonge","email":"gthiemon@redhat.com","username":"gthiemonge"},"change_message_id":"aa734ccf9779ae3a0d9e6ee010d9d59783391ba2","unresolved":true,"context_lines":[{"line_number":712,"context_line":"    load_balancer \u003d orm.relationship(\"LoadBalancer\", uselist\u003dFalse,"},{"line_number":713,"context_line":"                                     back_populates\u003d\u0027amphorae\u0027)"},{"line_number":714,"context_line":"    compute_flavor \u003d sa.Column(sa.String(255), nullable\u003dTrue)"},{"line_number":715,"context_line":"    availability_zone \u003d sa.Column("},{"line_number":716,"context_line":"        sa.String(255),"},{"line_number":717,"context_line":"        sa.ForeignKey(\"availability_zone.name\","},{"line_number":718,"context_line":"                      name\u003d\"fk_amphora_availability_zone_name\"),"}],"source_content_type":"text/x-python","patch_set":15,"id":"c53a88e5_793b95b8","line":715,"range":{"start_line":715,"start_character":4,"end_line":715,"end_character":21},"updated":"2026-07-08 14:50:17.000000000","message":"Sergey, did you check how the cached_zone attribute works (line 710)? I feel that it\u0027s used as the compute availability_zone in the existing code. So maybe we don\u0027t really need this new field","commit_id":"e0d0e37360cd90e817105621e958fbcb1c1a090d"},{"author":{"_account_id":6577,"name":"Sergey Kraynev","email":"sergejyit@gmail.com","username":"skraynev"},"change_message_id":"1397a6808c183ab488b4551f8621572ecad4141a","unresolved":false,"context_lines":[{"line_number":712,"context_line":"    load_balancer \u003d orm.relationship(\"LoadBalancer\", uselist\u003dFalse,"},{"line_number":713,"context_line":"                                     back_populates\u003d\u0027amphorae\u0027)"},{"line_number":714,"context_line":"    compute_flavor \u003d sa.Column(sa.String(255), nullable\u003dTrue)"},{"line_number":715,"context_line":"    availability_zone \u003d sa.Column("},{"line_number":716,"context_line":"        sa.String(255),"},{"line_number":717,"context_line":"        sa.ForeignKey(\"availability_zone.name\","},{"line_number":718,"context_line":"                      name\u003d\"fk_amphora_availability_zone_name\"),"}],"source_content_type":"text/x-python","patch_set":15,"id":"f6340685_13a2838b","line":715,"range":{"start_line":715,"start_character":4,"end_line":715,"end_character":21},"in_reply_to":"2e0e732c_6e80fd2e","updated":"2026-08-14 09:32:30.000000000","message":"Marked as resolved.","commit_id":"e0d0e37360cd90e817105621e958fbcb1c1a090d"},{"author":{"_account_id":6577,"name":"Sergey Kraynev","email":"sergejyit@gmail.com","username":"skraynev"},"change_message_id":"ca6ea5796522b7887b60548c70d1449b19f57922","unresolved":true,"context_lines":[{"line_number":712,"context_line":"    load_balancer \u003d orm.relationship(\"LoadBalancer\", uselist\u003dFalse,"},{"line_number":713,"context_line":"                                     back_populates\u003d\u0027amphorae\u0027)"},{"line_number":714,"context_line":"    compute_flavor \u003d sa.Column(sa.String(255), nullable\u003dTrue)"},{"line_number":715,"context_line":"    availability_zone \u003d sa.Column("},{"line_number":716,"context_line":"        sa.String(255),"},{"line_number":717,"context_line":"        sa.ForeignKey(\"availability_zone.name\","},{"line_number":718,"context_line":"                      name\u003d\"fk_amphora_availability_zone_name\"),"}],"source_content_type":"text/x-python","patch_set":15,"id":"2e0e732c_6e80fd2e","line":715,"range":{"start_line":715,"start_character":4,"end_line":715,"end_character":21},"in_reply_to":"c53a88e5_793b95b8","updated":"2026-07-13 06:30:21.000000000","message":"I had the same thoughts. The main reason, why new attribute was added, because:\n- I want to split Amphoras with applied multizone setup and without it.\nFor example: I have existing deployment with some Loadbalancer. \nAfter upgrade these amphoras will get new \"availability_zone\" \u003d None.\nAnd only new amphoras (or old after failover) will get update on \"availability_zone\" attribute. \n\nAdditionally there is difference in meaning:\n* cached_zone - is zone taken from compute instance. So we get it from compute API.\n* availability_zone - is zone, which octavia request for creation amphora in it. and we set this value from octavia as \"tag\", where amphora should be created.","commit_id":"e0d0e37360cd90e817105621e958fbcb1c1a090d"}],"octavia/db/repositories.py":[{"author":{"_account_id":38562,"name":"Richard Cruise","email":"rcruise@redhat.com","username":"rcruise"},"change_message_id":"b34ece7a3cf3b4c634e63b6a6d8f539c2b2313c3","unresolved":true,"context_lines":[{"line_number":2156,"context_line":"class AvailabilityZoneRepository(_GetALLExceptDELETEDIdMixin, BaseRepository):"},{"line_number":2157,"context_line":"    model_class \u003d models.AvailabilityZone"},{"line_number":2158,"context_line":""},{"line_number":2159,"context_line":"    def get_availability_zone_name_to_profile_mapping(self, session):"},{"line_number":2160,"context_line":"        availability_zone_metadata_jsons \u003d ("},{"line_number":2161,"context_line":"            session.query("},{"line_number":2162,"context_line":"                models.AvailabilityZone.name,"}],"source_content_type":"text/x-python","patch_set":20,"id":"d671bf04_9ee6e364","line":2159,"updated":"2026-08-13 15:30:00.000000000","message":"This never seems to be called?","commit_id":"0fc327cd173519d4374af66ac0cd9697572b9146"},{"author":{"_account_id":6577,"name":"Sergey Kraynev","email":"sergejyit@gmail.com","username":"skraynev"},"change_message_id":"1397a6808c183ab488b4551f8621572ecad4141a","unresolved":false,"context_lines":[{"line_number":2156,"context_line":"class AvailabilityZoneRepository(_GetALLExceptDELETEDIdMixin, BaseRepository):"},{"line_number":2157,"context_line":"    model_class \u003d models.AvailabilityZone"},{"line_number":2158,"context_line":""},{"line_number":2159,"context_line":"    def get_availability_zone_name_to_profile_mapping(self, session):"},{"line_number":2160,"context_line":"        availability_zone_metadata_jsons \u003d ("},{"line_number":2161,"context_line":"            session.query("},{"line_number":2162,"context_line":"                models.AvailabilityZone.name,"}],"source_content_type":"text/x-python","patch_set":20,"id":"3bc9b1e2_6e3a95d3","line":2159,"in_reply_to":"d671bf04_9ee6e364","updated":"2026-08-14 09:32:30.000000000","message":"fixed. removed. it\u0027s not really used and left after refactoring","commit_id":"0fc327cd173519d4374af66ac0cd9697572b9146"}],"octavia/tests/functional/api/v2/test_load_balancer.py":[{"author":{"_account_id":38562,"name":"Richard Cruise","email":"rcruise@redhat.com","username":"rcruise"},"change_message_id":"755ab77da0ae1a0cedd2c66af4e7e6594db350f8","unresolved":true,"context_lines":[{"line_number":2850,"context_line":"        )"},{"line_number":2851,"context_line":"        response \u003d self.post(self.LBS_PATH, self._build_body(lb_json),"},{"line_number":2852,"context_line":"                             status\u003d409)"},{"line_number":2853,"context_line":"        self.assertIn(err_msg, response.json.get(\u0027faultstring\u0027))"},{"line_number":2854,"context_line":""},{"line_number":2855,"context_line":"    def test_multizone_create_not_marked_az_single_topology(self):"},{"line_number":2856,"context_line":"        self.conf.config(group\u003d\u0027controller_worker\u0027, multizone_enabled\u003dTrue)"}],"source_content_type":"text/x-python","patch_set":25,"id":"a43d3711_ee1e6511","line":2853,"updated":"2026-09-25 11:46:30.000000000","message":"See my other comment","commit_id":"72a9e0662ad1b3327f49f73518b99da04034f9c9"},{"author":{"_account_id":38562,"name":"Richard Cruise","email":"rcruise@redhat.com","username":"rcruise"},"change_message_id":"141c4b617ec4d778ea91f5dddfa386ebe2deba7c","unresolved":false,"context_lines":[{"line_number":2850,"context_line":"        )"},{"line_number":2851,"context_line":"        response \u003d self.post(self.LBS_PATH, self._build_body(lb_json),"},{"line_number":2852,"context_line":"                             status\u003d409)"},{"line_number":2853,"context_line":"        self.assertIn(err_msg, response.json.get(\u0027faultstring\u0027))"},{"line_number":2854,"context_line":""},{"line_number":2855,"context_line":"    def test_multizone_create_not_marked_az_single_topology(self):"},{"line_number":2856,"context_line":"        self.conf.config(group\u003d\u0027controller_worker\u0027, multizone_enabled\u003dTrue)"}],"source_content_type":"text/x-python","patch_set":25,"id":"8082db9a_92b4f955","line":2853,"in_reply_to":"8a71ed6e_f59083dc","updated":"2026-09-30 08:03:13.000000000","message":"Done","commit_id":"72a9e0662ad1b3327f49f73518b99da04034f9c9"},{"author":{"_account_id":6577,"name":"Sergey Kraynev","email":"sergejyit@gmail.com","username":"skraynev"},"change_message_id":"e710eb9f394f438f9922798dc904d8ad52fc751d","unresolved":true,"context_lines":[{"line_number":2850,"context_line":"        )"},{"line_number":2851,"context_line":"        response \u003d self.post(self.LBS_PATH, self._build_body(lb_json),"},{"line_number":2852,"context_line":"                             status\u003d409)"},{"line_number":2853,"context_line":"        self.assertIn(err_msg, response.json.get(\u0027faultstring\u0027))"},{"line_number":2854,"context_line":""},{"line_number":2855,"context_line":"    def test_multizone_create_not_marked_az_single_topology(self):"},{"line_number":2856,"context_line":"        self.conf.config(group\u003d\u0027controller_worker\u0027, multizone_enabled\u003dTrue)"}],"source_content_type":"text/x-python","patch_set":25,"id":"8a71ed6e_f59083dc","line":2853,"in_reply_to":"a43d3711_ee1e6511","updated":"2026-09-29 17:23:46.000000000","message":"fixed. I set topology explicitly","commit_id":"72a9e0662ad1b3327f49f73518b99da04034f9c9"},{"author":{"_account_id":38562,"name":"Richard Cruise","email":"rcruise@redhat.com","username":"rcruise"},"change_message_id":"755ab77da0ae1a0cedd2c66af4e7e6594db350f8","unresolved":true,"context_lines":[{"line_number":2867,"context_line":"        )"},{"line_number":2868,"context_line":"        response \u003d self.post(self.LBS_PATH, self._build_body(lb_json),"},{"line_number":2869,"context_line":"                             status\u003d409)"},{"line_number":2870,"context_line":"        self.assertIn(err_msg, response.json.get(\u0027faultstring\u0027))"},{"line_number":2871,"context_line":""},{"line_number":2872,"context_line":"    def test_multizone_create_marked_but_disabled_az_single_topology(self):"},{"line_number":2873,"context_line":"        self.conf.config(group\u003d\u0027controller_worker\u0027, multizone_enabled\u003dTrue)"}],"source_content_type":"text/x-python","patch_set":25,"id":"5e636fb9_819e9ff8","line":2870,"updated":"2026-09-25 11:46:30.000000000","message":"This is failing because you\u0027re expecting ACITVE_STANDBY in the error message, not SINGLE\n```\n    testtools.matchers._impl.MismatchError: \n    \u0027Multizone deployment is enabled. Loadbalancer creation with SINGLE topology requires at least 1 octavia AZ marked for using in multizone deployment. Currently enabled availability zones: [].\u0027 \n    not in \n    \u0027Multizone deployment is enabled. Loadbalancer creation with ACTIVE_STANDBY topology requires at least 1 octavia AZ marked for using in multizone deployment. Currently enabled availability zones: [].\u0027\n```","commit_id":"72a9e0662ad1b3327f49f73518b99da04034f9c9"},{"author":{"_account_id":6577,"name":"Sergey Kraynev","email":"sergejyit@gmail.com","username":"skraynev"},"change_message_id":"e710eb9f394f438f9922798dc904d8ad52fc751d","unresolved":true,"context_lines":[{"line_number":2867,"context_line":"        )"},{"line_number":2868,"context_line":"        response \u003d self.post(self.LBS_PATH, self._build_body(lb_json),"},{"line_number":2869,"context_line":"                             status\u003d409)"},{"line_number":2870,"context_line":"        self.assertIn(err_msg, response.json.get(\u0027faultstring\u0027))"},{"line_number":2871,"context_line":""},{"line_number":2872,"context_line":"    def test_multizone_create_marked_but_disabled_az_single_topology(self):"},{"line_number":2873,"context_line":"        self.conf.config(group\u003d\u0027controller_worker\u0027, multizone_enabled\u003dTrue)"}],"source_content_type":"text/x-python","patch_set":25,"id":"b2c282fa_99bb4a3f","line":2870,"in_reply_to":"5e636fb9_819e9ff8","updated":"2026-09-29 17:23:46.000000000","message":"fixed. I set topology explicitly","commit_id":"72a9e0662ad1b3327f49f73518b99da04034f9c9"},{"author":{"_account_id":38562,"name":"Richard Cruise","email":"rcruise@redhat.com","username":"rcruise"},"change_message_id":"141c4b617ec4d778ea91f5dddfa386ebe2deba7c","unresolved":false,"context_lines":[{"line_number":2867,"context_line":"        )"},{"line_number":2868,"context_line":"        response \u003d self.post(self.LBS_PATH, self._build_body(lb_json),"},{"line_number":2869,"context_line":"                             status\u003d409)"},{"line_number":2870,"context_line":"        self.assertIn(err_msg, response.json.get(\u0027faultstring\u0027))"},{"line_number":2871,"context_line":""},{"line_number":2872,"context_line":"    def test_multizone_create_marked_but_disabled_az_single_topology(self):"},{"line_number":2873,"context_line":"        self.conf.config(group\u003d\u0027controller_worker\u0027, multizone_enabled\u003dTrue)"}],"source_content_type":"text/x-python","patch_set":25,"id":"b353f1a7_584402d2","line":2870,"in_reply_to":"b2c282fa_99bb4a3f","updated":"2026-09-30 08:03:13.000000000","message":"Done","commit_id":"72a9e0662ad1b3327f49f73518b99da04034f9c9"},{"author":{"_account_id":38562,"name":"Richard Cruise","email":"rcruise@redhat.com","username":"rcruise"},"change_message_id":"755ab77da0ae1a0cedd2c66af4e7e6594db350f8","unresolved":true,"context_lines":[{"line_number":2884,"context_line":"        )"},{"line_number":2885,"context_line":"        response \u003d self.post(self.LBS_PATH, self._build_body(lb_json),"},{"line_number":2886,"context_line":"                             status\u003d409)"},{"line_number":2887,"context_line":"        self.assertIn(err_msg, response.json.get(\u0027faultstring\u0027))"},{"line_number":2888,"context_line":""},{"line_number":2889,"context_line":"    def test_multizone_create_one_az_active_standby_topology(self):"},{"line_number":2890,"context_line":"        self.conf.config(group\u003d\u0027controller_worker\u0027, multizone_enabled\u003dTrue)"}],"source_content_type":"text/x-python","patch_set":25,"id":"57b0e0ff_c905ef30","line":2887,"updated":"2026-09-25 11:46:30.000000000","message":"See above","commit_id":"72a9e0662ad1b3327f49f73518b99da04034f9c9"},{"author":{"_account_id":6577,"name":"Sergey Kraynev","email":"sergejyit@gmail.com","username":"skraynev"},"change_message_id":"e710eb9f394f438f9922798dc904d8ad52fc751d","unresolved":true,"context_lines":[{"line_number":2884,"context_line":"        )"},{"line_number":2885,"context_line":"        response \u003d self.post(self.LBS_PATH, self._build_body(lb_json),"},{"line_number":2886,"context_line":"                             status\u003d409)"},{"line_number":2887,"context_line":"        self.assertIn(err_msg, response.json.get(\u0027faultstring\u0027))"},{"line_number":2888,"context_line":""},{"line_number":2889,"context_line":"    def test_multizone_create_one_az_active_standby_topology(self):"},{"line_number":2890,"context_line":"        self.conf.config(group\u003d\u0027controller_worker\u0027, multizone_enabled\u003dTrue)"}],"source_content_type":"text/x-python","patch_set":25,"id":"ee6f285f_bf8ff362","line":2887,"in_reply_to":"57b0e0ff_c905ef30","updated":"2026-09-29 17:23:46.000000000","message":"set topology explicitly","commit_id":"72a9e0662ad1b3327f49f73518b99da04034f9c9"},{"author":{"_account_id":38562,"name":"Richard Cruise","email":"rcruise@redhat.com","username":"rcruise"},"change_message_id":"141c4b617ec4d778ea91f5dddfa386ebe2deba7c","unresolved":false,"context_lines":[{"line_number":2884,"context_line":"        )"},{"line_number":2885,"context_line":"        response \u003d self.post(self.LBS_PATH, self._build_body(lb_json),"},{"line_number":2886,"context_line":"                             status\u003d409)"},{"line_number":2887,"context_line":"        self.assertIn(err_msg, response.json.get(\u0027faultstring\u0027))"},{"line_number":2888,"context_line":""},{"line_number":2889,"context_line":"    def test_multizone_create_one_az_active_standby_topology(self):"},{"line_number":2890,"context_line":"        self.conf.config(group\u003d\u0027controller_worker\u0027, multizone_enabled\u003dTrue)"}],"source_content_type":"text/x-python","patch_set":25,"id":"9d2e3979_7035d336","line":2887,"in_reply_to":"ee6f285f_bf8ff362","updated":"2026-09-30 08:03:13.000000000","message":"Done","commit_id":"72a9e0662ad1b3327f49f73518b99da04034f9c9"}],"octavia/tests/unit/controller/worker/v2/tasks/test_compute_tasks.py":[{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"6818211cb83bacbfef850e825c8fc8a532edc2a0","unresolved":false,"context_lines":[{"line_number":156,"context_line":"        _db_amphora_mock.compute_id \u003d COMPUTE_ID"},{"line_number":157,"context_line":""},{"line_number":158,"context_line":"        createcompute \u003d compute_tasks.ComputeCreate()"},{"line_number":159,"context_line":"        createcompute.revert((compute_id, availability_zone), _db_amphora_mock.id)"},{"line_number":160,"context_line":""},{"line_number":161,"context_line":"        # Validate that the delete method was called properly"},{"line_number":162,"context_line":"        mock_driver.delete.assert_called_once_with("}],"source_content_type":"text/x-python","patch_set":16,"id":"6ae74dc3_d459bd6e","line":159,"updated":"2026-07-13 09:10:59.000000000","message":"pep8: E501 line too long (82 \u003e 79 characters)","commit_id":"d738b08f42b8a8d2022eccb2b32fcc87804e8de3"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"6818211cb83bacbfef850e825c8fc8a532edc2a0","unresolved":false,"context_lines":[{"line_number":164,"context_line":""},{"line_number":165,"context_line":"        # Test that a delete exception is not raised"},{"line_number":166,"context_line":""},{"line_number":167,"context_line":"        createcompute.revert((COMPUTE_ID, availability_zone), _db_amphora_mock.id)"},{"line_number":168,"context_line":""},{"line_number":169,"context_line":"    @mock.patch(\u0027jinja2.Environment.get_template\u0027)"},{"line_number":170,"context_line":"    @mock.patch(\u0027octavia.amphorae.backends.agent.\u0027"}],"source_content_type":"text/x-python","patch_set":16,"id":"35b2e376_a08b517c","line":167,"updated":"2026-07-13 09:10:59.000000000","message":"pep8: E501 line too long (82 \u003e 79 characters)","commit_id":"d738b08f42b8a8d2022eccb2b32fcc87804e8de3"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"6818211cb83bacbfef850e825c8fc8a532edc2a0","unresolved":false,"context_lines":[{"line_number":219,"context_line":"        _db_amphora_mock.compute_id \u003d COMPUTE_ID"},{"line_number":220,"context_line":""},{"line_number":221,"context_line":"        createcompute \u003d compute_tasks.ComputeCreate()"},{"line_number":222,"context_line":"        createcompute.revert((compute_id, availability_zone), _db_amphora_mock.id)"},{"line_number":223,"context_line":""},{"line_number":224,"context_line":"        # Validate that the delete method was called properly"},{"line_number":225,"context_line":"        mock_driver.delete.assert_called_once_with("}],"source_content_type":"text/x-python","patch_set":16,"id":"1bfc0655_402bda60","line":222,"updated":"2026-07-13 09:10:59.000000000","message":"pep8: E501 line too long (82 \u003e 79 characters)","commit_id":"d738b08f42b8a8d2022eccb2b32fcc87804e8de3"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"6818211cb83bacbfef850e825c8fc8a532edc2a0","unresolved":false,"context_lines":[{"line_number":227,"context_line":""},{"line_number":228,"context_line":"        # Test that a delete exception is not raised"},{"line_number":229,"context_line":""},{"line_number":230,"context_line":"        createcompute.revert((COMPUTE_ID, availability_zone), _db_amphora_mock.id)"},{"line_number":231,"context_line":""},{"line_number":232,"context_line":"    @mock.patch(\u0027octavia.common.jinja.logging.logging_jinja_cfg.\u0027"},{"line_number":233,"context_line":"                \u0027LoggingJinjaTemplater.build_logging_config\u0027)"}],"source_content_type":"text/x-python","patch_set":16,"id":"62973a9f_01ccee54","line":230,"updated":"2026-07-13 09:10:59.000000000","message":"pep8: E501 line too long (82 \u003e 79 characters)","commit_id":"d738b08f42b8a8d2022eccb2b32fcc87804e8de3"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"6818211cb83bacbfef850e825c8fc8a532edc2a0","unresolved":false,"context_lines":[{"line_number":294,"context_line":"        _db_amphora_mock.compute_id \u003d COMPUTE_ID"},{"line_number":295,"context_line":""},{"line_number":296,"context_line":"        createcompute \u003d compute_tasks.ComputeCreate()"},{"line_number":297,"context_line":"        createcompute.revert((compute_id, availability_zone), _db_amphora_mock.id)"},{"line_number":298,"context_line":""},{"line_number":299,"context_line":"        # Validate that the delete method was called properly"},{"line_number":300,"context_line":"        mock_driver.delete.assert_called_once_with("}],"source_content_type":"text/x-python","patch_set":16,"id":"139971fa_961051d4","line":297,"updated":"2026-07-13 09:10:59.000000000","message":"pep8: E501 line too long (82 \u003e 79 characters)","commit_id":"d738b08f42b8a8d2022eccb2b32fcc87804e8de3"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"6818211cb83bacbfef850e825c8fc8a532edc2a0","unresolved":false,"context_lines":[{"line_number":302,"context_line":""},{"line_number":303,"context_line":"        # Test that a delete exception is not raised"},{"line_number":304,"context_line":""},{"line_number":305,"context_line":"        createcompute.revert((COMPUTE_ID, availability_zone), _db_amphora_mock.id)"},{"line_number":306,"context_line":""},{"line_number":307,"context_line":"    @mock.patch(\u0027octavia.common.jinja.logging.logging_jinja_cfg.\u0027"},{"line_number":308,"context_line":"                \u0027LoggingJinjaTemplater.build_logging_config\u0027)"}],"source_content_type":"text/x-python","patch_set":16,"id":"7ef5631d_82b13f48","line":305,"updated":"2026-07-13 09:10:59.000000000","message":"pep8: E501 line too long (82 \u003e 79 characters)","commit_id":"d738b08f42b8a8d2022eccb2b32fcc87804e8de3"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"6818211cb83bacbfef850e825c8fc8a532edc2a0","unresolved":false,"context_lines":[{"line_number":363,"context_line":"        _db_amphora_mock.compute_id \u003d COMPUTE_ID"},{"line_number":364,"context_line":""},{"line_number":365,"context_line":"        createcompute \u003d compute_tasks.ComputeCreate()"},{"line_number":366,"context_line":"        createcompute.revert((compute_id, availability_zone), _db_amphora_mock.id)"},{"line_number":367,"context_line":""},{"line_number":368,"context_line":"        # Validate that the delete method was called properly"},{"line_number":369,"context_line":"        mock_driver.delete.assert_called_once_with("}],"source_content_type":"text/x-python","patch_set":16,"id":"e4f4c11f_b2c49f3e","line":366,"updated":"2026-07-13 09:10:59.000000000","message":"pep8: E501 line too long (82 \u003e 79 characters)","commit_id":"d738b08f42b8a8d2022eccb2b32fcc87804e8de3"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"6818211cb83bacbfef850e825c8fc8a532edc2a0","unresolved":false,"context_lines":[{"line_number":371,"context_line":""},{"line_number":372,"context_line":"        # Test that a delete exception is not raised"},{"line_number":373,"context_line":""},{"line_number":374,"context_line":"        createcompute.revert((COMPUTE_ID, availability_zone), _db_amphora_mock.id)"},{"line_number":375,"context_line":""},{"line_number":376,"context_line":"    @mock.patch(\u0027octavia.common.jinja.logging.logging_jinja_cfg.\u0027"},{"line_number":377,"context_line":"                \u0027LoggingJinjaTemplater.build_logging_config\u0027)"}],"source_content_type":"text/x-python","patch_set":16,"id":"74e0b87b_7514871e","line":374,"updated":"2026-07-13 09:10:59.000000000","message":"pep8: E501 line too long (82 \u003e 79 characters)","commit_id":"d738b08f42b8a8d2022eccb2b32fcc87804e8de3"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"6818211cb83bacbfef850e825c8fc8a532edc2a0","unresolved":false,"context_lines":[{"line_number":444,"context_line":"        _db_amphora_mock.compute_id \u003d COMPUTE_ID"},{"line_number":445,"context_line":""},{"line_number":446,"context_line":"        createcompute \u003d compute_tasks.ComputeCreate()"},{"line_number":447,"context_line":"        createcompute.revert((compute_id, availability_zone), _db_amphora_mock.id)"},{"line_number":448,"context_line":""},{"line_number":449,"context_line":"        # Validate that the delete method was called properly"},{"line_number":450,"context_line":"        mock_driver.delete.assert_called_once_with(COMPUTE_ID)"}],"source_content_type":"text/x-python","patch_set":16,"id":"785dfe05_9cbd60a2","line":447,"updated":"2026-07-13 09:10:59.000000000","message":"pep8: E501 line too long (82 \u003e 79 characters)","commit_id":"d738b08f42b8a8d2022eccb2b32fcc87804e8de3"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"6818211cb83bacbfef850e825c8fc8a532edc2a0","unresolved":false,"context_lines":[{"line_number":451,"context_line":""},{"line_number":452,"context_line":"        # Test that a delete exception is not raised"},{"line_number":453,"context_line":""},{"line_number":454,"context_line":"        createcompute.revert((COMPUTE_ID, availability_zone), _db_amphora_mock.id)"},{"line_number":455,"context_line":""},{"line_number":456,"context_line":"    @mock.patch(\u0027octavia.controller.worker.amphora_rate_limit\u0027"},{"line_number":457,"context_line":"                \u0027.AmphoraBuildRateLimit.remove_from_build_req_queue\u0027)"}],"source_content_type":"text/x-python","patch_set":16,"id":"29f39170_1e06fc69","line":454,"updated":"2026-07-13 09:10:59.000000000","message":"pep8: E501 line too long (82 \u003e 79 characters)","commit_id":"d738b08f42b8a8d2022eccb2b32fcc87804e8de3"}],"releasenotes/notes/multizone_support_loadbalancers-ae32a38b11c84aba.yaml":[{"author":{"_account_id":38562,"name":"Richard Cruise","email":"rcruise@redhat.com","username":"rcruise"},"change_message_id":"b34ece7a3cf3b4c634e63b6a6d8f539c2b2313c3","unresolved":true,"context_lines":[{"line_number":16,"context_line":"deprecations:"},{"line_number":17,"context_line":"  - |"},{"line_number":18,"context_line":"    Loadbalancer API parameter \u0027availability_zone\u0027 is deprecated in favor of"},{"line_number":19,"context_line":"    \u0027availability_zones\u0027."}],"source_content_type":"text/x-yaml","patch_set":20,"id":"06e313a1_aee9ff60","line":19,"updated":"2026-08-13 15:30:00.000000000","message":"Is it deprecated? I think the 2 params are still in use. It would be good to merge them later but I don\u0027t think the \u0027availability_zone\u0027 (singular) has been officially deprecated. If it is then I think it needs to be marked as such in the API","commit_id":"0fc327cd173519d4374af66ac0cd9697572b9146"},{"author":{"_account_id":6577,"name":"Sergey Kraynev","email":"sergejyit@gmail.com","username":"skraynev"},"change_message_id":"f450c62b6d035c2d0b36cce9cc7bb267670d42db","unresolved":true,"context_lines":[{"line_number":16,"context_line":"deprecations:"},{"line_number":17,"context_line":"  - |"},{"line_number":18,"context_line":"    Loadbalancer API parameter \u0027availability_zone\u0027 is deprecated in favor of"},{"line_number":19,"context_line":"    \u0027availability_zones\u0027."}],"source_content_type":"text/x-yaml","patch_set":20,"id":"ea57d320_14236f57","line":19,"in_reply_to":"06e313a1_aee9ff60","updated":"2026-08-14 11:30:51.000000000","message":"I removed it from notes. Deprecation could be added later in next rc, I suppose","commit_id":"0fc327cd173519d4374af66ac0cd9697572b9146"},{"author":{"_account_id":38562,"name":"Richard Cruise","email":"rcruise@redhat.com","username":"rcruise"},"change_message_id":"1c20f4ef771dc6203280143c85db99bba0083025","unresolved":false,"context_lines":[{"line_number":16,"context_line":"deprecations:"},{"line_number":17,"context_line":"  - |"},{"line_number":18,"context_line":"    Loadbalancer API parameter \u0027availability_zone\u0027 is deprecated in favor of"},{"line_number":19,"context_line":"    \u0027availability_zones\u0027."}],"source_content_type":"text/x-yaml","patch_set":20,"id":"fa13e086_829d46ae","line":19,"in_reply_to":"ea57d320_14236f57","updated":"2026-08-14 19:42:35.000000000","message":"Thanks for doing that","commit_id":"0fc327cd173519d4374af66ac0cd9697572b9146"}]}
