From b9f0854c8676a519eae2b50e63032c5eb160d143 Mon Sep 17 00:00:00 2001
From: Michal Nasiadka <mnasiadka@gmail.com>
Date: Mon, 13 Nov 2023 14:16:31 +0100
Subject: [PATCH] CI: Fix tenks for newer libvirt

Copy cat of I2cfd2667abb1ae8988b7a7fd9761b75c20a0eaa4

Co-Authored-By: Pierre Riteau <pierre@stackhpc.com>
Change-Id: If4feec0a86f9a50ed43920ecf4d0da8875c71f4e
---
 tests/templates/tenks-deploy-config.yml.j2 | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/tests/templates/tenks-deploy-config.yml.j2 b/tests/templates/tenks-deploy-config.yml.j2
index cf9ceea00..8aff89eef 100644
--- a/tests/templates/tenks-deploy-config.yml.j2
+++ b/tests/templates/tenks-deploy-config.yml.j2
@@ -53,3 +53,10 @@ libvirt_vm_default_console_log_dir: "/var/log/kolla/tenks"
 # Console logs are owned by the ID of the Nova user in the nova_libvirt
 # container.
 libvirt_vm_log_owner: 42436
+
+# NOTE(priteau): Disable libvirt_vm_trust_guest_rx_filters, which when enabled
+# triggers the following errors when booting baremetal instances with Tenks on
+# Libvirt 9: Cannot set interface flags on 'macvtap1': Value too large for
+# defined data type
+libvirt_vm_trust_guest_rx_filters: false
+
-- 
GitLab