*** This bug has been marked as a duplicate of bug 1569441 ***
Checked at the CFME 5.10.0.14 Incorrect error message appears during adding the float network 1. Login to the CFME 2. Networks -> Networks 3. Configuration -> Add a new Cloud Network 4. Network Manager: select cloud provider Cloud Tenant: admin Provider Network Type: Flat Physical Network: local Network Name: flat_test_123 External Router: No Administrative State: Up Shared: No 5. Click Add Expected result: "Unable to create Cloud Network "flat_test_123": Network type 'flat' is not supported by the Provider." Actual result: "Unable to create Cloud Network "flat_test_123": {"NeutronError": {"message": "Invalid input for operation: physical_network 'local' unknown for flat provider network.", "type": "InvalidInput", "detail": ""}}" Additional information: [heat-admin@controller-0 ~]$ sudo cat /etc/neutron/plugins/ml2/ml2_conf.ini | grep ^type_drivers type_drivers = local,vlan,gre,vxlan,geneve Also feel free to reproduce at the https://10.9.76.15 appliance
Created attachment 1481357 [details] flat_network
Hi, To test this BZ you should use a physical network listed on this line: sudo cat /etc/neutron/plugins/ml2/ml2_conf.ini | grep ^flat_networksparameters I was able see parsed error messages. Please feel free to contact me.
sudo cat /etc/neutron/plugins/ml2/ml2_conf.ini | grep ^flat_networks
I opened a new PR, in my opinion error you get should also be parsed. https://github.com/ManageIQ/manageiq-providers-openstack/pull/349
Verified at the CFME 5.10.0.17 + OSP14 For "Physical Network" field I used this command at the controller node: "sudo docker exec -it neutron_api cat /etc/neutron/plugins/ml2/ml2_conf.ini | grep ^flat_networks"
Hi, When I am trying to create a Flat cloud network and leaving physical network field empty, I am getting below message: Unable to create Cloud Network "rr": {"NeutronError": {"message": "Invalid input for operation: physical_network required for flat provider network.", "type": "InvalidInput", "detail": ""}} I think we need here a more clear message
Hi, What version of CFME did you use for testing?
(In reply to Alexander Demicev from comment #11) > Hi, > What version of CFME did you use for testing? 5.10.0.24
The fix for better error messages was backported to 5.10 yesterday.
https://github.com/ManageIQ/manageiq-providers-openstack/pull/371
Verified at CFME 5.10.0.27
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2019:0212