Bug 850741
| Summary: | VM is not returned back to automatic pool and user permissions stay active on it | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Tomas Dosek <tdosek> |
| Component: | ovirt-engine | Assignee: | Omer Frenkel <ofrenkel> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Pavel Stehlik <pstehlik> |
| Severity: | urgent | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 3.1.0 | CC: | byount, dyasny, iheim, lpeer, lsvaty, michal.skrivanek, oramraz, Rhev-m-bugs, sgrinber, sputhenp, yeylon, ykaul |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | virt | ||
| Fixed In Version: | si16 | 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: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 804248 | ||
|
Description
Tomas Dosek
2012-08-22 09:53:39 UTC
is this really urgent/urgent? would it be ok to block the perms change while the VM is used? This is really urgent, because this way users might run out of allocable VMs in pool. (i.e. have 11 users and pool of 10 VMs - 11th user will not be able to allocate pool VM even in case that some other user have already stopped his or her one) But happens only when you change the permissions,right? I will +1 this bug. I ran into it as well when I was testing a hotfix for my customer. We arrived at this same issue with slightly different steps. I was about to open a new bug when I noticed this one. I will post what I had typed up for that bug here... ===================================== Description of problem: Using a hotfix provided in Bug #843132 and which will be included in RHEV 3.0.7, when a user's permissions were removed from a pool while the user had a VM running from that pool, the permissions of the user were not actually removed from the running VM, only the pool itself. Version-Release number of selected component (if applicable): rhevm-userportal-3.0.5_0001-6.HF.843132.843135.el6_3.x86_64 How reproducible: Very Steps to Reproduce: 1. have a user "A" with rights on pool "X" 2. user "A" takes a VM ("VMX-1") from the pool "X" and opens a console 3. a new pool "Y" is created and user "A" gets rights on it, but loses the rights on "X" while VMX-1 is still running 4. user "A" logs into the UserPortal again Actual results: The first VM ("VMX-1") is still visible along with an unclaimed VM from pool "Y". Expected results: The first VM ("VMX-1") should disappear once the user logs out or powers it off. All that should be visible is an unclaimed VM from pool "Y". Additional info: From what I can tell, if you remove the user's permissions on a pool while they have a VM in use from that pool, the workflow that is supposed to happen to "return the VM to the pool" does not occur. *** Bug 852082 has been marked as a duplicate of this bug. *** Just as a FYI, I only reported this because I tested my customer's hotfix from bug #843132 which will be released with RHEV 3.0.7. Fixing the pool disappearing issue uncovered this new issue in my testing. However, the customer has not independently verified this. Once they do, I will request a Z stream fix if needed. |