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
nautilus: mgr/volumes: allow setting uid, gid of subvolume and subvolume group during creation #31741
Conversation
…commands Allow setting uid, gid for subvolume create and subvolumegroup create commands Fixes: https://tracker.ceph.com/issues/40959 Signed-off-by: Jos Collin <jcollin@redhat.com> (cherry picked from commit 63226a7)
Fixes: https://tracker.ceph.com/issues/40959 Signed-off-by: Jos Collin <jcollin@redhat.com> (cherry picked from commit 4ad4158)
…mands Fixes: https://tracker.ceph.com/issues/40959 Signed-off-by: Jos Collin <jcollin@redhat.com> (cherry picked from commit a1ff179)
@joscollin Would you be willing to help me test |
I've not tried any of those scripts, except the ptl-tool. What does it do? |
jenkins test make check |
@joscollin -- might want to include #31756 |
@joscollin The https://github.com/ceph/ceph/blob/master/SubmittingPatches-backports.rst#opening-a-backport-pr The tl;dr is:
The first time you run it the script will ask some questions - it needs your GitHub token and Redmine API key to do its work. |
The routine does type checking anyway, plus, to be uniform with other APIs. Fixes: http://tracker.ceph.com/issues/42923 Signed-off-by: Venky Shankar <vshankar@redhat.com> (cherry picked from commit bbbfb44)
chown allows strings as per bbbfb44, which caused this error. Eventhough uid/gid are input as CephInt, the qa tests can pass in only string values to _fs_cmd. So try converting the incoming uid/gid to int in create_subvolume and create_group. It might be a valid string. Fixes: https://tracker.ceph.com/issues/43038 Signed-off-by: Jos Collin <jcollin@redhat.com> (cherry picked from commit 4c1029b)
Fixed |
@batrick @smithfarm The backport work is completed. Please review. |
Fixes: https://tracker.ceph.com/issues/40959 Signed-off-by: Jos Collin <jcollin@redhat.com> (cherry picked from commit 596c1fe)
jenkins test make check |
retest this please |
1 similar comment
retest this please |
backport trackers: