Bug 1505428 - Support users related to a VM as part of an entity's OVF
Summary: Support users related to a VM as part of an entity's OVF
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Backend.Core
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-4.2.0
: ---
Assignee: Benny Zlotnik
QA Contact: Lilach Zitnitski
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-23 14:43 UTC by Maor
Modified: 2017-12-20 11:47 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-20 11:47:03 UTC
oVirt Team: Storage
Embargoed:
rule-engine: ovirt-4.2+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 83104 0 master MERGED core: add VM permissions to OVF 2017-11-09 10:12:39 UTC
oVirt gerrit 83345 0 master ABANDONED core: add non-existing users in a DR scenario 2017-11-02 13:46:54 UTC
oVirt gerrit 83406 0 master MERGED core: add VM permissions when registering a template 2017-11-09 10:50:03 UTC
oVirt gerrit 83504 0 master MERGED dao: introduce permission lookup by user id and object id 2017-11-09 10:12:17 UTC

Description Maor 2017-10-23 14:43:45 UTC
Description of problem:
The VM's OVF and the Template's OVF should include also the users which are related to the entity.
The OVF should include the username and the domain it is related to it.
The users should already exist in the engine and the register process will only assign those users to the VM/Template

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


How reproducible:


Steps to Reproduce:
1. Assign a user with role to the entity
2. Detach a storage domain
3. attach the storage domain back again
4. Import the VM

Actual results:


Expected results:
The user should be assigned to the VM/Template

Additional info:

Comment 1 Allon Mureinik 2017-11-14 10:32:17 UTC
Maor - everything here seems to be merged (or abandoned...)
Are we waiting for any other patches, or should this be MODIFIED?

Comment 2 Allon Mureinik 2017-11-14 10:32:37 UTC
(In reply to Allon Mureinik from comment #1)
> Maor - everything here seems to be merged (or abandoned...)
> Are we waiting for any other patches, or should this be MODIFIED?
Sorry, meant to ask Benny, of course.

Comment 3 Benny Zlotnik 2017-11-14 11:44:10 UTC
moving to MODIFIED

Comment 4 Allon Mureinik 2017-11-19 10:53:57 UTC
Setting requires-doc- - we'll document all of the DR improvements together.

Comment 5 Lilach Zitnitski 2017-12-06 09:20:40 UTC
--------------------------------------
Tested with the following code:
----------------------------------------
rhvm-4.2.0-0.5.master.el7.noarch
vdsm-4.20.8-1.el7ev.x86_64

Tested with the following scenario:

Steps to Reproduce:
1. Assign a user with role to the entity
2. Detach a storage domain
3. attach the storage domain back again
4. Import the VM

Actual results:
The user is assigned to the VM/Template

Expected results:

Moving to VERIFIED!

Comment 6 Sandro Bonazzola 2017-12-20 11:47:03 UTC
This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017.

Since the problem described in this bug report should be
resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.


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