Created attachment 1608972 [details] engine log Description of problem: While verifying bug 1739134, I tried a different flow to create local storage and saw the same error in the UI: "Error while executing New Local Storage Domain: Internal Engine Error" Looks like the same issue. Version-Release number of selected component (if applicable): engine - 4.3.6.3 How reproducible: 100% Steps to Reproduce: Flow (UI): - put host in maintenance - create new directory on the host: mkdir -p /tst_dir chown 36:36 /tst_dir chmod 0755 /tst_dir - Management > Configure Local Storage: Data Center - click edit and change Compatibility Version to 4.2 path to local storage - /tst_dir - click 'ok' -> "Error while executing New Local Storage Domain: Internal Engine Error" Actual results: Operation fails with "Error while executing New Local Storage Domain: Internal Engine Error" Expected results: Operation should succeed Additional info: logs are attached.
Seems like a network issue, moving to them for inspection
(In reply to Tal Nisan from comment #1) > Seems like a network issue, moving to them for inspection Thanks, looks there is an issue in the networking code. I don't know yet if this is related to the problem, but nevertheless we have to dive in. Evelina, can you please share the vdsm.log and supervdsm.log of the host?
Created attachment 1615486 [details] vdsm+supervdsm logs
I am not able to reproduce this issue, because I am running into bug 1739134, even on ovirt-engine-4.3.6.5-1.el7.noarch. Evelina, can you please check if bug 1739134 popped up again on ovirt-engine-4.3.6.5-1 ?
Created attachment 1615883 [details] ovirt-engine-4.3.6.5-1.log engine log of ovirt-engine-4.3.6.5-1.el7.noarch, containing USER_ADD_STORAGE_POOL(950), Data Center ovirt-43-host11-Local, Compatibility Version 4.2 and Quota Type DISABLED was added by admin@internal-authz WARN [org.ovirt.engine.core.bll.storage.domain.AttachStorageDomainToPoolCommand] (default task-2) [31f1448c] Validation of action 'AttachStorageDomainToPool' failed for user SYSTEM. Reasons: VAR__TYPE__STORAGE__DOMAIN,VAR__ACTION__ATTACH,ACTION_TYPE_FAILED_STORAGE_DOMAIN_FORMAT_ILLEGAL,$storageFormat V5
Avihai, can you assign someone to check if the other issue is still there?
(In reply to Fred Rolland from comment #6) > Avihai, can you assign someone to check if the other issue is still there? Shir, can you please check it out?
I checked this scenario again and found that this bug isn't related to network. This ERROR message: "Error while executing action New Local Storage Domain: Error in creating a Storage Domain. The selected storage path is not empty (probably contains another Storage Domain). Either remove the existing Storage Domain from this path or change the Storage path)" appears because we try to create a storage domain in the second time on the same path(/tst_dir). Needs to make the message more clear like in engine.log : 2019-09-19 16:32:46,899+03 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-100) [2de8e429] EVENT_ID: VDS_BROKER_COMMAND_FAILURE(10,802), VDSM host_mixed_3 command CreateStorageDomainVDS failed: Storage domain is not empty - requires cleaning: (u'/tst_dir',)
If the local storage connection already used by the storage domain, the message that should appear is "Create operation failed. Storage connection is already used by the following storage domain: nfs_0." The same as in nfs.
Verified The message that appears when trying to create a storage domain in the second time on the same path(/tst_dir) is: "Create operation failed. Storage connection is already used by the following storage domain: new_shir_sd " vdsm-4.40.0-164.git38a19bb.el8ev.x86_64 ovirt-engine-4.4.0-0.13.master.el7.noarch
This bugzilla is included in oVirt 4.4.0 release, published on May 20th 2020. Since the problem described in this bug report should be resolved in oVirt 4.4.0 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report.