Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nfs admin: create directories used by nfs tests #859

Merged
merged 1 commit into from
Apr 4, 2023

Conversation

phlogistonjohn
Copy link
Collaborator

Recent changes to ceph check that a directory exists in cephfs before it will allow an NFS export of the dir to be created. It was a pretty shaky practice of ours to create NFS exports without dirs backing them anyhow. This change ensures the dirs exist before the test cases are run and clean them up afterwards.

Fixes: #858

Checklist

  • Added tests for features and functional changes
  • Public functions and types are documented
  • Standard formatting is applied to Go code
  • Is this a new API? Added a new file that begins with //go:build ceph_preview
  • Ran make api-update to record new APIs

New or infrequent contributors may want to review the go-ceph Developer's Guide including the section on how we track API Status and the API Stability Plan.

The go-ceph project uses mergify. View the mergify command guide for information on how to interact with mergify. Add a comment with @Mergifyio rebase to rebase your PR when github indicates that the PR is out of date with the base branch.

@phlogistonjohn phlogistonjohn added the no-API This PR does not include any changes to the public API of a go-ceph package label Apr 3, 2023
@anoopcs9 anoopcs9 added the extended-review A submitter or reviewer feels the PR needs an extended review period label Apr 4, 2023
@anoopcs9 anoopcs9 added do-not-merge and removed extended-review A submitter or reviewer feels the PR needs an extended review period labels Apr 4, 2023
@anoopcs9
Copy link
Collaborator

anoopcs9 commented Apr 4, 2023

@Mergifyio rebase

Recent changes to ceph check that a directory exists in cephfs before it
will allow an NFS export of the dir to be created. It was a pretty shaky
practice of ours to create NFS exports without dirs backing them anyhow.
This change ensures the dirs exist before the test cases are run and
clean them up afterwards.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
@mergify
Copy link

mergify bot commented Apr 4, 2023

rebase

✅ Branch has been successfully rebased

@mergify mergify bot merged commit 66ffbfa into ceph:master Apr 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-API This PR does not include any changes to the public API of a go-ceph package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Admin.CreateCephFSExport fails on ceph main with ENOENT
2 participants