Skip to content

CS 4.11.2 SSVM MTU is not respected #3837

Description

@bwsw
ISSUE TYPE
  • Bug Report
COMPONENT NAME
SSVM
CLOUDSTACK VERSION
4.11.2
CONFIGURATION
OS / ENVIRONMENT

Ubuntu 16.04

SUMMARY

CS Global Vars have:
secstorage.vm.mtu.size 9000

SSVM has:

root@s-7820-vm:~# ifconfig 
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 169.254.0.151  netmask 255.255.0.0  broadcast 169.254.255.255
        ether 0e:00:a9:fe:00:97  txqueuelen 1000  (Ethernet)
        RX packets 13077  bytes 899736 (878.6 KiB)
        RX errors 10271  dropped 0  overruns 0  frame 10271
        TX packets 19777  bytes 19924078 (19.0 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.252.3.136  netmask 255.255.0.0  broadcast 10.252.255.255
        ether 1e:00:4c:00:00:88  txqueuelen 1000  (Ethernet)
        RX packets 41384893  bytes 54704706973 (50.9 GiB)
        RX errors 5237738  dropped 0  overruns 0  frame 5237738
        TX packets 44410172  bytes 66395050784 (61.8 GiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

eth2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet XX.YY.29.171  netmask 255.255.254.0  broadcast 176.120.29.255
        ether 1e:00:e8:00:02:a8  txqueuelen 1000  (Ethernet)
        RX packets 35572697  bytes 53109334944 (49.4 GiB)
        RX errors 3799  dropped 0  overruns 0  frame 3799
        TX packets 1698801  bytes 102364049 (97.6 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        loop  txqueuelen 1  (Local Loopback)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
EXPECTED RESULTS
Eth1 must have MTU 9000

Management server log shows that the parameter is transferred to the agent:

2020-01-25 20:08:22,036 DEBUG 
...
"bootArgs":" template=domP type=secstorage host=10.252.2.1 port=8250 name=s-7820-vm zone=1 pod=1 guid=s-7820-vm workers=5 resource=org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource instance=SecStorage sslcopy=true role=templateProcessor mtu=9000 eth2ip=XX.YY.29.171 eth2mask=255.255.254.0 gateway=XX.YY.28.1 eth0ip=169.254.3.163 eth0mask=255.255.0.0 eth1ip=10.252.3.58 eth1mask=255.255.0.0 mgmtcidr=10.252.2.0/16 localgw=10.252.2.1 private.network.device=eth1 internaldns1=XX.YY.29.212 internaldns2=XX.YY.29.185 dns1=XX.YY.29.212 dns2=XX.YY.29.185 nfsVersion=null
...
ACTUAL RESULTS
Eth1 has standard MTU

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions