mgr/volumes: handle bad arguments during subvolume create#53989
Conversation
|
this is a new PR to resurrect PR #50028 |
|
This changes isn't really an mds change - the PR title is a bit misleading ;) |
fixed the PR title |
|
Hi @mchangir , is there any update on this PR ? Is someone working on the make check (arm64) ? |
|
jenkins test make check arm64 |
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
|
@mchangir Did we ever run this through tests? Also, I had requested a review from broader folks from other teams a while back since this was a generic change. |
Sorry about that. Probably slipped from my mind. |
7e70864 to
33d8e27
Compare
|
rebased |
|
@ljflores could you review this PR ... especially the applicability of |
|
This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days. |
33d8e27 to
7506ed2
Compare
|
This PR is under test in https://tracker.ceph.com/issues/71020. |
|
jenkins test make check arm64 |
|
jenkins test make check |
There was a problem hiding this comment.
QA run[1] had some failures in fs:volumes jobs, but they were unrelated to this PR. I re-ran fs:volumes suite with a branch that contained only this PR for extra confirmation, see [2][3]. All the jobs passed, therefore this PR has completely passed QA.
[1] https://tracker.ceph.com/projects/cephfs/wiki/QA_main_2025#wip-rishabh-testing-20250426123842-debug
[2] https://pulpito.ceph.com/rishabh-2025-05-04_19:44:23-fs:volumes-pr-53989-testing-default-smithi/
[3] https://pulpito.ceph.com/rishabh-2025-05-05_07:34:59-fs:volumes-pr-53989-testing-default-smithi/
|
Waitng for this CI to pass now. |
|
jenkins test make check |
2 similar comments
|
jenkins test make check |
|
jenkins test make check |
rishabh-d-dave
left a comment
There was a problem hiding this comment.
Forgot to approve while reporting about (successful) QA run.
Changes requested were incorporated.
|
Hi @rishabh-d-dave, this might have created a regression in ceph CLI for latest jenkins After cephadm bootstrap, "ceph orch host add" command failed: I think the reason we probably didn't catch this in teuthology tests is because teuthology install ceph rpm packages and cephadm binary of same build. So we didn't know that it was a breaking change that would make new builds including this PR incompatible with ceph builds that do not include this PR. cc: @gbregman |
Maybe its not the package version but rather kwargs holding |
I was also concerned about where does the |
This issues is seen with fs:upgrade. See: https://pulpito.ceph.com/vshankar-2025-05-12_08:22:09-fs-wip-vshankar-testing-20250508.200127-debug-testing-default-smithi/8281059/ |
@rishabh-d-dave - I'm see the first link you shared above and that points to QA tracker: https://tracker.ceph.com/issues/71020. The QA run link there does not point to a teuthology run. What's going on? |
|
I am confused as in what tests this change went through since https://tracker.ceph.com/issues/71020 points to a non-existent teuthology run. It's unlikely that ptl-tool messed up the run link while updating the redmine ticket. @rishabh-d-dave please provide information on what happened. This change is breaking fs:upgrade tests. See: https://pulpito.ceph.com/vshankar-2025-05-12_08:22:09-fs-wip-vshankar-testing-20250508.200127-debug-testing-default-smithi/8281059/ I proposed to revert this change as @VallariAg too mentioned that issues have been seen elsewhere. |
PR #53989 is causing failures in fs:upgrade. Also, @VallariAg reported an issue with something similar. I don't think adequate tests were run to qualify the PR as mergeable. Reverting the change for now. Signed-off-by: Venky Shankar <vshankar@redhat.com>
|
@vshankar, thank you for looking into this and reverting the change! Looks like it was also caught by rook team: rook/rook#15844 |
The tracker was very slow few days ago, and due to it I remember running into trouble while running backport scripts. Likely same thing happened with that QA ticket as well. Will look into it. |
I do not understand how a slowness in redmine can cause non-existent build and run. |
Perhaps the part of the script that was trying to update the ticket timed out since redmine tracker was too slow. |
Even if it timed out, the branch didn't build and then how were you able to schedule the suite? |
Tracker was down but Sepia lab/build infra is different and it wasn't down. |
PR ceph#53989 is causing failures in fs:upgrade. Also, @VallariAg reported an issue with something similar. I don't think adequate tests were run to qualify the PR as mergeable. Reverting the change for now. Signed-off-by: Venky Shankar <vshankar@redhat.com>
test subvolgroup and subvol names and declare empty/whitespace strings as bad names
Fixes: https://tracker.ceph.com/issues/58645
Signed-off-by: Milind Changire mchangir@redhat.com
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