Bug 908284
| Summary: | ovirt-engine-cli: Bad error message when trying to create a new Role [ TEXT ] | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Oded Ramraz <oramraz> |
| Component: | ovirt-engine-cli | Assignee: | Ravi Nori <rnori> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Barak Dagan <bdagan> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.2.0 | CC: | acathrow, bazulay, iheim, jkt, oramraz, pstehlik, Rhev-m-bugs |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | 3.3.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | infra | ||
| Fixed In Version: | is3 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-07-18 06:07:11 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Oded Ramraz
2013-02-06 10:36:12 UTC
this was already fixed, please recheck against latest cli. I'm using sf5 , rhevm-cli-3.2.0.3-1.el6ev.noarch (In reply to comment #0) > > ## wrong permit id ( will file a new bug for this issue ) > > [RHEVM shell (connected)]# add role --name aaa --permits-permit > "permit.id=30" --administrative true > > error: > status: 500 > reason: Internal Server Error > detail: HTTP Status 500 > btw oded i would report api error for ^ this (wrong permit.id cause 500). *** Bug 920027 has been marked as a duplicate of this bug. *** Verified on is14 [RHEVM shell]# add role --name aaa --permits-permit 31 error: "31" is invalid segment at option "--permits-permit". [RHEVM shell]# add role --name aaa --permits-permit "permit.id=30" --administrative true error: status: 400 reason: Bad Request detail: 30 is not a valid permit ID. [RHEVM shell]# add role --name aaa --permits-permit "permit.id=301" --administrative true id : f1669c81-7301-454a-862a-f8d36266f131 name : aaa administrative: True mutable : True Closing - RHEV 3.3 Released Closing - RHEV 3.3 Released Closing - RHEV 3.3 Released |