mgr/volumes/nfs: Check cluster exists before creating exports and fetch exports from export objects if mgr restarted#35417
Merged
batrick merged 24 commits intoceph:masterfrom Jul 1, 2020
Conversation
Contributor
Author
|
Testing with vstart requires this PR #35344 |
c432e26 to
166bbcb
Compare
Contributor
Author
|
Fixed mypy errors. |
ajarr
reviewed
Jun 8, 2020
Contributor
ajarr
left a comment
There was a problem hiding this comment.
Tested locally. Export persistence across ganesha restart and cluster check works
a17f81f to
702cb79
Compare
Contributor
Author
|
Added tests to check idempotency of nfs commands and export persistence on restarting mgr. |
Contributor
Author
Contributor
|
ack. |
Contributor
|
Looks reasonable overall aside from the protocols and transport versions being converted to singletons from a list. |
ajarr
requested changes
Jun 11, 2020
702cb79 to
a657597
Compare
Contributor
3 tasks
Fixes: https://tracker.ceph.com/issues/45740 Signed-off-by: Varsha Rao <varao@redhat.com>
Fixes: https://tracker.ceph.com/issues/45740 Signed-off-by: Varsha Rao <varao@redhat.com>
Signed-off-by: Varsha Rao <varao@redhat.com>
…ng mgr Signed-off-by: Varsha Rao <varao@redhat.com>
... for ganesha cluster names. Fixes: https://tracker.ceph.com/issues/45744 Signed-off-by: Ramana Raja <rraja@redhat.com>
List the pseudo paths of the exports within a ganesha cluster with `nfs export ls <cluster ID>` command. List all the details of the exports within a ganesha cluster with `nfs export ls <cluster ID> --detailed` command. Partially-fixes: https://tracker.ceph.com/issues/45741 Signed-off-by: Ramana Raja <rraja@redhat.com>
Fixes: https://tracker.ceph.com/issues/45741 Signed-off-by: Ramana Raja <rraja@redhat.com>
Signed-off-by: Varsha Rao <varao@redhat.com>
This commands provides list of deployed nfs clusters. Fixes: https://tracker.ceph.com/issues/45742 Signed-off-by: Varsha Rao <varao@redhat.com>
Signed-off-by: Varsha Rao <varao@redhat.com>
This patch does following changes: * Add extra line before every class definition * Reorder export dictionary * Use _fetch_export() in get export command * Remove cluster_id key from export dictionary if single export is deleted Signed-off-by: Varsha Rao <varao@redhat.com>
Signed-off-by: Varsha Rao <varao@redhat.com>
Signed-off-by: Varsha Rao <varao@redhat.com>
To maintain consistency and improve readability. Signed-off-by: Varsha Rao <varao@redhat.com>
Signed-off-by: Varsha Rao <varao@redhat.com>
…dify list cluster Signed-off-by: Varsha Rao <varao@redhat.com>
… and cluster id Signed-off-by: Varsha Rao <varao@redhat.com>
Signed-off-by: Varsha Rao <varao@redhat.com>
Signed-off-by: Varsha Rao <varao@redhat.com>
Signed-off-by: Varsha Rao <varao@redhat.com>
Signed-off-by: Varsha Rao <varao@redhat.com>
Signed-off-by: Varsha Rao <varao@redhat.com>
Signed-off-by: Varsha Rao <varao@redhat.com>
Instead we can do it if any export commands are used. This fixes ImportError raised when FSExport is initialized with cephadm module disabled. Signed-off-by: Varsha Rao <varao@redhat.com>
fd9bceb to
4ebb258
Compare
Member
|
jenkins test make check |
Member
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This patch series does the following changes:
Fixes: https://tracker.ceph.com/issues/45740
Fixes: https://tracker.ceph.com/issues/45744
Fixes: https://tracker.ceph.com/issues/45741
Show available Jenkins commands
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard backendjenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume tox