Description of problem: After creating a network in Neutron with the name "net_created_in_neutron" I tried to import it to rhevm. The import failed with the error: "Error while executing action: User is not authorized to perform this action." The problem is that the name of the network is too long for rhevm (max length is 15). ovirt report in its log that the name is illegal, pop a window in GUI but then it tries to create vNicProfile and fails. The failure of the creation of the profile also sends a pop up window instead of the existing one and the user gets the wrong error output. How reproducible: 100% Steps to Reproduce: 1. create a network in neutron with a long name "net_created_in_neutron" 2. try to import the network without changing its name Actual results: An error message appears: "Error while executing action: User is not authorized to perform this action." Expected results: The error message should be: "Invalid name, max length is 15" (Or something like that... ) Additional info: We should also check that the only legal characters are a-z, A-Z, 0-9 and "_"
Created attachment 825115 [details] ovirt-engine's log
Created attachment 825116 [details] A video that shows the problem
I now saw that the same thing is happening when trying to import a network with vlan that already exists in the DC. Steps to Reproduce: 1. Create a network via rhevm GUI with vlan 163 2. Create a network via Neutron with vlan 163 3. Import the network Actual results: An error message appears: "Error while executing action: User is not authorized to perform this action." Expected results: The error message should be: "Error while executing action: The specified VLAN ID (163) is already in use."
rhevm-3.3.0-0.40.rc.el6ev.noarch
Closing - RHEV 3.3 Released