Bug 1573465
Summary: | [DOC][DR] Document the fact that hosted engine storage domain and its entities won't be backed up in DR failover and failback | ||
---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Elad <ebenahar> |
Component: | Documentation | Assignee: | Eli Marcus <emarcus> |
Status: | CLOSED NOTABUG | QA Contact: | rhev-docs <rhev-docs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4.5.3 | CC: | adahms, ahadas, apinnick, ctomasko, emarcus, lsurette, mhicks, pbar, srevivo |
Target Milestone: | ovirt-4.5.3-async | Keywords: | Documentation, EasyFix, NoDocsQEReview |
Target Release: | --- | Flags: | emarcus:
needinfo?
|
Hardware: | x86_64 | ||
OS: | Unspecified | ||
Whiteboard: | target 4.5.3 or 4.5.4 | ||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2023-12-20 13:17:43 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
Elad
2018-05-01 11:10:31 UTC
Pavel, is it still correct? If it is, do we know why it doesn't work? (In reply to Arik from comment #1) > Pavel, is it still correct? If it is, do we know why it doesn't work? I didn't know the answer, but from the code looks like the bug is still relevant. Looking at "generate_mapping.py::_write_attached_storage_domains()": ---------------------------------------------------------------------------------- for attached_sd in attached_sds_list: if attached_sd.name == 'hosted_storage': f.write("# Hosted storage should not be part of the " "recovery process! Comment it out.\n") f.write("#- dr_domain_type: %s\n" % attached_sd.storage.type) f.write("# dr_primary_name: %s\n" % attached_sd.name) f.write("# dr_primary_dc_name: %s\n\n" % dc.name) continue .... ---------------------------------------------------------------------------------- Validation at the "validator.py::run()" has the following validation: ---------------------------------------------------------------------------------- if not self._validate_hosted_engine(python_vars): self._print_finish_error() sys.exit() .... def _validate_hosted_engine(self, var_file): domains = var_file[self.domain_map] hosted = 'hosted_storage' for domain in domains: primary = domain['dr_primary_name'] secondary = domain['dr_secondary_name'] if primary == hosted or secondary == hosted: print("%s%sHosted storage domains are not supported.%s" % (FAIL, PREFIX, END)) return False return True ---------------------------------------------------------------------------------- I am not part of Red Hat or RHV anymore. @emarcus Since the status is in Post, do you have an open item that needs review? Can you complete this work? |