Repository navigation
cephfs: add command "ceph fs swap" - #50212
Merged
Merged
Conversation
batrick
requested changes
Feb 23, 2023
This was referenced Mar 13, 2023
rishabh-d-dave
force-pushed
the
fs-swap-subcmd
branch
from
March 13, 2023 13:10
5d74639 to
58485bc
Compare
rishabh-d-dave
marked this pull request as ready for review
March 13, 2023 13:18
rishabh-d-dave
force-pushed
the
fs-swap-subcmd
branch
from
March 13, 2023 13:35
58485bc to
fe21648
Compare
rishabh-d-dave
force-pushed
the
fs-swap-subcmd
branch
4 times, most recently
from
March 20, 2023 19:34
fab9697 to
2c56e70
Compare
Contributor
Author
rishabh-d-dave
force-pushed
the
fs-swap-subcmd
branch
2 times, most recently
from
March 23, 2023 13:13
7fa7cae to
13781c5
Compare
rishabh-d-dave
commented
Mar 23, 2023
rishabh-d-dave
force-pushed
the
fs-swap-subcmd
branch
from
March 23, 2023 14:01
13781c5 to
7bbad74
Compare
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
Contributor
Author
rishabh-d-dave
force-pushed
the
fs-swap-subcmd
branch
from
March 23, 2023 17:51
7bbad74 to
aec07d8
Compare
Signed-off-by: Rishabh Dave <[email protected]>
Signed-off-by: Rishabh Dave <[email protected]>
When assert fails for equality of two variables and when both the variables are printed in error message, print each variable on a new line. Signed-off-by: Rishabh Dave <[email protected]>
rishabh-d-dave
force-pushed
the
fs-swap-subcmd
branch
from
October 10, 2023 11:08
b689c2b to
7980b58
Compare
vshankar
reviewed
Oct 11, 2023
rishabh-d-dave
force-pushed
the
fs-swap-subcmd
branch
from
October 11, 2023 10:00
7980b58 to
c89589d
Compare
When two values (say x and y) are being printed because assert for equality of both failed (assert x == y), print both the values on a new line. Signed-off-by: Rishabh Dave <[email protected]>
Signed-off-by: Rishabh Dave <[email protected]>
Commands issued by negtest_ceph_cmd() aren't printed because log level (due to code for teuthology) changes from DEBUG to INFO in case of some files. This patch ensures that users can see commands being executed regardless of whether log level is changed or not. Signed-off-by: Rishabh Dave <[email protected]>
rishabh-d-dave
force-pushed
the
fs-swap-subcmd
branch
from
October 12, 2023 09:19
c89589d to
80a5527
Compare
batrick
requested changes
Oct 12, 2023
batrick
left a comment
Member
There was a problem hiding this comment.
Thanks for writing tests cases for all the edge cases!
Contributor
Author
batrick
requested changes
Oct 13, 2023
Contributor
Author
|
Last push was about bits of minor fixes and improvements I made while running tests locally. |
vshankar
approved these changes
Oct 20, 2023
vshankar
left a comment
Contributor
There was a problem hiding this comment.
LGTM. @rishabh-d-dave please proceed to integration runs.
Contributor
Author
|
Tests needs some minor debugging and fixing. |
Add a FS command that enables users to swap names of two file systems in a single PAXOS transaction. Add an option to this command that swaps FSCIDS along with FS names. This commands also updates the application pool tags and fails when mirroring is enabled on either or both FSs. Fixes: https://tracker.ceph.com/issues/58129 Signed-off-by: Rishabh Dave <[email protected]>
Create an alias so "APP_NAME_CEPHFS" can be written instead of "pg_pool_t::APPLICATION_NAME_CEPHFS". Signed-off-by: Rishabh Dave <[email protected]>
When working with large group tests (18 in this case), it gets very tedious to debug and fix tests when all 18 have to be run again for every mistake. Cheap fix for this to split these 18 tests into several classes. But when modification are made to the feature, all these 18 tests needs to exercised and previous solution forces developer to intitiate all these test classes to run one by one. Best of both worlds can be achieved if we split tests into group but move all these related group to a new file. Signed-off-by: Rishabh Dave <[email protected]>
Contributor
Author
|
Ran tests a bunch of times locally, tests are working fine now. |
rishabh-d-dave
commented
Nov 7, 2023
rishabh-d-dave
left a comment
Contributor
Author
There was a problem hiding this comment.
CephFS integration tests were successful - https://tracker.ceph.com/projects/cephfs/wiki/Main#7-Nov-2023
Contributor
Author
|
jenkins test make check |
Merged
4 of 14 tasks
This was referenced Dec 18, 2023
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.
Add a FS command that enables users to swap names of two file systems in
a single PAXOS transaction.
Fixes: https://tracker.ceph.com/issues/58129
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "pacific"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
Checklist
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 cephadmjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume toxjenkins test windows