Bug 1156465
Summary: | GetAllRolesByUserIdAndGroupIds should not return duplicate rows | ||
---|---|---|---|
Product: | [Retired] oVirt | Reporter: | Tim Speetjens <tspeetje> |
Component: | ovirt-engine-webadmin | Assignee: | Eli Mesika <emesika> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Pavel Stehlik <pstehlik> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3.5 | CC: | bugs, ecohen, gklein, iheim, lsurette, mgoldboi, oourfali, rbalakri, tspeetje, yeylon |
Target Milestone: | --- | ||
Target Release: | 3.5.1 | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | infra | ||
Fixed In Version: | ovirt-3.5.1_rc1 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-01-21 16:06:21 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
Tim Speetjens
2014-10-24 14:19:38 UTC
Eli - please make sure to verify the fix, and make it part of oVirt 3.5.1. I had checked the disks and VNIC profiles and both are removing the relevant permission when deleted. Please attach a database in which this occurs using the engine application (without manual modification of the database), since as far as I can see from the DB code,, this is handled properly by the various SPs that performes the relevant entity remove command Removing original patch since it will not handle the problem reported in this bug. I could not find the source of the orphaned disk permissions, on a 3.4 installation. However, the database design still allows for duplicates in the query as it is defined. One possible way to get it to return duplicates, is to have 'orphaned' disk permissions, however, I did just find that 'multiple' disk permissions, that still point to valid disks, have the same effect. Also, when multiple VNicProfiles are created, with permissions granted, duplicates are present. The patch doesn't avoid the orphaned permissions, but does remove the duplicates. This is an automated message: This bug should be fixed in oVirt 3.5.1 RC1, moving to QA oVirt 3.5.1 has been released. If problems still persist, please make note of it in this bug report. |