Bug 1308950 - [RFE] Add the ability to override an existing NFS storage domain when creating a new one
Summary: [RFE] Add the ability to override an existing NFS storage domain when creatin...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Frontend.WebAdmin
Version: 4.0.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: ---
Assignee: Idan Shaby
QA Contact: Raz Tamir
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-16 14:37 UTC by Idan Shaby
Modified: 2017-07-30 20:54 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-07-30 20:54:49 UTC
oVirt Team: Storage
Embargoed:
amureini: ovirt-future?
rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?


Attachments (Terms of Use)

Description Idan Shaby 2016-02-16 14:37:28 UTC
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):
58e94bf236182ea0810b57e443cd373611254032

How reproducible:
100%

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 20:54:49 UTC
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.