)]}'
{"doc/source/user/operating-kolla.rst":[{"author":{"_account_id":13252,"name":"Dr. Jens Harbott","display_name":"Jens Harbott (frickler)","email":"frickler@offenerstapel.de","username":"jrosenboom"},"change_message_id":"60d2f30a9a44e9d60f9e910d6e2cc6bbbbbf49d7","unresolved":true,"context_lines":[{"line_number":340,"context_line":"This issue can occur even if ``neutron_external_interface`` and"},{"line_number":341,"context_line":"``neutron_bridge_name`` are correctly defined in ``globals.yml``."},{"line_number":342,"context_line":"In some scenarios, Kolla-Ansible may fail to automatically populate the"},{"line_number":343,"context_line":"``bridge_mappings`` in the ``openvswitch_agent.ini`` file."},{"line_number":344,"context_line":""},{"line_number":345,"context_line":"To resolve this, you must manually define the bridge mappings by creating"},{"line_number":346,"context_line":"a configuration override at"}],"source_content_type":"text/x-rst","patch_set":5,"id":"0570d080_97b7243f","line":343,"updated":"2026-04-10 06:54:25.000000000","message":"this sounds like a bug to me that should get fixed. can you maybe create a bug report and describe in more detail when this is happening?","commit_id":"800e8593cab17e85dab39cfd3b0f295add794dc7"},{"author":{"_account_id":38981,"name":"seungokim","display_name":"rtd7878","email":"rtd7878@gmail.com","username":"sok","status":"I\u0027m aspiring Cloud/Infra Engineer."},"change_message_id":"a9d0598245c00af82a1bf03587bf64e5d065e5b7","unresolved":true,"context_lines":[{"line_number":340,"context_line":"This issue can occur even if ``neutron_external_interface`` and"},{"line_number":341,"context_line":"``neutron_bridge_name`` are correctly defined in ``globals.yml``."},{"line_number":342,"context_line":"In some scenarios, Kolla-Ansible may fail to automatically populate the"},{"line_number":343,"context_line":"``bridge_mappings`` in the ``openvswitch_agent.ini`` file."},{"line_number":344,"context_line":""},{"line_number":345,"context_line":"To resolve this, you must manually define the bridge mappings by creating"},{"line_number":346,"context_line":"a configuration override at"}],"source_content_type":"text/x-rst","patch_set":5,"id":"c1a57d9d_7acb04c1","line":343,"in_reply_to":"0570d080_97b7243f","updated":"2026-04-13 07:47:21.000000000","message":"Hi Jens,\n\nBefore creating a bug report, I double-checked the template logic in ansible/roles/neutron/templates/openvswitch_agent.ini.j2 and found that the bridge_mappings generation is correctly guarded by the following condition:\n\n{% if inventory_hostname in groups[\"network\"] or (inventory_hostname in groups[\"compute\"] and computes_need_external_bridge | bool ) %}\n\nThe issue I experienced (PortBindingFailed on compute nodes when using OVS) occurred because computes_need_external_bridge was evaluated as False, which caused the bridge mappings to be skipped on compute nodes.\n\nGiven this built-in logic, manually overriding the openvswitch_agent.ini might not be the best practice. Instead, should we change this patch to update the documentation, advising users to explicitly set computes_need_external_bridge: \"yes\" in their globals.yml when using the OVS driver with external/provider networks on compute nodes? Let me know your thoughts.","commit_id":"800e8593cab17e85dab39cfd3b0f295add794dc7"},{"author":{"_account_id":38981,"name":"seungokim","display_name":"rtd7878","email":"rtd7878@gmail.com","username":"sok","status":"I\u0027m aspiring Cloud/Infra Engineer."},"change_message_id":"cd7b369d613d8668d670342a0babe1c81bcd098c","unresolved":true,"context_lines":[{"line_number":340,"context_line":"This issue can occur even if ``neutron_external_interface`` and"},{"line_number":341,"context_line":"``neutron_bridge_name`` are correctly defined in ``globals.yml``."},{"line_number":342,"context_line":"In some scenarios, Kolla-Ansible may fail to automatically populate the"},{"line_number":343,"context_line":"``bridge_mappings`` in the ``openvswitch_agent.ini`` file."},{"line_number":344,"context_line":""},{"line_number":345,"context_line":"To resolve this, you must manually define the bridge mappings by creating"},{"line_number":346,"context_line":"a configuration override at"}],"source_content_type":"text/x-rst","patch_set":5,"id":"3abfcea1_51a0bf95","line":343,"in_reply_to":"c1a57d9d_7acb04c1","updated":"2026-04-22 07:12:46.000000000","message":"Hi Jens,\n\nFollowing up on my previous comment, I\u0027ve uploaded a new patchset. Upon further review of the Kolla-Ansible variable hierarchy, I realized that computes_need_external_bridge is an internal derived variable.\n\nTherefore, in the updated documentation, I recommended setting the standard user-facing variable enable_neutron_provider_networks: \"yes\" instead, which naturally sets the internal flag and generates the bridge_mappings correctly.\n\nPlease take a look when you have a moment. Thanks!","commit_id":"800e8593cab17e85dab39cfd3b0f295add794dc7"}]}
