Bug 1300809
| Summary: | filters based on group tag do not give visibility to vms | |||
|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Felix Dewaleyne <fdewaley> | |
| Component: | UI - OPS | Assignee: | Libor Pichler <lpichler> | |
| Status: | CLOSED ERRATA | QA Contact: | Ramesh A <rananda> | |
| Severity: | high | Docs Contact: | ||
| Priority: | high | |||
| Version: | 5.5.0 | CC: | akarol, cpelland, fdewaley, gtanzill, hkataria, jhardy, jprause, lpichler, mfeifer, mpovolny, obarenbo | |
| Target Milestone: | GA | Keywords: | ZStream | |
| Target Release: | 5.6.0 | |||
| Hardware: | All | |||
| OS: | All | |||
| Whiteboard: | ||||
| Fixed In Version: | 5.6.0.0 | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1304785 (view as bug list) | Environment: | ||
| Last Closed: | 2016-06-29 15:32:17 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1304785 | |||
|
Description
Felix Dewaleyne
2016-01-21 18:57:32 UTC
Hi Felix, I also tried to recreate this both locally and on vm-140.gsslab.fab.redhat.com. On vm-140.gsslab.fab.redhat.com, I created the role, group and user per the instructions above. The group "GT-Group" has the tag department/support set on it. I went and tagged the VM named "6c791d0f-f014-44e8-94a5-c1451111bd2f" with department/support. When I logged in as my new user (gt/smartvm) I was able to only that VM. I left the role, group and user there so you can see it. Is there something else that needs to be done to see the issue? Thanks, Gregg Hi Gregg, I was not able to recreate this issue locally on master but was able to recreate on the provided environment. You have to apply My Company tags to that group from Policy/Edit Tags screen, not in Group edit Assign Filters section. If you compare GT-Group with APP_CLOUDFORMS_VOLARB_USER group you will see that group has tags assigned to it, it's not using Tag filters, i have been having issues trying to run 5.5.z locally but could not recreate on latest master code-base. Let me know if you need help recreating on vm-140.gsslab.fab.redhat.com appliance. ~Harpreet the environment on vm-140 may have been compromised by me setting ownership on a few vms a while ago to work on another issue that had been raised, I'll continue and look into it monday Detected commit referencing this ticket while ticket status is MODIFIED. Detected commit referencing this ticket while ticket status is MODIFIED. Detected commit referencing this ticket while ticket status is MODIFIED. New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/939b09575c0d18732b32a8b0337e83fdcca78711 commit 939b09575c0d18732b32a8b0337e83fdcca78711 Author: lpichler <lpichler> AuthorDate: Fri Feb 19 13:32:57 2016 +0100 Commit: lpichler <lpichler> CommitDate: Tue Mar 1 15:20:07 2016 +0100 When tag is deleted, remove it also from group's managed filter https://bugzilla.redhat.com/show_bug.cgi?id=1300809 app/models/miq_group.rb | 20 ++++++++++++++++++++ app/models/tag.rb | 6 ++++++ 2 files changed, 26 insertions(+) vms with the tag are displayed Verified version:- 5.6.0.1-beta2.20160413141124_e25ac0e Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:1348 |