[Starlingx-discuss] 回复:回复: 【StarlingX】Regarding external networking issue

CH.Huang789 ch.huang789 at advantech.com.tw
Tue Nov 17 09:22:52 UTC 2020


Thanks, Austin:

It’s working for me. Share my steps:

echo "Using helm-overrides to change the vni"
cat > neutron-overrides.yaml <<EOF
conf:
plugins:
   ml2_conf:
     ml2_type_vxlan:
       vni_ranges:
       - 1:4000
EOF

echo "Update the neutron overrides and apply to stx-openstack"
source /etc/platform/openrc
system helm-override-update stx-openstack neutron openstack --values neutron-overrides.yaml
system application-apply stx-openstack
watch -n 5 system application-list

Regards,
C.H. Huang

From: Sun, Austin <austin.sun at intel.com>
Sent: Tuesday, November 17, 2020 4:44 PM
To: CH.Huang789 <ch.huang789 at advantech.com.tw>; starlingx-discuss at lists.starlingx.io
Subject: RE: [Starlingx-discuss] 回复:回复: 【StarlingX】Regarding external networking issue

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 at advantech.com.tw<mailto:ch.huang789 at advantech.com.tw>>
Sent: Tuesday, November 17, 2020 4:37 PM
To: starlingx-discuss at lists.starlingx.io<mailto: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/cfada794/attachment-0001.html>


More information about the Starlingx-discuss mailing list