Bug 1121406
| Summary: | [AAA] Add datacenter\template permissions to user returns HTTP 500 in REST (null pointer) | ||
|---|---|---|---|
| Product: | [Retired] oVirt | Reporter: | Nelly Credi <ncredi> |
| Component: | ovirt-engine-api | Assignee: | Yair Zaslavsky <yzaslavs> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Pavel Stehlik <pstehlik> |
| Severity: | urgent | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 3.5 | CC: | alonbl, ecohen, gklein, iheim, juan.hernandez, oourfali, rbalakri, yeylon |
| Target Milestone: | --- | Keywords: | AutomationBlocker, Regression, Reopened |
| Target Release: | 3.5.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | infra | ||
| Fixed In Version: | ovirt-engine-3.5.0_rc1 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-10-17 12:45:02 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1076964 | ||
|
Description
Nelly Credi
2014-07-20 13:57:03 UTC
I think this is a duplicate of bug 1119862. Please check and close if already fixed by the patch for that bug. Looking at it again it isn't a duplicate, but it is related. We don't longer create a Principal object anywhere. This class should have been removed as part of the recent authentication changes. This call: getCurrent().get(Principal.class) Needs to be replaced with this: getCurrent().get(DbUser.class) Was retested on 3.5.0_beta2, but still fails with HTTP 500 the creation of beta2 was random, so that the move of on-qa which was out of sync, please check nightly for bugs of aaa verified in ovirt-3.5.0_rc1.1 oVirt 3.5 has been released and should include the fix for this issue. |