Bug 1546907
| Summary: | External LUN disks mapping for register VM should be mapped using logical unit id instead of disk id | ||
|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | Maor <mlipchuk> |
| Component: | Backend.Core | Assignee: | Maor <mlipchuk> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Elad <ebenahar> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 4.2.0 | CC: | amureini, bugs, ebenahar, lveyde, tnisan |
| Target Milestone: | ovirt-4.2.2 | Flags: | rule-engine:
ovirt-4.2+
|
| Target Release: | 4.2.2.1 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ovirt-engine-4.2.2.1 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-04-30 08:02:24 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Storage | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Maor
2018-02-20 01:05:40 UTC
Direct LUN registration, is now being done with the LUN id. Tested as part of DR failback scenario. Generate mapping: ansible-playbook dr_ovirt_setup.yml --tags "generate_mapping" --extra-vars "site='https://rhv-dr1.scl.lab.tlv.redhat.com/ovirt-engine/api' username='admin@internal' password='123456' ca='/home/ebenahar/rhv-dr1-ca' var_file='/tmp/tmp.yml'" --ask-vault-pass -vvv DR var mapping file direct LUN section: # Mapping for external LUN disks dr_lun_mappings: - logical_unit_alias: vm-1_Disk3 logical_unit_description: 056a wipe_after_delete: False shareable: False primary_logical_unit_id: 3514f0c5a5160056a primary_storage_type: iscsi primary_logical_unit_address: 10.35.146.129 primary_logical_unit_port: 3260 primary_logical_unit_portal: "1" primary_logical_unit_target: iqn.2008-05.com.xtremio:xio00153500071-514f0c50023f6c00 # Fill in the following properties of the external LUN disk in the secondary site secondary_storage_type: iscsi secondary_logical_unit_id: 3514f0c5a5160056a secondary_logical_unit_address: 10.35.146.129 secondary_logical_unit_port: 3260 secondary_logical_unit_portal: "1" secondary_logical_unit_target: iqn.2008-05.com.xtremio:xio00153500071-514f0c50023f6c00 Fail over: ~/git/ansible/bin/ansible-playbook dr_ovirt_setup.yml --tags "fail_over" --extra-vars "dr_target_host='secondary' dr_source_map='primary' vars='/tmp/tmp.yml'" --ask-vault-pass -vvv =============== Result: VM with direct LUN registration succeeded. Used: rhvm-4.2.3-0.1.el7.noarch ovirt-ansible-disaster-recovery-0.3-1.el7ev.noarch This bugzilla is included in oVirt 4.2.2 release, published on March 28th 2018. Since the problem described in this bug report should be resolved in oVirt 4.2.2 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report. |