File tree Expand file tree Collapse file tree 3 files changed +53
-0
lines changed Expand file tree Collapse file tree 3 files changed +53
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ - name : Create Systemd Unit to workaround 'tc mirred to Houston' error
3
+ hosts : network,compute
4
+ become : yes
5
+
6
+ tasks :
7
+ - name : Include kolla-ansible host vars
8
+ include_vars : " {{ kolla_config_path }}/inventory/overcloud/host_vars/{{ inventory_hostname }}"
9
+
10
+ - name : Create systemd service for -ovs network interface
11
+ template :
12
+ src : fix-houston-interface.service.j2
13
+ dest : " /etc/systemd/system/fix-houston-{{ item }}.service"
14
+ loop : " {{ neutron_bridge_name.split(',') }}"
15
+ vars :
16
+ interface_name : " {{ item }}"
17
+ notify : reload systemd
18
+
19
+ - name : Enable and start systemd service for -ovs network interface
20
+ systemd :
21
+ name : " fix-houston-{{ item }}"
22
+ enabled : yes
23
+ state : started
24
+ loop : " {{ neutron_bridge_name.split(',') }}"
25
+
26
+ handlers :
27
+ - name : reload systemd
28
+ command : systemctl daemon-reload
Original file line number Diff line number Diff line change
1
+ [Unit]
2
+ # This service addresses a specific issue where dmesg logs errors like:
3
+ # "tc mirred to Houston: device bond0-ovs is down".
4
+ # Related kernel patch and bug reports:
5
+ # https://patchwork.kernel.org/project/netdevbpf/patch/c2ef23da1d9a4eb62f4e7b7c4540f9bafb553c15.1658420239.git.dcaratti@redhat.com/#24948930
6
+ # https://bugs.launchpad.net/charm-neutron-openvswitch/+bug/1899364
7
+ Description=Bring up {{ interface_name }} interface
8
+ After=kolla-openvswitch_vswitchd-container.service
9
+
10
+ [Service]
11
+ Type=oneshot
12
+ ExecStartPre=/usr/bin/timeout 60s /bin/bash -c 'until ip link show {{ interface_name }}; do sleep 1; done'
13
+ ExecStart=/sbin/ip link set {{ interface_name }} up
14
+ RemainAfterExit=yes
15
+
16
+ [Install]
17
+ WantedBy=multi-user.target
Original file line number Diff line number Diff line change
1
+ ---
2
+ fixes :
3
+ - |
4
+ Adds a workaround for dmesg errors like:
5
+ "tc mirred to Houston: device bond0-ovs is down".
6
+ Related kernel patch and bug reports:
7
+ https://patchwork.kernel.org/project/netdevbpf/patch/c2ef23da1d9a4eb62f4e7b7c4540f9bafb553c15.1658420239.git.dcaratti@redhat.com/#24948930
8
+ https://bugs.launchpad.net/charm-neutron-openvswitch/+bug/1899364
You can’t perform that action at this time.
0 commit comments