Description of problem: The engine tries to auto-import the first SD named hosted_storage but this could fail due to leftovers on the host. Version-Release number of selected component (if applicable): 4.1.3 How reproducible: 100% Steps to Reproduce: 1. Stat deploying hosted-engine on an NFS path 2. Brutally kill hosted-engine-setup in the middle of the deployment but at least after 'Start monitoring domain' 3. Deploy hosted-engine again but over a different NFS path Actual results: just after hosted-engine-setup execution, vdsm-client Host getStorageDomains reports more than one SD Expected results: hosted-engine-setup complains if left-over are there Additional info:
Attached patch was merged ages ago - can this be moved to MODIFIED or additional patches are expected?
Following reproduction steps on ovirt-hosted-engine-setup-2.2.0-0.0.master.20171016160008.git55723e8.el7.centos.noarch I see these when trying to redeploy at reproduction step 3: [ ERROR ] Failed to execute stage 'Environment customization': This host is already connected to a storage domain named hosted_storage, please deploy on a clean system. Returning back to assigned.
Created attachment 1340184 [details] logs from host
After discussing with Simone, current behaviour is expected and I received correct error about to clean up the host before proceeding to next deployment, aka "hosted-engine-setup complains if left-over are there". Functions as designed, moving to verified.
This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017. Since the problem described in this bug report should be resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report.