Bug 1429163
| Summary: | Automatically instruct MTU to the guest | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Amnon Ilan <ailan> |
| Component: | openstack-nova | Assignee: | smooney |
| Status: | CLOSED ERRATA | QA Contact: | OSP DFG:Compute <osp-dfg-compute> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 14.0 (Rocky) | CC: | aconole, ailan, atelang, berrange, chayang, chhu, dasmith, dyuan, egarver, eglynn, fbaudin, fleitner, jbenc, jschluet, juzhang, kchamart, ktraynor, laine, lhuang, lyarwood, maxime.coquelin, mprivozn, mst, mtessun, pezhang, psutter, rkhan, sbauza, sgordon, srevivo, stephenfin, virt-bugs, vromanso, wtownsen, xuzhang, yalzhang |
| Target Milestone: | beta | Keywords: | Triaged |
| Target Release: | 14.0 (Rocky) | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | openstack-nova-18.0.0-0.20180822155218.14d9e9f.0rc1 | Doc Type: | Enhancement |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1408701 | Environment: | |
| Last Closed: | 2019-01-11 11:47:00 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: | |||
| Bug Depends On: | 1366919, 1408701, 1412234, 1450162 | ||
| Bug Blocks: | 1411862 | ||
|
Description
Amnon Ilan
2017-03-05 08:01:28 UTC
Description of problem: Bug #1366919 gave a new API in QEMU command-line to instruct the MTU to the guest. This RFE Bug is for libvirt to configure QEMU with the MTU. The suggested way is to query the host switch for the MTU, and configure QEMU accordingly. The host switch can be: 1. OVS/OVS-DPDK 2. Linux Bridge In future, support may be added for VPP as well. Sorry, for all the comments, just for writing a proper description.. Bug #1366919 gave a new API in QEMU command-line to instruct the MTU to the guest. Bug #1408701 added libvirt support for it. During the discussions on the libvirt BZ, we found out that libvirt cannot know/discover the actual value of MTU to set, and this should be done by higher level: Nova+Neutron (fill free to open another BZ for Neutron for that). (In reply to Amnon Ilan from comment #2) > During the discussions on the libvirt BZ, we found out that libvirt cannot > know/discover the actual value of MTU to set, and this should be done by > higher > level: Nova+Neutron (fill free to open another BZ for Neutron for that). I'm going to need a little more information on this. As things stand, we already set the MTU for interfaces and bridges using os-vif. Support was recently added for vhost-user interfaces also [1]. Is this somehow different? [1] https://github.com/openstack/os-vif/commit/9a14c18c2163f8f90c797150d12e11b2aad8c1ee @stephen: all that stuff you describe is setting the MTU on the host side of the network connection. The change made in libvirt is to provide a way to communicate this MTU to the guest OS. This is done by add <mtu size="NNNN"/> in the guest XML under the <interface> element. http://libvirt.org/formatdomain.html#mtu This allows the guest OS to configure the same sized MTU as used on the host. (In reply to Daniel Berrange from comment #5) > @stephen: all that stuff you describe is setting the MTU on the host side of > the network connection. The change made in libvirt is to provide a way to > communicate this MTU to the guest OS. This is done by add <mtu size="NNNN"/> > in the guest XML under the <interface> element. > > http://libvirt.org/formatdomain.html#mtu > > This allows the guest OS to configure the same sized MTU as used on the host. OK, looks like we're going to start doing this as part of the resolution to #1553559. This seems like a fair request. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2019:0045 |