| Summary: | When trying to create a vNicProfile without a network, an invalid error is returned | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | awinter <awinter> |
| Component: | ovirt-engine-restapi | Assignee: | Moti Asayag <masayag> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | GenadiC <gcheresh> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.3.0 | CC: | acathrow, bazulay, ecohen, gcheresh, iheim, lpeer, lvernia, masayag, myakove, nyechiel, oramraz, Rhev-m-bugs, yeylon |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | 3.4.0 | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | network | ||
| Fixed In Version: | ovirt-3.4.0-beta3 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Network | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 1078909, 1142926 | ||
|
Description
awinter
2013-11-17 10:25:57 UTC
(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 |