Bug 2091840
Summary: | Failing to build images due to higher mtu on podman0 bridge | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 9 | Reporter: | Sandeep Yadav <sandyada> |
Component: | buildah | Assignee: | Paul Holzinger <pholzing> |
Status: | CLOSED NOTABUG | QA Contact: | atomic-bugs <atomic-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 9.0 | CC: | apevec, bbaude, dwalsh, mheon, pholzing, pthomas, tsweeney, umohnani |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-06-08 10:58:18 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Sandeep Yadav
2022-05-31 07:27:00 UTC
Paul, PTAL You can set the mtu in the config file for netavark as well. By default the network config is stored in memory but you can create a config file at /etc/containers/networks/podman.json (default path, can be change din containers.conf). Podman will use this file over the built in default. You should be able to use this config: { "name": "podman", "id": "2f259bab93aaaaa2542ba43ef33eb990d0999ee1b9924b557b7be53c0b7a1bb9", "driver": "bridge", "network_interface": "podman0", "created": "2022-06-01T14:07:03.536116064+02:00", "subnets": [ { "subnet": "10.88.0.0/16", "gateway": "10.88.0.1" } ], "ipv6_enabled": false, "internal": false, "dns_enabled": false, "ipam_options": { "driver": "host-local" }, "options": { "mtu": "1400" } } Basically just run `podman network inspect podman | jq .[]` and then add the options block with the mtu to it and write it to the config file. Hello Paul, Thanks for answering my query on high to set mtu. * Could some please confirm which is default and recommended - netavark or CNI in RHEL9.0? Netavark should be the default starting with RHEL9 and we recommend to use it. If you encounter any problems with it please let us know. Thank you so much Paul, I don't have any further queries on this, closing this bug. |