Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1550081

Summary: VM not visible in VM portal
Product: [oVirt] ovirt-engine Reporter: tm-pi <petr.istenik>
Component: Frontend.WebAdminAssignee: bugs <bugs>
Status: CLOSED DUPLICATE QA Contact: meital avital <mavital>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.2.1.7CC: bugs, michal.skrivanek, petr.istenik
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-16 11:37:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
ov2-xxx-perm
none
ov2-userportal none

Description tm-pi 2018-02-28 13:22:03 UTC
Created attachment 1401858 [details]
ov2-xxx-perm

Description of problem:
When I create VM as admin user in Administrator Portal and assign permission "UserVmManager" for LDAP user, user can not see this VM.


Version-Release number of selected component (if applicable):
Version 4.2.1.7-1.el7.centos


How reproducible:

Steps to Reproduce:
1. add new vm
2. assign UserVmManager role for user
3. login to VM portal 

Actual results:
VM is not visible via VM portal


Expected results:
VM is visible via VM portal

Additional info:
When I try to make manual query via REST-API, I see this VM:
> curl https://localhost/ovirt-engine/api/vms -u "test@ldapdomain":testpass -H "filter: true" -k

<vms>
    <vm href="/ovirt-engine/api/vms/9ac900dc-25b0-4150-8125-2d4f76e492d6" id="9ac900dc-25b0-4150-8125-2d4f76e492d6">
...
       <name>xxx</name>
...

Comment 1 tm-pi 2018-02-28 13:22:55 UTC
Created attachment 1401861 [details]
ov2-userportal

Comment 2 Michal Skrivanek 2018-04-16 11:37:37 UTC

*** This bug has been marked as a duplicate of bug 1541255 ***