Bug 906817
| Summary: | [User Portal] A user with PowerUserRole|NetworkUser on DC doesn't see own diskless templates when creating new VM | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Jiri Belka <jbelka> | ||||
| Component: | ovirt-engine | Assignee: | Ravi Nori <rnori> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Jiri Belka <jbelka> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 3.2.0 | CC: | acathrow, bazulay, bdagan, ecohen, iheim, jkt, lpeer, Rhev-m-bugs, yeylon, yzaslavs | ||||
| Target Milestone: | --- | ||||||
| Target Release: | 3.3.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | infra | ||||||
| Fixed In Version: | is10 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-01-21 22:15:50 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: | |||||||
| Attachments: |
|
||||||
[CLARIFICATION] Description of problem: A user with PowerUserRole|NetworkUser on DC doesn't see own diskless template when he wants to create new VM based on this diskless template. So he wants to deploy new diskless VM but he cannot see the template. Yair, Please consult omer on implications on instance types. ok, is13. Closing - RHEV 3.3 Released Closing - RHEV 3.3 Released |
Created attachment 691607 [details] engine.log, vdsm.log Description of problem: A user with PowerUserRole|NetworkUser on DC doesn't see own diskless templates when creating new VM based on this diskless template. Two findings: 1. Template occurs in the list of 'New Desktop' dialog when a template has a disk. 2. Template occurs in the list of 'New Desktop' dialog when the template is triggered as public Ad 2 - it seems to me that PowerUserRole should delegate apart from 'TemplateOwner' also 'UserTemplateBasedVm' role to the creator of new template on this template. This is what happens when you define the template as public. Version-Release number of selected component (if applicable): sf5 How reproducible: 100% Steps to Reproduce: 1. An user with PowerUserRole|NetworkUser on DC 2. Login to User Portal 3. Create a diskless VM, 'boot options' -> 'First device' = PXE 4. Make template from this VM (no public) 5. Try to create new VM based on this template 6. An user with PowerUserRole|NetworkUser on DC 7. Login to User Portal 8. Create a diskless VM, 'boot options' -> 'First device' = PXE 9. Make template from this VM (make it public) 10. Try to create new VM based on this template Actual results: cannot use own non-public diskless templates Expected results: as creator of a template (even diskless and non-public), i should be able to use it Additional info: seems there are two things involved - disk and UserTemplateBasedVm role. you can also check permissions on template in each step from Admin Portal