Bug 1308950 - [RFE] Add the ability to override an existing NFS storage domain when creating a new one
[RFE] Add the ability to override an existing NFS storage domain when creatin...
Product: ovirt-engine
Classification: oVirt
Component: Frontend.WebAdmin (Show other bugs)
Unspecified Unspecified
low Severity low (vote)
: ---
: ---
Assigned To: Idan Shaby
Raz Tamir
: FutureFeature, Improvement
Depends On:
  Show dependency treegraph
Reported: 2016-02-16 09:37 EST by Idan Shaby
Modified: 2017-07-30 16:54 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2017-07-30 16:54:49 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: Storage
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
amureini: ovirt‑future?
rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?

Attachments (Terms of Use)

  None (edit)
Description Idan Shaby 2016-02-16 09:37:28 EST
Description of problem:
When creating an NFS storage domain, if the folder noted by the path is not empty, an "Operation Canceled" error message is shown:

"Error while executing action New NFS 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)."

If the user still wants to create it, he must remove that folder's content first and then try again.

However, when creating an iSCSI storage domain, if the chosen lun is not empty, a pop-up message notifies the user that the lun is already in use. The user can approve the operation, and then the lun is overridden and the domain is created.

IMHO, we should use the same approach when creating NFS storage domains.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Create an NFS storage domain on folder x.
2. Destroy this domain.
3. Create a new NFS domain on the same folder, x.

Actual results:
The storage domain cannot be created.

Expected results:
There should be an option to override the folder's content, as we do in iSCSI storage domains.

Additional info:
Comment 1 Allon Mureinik 2017-07-30 16:54:49 EDT
Closing old bugs.
If there's a real usecase here, feel free to reopen.

Note You need to log in before you can comment on or make changes to this bug.