When adding a nfs remote with encryption, the remote directory must be empty, then we create metadata.json and encryption.json on it.
If not, we fail to test these json files and the user receive an error "file not found: metadata.json" which is not understandable.
In this case, this PR return a message explaining the problem.
Description
XO-386
When adding a nfs remote with encryption, the remote directory must be empty, then we create metadata.json and encryption.json on it. If not, we fail to test these json files and the user receive an error "file not found: metadata.json" which is not understandable.
In this case, this PR return a message explaining the problem.
Checklist
Fixes #007
,See xoa-support#42
,See https://...
)Introduced by
CHANGELOG.unreleased.md
Review process
Notes: