Red Hat Bugzilla – Bug 1308950
[RFE] Add the ability to override an existing NFS storage domain when creating a new one
Last modified: 2017-07-30 16:54:49 EDT
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):
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.
The storage domain cannot be created.
There should be an option to override the folder's content, as we do in iSCSI storage domains.
Closing old bugs.
If there's a real usecase here, feel free to reopen.