Hi Huang:

It¡¯s better to use helm override command to change neutron ml2 setting .

Please refer to Networking setting [1]

 

 

 

[1] https://wiki.openstack.org/wiki/StarlingX/Networking#Useful_Networking_Commands

 

Thanks.

BR
Austin Sun.

From: CH.Huang789 <ch.huang789@advantech.com.tw>
Sent: Tuesday, November 17, 2020 4:37 PM
To: starlingx-discuss@lists.starlingx.io
Subject: Re: [Starlingx-discuss]
»Ø¸´£º»Ø¸´£º ¡¾StarlingX¡¿Regarding external networking issue

 

Hi All:

 

I try to edit the ml2_config.ini but it¡¯s always show me a readonly file even I am the root user or I use ¡°sudo¡±.

controller-0:~$ source ./openrc.os

[sysadmin@controller-0 ~(keystone_admin)]$ kubectl exec -it neutron-ovs-agent-controller-0-937646f6-k5q4x -n openstack -- bash

[root@controller-0 /]# vi /etc/neutron/plugins/ml2/ml2_conf.ini

 

[agent]

extensions =

[ml2]

extension_drivers = port_security

mechanism_drivers = openvswitch,sriovnicswitch,l2population

path_mtu = 0

physical_network_mtus = phy-flat1:1500,physnet2:1500

tenant_network_types = vlan,vxlan

type_drivers = flat,vlan,vxlan

[ml2_type_flat]

flat_networks = phy-flat1,physnet2

[ml2_type_vxlan]

vni_ranges =

vxlan_group =

[ovs_driver]

vhost_user_enabled = true

[securitygroup]

firewall_driver = openvswitch

~

"/etc/neutron/plugins/ml2/ml2_conf.ini" [readonly] 18L, 435C

 

Can someone help me?

 

Regards,

C.H. Huang