Open r3pek opened 1 month ago
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
Still happens on latest version (2024.8.2)
Hm, should Docker maybe handle that more gracefully? If so we should report it upstream to Docker so it automatically sets the MTU correctly. :thinking:
Alternatively, we could probably teach Supervisor to set an MTU.
Currently, the HA ecosystem doesn't really deal with MTUs. How did you set the MTU on HAOS in first place? :thinking:
@agners
I think the "easy" way would be to just populate the docker config (/etc/docker/daemon.json
) with whatever MTU is configured on the interface on bootup. What is not "easy" is figuring out which interface one should monitor (but that can't be done with maybe some simple greps on the route -4n
command).
The way I dot it is a 2-step process.
I have to do that after every reboot...
EDIT: If you ment how did I change the MTU of the "host" itself, the virtio
driver reads that from qemu
so the driver already sets the correct MTU on the interface after a bootup (it's running on proxmox)
Describe the issue you are experiencing
I recently had to change the MTU on the host adapter (VM) because the interface is running over a VXLAN. That beeing said, no addon has internet connection since the veth interfaces still get configured as 1500 MTU and by the looks of it, there's no way to edit the docker configuration file (/etc/docker/daemon.json) to account for the different MTU.
What type of installation are you running?
Home Assistant OS
Which operating system are you running on?
Home Assistant Operating System
Steps to reproduce the issue
...
Anything in the Supervisor logs that might be useful for us?
System Health information
System Information
Home Assistant Community Store
GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok GitHub API Calls Remaining | 5000 Installed Version | 1.34.0 Stage | running Available Repositories | 1459 Downloaded Repositories | 13 HACS Data | okHome Assistant Cloud
logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | okHome Assistant Supervisor
host_os | Home Assistant OS 12.4 -- | -- update_channel | stable supervisor_version | supervisor-2024.06.2 agent_version | 1.6.0 docker_version | 26.1.4 disk_total | 30.8 GB disk_used | 22.1 GB healthy | true supported | true host_connectivity | true supervisor_connectivity | true ntp_synchronized | true virtualization | kvm board | ova supervisor_api | ok version_api | ok installed_addons | Advanced SSH & Web Terminal (18.0.0), Studio Code Server (5.15.0), Nextcloud Backup (0.17.7), Node-RED (18.0.4), Matter Server (6.2.1), ESPHome (2024.6.6), Mosquitto broker (6.4.1)Instituto Português do Mar e Atmosfera (IPMA)
api_endpoint_reachable | ok -- | --Dashboards
dashboards | 2 -- | -- resources | 5 views | 10 mode | storageRecorder
oldest_recorder_run | July 23, 2023 at 21:36 -- | -- current_recorder_run | July 20, 2024 at 15:43 estimated_db_size | 1667.86 MiB database_engine | mysql database_version | 10.5.22Spotify
api_endpoint_reachable | ok -- | --Xiaomi Miot Auto
component_version | 0.7.19 -- | -- can_reach_server | ok can_reach_spec | ok logged_accounts | 1 total_devices | 2Supervisor diagnostics
config_entry-hassio-9be3d9d992b1c6c5034faedb044b986d.json
Additional information
I've also reported the same issue here (https://github.com/home-assistant/operating-system/issues/3480), but I'm reporting it here too since I'm not really sure where's the correct place to do it.