Bug 888689 - [User Portal] An user with UserRole assigned to a pool does not see pool's VMs
Summary: [User Portal] An user with UserRole assigned to a pool does not see pool's VMs
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-userportal
Version: 3.1.0
Hardware: Unspecified
OS: Unspecified
urgent
high
Target Milestone: ---
: 3.2.0
Assignee: Tomas Jelinek
QA Contact: Jiri Belka
URL:
Whiteboard: virt
: 896221 (view as bug list)
Depends On:
Blocks: 902341
TreeView+ depends on / blocked
 
Reported: 2012-12-19 09:08 UTC by Jiri Belka
Modified: 2022-07-09 06:13 UTC (History)
15 users (show)

Fixed In Version: sf1
Doc Type: Bug Fix
Doc Text:
A regression caused the Pools feature to be unusable from the user portal. This update enriches a null check, which allows users to see and use virtual machine pools in the user portal.
Clone Of:
: 902341 (view as bug list)
Environment:
Last Closed: 2013-06-10 21:29:33 UTC
oVirt Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHV-47224 0 None None None 2022-07-09 06:13:13 UTC
Red Hat Knowledge Base (Solution) 294773 0 None None None Never
Red Hat Product Errata RHSA-2013:0888 0 normal SHIPPED_LIVE Moderate: Red Hat Enterprise Virtualization Manager 3.2 update 2013-06-11 00:55:41 UTC

Description Jiri Belka 2012-12-19 09:08:49 UTC
Description of problem:

An user with UserRole assigned to a pool does not see pool's VMs.

Version-Release number of selected component (if applicable):
si25.1

How reproducible:
100%

Steps to Reproduce:
1. New pool in Admin Portal (AP)
2. In AP -> Pools -> select pool -> Permissions -> Add --> an user with UserRole
3. Log in as previously defined user into User Portal
  
Actual results:

An user with UserRole for a pool cannot see/work with pool's VMs.

Expected results:

An user with UserRole for a pool can see/work with pool's VMs.


Additional info:

From docs:
https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Virtualization/3.1/html-single/Administration_Guide/index.html#User_Roles_Explained

"UserRole - Can access and use virtual machines and pools. - Can log in to the User Portal, use assigned virtual machines and pools, view virtual machine state and details."

Comment 1 Jiri Belka 2012-12-19 09:14:54 UTC
FYI, there was similar issue in the past - BZ839490.

Comment 2 Oved Ourfali 2012-12-19 21:12:33 UTC
Are you able to see/run the pool itself? From the description above it wasn't clear whether you can't see the pool, or the VMs.

Pools in user portal are shown, but the VMs aren't. Once you run the pool, one VM is assigned to you, and then you see it instead of the pool.

That's the behavior that you should see.
If you don't, then it is a bug.

Comment 3 Jiri Belka 2012-12-20 13:03:27 UTC
No, nothing - neither pool nor VMs. Even if I login with 'admin@internal' into UP, i cannot see a pool.

Comment 7 Pavel Stehlik 2013-01-17 15:29:20 UTC
*** Bug 896221 has been marked as a duplicate of this bug. ***

Comment 8 Tomas Jelinek 2013-01-17 15:32:21 UTC
copy of the comment from the 896221 to have all relevant info on the active bug:

This bug is not connected with upgrade. It is an FE issue which will prevent you from see any VM or pool if you have a pool. 

On U/S it has already been fixed some time ago:
http://gerrit.ovirt.org/#/c/10172/

Comment 18 Itamar Heim 2013-01-21 11:49:03 UTC
Allan - is a test package relevant to test this fix for the customer you mentioned in bug 896221, comment 6?

Comment 24 Michal Skrivanek 2013-01-24 08:02:58 UTC
this bug has been fixed upstream before rebase as 694d9f490bd554b64e41e34530bac5fa74a74a0f.
u/s gerrit: http://gerrit.ovirt.org/#/c/10172/

Comment 27 Jiri Belka 2013-01-28 10:49:58 UTC
OK, sf4. For admin@internal issue - BZ904974, for seeing individual pooled VMs when UserRole on whole system - BZ904984.

Comment 30 errata-xmlrpc 2013-06-10 21:29:33 UTC
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.

http://rhn.redhat.com/errata/RHSA-2013-0888.html


Note You need to log in before you can comment on or make changes to this bug.