)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":34380,"name":"Maximilian Stinsky","email":"maximilian@stinsky.com","username":"mstinsky"},"change_message_id":"77df15f6576e819a55c3ce53fac8402090ef52f3","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":5,"id":"e0ebe89f_b611c415","updated":"2024-11-18 09:34:04.000000000","message":"Greetings,\nI just stumbled over this patch by chance and wanted to add a note regarding scaling of the sb-relays.\nThe main scaling issue for ovn/ovsdb is that it is single threaded. This patch adds a single sb-relay on each ovn node with the only option to scale to more nodes.\nImo it would be very useful to add the possibility to add multiple sb-relays to each of the nodes in the ovn-sb-db-relay group, to be able to utilize more cores on each node for ovn. Otherwise you can only scale ovn horizontally and not vertically.","commit_id":"2eb8cbdeab4bd3cf4d3491b4b4c307c486f3e15c"},{"author":{"_account_id":36174,"name":"yosef","display_name":"yosal","email":"flaslnm@gmail.com","username":"theYosal"},"change_message_id":"5b4e8a6aa5bfae05bc6909c22654f436ebc31d6a","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":5,"id":"e4e9dbe6_10958f6b","in_reply_to":"e0ebe89f_b611c415","updated":"2024-11-19 09:00:01.000000000","message":"Hi Maxim,\nIt is a great idea, I would like to work on it in the future.","commit_id":"2eb8cbdeab4bd3cf4d3491b4b4c307c486f3e15c"}],"ansible/roles/ovn-relay/defaults/main.yml":[{"author":{"_account_id":22629,"name":"Michal Nasiadka","email":"mnasiadka@gmail.com","username":"mnasiadka"},"change_message_id":"3a254b38b4e7168ab812376c5cb92c021a61e9e2","unresolved":true,"context_lines":[{"line_number":24,"context_line":"ovn_sb_db_relay_healthcheck_interval: \"{{ default_container_healthcheck_interval }}\""},{"line_number":25,"context_line":"ovn_sb_db_relay_healthcheck_retries: \"{{ default_container_healthcheck_retries }}\""},{"line_number":26,"context_line":"ovn_sb_db_relay_healthcheck_start_period: \"{{ default_container_healthcheck_start_period }}\""},{"line_number":27,"context_line":"ovn_sb_db_relay_healthcheck_test: [\"CMD-SHELL\", \"ovsdb-client list-dbs \u0026\u0026 ss -lnp | grep -q {{ ovn_sb_db_relay_port }}\"]"},{"line_number":28,"context_line":"ovn_sb_db_relay_healthcheck_timeout: \"{{ default_container_healthcheck_timeout }}\""},{"line_number":29,"context_line":"ovn_sb_db_relay_healthcheck:"},{"line_number":30,"context_line":"  interval: \"{{ ovn_sb_db_relay_healthcheck_interval }}\""}],"source_content_type":"text/x-yaml","patch_set":4,"id":"53381db8_80b7f405","line":27,"updated":"2024-10-22 11:55:47.000000000","message":"I have a feeling this is not going to be very stable healthcheck","commit_id":"93d0e4670d5ff97e402da281c070c58c30e60ab7"},{"author":{"_account_id":36174,"name":"yosef","display_name":"yosal","email":"flaslnm@gmail.com","username":"theYosal"},"change_message_id":"5b4e8a6aa5bfae05bc6909c22654f436ebc31d6a","unresolved":false,"context_lines":[{"line_number":24,"context_line":"ovn_sb_db_relay_healthcheck_interval: \"{{ default_container_healthcheck_interval }}\""},{"line_number":25,"context_line":"ovn_sb_db_relay_healthcheck_retries: \"{{ default_container_healthcheck_retries }}\""},{"line_number":26,"context_line":"ovn_sb_db_relay_healthcheck_start_period: \"{{ default_container_healthcheck_start_period }}\""},{"line_number":27,"context_line":"ovn_sb_db_relay_healthcheck_test: [\"CMD-SHELL\", \"ovsdb-client list-dbs \u0026\u0026 ss -lnp | grep -q {{ ovn_sb_db_relay_port }}\"]"},{"line_number":28,"context_line":"ovn_sb_db_relay_healthcheck_timeout: \"{{ default_container_healthcheck_timeout }}\""},{"line_number":29,"context_line":"ovn_sb_db_relay_healthcheck:"},{"line_number":30,"context_line":"  interval: \"{{ ovn_sb_db_relay_healthcheck_interval }}\""}],"source_content_type":"text/x-yaml","patch_set":4,"id":"4f7bc98d_6f580299","line":27,"in_reply_to":"0f535fcb_47881006","updated":"2024-11-19 09:00:01.000000000","message":"@mnasiadka@gmail.com Im resolving this as there is no pretty health check.","commit_id":"93d0e4670d5ff97e402da281c070c58c30e60ab7"},{"author":{"_account_id":36174,"name":"yosef","display_name":"yosal","email":"flaslnm@gmail.com","username":"theYosal"},"change_message_id":"e49f15b78f8e9ba7ef1ce736303a98f2595324dd","unresolved":true,"context_lines":[{"line_number":24,"context_line":"ovn_sb_db_relay_healthcheck_interval: \"{{ default_container_healthcheck_interval }}\""},{"line_number":25,"context_line":"ovn_sb_db_relay_healthcheck_retries: \"{{ default_container_healthcheck_retries }}\""},{"line_number":26,"context_line":"ovn_sb_db_relay_healthcheck_start_period: \"{{ default_container_healthcheck_start_period }}\""},{"line_number":27,"context_line":"ovn_sb_db_relay_healthcheck_test: [\"CMD-SHELL\", \"ovsdb-client list-dbs \u0026\u0026 ss -lnp | grep -q {{ ovn_sb_db_relay_port }}\"]"},{"line_number":28,"context_line":"ovn_sb_db_relay_healthcheck_timeout: \"{{ default_container_healthcheck_timeout }}\""},{"line_number":29,"context_line":"ovn_sb_db_relay_healthcheck:"},{"line_number":30,"context_line":"  interval: \"{{ ovn_sb_db_relay_healthcheck_interval }}\""}],"source_content_type":"text/x-yaml","patch_set":4,"id":"8530a03e_13bcff1d","line":27,"in_reply_to":"53381db8_80b7f405","updated":"2024-10-26 17:38:37.000000000","message":"Hi Michal,\n\nAs far as I know, there are no options available for retrieving OVSDB service-model or health from its clients. Here are the commands I found using ovs-appctl(also checked ovsdb-tool and ovsdb-client, none have any):\n\n```\n# ovs-appctl -t /var/run/openvswitch/ovsdb-server.ctl list-commands\nThe available commands are:\n  coverage/read-counter   COUNTER\n  coverage/show           \n  exit                    \n  list-commands           \n  memory/show             \n  ovsdb-server/add-db     DB\n  ovsdb-server/add-remote REMOTE\n  ovsdb-server/compact    \n  ovsdb-server/connect-active-ovsdb-server \n  ovsdb-server/disable-monitor-cond \n  ovsdb-server/disconnect-active-ovsdb-server \n  ovsdb-server/get-active-ovsdb-server \n  ovsdb-server/get-db-storage-status DB\n  ovsdb-server/get-sync-exclude-tables \n  ovsdb-server/list-dbs   \n  ovsdb-server/list-remotes \n  ovsdb-server/memory-trim-on-compaction on|off\n  ovsdb-server/perf-counters-clear \n  ovsdb-server/perf-counters-show \n  ovsdb-server/reconnect  \n  ovsdb-server/reload     \n  ovsdb-server/remove-db  DB\n  ovsdb-server/remove-remote REMOTE\n  ovsdb-server/set-active-ovsdb-server \n  ovsdb-server/set-active-ovsdb-server-probe-interval \n  ovsdb-server/set-relay-source-probe-interval \n  ovsdb-server/set-sync-exclude-tables \n  ovsdb-server/sync-status \n  ovsdb-server/tlog-list  \n  ovsdb-server/tlog-set   DB:TABLE on|off\n  version                 \n  vlog/close              \n  vlog/disable-rate-limit [module]...\n  vlog/enable-rate-limit  [module]...\n  vlog/list               \n  vlog/list-pattern       \n  vlog/reopen             \n  vlog/set                {spec | PATTERN:destination:pattern}\n```\nAdditionally, I have opened an issue on the OVS GitHub repository to inquire about this further: OVS Issue #347.\n\nRegarding our current discussion, when a relay is initialized, it is exposed on its designated port. Once synced with the Southbound, it maintains a replicated instance. Therefore, checking if the port is open and confirming the database replication are the primary options I could identify.\n\nIf you have any other thoughts or suggestions, I would greatly appreciate your input. Otherwise, please let me know if you consider this matter resolved.","commit_id":"93d0e4670d5ff97e402da281c070c58c30e60ab7"},{"author":{"_account_id":36174,"name":"yosef","display_name":"yosal","email":"flaslnm@gmail.com","username":"theYosal"},"change_message_id":"a0725d71a1edf455bcf4d7d196ae402f0fb436f8","unresolved":true,"context_lines":[{"line_number":24,"context_line":"ovn_sb_db_relay_healthcheck_interval: \"{{ default_container_healthcheck_interval }}\""},{"line_number":25,"context_line":"ovn_sb_db_relay_healthcheck_retries: \"{{ default_container_healthcheck_retries }}\""},{"line_number":26,"context_line":"ovn_sb_db_relay_healthcheck_start_period: \"{{ default_container_healthcheck_start_period }}\""},{"line_number":27,"context_line":"ovn_sb_db_relay_healthcheck_test: [\"CMD-SHELL\", \"ovsdb-client list-dbs \u0026\u0026 ss -lnp | grep -q {{ ovn_sb_db_relay_port }}\"]"},{"line_number":28,"context_line":"ovn_sb_db_relay_healthcheck_timeout: \"{{ default_container_healthcheck_timeout }}\""},{"line_number":29,"context_line":"ovn_sb_db_relay_healthcheck:"},{"line_number":30,"context_line":"  interval: \"{{ ovn_sb_db_relay_healthcheck_interval }}\""}],"source_content_type":"text/x-yaml","patch_set":4,"id":"0f535fcb_47881006","line":27,"in_reply_to":"8530a03e_13bcff1d","updated":"2024-11-05 08:14:14.000000000","message":"Hi,\nI have noticed that with ovsdb-client you can query database service model, for example if you want to ensure database is relay of southbound, you can execute such query:\n```\novsdb-client query unix:/run/openvswitch/db.sock \"[\\\"_Server\\\",{\\\"table\\\":\\\"Database\\\",\\\"where\\\":[[\\\"name\\\",\\\"\u003d\u003d\\\", \\\"OVN_Southbound\\\"],[\\\"model\\\",\\\"\u003d\u003d\\\", \\\"relay\\\"]],\\\"op\\\":\\\"select\\\",\\\"columns\\\":[\\\"_uuid\\\",\\\"connected\\\",\\\"leader\\\",\\\"model\\\",\\\"name\\\"]}]\" | grep -q uuid\n```\nAnd then together with the previous query you can write a health check like this:\n```\novsdb-client query unix:/run/openvswitch/db.sock \"[\\\"_Server\\\",{\\\"table\\\":\\\"Database\\\",\\\"where\\\":[[\\\"name\\\",\\\"\u003d\u003d\\\", \\\"OVN_Southbound\\\"],[\\\"model\\\",\\\"\u003d\u003d\\\", \\\"relay\\\"]],\\\"op\\\":\\\"select\\\",\\\"columns\\\":[\\\"_uuid\\\",\\\"connected\\\",\\\"leader\\\",\\\"model\\\",\\\"name\\\"]}]\" | grep -q uuid \u0026\u0026 ss -lnp  | grep -q 16642 \u0026\u0026 echo $?\n```\n\nWhat do you think about this?","commit_id":"93d0e4670d5ff97e402da281c070c58c30e60ab7"}],"ansible/roles/ovn-relay/tasks/setup.yml":[{"author":{"_account_id":22629,"name":"Michal Nasiadka","email":"mnasiadka@gmail.com","username":"mnasiadka"},"change_message_id":"7d07aee955a2c29064bd8ce2c30d58b6ead9bbc0","unresolved":true,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"# note this option is added after ovsdb 3.2"},{"line_number":3,"context_line":"- name: Increase relay - source probe interval"},{"line_number":4,"context_line":"  become: true"},{"line_number":5,"context_line":"  command: docker exec -it ovn_sb_db_relay ovs-appctl -t /var/run/openvswitch/ovsdb-server.ctl ovsdb-server/set-relay-source-probe-interval 60000"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"2be93d59_c8945693","line":2,"updated":"2024-09-19 06:38:12.000000000","message":"Are you sure in Dalmatian we\u0027re not getting older OVS in any distribution?","commit_id":"657318c8dd3bc850a6f5d86c8073de50dc6082c7"},{"author":{"_account_id":36174,"name":"yosef","display_name":"yosal","email":"flaslnm@gmail.com","username":"theYosal"},"change_message_id":"a9a4bd2826da0b6d34871a5062f826f5f710bcdb","unresolved":true,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"# note this option is added after ovsdb 3.2"},{"line_number":3,"context_line":"- name: Increase relay - source probe interval"},{"line_number":4,"context_line":"  become: true"},{"line_number":5,"context_line":"  command: docker exec -it ovn_sb_db_relay ovs-appctl -t /var/run/openvswitch/ovsdb-server.ctl ovsdb-server/set-relay-source-probe-interval 60000"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"c00ec005_b389572f","line":2,"in_reply_to":"2be93d59_c8945693","updated":"2024-09-21 18:33:32.000000000","message":"Hi, \nI\u0027m thinking to go even on version 3.3.0 and above, because there is a new configuration approach on OVSDB which allows to completely apply probe intervals on file(`--config-file`)... \nAnd for the issue you have mentioned, On my cluster I\u0027m using relay on version 3.3.0 with controllers with version 2.17 right now, can it be accepted to deploy like this?(adding a step to verify relay container version?) what do you suggest? what if there are older versions? what is the solution to this issue?","commit_id":"657318c8dd3bc850a6f5d86c8073de50dc6082c7"},{"author":{"_account_id":36174,"name":"yosef","display_name":"yosal","email":"flaslnm@gmail.com","username":"theYosal"},"change_message_id":"a52e93af47afd2d75791424c80752badad81fb1f","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"# note this option is added after ovsdb 3.2"},{"line_number":3,"context_line":"- name: Increase relay - source probe interval"},{"line_number":4,"context_line":"  become: true"},{"line_number":5,"context_line":"  command: docker exec -it ovn_sb_db_relay ovs-appctl -t /var/run/openvswitch/ovsdb-server.ctl ovsdb-server/set-relay-source-probe-interval 60000"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"c54a18e2_ef4aea0c","line":2,"in_reply_to":"c00ec005_b389572f","updated":"2024-09-24 09:13:32.000000000","message":"I have checked Kolla images on Caracal(2024.1) and except debian-bookworm(version 3.1.0) all are OVS version 3.3.0 and above, I believe in Dalmation there would be no problem, maybe a task to check version compatibility is required...","commit_id":"657318c8dd3bc850a6f5d86c8073de50dc6082c7"},{"author":{"_account_id":22629,"name":"Michal Nasiadka","email":"mnasiadka@gmail.com","username":"mnasiadka"},"change_message_id":"7d07aee955a2c29064bd8ce2c30d58b6ead9bbc0","unresolved":true,"context_lines":[{"line_number":2,"context_line":"# note this option is added after ovsdb 3.2"},{"line_number":3,"context_line":"- name: Increase relay - source probe interval"},{"line_number":4,"context_line":"  become: true"},{"line_number":5,"context_line":"  command: docker exec -it ovn_sb_db_relay ovs-appctl -t /var/run/openvswitch/ovsdb-server.ctl ovsdb-server/set-relay-source-probe-interval 60000"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"8e7d2e49_119927a6","line":5,"updated":"2024-09-19 06:38:12.000000000","message":"won\u0027t work with podman","commit_id":"657318c8dd3bc850a6f5d86c8073de50dc6082c7"},{"author":{"_account_id":36174,"name":"yosef","display_name":"yosal","email":"flaslnm@gmail.com","username":"theYosal"},"change_message_id":"a52e93af47afd2d75791424c80752badad81fb1f","unresolved":false,"context_lines":[{"line_number":2,"context_line":"# note this option is added after ovsdb 3.2"},{"line_number":3,"context_line":"- name: Increase relay - source probe interval"},{"line_number":4,"context_line":"  become: true"},{"line_number":5,"context_line":"  command: docker exec -it ovn_sb_db_relay ovs-appctl -t /var/run/openvswitch/ovsdb-server.ctl ovsdb-server/set-relay-source-probe-interval 60000"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"90a574a1_fec85961","line":5,"in_reply_to":"8e7d2e49_119927a6","updated":"2024-09-24 09:13:32.000000000","message":"This is removed with new OVS configuration option","commit_id":"657318c8dd3bc850a6f5d86c8073de50dc6082c7"}],"ansible/roles/ovn-relay/templates/start-ovsdb-server.j2":[{"author":{"_account_id":22629,"name":"Michal Nasiadka","email":"mnasiadka@gmail.com","username":"mnasiadka"},"change_message_id":"7d07aee955a2c29064bd8ce2c30d58b6ead9bbc0","unresolved":true,"context_lines":[{"line_number":1,"context_line":"#!/bin/bash"},{"line_number":2,"context_line":"touch /var/log/kolla/openvswitch/ovn-sb-db-relay.log \u0026\u0026 chmod 755 /var/log/kolla/openvswitch/ovn-sb-db-relay.log"},{"line_number":3,"context_line":"/usr/sbin/ovsdb-server -vconsole:emer -vsyslog:err -vfile:info --pidfile\u003d/run/openvswitch/ovsdb-server.pid --unixctl\u003d/run/openvswitch/ovsdb-server.ctl --remote\u003dpunix:/run/openvswitch/db.sock --remote\u003ddb:OVN_Southbound,SB_Global,connections relay:OVN_Southbound:{% for node in groups[\u0027ovn-sb-db\u0027] | shuffle(seed\u003dinventory_hostname) %}tcp:{{ hostvars[node][\u0027ansible_os_management\u0027][\u0027ipv4\u0027][\u0027address\u0027] + \u0027:\u0027 + ovn_sb_db_port }}{% if not loop.last %},{% endif %}{% endfor %} --log-file\u003d/var/log/kolla/openvswitch/ovn-sb-db-relay.log --pidfile"}],"source_content_type":"text/x-jinja2","patch_set":1,"id":"38a5a6c4_ab3adc70","line":2,"updated":"2024-09-19 06:38:12.000000000","message":"That is usually in kolla","commit_id":"657318c8dd3bc850a6f5d86c8073de50dc6082c7"},{"author":{"_account_id":36174,"name":"yosef","display_name":"yosal","email":"flaslnm@gmail.com","username":"theYosal"},"change_message_id":"a9a4bd2826da0b6d34871a5062f826f5f710bcdb","unresolved":true,"context_lines":[{"line_number":1,"context_line":"#!/bin/bash"},{"line_number":2,"context_line":"touch /var/log/kolla/openvswitch/ovn-sb-db-relay.log \u0026\u0026 chmod 755 /var/log/kolla/openvswitch/ovn-sb-db-relay.log"},{"line_number":3,"context_line":"/usr/sbin/ovsdb-server -vconsole:emer -vsyslog:err -vfile:info --pidfile\u003d/run/openvswitch/ovsdb-server.pid --unixctl\u003d/run/openvswitch/ovsdb-server.ctl --remote\u003dpunix:/run/openvswitch/db.sock --remote\u003ddb:OVN_Southbound,SB_Global,connections relay:OVN_Southbound:{% for node in groups[\u0027ovn-sb-db\u0027] | shuffle(seed\u003dinventory_hostname) %}tcp:{{ hostvars[node][\u0027ansible_os_management\u0027][\u0027ipv4\u0027][\u0027address\u0027] + \u0027:\u0027 + ovn_sb_db_port }}{% if not loop.last %},{% endif %}{% endfor %} --log-file\u003d/var/log/kolla/openvswitch/ovn-sb-db-relay.log --pidfile"}],"source_content_type":"text/x-jinja2","patch_set":1,"id":"50e5ae9c_38fd64f4","line":2,"in_reply_to":"38a5a6c4_ab3adc70","updated":"2024-09-21 18:33:32.000000000","message":"I think a relay container except for configuration has nothing different from a OVSDB server, do you suggest adding a new image to Kolla because of a file permission? or can I add this as a task? please guide me.","commit_id":"657318c8dd3bc850a6f5d86c8073de50dc6082c7"},{"author":{"_account_id":36174,"name":"yosef","display_name":"yosal","email":"flaslnm@gmail.com","username":"theYosal"},"change_message_id":"a52e93af47afd2d75791424c80752badad81fb1f","unresolved":false,"context_lines":[{"line_number":1,"context_line":"#!/bin/bash"},{"line_number":2,"context_line":"touch /var/log/kolla/openvswitch/ovn-sb-db-relay.log \u0026\u0026 chmod 755 /var/log/kolla/openvswitch/ovn-sb-db-relay.log"},{"line_number":3,"context_line":"/usr/sbin/ovsdb-server -vconsole:emer -vsyslog:err -vfile:info --pidfile\u003d/run/openvswitch/ovsdb-server.pid --unixctl\u003d/run/openvswitch/ovsdb-server.ctl --remote\u003dpunix:/run/openvswitch/db.sock --remote\u003ddb:OVN_Southbound,SB_Global,connections relay:OVN_Southbound:{% for node in groups[\u0027ovn-sb-db\u0027] | shuffle(seed\u003dinventory_hostname) %}tcp:{{ hostvars[node][\u0027ansible_os_management\u0027][\u0027ipv4\u0027][\u0027address\u0027] + \u0027:\u0027 + ovn_sb_db_port }}{% if not loop.last %},{% endif %}{% endfor %} --log-file\u003d/var/log/kolla/openvswitch/ovn-sb-db-relay.log --pidfile"}],"source_content_type":"text/x-jinja2","patch_set":1,"id":"7bc1330c_3a26435b","line":2,"in_reply_to":"50e5ae9c_38fd64f4","updated":"2024-09-24 09:13:32.000000000","message":"This is removed at it was unnecessary!","commit_id":"657318c8dd3bc850a6f5d86c8073de50dc6082c7"},{"author":{"_account_id":22629,"name":"Michal Nasiadka","email":"mnasiadka@gmail.com","username":"mnasiadka"},"change_message_id":"7d07aee955a2c29064bd8ce2c30d58b6ead9bbc0","unresolved":true,"context_lines":[{"line_number":1,"context_line":"#!/bin/bash"},{"line_number":2,"context_line":"touch /var/log/kolla/openvswitch/ovn-sb-db-relay.log \u0026\u0026 chmod 755 /var/log/kolla/openvswitch/ovn-sb-db-relay.log"},{"line_number":3,"context_line":"/usr/sbin/ovsdb-server -vconsole:emer -vsyslog:err -vfile:info --pidfile\u003d/run/openvswitch/ovsdb-server.pid --unixctl\u003d/run/openvswitch/ovsdb-server.ctl --remote\u003dpunix:/run/openvswitch/db.sock --remote\u003ddb:OVN_Southbound,SB_Global,connections relay:OVN_Southbound:{% for node in groups[\u0027ovn-sb-db\u0027] | shuffle(seed\u003dinventory_hostname) %}tcp:{{ hostvars[node][\u0027ansible_os_management\u0027][\u0027ipv4\u0027][\u0027address\u0027] + \u0027:\u0027 + ovn_sb_db_port }}{% if not loop.last %},{% endif %}{% endfor %} --log-file\u003d/var/log/kolla/openvswitch/ovn-sb-db-relay.log --pidfile"}],"source_content_type":"text/x-jinja2","patch_set":1,"id":"0e043209_56c88378","line":3,"updated":"2024-09-19 06:38:12.000000000","message":"We usually use ovn-ctl for that","commit_id":"657318c8dd3bc850a6f5d86c8073de50dc6082c7"},{"author":{"_account_id":36174,"name":"yosef","display_name":"yosal","email":"flaslnm@gmail.com","username":"theYosal"},"change_message_id":"a9a4bd2826da0b6d34871a5062f826f5f710bcdb","unresolved":true,"context_lines":[{"line_number":1,"context_line":"#!/bin/bash"},{"line_number":2,"context_line":"touch /var/log/kolla/openvswitch/ovn-sb-db-relay.log \u0026\u0026 chmod 755 /var/log/kolla/openvswitch/ovn-sb-db-relay.log"},{"line_number":3,"context_line":"/usr/sbin/ovsdb-server -vconsole:emer -vsyslog:err -vfile:info --pidfile\u003d/run/openvswitch/ovsdb-server.pid --unixctl\u003d/run/openvswitch/ovsdb-server.ctl --remote\u003dpunix:/run/openvswitch/db.sock --remote\u003ddb:OVN_Southbound,SB_Global,connections relay:OVN_Southbound:{% for node in groups[\u0027ovn-sb-db\u0027] | shuffle(seed\u003dinventory_hostname) %}tcp:{{ hostvars[node][\u0027ansible_os_management\u0027][\u0027ipv4\u0027][\u0027address\u0027] + \u0027:\u0027 + ovn_sb_db_port }}{% if not loop.last %},{% endif %}{% endfor %} --log-file\u003d/var/log/kolla/openvswitch/ovn-sb-db-relay.log --pidfile"}],"source_content_type":"text/x-jinja2","patch_set":1,"id":"e439c709_61a70e75","line":3,"in_reply_to":"0e043209_56c88378","updated":"2024-09-21 18:33:32.000000000","message":"As we are deploying OVN services, I\u0027m with you on this, but there are some flags which can not be passed down to OVSDB from ovn-ctl, for example you can not add `--config`, `--remote` and many other things you need to configure a relay server to ovn-ctl, it is not developed enough, I should add this, deploying a relay server has it\u0027s issues, the default probe interval is 5 seconds and this must be increased for large deployments.\nWhat do you think? is this ok to continue or do you have other suggestions?","commit_id":"657318c8dd3bc850a6f5d86c8073de50dc6082c7"},{"author":{"_account_id":36174,"name":"yosef","display_name":"yosal","email":"flaslnm@gmail.com","username":"theYosal"},"change_message_id":"a52e93af47afd2d75791424c80752badad81fb1f","unresolved":false,"context_lines":[{"line_number":1,"context_line":"#!/bin/bash"},{"line_number":2,"context_line":"touch /var/log/kolla/openvswitch/ovn-sb-db-relay.log \u0026\u0026 chmod 755 /var/log/kolla/openvswitch/ovn-sb-db-relay.log"},{"line_number":3,"context_line":"/usr/sbin/ovsdb-server -vconsole:emer -vsyslog:err -vfile:info --pidfile\u003d/run/openvswitch/ovsdb-server.pid --unixctl\u003d/run/openvswitch/ovsdb-server.ctl --remote\u003dpunix:/run/openvswitch/db.sock --remote\u003ddb:OVN_Southbound,SB_Global,connections relay:OVN_Southbound:{% for node in groups[\u0027ovn-sb-db\u0027] | shuffle(seed\u003dinventory_hostname) %}tcp:{{ hostvars[node][\u0027ansible_os_management\u0027][\u0027ipv4\u0027][\u0027address\u0027] + \u0027:\u0027 + ovn_sb_db_port }}{% if not loop.last %},{% endif %}{% endfor %} --log-file\u003d/var/log/kolla/openvswitch/ovn-sb-db-relay.log --pidfile"}],"source_content_type":"text/x-jinja2","patch_set":1,"id":"3f6705ef_53039be4","line":3,"in_reply_to":"e439c709_61a70e75","updated":"2024-09-24 09:13:32.000000000","message":"--config-file is not supported on the current OVN Kolla build images... also file is changed...","commit_id":"657318c8dd3bc850a6f5d86c8073de50dc6082c7"},{"author":{"_account_id":22629,"name":"Michal Nasiadka","email":"mnasiadka@gmail.com","username":"mnasiadka"},"change_message_id":"3a254b38b4e7168ab812376c5cb92c021a61e9e2","unresolved":true,"context_lines":[{"line_number":1,"context_line":"#!/bin/bash"},{"line_number":2,"context_line":"/usr/sbin/ovsdb-server -vconsole:emer -vsyslog:err -vfile:info --pidfile\u003d/run/openvswitch/ovsdb-server.pid --unixctl\u003d/run/openvswitch/ovsdb-server.ctl --log-file\u003d/var/log/kolla/openvswitch/ovn-sb-db-relay.log --pidfile --config-file\u003d{{ container_config_directory }}/ovsdb-config-relay.json"}],"source_content_type":"text/x-jinja2","patch_set":4,"id":"1832a607_a79732d4","line":2,"updated":"2024-10-22 11:55:47.000000000","message":"are we sure other ovn components put their things in /run/openvswitch or maybe /run/ovn? ovsdb-server.pid sounds very generic, I would recommend using something that has ovn sb relay in name?","commit_id":"93d0e4670d5ff97e402da281c070c58c30e60ab7"},{"author":{"_account_id":36174,"name":"yosef","display_name":"yosal","email":"flaslnm@gmail.com","username":"theYosal"},"change_message_id":"cbd5938b61e54a79fc59faf6316af5a51a6d01c3","unresolved":false,"context_lines":[{"line_number":1,"context_line":"#!/bin/bash"},{"line_number":2,"context_line":"/usr/sbin/ovsdb-server -vconsole:emer -vsyslog:err -vfile:info --pidfile\u003d/run/openvswitch/ovsdb-server.pid --unixctl\u003d/run/openvswitch/ovsdb-server.ctl --log-file\u003d/var/log/kolla/openvswitch/ovn-sb-db-relay.log --pidfile --config-file\u003d{{ container_config_directory }}/ovsdb-config-relay.json"}],"source_content_type":"text/x-jinja2","patch_set":4,"id":"95b6db9e_fecb2d61","line":2,"in_reply_to":"06d86901_3f30865c","updated":"2024-10-27 11:49:03.000000000","message":"changed pid file, also other paths in container are adapted from ovn-db and openvswitch role.","commit_id":"93d0e4670d5ff97e402da281c070c58c30e60ab7"},{"author":{"_account_id":36174,"name":"yosef","display_name":"yosal","email":"flaslnm@gmail.com","username":"theYosal"},"change_message_id":"e49f15b78f8e9ba7ef1ce736303a98f2595324dd","unresolved":false,"context_lines":[{"line_number":1,"context_line":"#!/bin/bash"},{"line_number":2,"context_line":"/usr/sbin/ovsdb-server -vconsole:emer -vsyslog:err -vfile:info --pidfile\u003d/run/openvswitch/ovsdb-server.pid --unixctl\u003d/run/openvswitch/ovsdb-server.ctl --log-file\u003d/var/log/kolla/openvswitch/ovn-sb-db-relay.log --pidfile --config-file\u003d{{ container_config_directory }}/ovsdb-config-relay.json"}],"source_content_type":"text/x-jinja2","patch_set":4,"id":"06d86901_3f30865c","line":2,"in_reply_to":"1832a607_a79732d4","updated":"2024-10-26 17:38:37.000000000","message":"Acknowledged","commit_id":"93d0e4670d5ff97e402da281c070c58c30e60ab7"}]}
