Bug 1909888
Summary: | [RFE] Support multiple IQN in hosted-engine.conf for Active-Active DR setup | ||
---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Germano Veit Michel <gveitmic> |
Component: | ovirt-hosted-engine-ha | Assignee: | Yedidyah Bar David <didi> |
Status: | CLOSED ERRATA | QA Contact: | Nikolai Sednev <nsednev> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 4.4.3 | CC: | ahadas, andrew, arachman, didi, emarcus, imomin, knoha, lsurette, michal.skrivanek, mtessun, nsednev, nsoffer |
Target Milestone: | ovirt-4.4.6-1 | Keywords: | FutureFeature, Reopened, Triaged |
Target Release: | 4.4.6 | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | ovirt-hosted-engine-ha-2.4.7 | Doc Type: | Enhancement |
Doc Text: |
With this release, ovirt-hosted-engine-ha supports multiple, comma-separated values for all iSCSI configuration items.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2021-06-03 10:24:29 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | Integration | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Germano Veit Michel
2020-12-21 22:45:23 UTC
So having a proper iSCSI setup would already be HA, as: 1. The Ethernet is bonded (2+ cards share the same IP) 2. In case of Active-Passive the Storage Failover should also failover the IP for the Storage That said, I understand that we want to have multiple IQNs in case of a "cheap" Storage but to me this is a low priority feature that might not make it into the product. Hi Martin, I don't think you completely understand the setup. This is a textbook implementation of Pure Storage's FlashArray ActiveCluster product that spans two data centers. It is definitely not a "cheap" setup as you mention. Here is a solution overview PDF of ActiveCluster: https://support.purestorage.com/@api/deki/files/8434/PureStorage_ActiveCluster_Paper_-_1220.pdf?revision=10 We have also followed the documentation here for Active/Active RHV. https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.4/html/disaster_recovery_guide/active_active It allows us to have an RPO of Zero across 2 independent locations. Plus allows a full failure of a storage array at either site. Their are 8 independent iscsi paths to the 2 storage arrays (4 paths per array / 2 paths per controller). Having the independent IQN's implemented in RHV allows the reliable bootstrapping of hosts no matter the location of the hosts (if there were to be a disaster event) Hi Andrew, thanks for the clarification. So this is an active-active DR solution with not having IP failover as it is a DR scenario. We will have a look if and how to add this. Thanks! Closing for now as it is very unlikely to get fixed in RHV 4.4 as it only affects the Hosted Engine and we have DR scenarios for solving this. As another possible workaround even the "reachable" IQN can be added/changed in the SHE config. The overall design and implementation effort for solving this is not justified by the usecase. Copying the commit message from the linked patch: iscsi: multipath: Support also multiple IQNs HA (but not setup) code already supported configuring more than one IP address and port for accessing iSCSI storage, by setting the respective conf items to a comma-separated list of multiple values. Extend this to support also mutiple iSCSI IQNs, as requested in the linked bug. For completeness, also support multiple tgpt, user and password values. For backwards compatibility, the new behavior takes effect only if the IQN contains a comma. If it does not, the old behavior is retained - including supporting multiple IP addresses and ports. If IQN does include a comma, all other items must also include multiple values, comma separated, and the number of values must be the same for all items. E.g.: storage=10.0.0.1,10.0.0.2 iqn=iqn1,iqn2 portal=tpgt1,tpgt2 user=user1,user2 password=pass1,pass2 port=3260,3260 will make HA use two sets of values - first set comprised of the first value for each item, and the second set with the second values. Please note e.g. that you must include e.g. 'port=3260,3260' and not just 'port=3260'. Also note that the password must not include commas, or the code will get the passwords wrong. Manual HE deployment over iSCSI is working fine, multi-path is intact. Tested on host with following components: ovirt-hosted-engine-ha-2.4.7-1.el8ev.noarch ovirt-hosted-engine-setup-2.5.0-2.el8ev.noarch rhvm-appliance-4.4-20210402.1.el8ev.x86_64 Linux 4.18.0-305.3.1.el8_4.x86_64 #1 SMP Mon May 17 10:08:25 EDT 2021 x86_64 x86_64 x86_64 GNU/Linux Red Hat Enterprise Linux release 8.4 (Ootpa) Engine base rhvm-appliance-4.4-20210402.1.el8ev.x86_64 was upgraded during "hosted-engine --deploy --ansible-extra-vars=he_pause_host=true" to these components: ovirt-engine-setup-4.4.6.8-0.1.el8ev.noarch Linux 4.18.0-305.3.1.el8_4.x86_64 #1 SMP Mon May 17 10:08:25 EDT 2021 x86_64 x86_64 x86_64 GNU/Linux Red Hat Enterprise Linux release 8.4 (Ootpa) Based on my test results and results from https://bugzilla.redhat.com/show_bug.cgi?id=1909888#c17, from the QA side I can't do more than this at the moment, so moving to verified for now, please reopen if it still doesn't work for you for some reason. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: Red Hat Virtualization Host security update [ovirt-4.4.6]), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:2239 |