Acked-by: Mark Michelson <[email protected]>

On 4/20/21 6:32 AM, Dumitru Ceara wrote:
Without this ovn-controller-vtep fails to register new chassis when RBAC
is enabled.

Reported-at: 
https://mail.openvswitch.org/pipermail/ovs-dev/2021-April/382207.html
Reported-by: Odintsov Vladislav <[email protected]>
Fixes: d06760b64276 ("ovn: Restrict encap modification to its creating chassis")
Signed-off-by: Dumitru Ceara <[email protected]>
---
  controller-vtep/gateway.c | 1 +
  1 file changed, 1 insertion(+)

diff --git a/controller-vtep/gateway.c b/controller-vtep/gateway.c
index 636dab365..e9419138b 100644
--- a/controller-vtep/gateway.c
+++ b/controller-vtep/gateway.c
@@ -59,6 +59,7 @@ create_chassis_rec(struct ovsdb_idl_txn *txn, const char 
*name,
      sbrec_encap_set_ip(encap_rec, encap_ip);
      const struct smap options = SMAP_CONST1(&options, "csum", "false");
      sbrec_encap_set_options(encap_rec, &options);
+    sbrec_encap_set_chassis_name(encap_rec, name);
      sbrec_chassis_set_encaps(chassis_rec, &encap_rec, 1);
return chassis_rec;


_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to