Flat provider network can only be 'public'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
cheng li |
Bug Description
Title
-----
Flat provider network can only be 'public'
Brief Description
-----------------
Flat provider network can only be 'public'. If you try to create a flat provider network with name 'providernet-a', the following error will be reported: "Invalid input for operation: physical_network 'providernet-a' unknown for flat provider network."
Severity
--------
Critical
Steps to Reproduce
------------------
1. On the active controller:
source /etc/platform/
system host-lock compute-0
ssytem host-lock compute-1
system datanetwork-add providernet-a flat
system host-if-list -a compute-0
system host-if-list -a compute-1
system host-if-modify -m 1500 -n data0 -d providernet-a -c data compute-0 ${DATA0IFUUID}
system host-if-modify -m 1500 -n data0 -d providernet-a -c data compute-1 ${DATA0IFUUID}
system host-unlock compute-0
system host-unlock compute-1
2. After compute-0 and compute-1 rebooting and become available, on the active controller:
export OS_CLOUD=
neutron net-create --provider:
Expected Behavior
------------------
Flat network external-net can be created.
Actual Behavior
----------------
Flat network external-net can't be created.
System Configuration
-------
System mode: Standard 2+2 on Bare metals
Reproducibility
---------------
100%
Branch/Pull Time/Commit
-------
0306 ISO Image built for OVS DPDK Upgrade
Timestamp/Logs
--------------
controller-0:~$ neutron net-create --provider:
neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
Invalid input for operation: physical_network 'providernet-a' unknown for flat provider network.
Neutron server returns request_ids: ['req-ac2f998a-
Last time install passed
-------
n/a
tags: | added: stx.networking |
Changed in starlingx: | |
assignee: | nobody → cheng li (chengli3) |
tags: |
added: stx.2.0 removed: stx.2019.05 |
The flat network is configured as 'public' in ovs agent's config file ml2_conf.ini:
[ml2_type_flat]
flat_networks = public
Creating flat provider network 'providernet-a' can't change the configuration.
You can check the configuration by following command on the active controller: openstack_ helm ovs-agent} bash plugins/ ml2/
export OS_CLOUD=
kubectl -n openstack get pod | grep neutron
kubectl -n openstack exec -it ${neutron-
cd /etc/neutron/
cat ml2_conf.ini