Description of problem: When trying to create a vNicProfile with no network, ovirt-engine returns an error message: "Error while executing action: User is not authorized to perform this action." How reproducible: 100% Steps to Reproduce: via REST - simply send a POST request with an empty network name/id Actual results: "Error while executing action: User is not authorized to perform this action." Expected results: "Error while executing action: A network with that name does not exist." Additional info: This bug was found in this bug: https://bugzilla.redhat.com/show_bug.cgi?id=1031366
(In reply to awinter from comment #0) > Description of problem: > When trying to create a vNicProfile with no network, ovirt-engine returns an > error message: > "Error while executing action: User is not authorized to perform this > action." > > How reproducible: > 100% > > Steps to Reproduce: > via REST - simply send a POST request with an empty network name/id Please note that according to the rsdl vnic profile must provide a network-id (not network name). > > Actual results: > "Error while executing action: User is not authorized to perform this > action." > > Expected results: > "Error while executing action: A network with that name does not exist." The expected result if no network exist will be error 404 - entity not found which is the generic error for missing entities queried via rest-api. > > Additional info: > > This bug was found in this bug: > https://bugzilla.redhat.com/show_bug.cgi?id=1031366
Verified in ovirt-engine-3.4.0-0.7.beta2.el6.noarch
This bug is referenced in ovirt-engine-3.4.0-beta3 logs. Moving to ON_QA
Verified in ovirt-engine-3.4.0-0.11.beta3.el6.noarch
Closing as part of 3.4.0