Hide Forgot
Description of problem: When moving a localdisk hypervisor to a new rhev manager, we get the below error when trying to import a localdisk domain. ~~~ Import operation failed. Domain <another localdisk hypervisor storage domain> already exists in the system. ~~~ Version-Release number of selected component (if applicable): RHEV 3.5 How reproducible: Very Steps to Reproduce: 1. Setup localdisk hypervisor1 on rhevmanager1 with a local storage path of /rhev_vms 2. Setup localdisk hypervisor2 on rhevmanager2 with a local storage path of /rhev_vms 3. Set hypervisor1 on rhevmanager1 to maintenance 4. Move hypervisor1 to rhevmanager2 4a. Create datacenter, cluster, and host objects 4b. For storage domain, choose import domain, and set the path to /rhev_vms Actual results: Fail to import domain with "Import operation failed. Domain <another localdisk hypervisor storage domain> already exists in the system." Expected results: Successful import Additional info:
Allan, I looks like the problem is that the Storage Domains are called with the same same name. Is this indeed the case?
(In reply to Maor from comment #1) > Allan, > > I looks like the problem is that the Storage Domains are called with the > same same name. > Is this indeed the case? ok, I saw now the problem, it is not related to the name but to the path which are the same. please disregard the previous needinfo
Allan, I assume the message came from the GUI, so I'm changing the component to webadmin-portal (if not, please let me know). The fix changed the validation of existing paths, to be used on the same Data Center which the Storage Domain is being imported to.
Maor - the patch attached to this BZ is now merged. Can the BZ be cloned? (i.e., does this patch resolve the issue, or are we waiting for additional patches?)
(In reply to Allon Mureinik from comment #4) > Maor - the patch attached to this BZ is now merged. Can the BZ be cloned? > (i.e., does this patch resolve the issue, or are we waiting for additional > patches?) Yep, I've already sent a mail about it
Tested using: ovirt-engine-3.6.0-0.0.master.20150519172219.git9a2e2b3.el6.noarch vdsm-4.17.0-912.git25a063d.el7.noarch Verification instructions: 1. Setup localdisk hypervisor1 on rhevmanager1 with a local storage path of /rhev_vms 2. Setup localdisk hypervisor2 on rhevmanager2 with a local storage path of /rhev_vms 3. Set hypervisor1 on rhevmanager1 to maintenance 4. Move hypervisor1 to rhevmanager2 4a. Create datacenter, cluster, and host objects 4b. For storage domain, choose import domain, and set the path to /rhev_vms Results: Successful import
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, 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://rhn.redhat.com/errata/RHEA-2016-0376.html