[Starlingx-discuss] 回复:回复: 【StarlingX】Regarding external networking issue
Qi, Mingyuan
mingyuan.qi at intel.com
Tue Nov 17 08:51:18 UTC 2020
Hi C.H. Huang,
The config are mounted from secret “neutron-etc” with read-only attribute. That’s why you are not able to change that config within the pod.
If you want to modify the config, you will need to modify the ml2_conf.ini in secret “neutron-etc” (base64 encoded) and restart the ovs-agent pod.
Mingyuan
From: CH.Huang789 <ch.huang789 at advantech.com.tw>
Sent: Tuesday, November 17, 2020 16:37
To: starlingx-discuss at 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 at controller-0 ~(keystone_admin)]$ kubectl exec -it neutron-ovs-agent-controller-0-937646f6-k5q4x -n openstack -- bash
[root at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.starlingx.io/pipermail/starlingx-discuss/attachments/20201117/1fefbcbe/attachment.html>
More information about the Starlingx-discuss
mailing list