)]}'
{"doc/source/admin/ovn-db-sync-plugin.rst":[{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"fa76dc1296c9d375af0abbcda7dbd55bebe534e6","unresolved":true,"context_lines":[{"line_number":101,"context_line":"    ``--sync_plugin octavia_ovn_sync`` option does not work correctly when"},{"line_number":102,"context_line":"    used alone. The Neutron sync utility requires the \u0027ovn-sync\u0027 mechanism"},{"line_number":103,"context_line":"    driver to be loaded, which only happens when Neutron sync plugins are"},{"line_number":104,"context_line":"    also executed."},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"    For Octavia-only synchronization, always use the standalone"},{"line_number":107,"context_line":"    ``octavia-ovn-db-sync-util`` command instead."}],"source_content_type":"text/x-rst","patch_set":6,"id":"00552728_2d83c10b","line":104,"updated":"2026-06-08 10:35:21.000000000","message":"this sounds like a bug in the neutron-ovn-db-sync tool and we should probably fix it there","commit_id":"633825fc1744cfe8c02e08b6e4e767467d002720"},{"author":{"_account_id":34451,"name":"Fernando Royo","email":"froyo@redhat.com","username":"froyo"},"change_message_id":"eb02ef282371fabb19e89feb5e147877fe5fd576","unresolved":true,"context_lines":[{"line_number":101,"context_line":"    ``--sync_plugin octavia_ovn_sync`` option does not work correctly when"},{"line_number":102,"context_line":"    used alone. The Neutron sync utility requires the \u0027ovn-sync\u0027 mechanism"},{"line_number":103,"context_line":"    driver to be loaded, which only happens when Neutron sync plugins are"},{"line_number":104,"context_line":"    also executed."},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"    For Octavia-only synchronization, always use the standalone"},{"line_number":107,"context_line":"    ``octavia-ovn-db-sync-util`` command instead."}],"source_content_type":"text/x-rst","patch_set":6,"id":"ac7048a1_09948d94","line":104,"in_reply_to":"00552728_2d83c10b","updated":"2026-06-08 16:28:43.000000000","message":"Right - there was a bug! Though the fix is in the plugin rather in neutron-ovn-db-sync-util itself.                                                                                                   \n                                                                                                                                                                                                                                                                                           The issue was that OctaviaOvnSynchronizer was setting _required_mechanism_drivers \u003d [], which overrode the base class requirement. When invoked with --sync_plugin octavia_ovn_sync (isolated execution), no mechanism drivers were configured, causing:        \n                                                                                                                                                                                                                                                                                                                                                          \n```\n    KeyError: \u0027ovn-sync\u0027 at neutron_ovn_db_sync_util.py:279                                                                                                                                                                                                                                \n```\n\nPatchset 7 fixes it by explicitly declaring [\u0027ovn-sync\u0027]\n                                                                                                                                                                                                                                                                                           \nLooks a good approach because BaseOvnDbSynchronizer in neutron-lib has []. Each plugin implementation should declare its own requirements, just like Neutron\u0027s NB/SB synchronizers do in Neutron code.","commit_id":"633825fc1744cfe8c02e08b6e4e767467d002720"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"867841358676da8d500ef0024adb9434d74cecf7","unresolved":false,"context_lines":[{"line_number":101,"context_line":"    ``--sync_plugin octavia_ovn_sync`` option does not work correctly when"},{"line_number":102,"context_line":"    used alone. The Neutron sync utility requires the \u0027ovn-sync\u0027 mechanism"},{"line_number":103,"context_line":"    driver to be loaded, which only happens when Neutron sync plugins are"},{"line_number":104,"context_line":"    also executed."},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"    For Octavia-only synchronization, always use the standalone"},{"line_number":107,"context_line":"    ``octavia-ovn-db-sync-util`` command instead."}],"source_content_type":"text/x-rst","patch_set":6,"id":"a83d9f22_2e1d9461","line":104,"in_reply_to":"ac7048a1_09948d94","updated":"2026-06-09 10:52:55.000000000","message":"yeah, you are right, this is good approach indeed","commit_id":"633825fc1744cfe8c02e08b6e4e767467d002720"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"fa76dc1296c9d375af0abbcda7dbd55bebe534e6","unresolved":true,"context_lines":[{"line_number":125,"context_line":"    # Restart services"},{"line_number":126,"context_line":"    sudo systemctl start neutron-server octavia-api"},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"**Synchronize only Octavia:**"},{"line_number":129,"context_line":""},{"line_number":130,"context_line":".. code-block:: bash"},{"line_number":131,"context_line":""},{"line_number":132,"context_line":"    # Stop Octavia services first"},{"line_number":133,"context_line":"    sudo systemctl stop octavia-api"},{"line_number":134,"context_line":""},{"line_number":135,"context_line":"    # Run Octavia sync"},{"line_number":136,"context_line":"    octavia-ovn-db-sync-util"},{"line_number":137,"context_line":""},{"line_number":138,"context_line":"    # Restart Octavia"},{"line_number":139,"context_line":"    sudo systemctl start octavia-api"},{"line_number":140,"context_line":""},{"line_number":141,"context_line":"Configuration"},{"line_number":142,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":6,"id":"53d7f927_7aa7eff9","line":139,"range":{"start_line":128,"start_character":0,"end_line":139,"end_character":36},"updated":"2026-06-08 10:35:21.000000000","message":"if the limitation mentioned above is really bug and we would fix it, then this should not be needed I guess, right?","commit_id":"633825fc1744cfe8c02e08b6e4e767467d002720"},{"author":{"_account_id":34451,"name":"Fernando Royo","email":"froyo@redhat.com","username":"froyo"},"change_message_id":"eb02ef282371fabb19e89feb5e147877fe5fd576","unresolved":true,"context_lines":[{"line_number":125,"context_line":"    # Restart services"},{"line_number":126,"context_line":"    sudo systemctl start neutron-server octavia-api"},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"**Synchronize only Octavia:**"},{"line_number":129,"context_line":""},{"line_number":130,"context_line":".. code-block:: bash"},{"line_number":131,"context_line":""},{"line_number":132,"context_line":"    # Stop Octavia services first"},{"line_number":133,"context_line":"    sudo systemctl stop octavia-api"},{"line_number":134,"context_line":""},{"line_number":135,"context_line":"    # Run Octavia sync"},{"line_number":136,"context_line":"    octavia-ovn-db-sync-util"},{"line_number":137,"context_line":""},{"line_number":138,"context_line":"    # Restart Octavia"},{"line_number":139,"context_line":"    sudo systemctl start octavia-api"},{"line_number":140,"context_line":""},{"line_number":141,"context_line":"Configuration"},{"line_number":142,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":6,"id":"da61e862_795acd08","line":139,"range":{"start_line":128,"start_character":0,"end_line":139,"end_character":36},"in_reply_to":"53d7f927_7aa7eff9","updated":"2026-06-08 16:28:43.000000000","message":"Since we\u0027ve fixed the bug in Patchset 7, the workaround documentation has been removed. The plugin now supports isolated execution via --sync_plugin octavia_ovn_sync.\nThe limitation section has been updated to remove this item.","commit_id":"633825fc1744cfe8c02e08b6e4e767467d002720"},{"author":{"_account_id":34451,"name":"Fernando Royo","email":"froyo@redhat.com","username":"froyo"},"change_message_id":"7b169f366d81c081c499ed002a0a40d48bcb5844","unresolved":false,"context_lines":[{"line_number":125,"context_line":"    # Restart services"},{"line_number":126,"context_line":"    sudo systemctl start neutron-server octavia-api"},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"**Synchronize only Octavia:**"},{"line_number":129,"context_line":""},{"line_number":130,"context_line":".. code-block:: bash"},{"line_number":131,"context_line":""},{"line_number":132,"context_line":"    # Stop Octavia services first"},{"line_number":133,"context_line":"    sudo systemctl stop octavia-api"},{"line_number":134,"context_line":""},{"line_number":135,"context_line":"    # Run Octavia sync"},{"line_number":136,"context_line":"    octavia-ovn-db-sync-util"},{"line_number":137,"context_line":""},{"line_number":138,"context_line":"    # Restart Octavia"},{"line_number":139,"context_line":"    sudo systemctl start octavia-api"},{"line_number":140,"context_line":""},{"line_number":141,"context_line":"Configuration"},{"line_number":142,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":6,"id":"e5d0dfaa_d1d35fd0","line":139,"range":{"start_line":128,"start_character":0,"end_line":139,"end_character":36},"in_reply_to":"da61e862_795acd08","updated":"2026-06-09 15:22:56.000000000","message":"Done","commit_id":"633825fc1744cfe8c02e08b6e4e767467d002720"}],"releasenotes/notes/neutron-ovn-db-sync-plugin-integration-b8c4a2e1f9d6e3a7.yaml":[{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"fa76dc1296c9d375af0abbcda7dbd55bebe534e6","unresolved":true,"context_lines":[{"line_number":22,"context_line":"    /etc/octavia/octavia.conf and should NOT be passed as --config-file."},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"    The standalone ``octavia-ovn-db-sync-util`` command remains available"},{"line_number":25,"context_line":"    for operators who only need to synchronize Octavia resources."},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"    Benefits of the integrated approach:"},{"line_number":28,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":6,"id":"44d96bdf_ae703348","line":25,"updated":"2026-06-08 10:35:21.000000000","message":"just a comment: maybe we should thing about way to allow plugins to define their own config files, so that there would be no such workarounds needed. Something like:\n\n    neutron-ovn-db-sync-util --extra-config-file /path/to/octavia/config_file.ini\n    \nor even let plugins to define own CLI arguments for that.","commit_id":"633825fc1744cfe8c02e08b6e4e767467d002720"},{"author":{"_account_id":34451,"name":"Fernando Royo","email":"froyo@redhat.com","username":"froyo"},"change_message_id":"eb02ef282371fabb19e89feb5e147877fe5fd576","unresolved":true,"context_lines":[{"line_number":22,"context_line":"    /etc/octavia/octavia.conf and should NOT be passed as --config-file."},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"    The standalone ``octavia-ovn-db-sync-util`` command remains available"},{"line_number":25,"context_line":"    for operators who only need to synchronize Octavia resources."},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"    Benefits of the integrated approach:"},{"line_number":28,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":6,"id":"b74e099f_b11dccf9","line":25,"in_reply_to":"44d96bdf_ae703348","updated":"2026-06-08 16:28:43.000000000","message":"Good option!\n\nThe current approach—searching standard configuration file locations—works, but it has some limitations. For example, the OVN provider redeclares the same configuration options as Neutron, and this pattern may not be common among future plugins.\n\nFor now, the existing implementation is functional and well documented, so it does not block this patch. However, I agree that this is an area worth improving in the future.","commit_id":"633825fc1744cfe8c02e08b6e4e767467d002720"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"867841358676da8d500ef0024adb9434d74cecf7","unresolved":false,"context_lines":[{"line_number":22,"context_line":"    /etc/octavia/octavia.conf and should NOT be passed as --config-file."},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"    The standalone ``octavia-ovn-db-sync-util`` command remains available"},{"line_number":25,"context_line":"    for operators who only need to synchronize Octavia resources."},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"    Benefits of the integrated approach:"},{"line_number":28,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":6,"id":"83d00a44_7e50aa7b","line":25,"in_reply_to":"b74e099f_b11dccf9","updated":"2026-06-09 10:52:55.000000000","message":"I\u0027ve just opened https://bugs.launchpad.net/neutron/+bug/2156035 and will try to work on it in next sprint","commit_id":"633825fc1744cfe8c02e08b6e4e767467d002720"}]}
