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