Description of problem: Disaster recovery of hosted engine environment doesn't include hosted engine storage domain import. So, it means that in case that the hosted engine domain contains entities like disks and OVFs (apart from the hosted engine itself), these entities won't be registered in the target DR environment. We need to add this fact to RHV documentation.
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?