mgr/vol: allow passing pool names to "fs volume create" cmd#61732
mgr/vol: allow passing pool names to "fs volume create" cmd#61732rishabh-d-dave merged 5 commits intoceph:mainfrom
Conversation
|
jenkins test api |
|
jenkins test make check arm64 |
|
@nizamial09 reached out to me regarding this. I had discussed with @rishabh-d-dave earlier this week and the conclusion is that this PR requires some additional work before it can be reviewed and put to test. |
2c8df26 to
738e6a6
Compare
|
I had few quetsions about last few bits of this PR, I had emailed Patrick and Venky last to last regarding it but since they were busy with some urgent work, the conversation didn't happen. Anyways, the conversation has happened and I'll update the PR shortly. |
738e6a6 to
53507e7
Compare
53507e7 to
b025494
Compare
6c7135f to
7027a1f
Compare
7027a1f to
2176f5c
Compare
|
@vshankar PTAL |
2176f5c to
07dbe6b
Compare
19d9d3b to
00661c0
Compare
00661c0 to
bdf3360
Compare
What about introducing a flag for removing the pool once the volume is deleted. something like |
Agreed. That's why I proposed providing option to enable/disable pool deletion so that users could pick whatever they want. |
That's a good idea: leaving the current default behaviour undisturbed and providing an option to alter that default behaviour. |
|
QA run was successful for this PR - https://tracker.ceph.com/projects/cephfs/wiki/QA_main_2025#wip-rishabh-testing-20250315 |
This is mostly mergeable in it current form with status-quo functionality during volume removal. Let's wait till tomorrow in case we want to change that bit. |
Removing pools has always been the default and also for the reason that reusing existing pools with data to create a file system is risky. |
Fixes: https://tracker.ceph.com/issues/69878 Signed-off-by: Rishabh Dave <ridave@redhat.com>
Signed-off-by: Rishabh Dave <ridave@redhat.com>
Signed-off-by: Rishabh Dave <ridave@redhat.com>
50c59f3 to
5c59deb
Compare
|
about last push: fixed the merge conflict. |
|
jenkins test make check arm64 |
|
jenkins test make check |
|
jenkins test make check arm64 |
5c59deb to
3140bfe
Compare
Command "ceph fs volume create" accepts 2 new options to allow users to pass data and metadata pool name. Update docs to include mention of both the options. Signed-off-by: Rishabh Dave <ridave@redhat.com>
in args. Add a release note that "ceph fs volume create" command allows users to pass pool names to "ceph fs volume create" command. Signed-off-by: Rishabh Dave <ridave@redhat.com>
3140bfe to
a74dbbe
Compare
|
jenkins test windows |
|
jenkins test api |
1 similar comment
|
jenkins test api |
|
Link to QA result comment again - #61732 (comment) |
Allow passing names of existing data pool and metadata pool to
ceph fs volume createcommand so that the command will use these pools for creating volume/FS instead of creating new pools. Passing name of a non-empty pool will cause the command to abort.Fixes: https://tracker.ceph.com/issues/69878
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. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.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 windowsjenkins test rook e2e