Bug 1505436 - DR (site to site) - Support mapping for entity's attributes on register
Summary: DR (site to site) - Support mapping for entity's attributes on register
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: RestAPI
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-4.2.0
: ---
Assignee: Maor
QA Contact: Elad
URL:
Whiteboard: DR
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-23 14:55 UTC by Maor
Modified: 2017-12-20 10:54 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-20 10:54:29 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 82431 0 master MERGED core: Introduce parameter class for IVFC 2017-10-23 19:27:55 UTC
oVirt gerrit 82432 0 master MERGED core: Introduce parameter class for IVTFC 2017-10-23 19:28:00 UTC
oVirt gerrit 82824 0 master POST restapi: Add map for api-model RegistrationConfiguration 2017-10-23 15:22:19 UTC
oVirt gerrit 82827 0 master POST restapi: Update BSDTR with new maps 2017-10-23 15:22:31 UTC
oVirt gerrit 82923 0 master POST core: Introduce interface to map unregistered entity 2017-10-23 15:21:54 UTC
oVirt gerrit 82924 0 master POST restapi: Update BSDVR with new maps 2017-10-23 15:22:45 UTC
oVirt gerrit 82963 0 master POST restapi: Add validation for new maps 2017-10-23 15:23:00 UTC
oVirt gerrit 83050 0 master POST core: Map external LUN disks when register VM 2017-10-23 15:24:01 UTC
oVirt gerrit 83068 0 master POST restapi: Add aditional mapping for external LUN disk 2017-10-23 15:23:15 UTC
oVirt gerrit 83322 0 master MERGED core: Use generics for map initialization 2017-11-09 10:49:45 UTC
oVirt gerrit 83351 0 master MERGED core: Unify the functionality of DR mapping on register 2017-11-09 10:49:48 UTC
oVirt gerrit 83495 0 master MERGED core: Refactor mapping to utility class 2017-11-09 10:50:00 UTC
oVirt gerrit 83496 0 master MERGED core: Update import Template to use DR helper class 2017-11-09 10:50:07 UTC

Description Maor 2017-10-23 14:55:10 UTC
Description of problem:
Support import for unregistered VMs/Templates with attribute mapping for DR purposes.
This mapping will be used to map any attributes preserved in the entity's OVF
with their correlated attributes in the secondary site.

The maps will be supported for the attributes:
 Cluster
 External LUN disks
 dbuser's domain
 Roles
 Affinity group
 Affinity labels



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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Elad 2017-12-19 16:00:34 UTC
VM OVF contains mapping attributes. Tested using site to site DR script.

Note that external VMs with external FC LUN registration is currently blocked on https://bugzilla.redhat.com/show_bug.cgi?id=1525989


Used:
rhvm-4.2.0.2-0.1.el7.noarch

Comment 2 Sandro Bonazzola 2017-12-20 10:54:29 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.